1ATA_QC_COMPLETE_MULT(9)         libata Library         ATA_QC_COMPLETE_MULT(9)
2
3
4

NAME

6       ata_qc_complete_multiple - Complete multiple qcs successfully
7

SYNOPSIS

9       int ata_qc_complete_multiple(struct ata_port * ap, u32 qc_active);
10

ARGUMENTS

12       ap
13           port in question
14
15       qc_active
16           new qc_active mask
17

DESCRIPTION

19       Complete in-flight commands. This functions is meant to be called from
20       low-level driverĀ“s interrupt routine to complete requests normally.
21       ap->qc_active and qc_active is compared and commands are completed
22       accordingly.
23

LOCKING

25       spin_lock_irqsave(host lock)
26

RETURNS

28       Number of completed commands on success, -errno otherwise.
29

AUTHOR

31       Jeff Garzik
32           Author.
33
35Kernel Hackers Manual 2.6.         June 2019           ATA_QC_COMPLETE_MULT(9)
Impressum