Lines Matching refs:qc
106 static enum ata_completion_errors sil_qc_prep(struct ata_queued_cmd *qc);
107 static void sil_bmdma_setup(struct ata_queued_cmd *qc);
108 static void sil_bmdma_start(struct ata_queued_cmd *qc);
109 static void sil_bmdma_stop(struct ata_queued_cmd *qc);
251 static void sil_bmdma_stop(struct ata_queued_cmd *qc) in sil_bmdma_stop() argument
253 struct ata_port *ap = qc->ap; in sil_bmdma_stop()
264 static void sil_bmdma_setup(struct ata_queued_cmd *qc) in sil_bmdma_setup() argument
266 struct ata_port *ap = qc->ap; in sil_bmdma_setup()
273 ap->ops->sff_exec_command(ap, &qc->tf); in sil_bmdma_setup()
276 static void sil_bmdma_start(struct ata_queued_cmd *qc) in sil_bmdma_start() argument
278 unsigned int rw = (qc->tf.flags & ATA_TFLAG_WRITE); in sil_bmdma_start()
279 struct ata_port *ap = qc->ap; in sil_bmdma_start()
293 static void sil_fill_sg(struct ata_queued_cmd *qc) in sil_fill_sg() argument
296 struct ata_port *ap = qc->ap; in sil_fill_sg()
301 for_each_sg(qc->sg, sg, qc->n_elem, si) { in sil_fill_sg()
320 static enum ata_completion_errors sil_qc_prep(struct ata_queued_cmd *qc) in sil_qc_prep() argument
322 if (!(qc->flags & ATA_QCFLAG_DMAMAP)) in sil_qc_prep()
325 sil_fill_sg(qc); in sil_qc_prep()
423 struct ata_queued_cmd *qc = ata_qc_from_tag(ap, ap->link.active_tag); in sil_host_intr() local
448 if (unlikely(!qc || (qc->tf.flags & ATA_TFLAG_POLLING))) { in sil_host_intr()
465 if (!(qc->dev->flags & ATA_DFLAG_CDB_INTR)) in sil_host_intr()
469 if (ata_is_dma(qc->tf.protocol)) { in sil_host_intr()
471 ap->ops->bmdma_stop(qc); in sil_host_intr()
474 qc->err_mask |= AC_ERR_HOST_BUS; in sil_host_intr()
494 ata_sff_hsm_move(ap, qc, status, 0); in sil_host_intr()
496 if (unlikely(qc->err_mask) && ata_is_dma(qc->tf.protocol)) in sil_host_intr()
502 qc->err_mask |= AC_ERR_HSM; in sil_host_intr()