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