other versions
- stretch 4.9.168-1
ATA_TF_READ_BLOCK(9) | libata Core Internals | ATA_TF_READ_BLOCK(9) |
NAME¶
ata_tf_read_block - Read block address from ATA taskfileSYNOPSIS¶
u64 ata_tf_read_block(const struct ata_taskfile * tf, struct ata_device * dev);
ARGUMENTS¶
tfATA taskfile of interest
dev
ATA device tf belongs to
DESCRIPTION¶
LOCKING: None.Read block address from tf. This function can handle all three address formats - LBA, LBA48 and CHS. tf->protocol and flags select the address format to use.
RETURN¶
Block address read from tf.AUTHOR¶
Jeff GarzikAuthor.
COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |