Lines Matching refs:tf
489 static void sil24_read_tf(struct ata_port *ap, int tag, struct ata_taskfile *tf) in sil24_read_tf() argument
497 ata_tf_from_fis(fis, tf); in sil24_read_tf()
605 const struct ata_taskfile *tf, in sil24_exec_polled_cmd() argument
617 ata_tf_to_fis(tf, pmp, is_cmd, prb->fis); in sil24_exec_polled_cmd()
662 struct ata_taskfile tf; in sil24_softreset() local
678 ata_tf_init(link->device, &tf); /* doesn't really matter */ in sil24_softreset()
679 rc = sil24_exec_polled_cmd(ap, pmp, &tf, 0, PRB_CTRL_SRST, in sil24_softreset()
689 sil24_read_tf(ap, 0, &tf); in sil24_softreset()
690 *class = ata_dev_classify(&tf); in sil24_softreset()
802 u8 prot = qc->tf.protocol; in sil24_qc_defer()
854 if (!ata_is_atapi(qc->tf.protocol)) { in sil24_qc_prep()
857 if (ata_is_data(qc->tf.protocol)) { in sil24_qc_prep()
860 if (ata_is_ncq(qc->tf.protocol)) in sil24_qc_prep()
862 if (qc->tf.flags & ATA_TFLAG_WRITE) in sil24_qc_prep()
874 if (ata_is_data(qc->tf.protocol)) { in sil24_qc_prep()
875 if (qc->tf.flags & ATA_TFLAG_WRITE) in sil24_qc_prep()
883 ata_tf_to_fis(&qc->tf, qc->dev->link->pmp, 1, prb->fis); in sil24_qc_prep()