Lines Matching refs:tf
410 qc ? qc->tf.command : 0xff, irq_stat, idma_stat); in inic_host_intr()
458 if (qc->tf.flags & ATA_TFLAG_WRITE) in inic_fill_sg()
461 if (ata_is_dma(qc->tf.protocol)) in inic_fill_sg()
481 bool is_atapi = ata_is_atapi(qc->tf.protocol); in inic_qc_prep()
482 bool is_data = ata_is_data(qc->tf.protocol); in inic_qc_prep()
500 cpb->device = qc->tf.device; in inic_qc_prep()
501 cpb->feature = qc->tf.feature; in inic_qc_prep()
502 cpb->nsect = qc->tf.nsect; in inic_qc_prep()
503 cpb->lbal = qc->tf.lbal; in inic_qc_prep()
504 cpb->lbam = qc->tf.lbam; in inic_qc_prep()
505 cpb->lbah = qc->tf.lbah; in inic_qc_prep()
507 if (qc->tf.flags & ATA_TFLAG_LBA48) { in inic_qc_prep()
508 cpb->hob_feature = qc->tf.hob_feature; in inic_qc_prep()
509 cpb->hob_nsect = qc->tf.hob_nsect; in inic_qc_prep()
510 cpb->hob_lbal = qc->tf.hob_lbal; in inic_qc_prep()
511 cpb->hob_lbam = qc->tf.hob_lbam; in inic_qc_prep()
512 cpb->hob_lbah = qc->tf.hob_lbah; in inic_qc_prep()
515 cpb->command = qc->tf.command; in inic_qc_prep()
550 static void inic_tf_read(struct ata_port *ap, struct ata_taskfile *tf) in inic_tf_read() argument
554 tf->feature = readb(port_base + PORT_TF_FEATURE); in inic_tf_read()
555 tf->nsect = readb(port_base + PORT_TF_NSECT); in inic_tf_read()
556 tf->lbal = readb(port_base + PORT_TF_LBAL); in inic_tf_read()
557 tf->lbam = readb(port_base + PORT_TF_LBAM); in inic_tf_read()
558 tf->lbah = readb(port_base + PORT_TF_LBAH); in inic_tf_read()
559 tf->device = readb(port_base + PORT_TF_DEVICE); in inic_tf_read()
560 tf->command = readb(port_base + PORT_TF_COMMAND); in inic_tf_read()
566 struct ata_taskfile tf; in inic_qc_fill_rtf() local
575 inic_tf_read(qc->ap, &tf); in inic_qc_fill_rtf()
577 if (!(tf.command & ATA_ERR)) in inic_qc_fill_rtf()
580 rtf->command = tf.command; in inic_qc_fill_rtf()
581 rtf->feature = tf.feature; in inic_qc_fill_rtf()
639 struct ata_taskfile tf; in inic_hardreset() local
651 inic_tf_read(ap, &tf); in inic_hardreset()
652 *class = ata_dev_classify(&tf); in inic_hardreset()