ata_build_rw_tf — Build ATA taskfile for given read/write request
int ata_build_rw_tf ( | struct ata_taskfile * tf, |
struct ata_device * dev, | |
u64 block, | |
u32 n_block, | |
unsigned int tf_flags, | |
unsigned int tag) ; |
tf
Target ATA taskfile
dev
ATA device tf
belongs to
block
Block address
n_block
Number of blocks
tf_flags
RW/FUA etc...
tag
tag