ata_qc_complete_multiple — Complete multiple qcs successfully
|struct ata_port * ap,|
Complete in-flight commands. This functions is meant to be
called from low-level driver's interrupt routine to complete
requests normally. ap->qc_active and
qc_active is compared
and commands are completed accordingly.
Always use this function when completing multiple NCQ commands
from IRQ handlers instead of calling
multiple times to keep IRQ expect status properly in sync.
LOCKING: spin_lock_irqsave(host lock)