1ATA_TF_READ_BLOCK(9)         libata Core Internals        ATA_TF_READ_BLOCK(9)
2
3
4

NAME

6       ata_tf_read_block - Read block address from ATA taskfile
7

SYNOPSIS

9       u64 ata_tf_read_block(struct ata_taskfile * tf,
10                             struct ata_device * dev);
11

ARGUMENTS

13       tf
14           ATA taskfile of interest
15
16       dev
17           ATA device tf belongs to
18

LOCKING

20       None.
21
22       Read block address from tf. This function can handle all three address
23       formats - LBA, LBA48 and CHS. tf->protocol and flags select the address
24       format to use.
25

RETURNS

27       Block address read from tf.
28

AUTHOR

30       Jeff Garzik
31           Author.
32
34Kernel Hackers Manual 2.6.         June 2019              ATA_TF_READ_BLOCK(9)
Impressum