.\" 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_HOST_INTR" "" "06 October 2005" "" "" .SH NAME ata_host_intr \- Handle host interrupt for given (port, task) .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp unsigned int ata_host_intr (struct ata_port * \fIap\fB, struct ata_queued_cmd * \fIqc\fB); \fR .SH "ARGUMENTS" .TP \fB\fIap\fB\fR Port on which interrupt arrived (possibly...) .TP \fB\fIqc\fB\fR Taskfile currently active in engine .SH "DESCRIPTION" .PP Handle host interrupt for given queued command. Currently, only DMA interrupts are handled. All other commands are handled via polling with interrupts disabled (nIEN bit). .SH "LOCKING" .PP spin_lock_irqsave(host_set lock) .SH "RETURNS" .PP One if interrupt was handled, zero if not (shared irq).