1ATA_MODE_STRING(9) libata Library ATA_MODE_STRING(9)
2
3
4
6 ata_mode_string - convert xfer_mask to string
7
9 const char * ata_mode_string(unsigned long xfer_mask);
10
12 xfer_mask
13 mask of bits supported; only highest bit counts.
14
16 Determine string which represents the highest speed (highest bit in
17 modemask).
18
20 None.
21
23 Constant C string representing highest speed listed in mode_mask, or
24 the constant C string “<n/a>”.
25
27 Jeff Garzik
28 Author.
29
31Kernel Hackers Manual 3.10 June 2019 ATA_MODE_STRING(9)