Lines Matching refs:tf
1190 struct ata_taskfile tf; in ahci_dev_classify() local
1194 tf.lbah = (tmp >> 24) & 0xff; in ahci_dev_classify()
1195 tf.lbam = (tmp >> 16) & 0xff; in ahci_dev_classify()
1196 tf.lbal = (tmp >> 8) & 0xff; in ahci_dev_classify()
1197 tf.nsect = (tmp) & 0xff; in ahci_dev_classify()
1199 return ata_dev_classify(&tf); in ahci_dev_classify()
1263 struct ata_taskfile *tf, int is_cmd, u16 flags, in ahci_exec_polled_cmd() argument
1273 ata_tf_to_fis(tf, pmp, is_cmd, fis); in ahci_exec_polled_cmd()
1310 struct ata_taskfile tf; in ahci_do_softreset() local
1331 ata_tf_init(link->device, &tf); in ahci_do_softreset()
1339 tf.ctl |= ATA_SRST; in ahci_do_softreset()
1340 if (ahci_exec_polled_cmd(ap, pmp, &tf, 0, in ahci_do_softreset()
1351 tf.ctl &= ~ATA_SRST; in ahci_do_softreset()
1352 ahci_exec_polled_cmd(ap, pmp, &tf, 0, 0, 0); in ahci_do_softreset()
1460 struct ata_taskfile tf; in ahci_hardreset() local
1469 ata_tf_init(link->device, &tf); in ahci_hardreset()
1470 tf.command = ATA_BUSY; in ahci_hardreset()
1471 ata_tf_to_fis(&tf, 0, 0, d2h_fis); in ahci_hardreset()
1543 int is_atapi = ata_is_atapi(qc->tf.protocol); in ahci_qc_prep()
1555 ata_tf_to_fis(&qc->tf, qc->dev->link->pmp, 1, cmd_tbl); in ahci_qc_prep()
1569 if (qc->tf.flags & ATA_TFLAG_WRITE) in ahci_qc_prep()
1962 if (qc->tf.protocol == ATA_PROT_NCQ) in ahci_qc_issue()
1995 if (qc->tf.protocol == ATA_PROT_PIO && qc->dma_dir == DMA_FROM_DEVICE && in ahci_qc_fill_rtf()