ata_xfer_mask2mode (9) Linux Manual Page
ata_xfer_mask2mode – Find matching XFER_* for the given xfer_mask
Synopsis
- u8 ata_xfer_mask2mode(unsigned long
xfer_mask);
Arguments
xfer_mask
-
- xfer_mask of interest
Description
Return matching XFER_* value for xfer_mask. Only the highest bit of xfer_mask is considered.
LOCKING: None.
Return
Matching XFER_* value, 0xff if no match found.
Author
Jeff Garzik
- Author.
