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

NAME

6       ata_id_string - Convert IDENTIFY DEVICE page into string
7

SYNOPSIS

9       void ata_id_string(const u16 * id, unsigned char * s, unsigned int ofs,
10                          unsigned int len);
11

ARGUMENTS

13       id
14           IDENTIFY DEVICE results we will examine
15
16       s
17           string into which data is output
18
19       ofs
20           offset into identify device page
21
22       len
23           length of string to return. must be an even number.
24

DESCRIPTION

26       The strings in the IDENTIFY DEVICE page are broken up into 16-bit
27       chunks. Run through the string, and output each 8-bit chunk linearly,
28       regardless of platform.
29

LOCKING

31       caller.
32

AUTHOR

34       Jeff Garzik
35           Author.
36
38Kernel Hackers Manual 3.10         June 2019                  ATA_ID_STRING(9)
Impressum