1ATA_XFER_MASK2MODE(9) libata Library ATA_XFER_MASK2MODE(9)
23
4
NAME
6ata_xfer_mask2mode - Find matching XFER_* for the given xfer_mask
7
SYNOPSIS
9u8 ata_xfer_mask2mode(unsigned long xfer_mask);
10
ARGUMENTS
12xfer_mask
13xfer_mask of interest
14
DESCRIPTION
16Return matching XFER_* value for xfer_mask. Only the highest bit of
17xfer_mask is considered.
18
LOCKING
20None.
21
RETURNS
23Matching XFER_* value, 0xff if no match found.
24
AUTHOR
26Jeff Garzik
27Author.
28
COPYRIGHT
30Kernel Hackers Manual 2.6. November 2011 ATA_XFER_MASK2MODE(9)