Lines Matching refs:tf
532 ata_tf_to_fis(&qc->tf, qc->dev->link->pmp, 1, (u8 *) &cd->cfis); in sata_fsl_qc_prep()
537 if (qc->tf.protocol == ATA_PROT_NCQ) { in sata_fsl_qc_prep()
543 if (ata_is_atapi(qc->tf.protocol)) { in sata_fsl_qc_prep()
554 if (qc->tf.protocol == ATA_PROT_NCQ) in sata_fsl_qc_prep()
810 struct ata_taskfile tf; in sata_fsl_dev_classify() local
819 tf.lbah = (temp >> 24) & 0xff; in sata_fsl_dev_classify()
820 tf.lbam = (temp >> 16) & 0xff; in sata_fsl_dev_classify()
821 tf.lbal = (temp >> 8) & 0xff; in sata_fsl_dev_classify()
822 tf.nsect = temp & 0xff; in sata_fsl_dev_classify()
824 return ata_dev_classify(&tf); in sata_fsl_dev_classify()
949 struct ata_taskfile tf; in sata_fsl_softreset() local
971 ata_tf_init(link->device, &tf); in sata_fsl_softreset()
978 tf.ctl |= ATA_SRST; /* setup SRST bit in taskfile control reg */ in sata_fsl_softreset()
979 ata_tf_to_fis(&tf, pmp, 0, cfis); in sata_fsl_softreset()
1027 tf.ctl &= ~ATA_SRST; /* 2nd H2D Ctl. register FIS */ in sata_fsl_softreset()
1028 ata_tf_to_fis(&tf, pmp, 0, cfis); in sata_fsl_softreset()
1234 if (qc && ata_is_atapi(qc->tf.protocol)) { in sata_fsl_host_intr()