other versions
- wheezy 3.2.78-1
ATA_MODE_STRING(9) | libata Library | ATA_MODE_STRING(9) |
NAME¶
ata_mode_string - convert xfer_mask to stringSYNOPSIS¶
const
char *
ata_mode_string(unsigned long xfer_mask);
ARGUMENTS¶
xfer_maskmask of bits supported; only highest bit
counts.
DESCRIPTION¶
Determine string which represents the highest speed (highest bit in modemask).LOCKING¶
None.RETURNS¶
Constant C string representing highest speed listed in mode_mask, or the constant C string “<n/a>”.AUTHOR¶
Jeff GarzikAuthor.
COPYRIGHT¶
March 2016 | Kernel Hackers Manual 3.2. |