ata_exec_internal — execute libata internal command
unsigned ata_exec_internal ( | struct ata_device * | dev, |
| struct ata_taskfile * | tf, | |
| const u8 * | cdb, | |
| int | dma_dir, | |
| void * | buf, | |
| unsigned int | buflen); |
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
bufData buffer of the command
buflenLength of data buffer