Lines Matching refs:tf
159 static void pdc_tf_load_mmio(struct ata_port *ap, const struct ata_taskfile *tf);
160 static void pdc_exec_command_mmio(struct ata_port *ap, const struct ata_taskfile *tf);
515 switch (qc->tf.protocol) { in pdc_atapi_pkt()
517 if (!(qc->tf.flags & ATA_TFLAG_WRITE)) in pdc_atapi_pkt()
536 dev_sel = qc->tf.device; in pdc_atapi_pkt()
544 buf[17] = qc->tf.nsect; in pdc_atapi_pkt()
546 buf[19] = qc->tf.lbal; in pdc_atapi_pkt()
549 if (qc->tf.protocol != ATAPI_PROT_DMA) in pdc_atapi_pkt()
557 buf[23] = qc->tf.lbam; in pdc_atapi_pkt()
559 buf[25] = qc->tf.lbah; in pdc_atapi_pkt()
563 buf[27] = qc->tf.command; in pdc_atapi_pkt()
659 switch (qc->tf.protocol) { in pdc_qc_prep()
664 i = pdc_pkt_header(&qc->tf, qc->ap->bmdma_prd_dma, in pdc_qc_prep()
666 if (qc->tf.flags & ATA_TFLAG_LBA48) in pdc_qc_prep()
667 i = pdc_prep_lba48(&qc->tf, pp->pkt, i); in pdc_qc_prep()
669 i = pdc_prep_lba28(&qc->tf, pp->pkt, i); in pdc_qc_prep()
670 pdc_pkt_footer(&qc->tf, pp->pkt, i); in pdc_qc_prep()
909 switch (qc->tf.protocol) { in pdc_host_intr()
1007 if (qc && (!(qc->tf.flags & ATA_TFLAG_POLLING))) in pdc_interrupt()
1041 switch (qc->tf.protocol) { in pdc_qc_issue()
1047 if (qc->tf.flags & ATA_TFLAG_POLLING) in pdc_qc_issue()
1060 static void pdc_tf_load_mmio(struct ata_port *ap, const struct ata_taskfile *tf) in pdc_tf_load_mmio() argument
1062 WARN_ON(tf->protocol == ATA_PROT_DMA || tf->protocol == ATAPI_PROT_DMA); in pdc_tf_load_mmio()
1063 ata_sff_tf_load(ap, tf); in pdc_tf_load_mmio()
1067 const struct ata_taskfile *tf) in pdc_exec_command_mmio() argument
1069 WARN_ON(tf->protocol == ATA_PROT_DMA || tf->protocol == ATAPI_PROT_DMA); in pdc_exec_command_mmio()
1070 ata_sff_exec_command(ap, tf); in pdc_exec_command_mmio()