Lines Matching refs:qc
370 struct ata_queued_cmd *qc = ata_qc_from_tag(ap, ap->active_tag);
396 if (unlikely(!qc))
399 if (unlikely(qc->tf.flags & ATA_TFLAG_POLLING)) {
414 * No need to check is_atapi_taskfile(&qc->tf) again.
416 if (!(qc->dev->flags & ATA_DFLAG_CDB_INTR))
420 if (qc->tf.protocol == ATA_PROT_DMA ||
421 qc->tf.protocol == ATA_PROT_ATAPI_DMA) {
423 ap->ops->bmdma_stop(qc);
426 qc->err_mask |= AC_ERR_HOST_BUS;
446 ata_hsm_move(ap, qc, status, 0);
448 if (unlikely(qc->err_mask) && (qc->tf.protocol == ATA_PROT_DMA ||
449 qc->tf.protocol == ATA_PROT_ATAPI_DMA))
455 qc->err_mask |= AC_ERR_HSM;