Lines Matching refs:tf
531 ata_tf_to_fis(&qc->tf, qc->dev->link->pmp, 1, (u8 *) &cd->cfis); in sata_fsl_qc_prep()
536 if (qc->tf.protocol == ATA_PROT_NCQ) { in sata_fsl_qc_prep()
542 if (ata_is_atapi(qc->tf.protocol)) { in sata_fsl_qc_prep()
553 if (qc->tf.protocol == ATA_PROT_NCQ) in sata_fsl_qc_prep()
809 struct ata_taskfile tf; in sata_fsl_dev_classify() local
818 tf.lbah = (temp >> 24) & 0xff; in sata_fsl_dev_classify()
819 tf.lbam = (temp >> 16) & 0xff; in sata_fsl_dev_classify()
820 tf.lbal = (temp >> 8) & 0xff; in sata_fsl_dev_classify()
821 tf.nsect = temp & 0xff; in sata_fsl_dev_classify()
823 return ata_dev_classify(&tf); in sata_fsl_dev_classify()
948 struct ata_taskfile tf; in sata_fsl_softreset() local
970 ata_tf_init(link->device, &tf); in sata_fsl_softreset()
977 tf.ctl |= ATA_SRST; /* setup SRST bit in taskfile control reg */ in sata_fsl_softreset()
978 ata_tf_to_fis(&tf, pmp, 0, cfis); in sata_fsl_softreset()
1026 tf.ctl &= ~ATA_SRST; /* 2nd H2D Ctl. register FIS */ in sata_fsl_softreset()
1027 ata_tf_to_fis(&tf, pmp, 0, cfis); in sata_fsl_softreset()
1233 if (qc && ata_is_atapi(qc->tf.protocol)) { in sata_fsl_host_intr()