1ATA_SCSI_RW_XLAT(9)     libata SCSI translation/emulat     ATA_SCSI_RW_XLAT(9)
2
3
4

NAME

6       ata_scsi_rw_xlat - Translate SCSI r/w command into an ATA one
7

SYNOPSIS

9       unsigned int ata_scsi_rw_xlat(struct ata_queued_cmd * qc);
10

ARGUMENTS

12       qc
13           Storage for translated ATA taskfile
14

DESCRIPTION

16       Converts any of six SCSI read/write commands into the ATA counterpart,
17       including starting sector (LBA), sector count, and taking into account
18       the device's LBA48 support.
19
20       Commands READ_6, READ_10, READ_16, WRITE_6, WRITE_10, and WRITE_16 are
21       currently supported.
22

LOCKING

24       spin_lock_irqsave(host lock)
25

RETURNS

27       Zero on success, non-zero on error.
28

AUTHOR

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