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

NAME

6       ata_mode_string - convert xfer_mask to string
7

SYNOPSIS

9       const char * ata_mode_string(unsigned long xfer_mask);
10

ARGUMENTS

12       xfer_mask
13           mask of bits supported; only highest bit counts.
14

DESCRIPTION

16       Determine string which represents the highest speed (highest bit in
17       modemask).
18

LOCKING

20       None.
21

RETURNS

23       Constant C string representing highest speed listed in mode_mask, or
24       the constant C string “<n/a>”.
25

AUTHOR

27       Jeff Garzik
28           Author.
29
31Kernel Hackers Manual 3.10         June 2019                ATA_MODE_STRING(9)
Impressum