Lines Matching defs:qc_active
634 * @qc_active: new qc_active mask
638 * requests normally. ap->qc_active and @qc_active is compared
651 int ata_qc_complete_multiple(struct ata_port *ap, u64 qc_active)
653 u64 done_mask, ap_qc_active = ap->qc_active;
657 * If the internal tag is set on ap->qc_active, then we care about
658 * bit0 on the passed in qc_active mask. Move that bit up to match
662 qc_active |= (qc_active & 0x01) << ATA_TAG_INTERNAL;
663 qc_active ^= qc_active & 0x01;
666 done_mask = ap_qc_active ^ qc_active;
668 if (unlikely(done_mask & qc_active)) {
669 ata_port_err(ap, "illegal qc_active transition (%08llx->%08llx)\n",
670 ap->qc_active, qc_active);