Lines Matching refs:tf
1184 struct ata_taskfile tf; in ahci_dev_classify() local
1188 tf.lbah = (tmp >> 24) & 0xff; in ahci_dev_classify()
1189 tf.lbam = (tmp >> 16) & 0xff; in ahci_dev_classify()
1190 tf.lbal = (tmp >> 8) & 0xff; in ahci_dev_classify()
1191 tf.nsect = (tmp) & 0xff; in ahci_dev_classify()
1193 return ata_dev_classify(&tf); in ahci_dev_classify()
1257 struct ata_taskfile *tf, int is_cmd, u16 flags, in ahci_exec_polled_cmd() argument
1267 ata_tf_to_fis(tf, pmp, is_cmd, fis); in ahci_exec_polled_cmd()
1295 struct ata_taskfile tf; in ahci_do_softreset() local
1316 ata_tf_init(link->device, &tf); in ahci_do_softreset()
1324 tf.ctl |= ATA_SRST; in ahci_do_softreset()
1325 if (ahci_exec_polled_cmd(ap, pmp, &tf, 0, in ahci_do_softreset()
1336 tf.ctl &= ~ATA_SRST; in ahci_do_softreset()
1337 ahci_exec_polled_cmd(ap, pmp, &tf, 0, 0, 0); in ahci_do_softreset()
1445 struct ata_taskfile tf; in ahci_hardreset() local
1454 ata_tf_init(link->device, &tf); in ahci_hardreset()
1455 tf.command = ATA_BUSY; in ahci_hardreset()
1456 ata_tf_to_fis(&tf, 0, 0, d2h_fis); in ahci_hardreset()
1528 int is_atapi = ata_is_atapi(qc->tf.protocol); in ahci_qc_prep()
1540 ata_tf_to_fis(&qc->tf, qc->dev->link->pmp, 1, cmd_tbl); in ahci_qc_prep()
1554 if (qc->tf.flags & ATA_TFLAG_WRITE) in ahci_qc_prep()
1901 if (qc->tf.protocol == ATA_PROT_NCQ) in ahci_qc_issue()
1934 if (qc->tf.protocol == ATA_PROT_PIO && qc->dma_dir == DMA_FROM_DEVICE && in ahci_qc_fill_rtf()