.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "ATA_TF_LOAD" "9" "09 October 2005" "" "" .SH NAME ata_tf_load \- send taskfile registers to host controller .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp void ata_tf_load (struct ata_port * \fIap\fB, struct ata_taskfile * \fItf\fB); \fR .SH "ARGUMENTS" .TP \fB\fIap\fB\fR Port to which output is sent .TP \fB\fItf\fB\fR ATA taskfile register set .SH "DESCRIPTION" .PP Outputs ATA taskfile to standard ATA host controller using MMIO or PIO as indicated by the ATA_FLAG_MMIO flag. Writes the control, feature, nsect, lbal, lbam, and lbah registers. Optionally (ATA_TFLAG_LBA48) writes hob_feature, hob_nsect, hob_lbal, hob_lbam, and hob_lbah. .PP This function waits for idle (!BUSY and !DRQ) after writing registers. If the control register has a new value, this function also waits for idle after writing control and before writing the remaining registers. .PP May be used as the \fBtf_load\fR entry in ata_port_operations. .SH "LOCKING" .PP Inherited from caller.