ata_exec_internal — execute libata internal command
unsigned ata_exec_internal ( | struct ata_port * | ap, |
struct ata_device * | dev, | |
struct ata_taskfile * | tf, | |
int | dma_dir, | |
void * | buf, | |
unsigned int | buflen) ; |
ap
Port to which the command is sent
dev
Device to which the command is sent
tf
Taskfile registers for the command and the result
dma_dir
Data tranfer direction of the command
buf
Data buffer of the command
buflen
Length of data buffer