ata_exec_internal_sg — execute libata internal command
unsigned ata_exec_internal_sg ( | struct ata_device * | dev, |
| struct ata_taskfile * | tf, | |
| const u8 * | cdb, | |
| int | dma_dir, | |
| struct scatterlist * | sg, | |
| unsigned int | n_elem); |
devDevice to which the command is sent
tfTaskfile registers for the command and the result
cdbCDB for packet command
dma_dirData tranfer direction of the command
sgsg list for the data buffer of the command
n_elemNumber of sg entries