1ATA_XFER_MODE2SHIFT(9) libata Library ATA_XFER_MODE2SHIFT(9)
23
4
NAME
6ata_xfer_mode2shift - Find matching xfer_shift for XFER_*
7
SYNOPSIS
9int ata_xfer_mode2shift(unsigned long xfer_mode);
10
ARGUMENTS
12xfer_mode
13XFER_* of interest
14
DESCRIPTION
16Return matching xfer_shift for xfer_mode.
17
LOCKING
19None.
20
RETURNS
22Matching xfer_shift, -1 if no match found.
23
AUTHOR
25Jeff Garzik
26Author.
27
COPYRIGHT
29Kernel Hackers Manual 2.6. June 2019 ATA_XFER_MODE2SHIFT(9)