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

NAME

6       ata_xfer_mask2mode - Find matching XFER_* for the given xfer_mask
7

SYNOPSIS

9       u8 ata_xfer_mask2mode(unsigned long xfer_mask);
10

ARGUMENTS

12       xfer_mask
13           xfer_mask of interest
14

DESCRIPTION

16       Return matching XFER_* value for xfer_mask. Only the highest bit of
17       xfer_mask is considered.
18

LOCKING

20       None.
21

RETURNS

23       Matching XFER_* value, 0xff if no match found.
24

AUTHOR

26       Jeff Garzik
27           Author.
28
30Kernel Hackers Manual 3.10         June 2019             ATA_XFER_MASK2MODE(9)
Impressum