Lines Matching refs:tf
124 unsigned int rw = (qc->tf.flags & ATA_TFLAG_WRITE); in ns87415_bmdma_setup()
141 ap->ops->sff_exec_command(ap, &qc->tf); in ns87415_bmdma_setup()
264 void ns87560_tf_read(struct ata_port *ap, struct ata_taskfile *tf) in ns87560_tf_read() argument
268 tf->command = ns87560_check_status(ap); in ns87560_tf_read()
269 tf->feature = ioread8(ioaddr->error_addr); in ns87560_tf_read()
270 tf->nsect = ioread8(ioaddr->nsect_addr); in ns87560_tf_read()
271 tf->lbal = ioread8(ioaddr->lbal_addr); in ns87560_tf_read()
272 tf->lbam = ioread8(ioaddr->lbam_addr); in ns87560_tf_read()
273 tf->lbah = ioread8(ioaddr->lbah_addr); in ns87560_tf_read()
274 tf->device = ns87560_read_buggy(ioaddr->device_addr); in ns87560_tf_read()
276 if (tf->flags & ATA_TFLAG_LBA48) { in ns87560_tf_read()
277 iowrite8(tf->ctl | ATA_HOB, ioaddr->ctl_addr); in ns87560_tf_read()
278 tf->hob_feature = ioread8(ioaddr->error_addr); in ns87560_tf_read()
279 tf->hob_nsect = ioread8(ioaddr->nsect_addr); in ns87560_tf_read()
280 tf->hob_lbal = ioread8(ioaddr->lbal_addr); in ns87560_tf_read()
281 tf->hob_lbam = ioread8(ioaddr->lbam_addr); in ns87560_tf_read()
282 tf->hob_lbah = ioread8(ioaddr->lbah_addr); in ns87560_tf_read()
283 iowrite8(tf->ctl, ioaddr->ctl_addr); in ns87560_tf_read()
284 ap->last_ctl = tf->ctl; in ns87560_tf_read()