1ATA_XFER_MODE2SHIFT(9)          libata Library          ATA_XFER_MODE2SHIFT(9)
2
3
4

NAME

6       ata_xfer_mode2shift - Find matching xfer_shift for XFER_*
7

SYNOPSIS

9       int ata_xfer_mode2shift(unsigned long xfer_mode);
10

ARGUMENTS

12       xfer_mode
13           XFER_* of interest
14

DESCRIPTION

16       Return matching xfer_shift for xfer_mode.
17

LOCKING

19       None.
20

RETURNS

22       Matching xfer_shift, -1 if no match found.
23

AUTHOR

25       Jeff Garzik
26           Author.
27
29Kernel Hackers Manual 2.6.       November 2011          ATA_XFER_MODE2SHIFT(9)
Impressum