Lines Matching refs:tf

254 static void sata_dwc_tf_dump(struct ata_port *ap, struct ata_taskfile *tf)  in sata_dwc_tf_dump()  argument
258 tf->command, get_prot_descript(tf->protocol), tf->flags, in sata_dwc_tf_dump()
259 tf->device); in sata_dwc_tf_dump()
262 tf->feature, tf->nsect, tf->lbal, tf->lbam, tf->lbah); in sata_dwc_tf_dump()
265 tf->hob_feature, tf->hob_nsect, tf->hob_lbal, tf->hob_lbam, in sata_dwc_tf_dump()
266 tf->hob_lbah); in sata_dwc_tf_dump()
520 if (unlikely(!qc || (qc->tf.flags & ATA_TFLAG_POLLING))) { in sata_dwc_isr()
541 __func__, get_prot_descript(qc->tf.protocol)); in sata_dwc_isr()
543 if (ata_is_dma(qc->tf.protocol)) { in sata_dwc_isr()
561 } else if (ata_is_pio(qc->tf.protocol)) { in sata_dwc_isr()
631 get_prot_descript(qc->tf.protocol)); in sata_dwc_isr()
632 if (ata_is_dma(qc->tf.protocol)) { in sata_dwc_isr()
716 __func__, qc->tag, qc->tf.command, in sata_dwc_dma_xfer_complete()
718 get_prot_descript(qc->tf.protocol), in sata_dwc_dma_xfer_complete()
723 if (ata_is_dma(qc->tf.protocol)) { in sata_dwc_dma_xfer_complete()
755 qc->tf.command, status, ap->print_id, qc->tf.protocol); in sata_dwc_qc_complete()
924 struct ata_taskfile *tf, in sata_dwc_exec_command_by_tag() argument
930 dev_dbg(ap->dev, "%s cmd(0x%02x): %s tag=%d\n", __func__, tf->command, in sata_dwc_exec_command_by_tag()
931 ata_get_cmd_descript(tf->command), tag); in sata_dwc_exec_command_by_tag()
943 ata_sff_exec_command(ap, tf); in sata_dwc_exec_command_by_tag()
948 sata_dwc_exec_command_by_tag(qc->ap, &qc->tf, tag, in sata_dwc_bmdma_setup_by_tag()
956 if (ata_is_ncq(qc->tf.protocol)) { in sata_dwc_bmdma_setup()
990 __func__, qc, tag, qc->tf.command, in sata_dwc_bmdma_start_by_tag()
992 sata_dwc_tf_dump(ap, &qc->tf); in sata_dwc_bmdma_start_by_tag()
1018 if (ata_is_ncq(qc->tf.protocol)) { in sata_dwc_bmdma_start()
1063 __func__, ap->print_id, qc->tf.command, in sata_dwc_qc_issue()
1064 ata_get_cmd_descript(qc->tf.command), in sata_dwc_qc_issue()
1065 qc->tag, get_prot_descript(qc->tf.protocol), in sata_dwc_qc_issue()
1069 if (!ata_is_ncq(qc->tf.protocol)) in sata_dwc_qc_issue()
1073 if (ata_is_ncq(qc->tf.protocol)) { in sata_dwc_qc_issue()
1082 ap->ops->sff_tf_load(ap, &qc->tf); in sata_dwc_qc_issue()
1083 sata_dwc_exec_command_by_tag(ap, &qc->tf, qc->tag, in sata_dwc_qc_issue()
1100 if ((qc->dma_dir == DMA_NONE) || (qc->tf.protocol == ATA_PROT_PIO)) in sata_dwc_qc_prep()