Searched refs:ATA_TFLAG_WRITE (Results 1 – 25 of 26) sorted by relevance
12
643 bool do_write = (qc->tf.flags & ATA_TFLAG_WRITE); in ata_pio_xfer()683 DPRINTK("data %s\n", qc->tf.flags & ATA_TFLAG_WRITE ? "write" : "read"); in ata_pio_sector()792 int rw = (qc->tf.flags & ATA_TFLAG_WRITE) ? WRITE : READ; in __atapi_pio_bytes()823 DPRINTK("data %s\n", qc->tf.flags & ATA_TFLAG_WRITE ? "write" : "read"); in __atapi_pio_bytes()865 int i_write, do_write = (qc->tf.flags & ATA_TFLAG_WRITE) ? 1 : 0; in atapi_pio_bytes()923 (qc->tf.flags & ATA_TFLAG_WRITE)) in ata_hsm_ok_in_wq()1156 if (!(qc->tf.flags & ATA_TFLAG_WRITE)) { in ata_sff_hsm_move()1189 (!(qc->tf.flags & ATA_TFLAG_WRITE))) { in ata_sff_hsm_move()1393 if (qc->tf.flags & ATA_TFLAG_WRITE) { in ata_sff_qc_issue()2966 unsigned int rw = (qc->tf.flags & ATA_TFLAG_WRITE); in ata_bmdma_setup()
40 if (!(tf->flags & ATA_TFLAG_WRITE)) in pdc_pkt_header()
317 int dpll = hpt3x2n_use_dpll(ap, qc->tf.flags & ATA_TFLAG_WRITE); in hpt3x2n_qc_defer()333 int dpll = hpt3x2n_use_dpll(ap, qc->tf.flags & ATA_TFLAG_WRITE); in hpt3x2n_qc_issue()
380 u32 rw = acdev->qc->tf.flags & ATA_TFLAG_WRITE; in wait4buf()434 u32 write = acdev->qc->tf.flags & ATA_TFLAG_WRITE; in sg_xfer()637 if (qc->tf.flags & ATA_TFLAG_WRITE) in arasan_cf_interrupt()678 u32 write = tf->flags & ATA_TFLAG_WRITE; in arasan_cf_dma_start()
361 if ((tf->protocol == ATA_PROT_DMA) && (!(tf->flags & ATA_TFLAG_WRITE))) in pdc20621_ata_pkt()417 if ((tf->protocol == ATA_PROT_DMA) && (!(tf->flags & ATA_TFLAG_WRITE))) in pdc20621_host_pkt()629 unsigned int rw = (qc->tf.flags & ATA_TFLAG_WRITE); in pdc20621_packet_start()702 (!(qc->tf.flags & ATA_TFLAG_WRITE))) { in pdc20621_host_intr()
123 unsigned int rw = (qc->tf.flags & ATA_TFLAG_WRITE); in ns87415_bmdma_setup()
204 if (tf->flags & ATA_TFLAG_WRITE) in pdc2026x_bmdma_start()
243 if (qc->tf.flags & ATA_TFLAG_WRITE) in acard_ahci_qc_prep()
448 unsigned int read = !(qc->tf.flags & ATA_TFLAG_WRITE), si; in mpc52xx_ata_build_dmatable()505 unsigned int read = !(qc->tf.flags & ATA_TFLAG_WRITE); in mpc52xx_bmdma_setup()
233 unsigned int rw = (qc->tf.flags & ATA_TFLAG_WRITE); in k2_bmdma_setup_mmio()
852 if (qc->tf.flags & ATA_TFLAG_WRITE) in sil24_qc_prep()865 if (qc->tf.flags & ATA_TFLAG_WRITE) in sil24_qc_prep()
515 unsigned int write = (qc->tf.flags & ATA_TFLAG_WRITE); in pata_macio_qc_prep()613 if (!(qc->tf.flags & ATA_TFLAG_WRITE)) in pata_macio_bmdma_setup()
1545 tf_flags |= ATA_TFLAG_WRITE; in ata_scsi_rw_xlat()2676 qc->tf.flags |= ATA_TFLAG_WRITE; in atapi_xlat()3026 tf->flags |= ATA_TFLAG_WRITE; in ata_scsi_pass_thru()3256 ATA_TFLAG_WRITE; in ata_scsi_write_same_xlat()3898 tf->flags |= ATA_TFLAG_WRITE; in ata_scsi_security_inout_xlat()
224 unsigned int write = qc->tf.flags & ATA_TFLAG_WRITE; in pata_icside_bmdma_setup()
263 u8 pFLAGS = pORD | ((qc->tf.flags & ATA_TFLAG_WRITE) ? pDIRO : 0); in adma_fill_sg()
279 if ((qc->tf.flags & ATA_TFLAG_WRITE)) in qs_qc_prep()
278 unsigned int rw = (qc->tf.flags & ATA_TFLAG_WRITE); in sil_bmdma_start()
1913 unsigned int rw = (qc->tf.flags & ATA_TFLAG_WRITE); in mv_bmdma_start()2005 if ((tf->flags & ATA_TFLAG_WRITE) && is_multi_taskfile(tf)) { in mv_rw_multi_errata_sata24()2059 if (!(tf->flags & ATA_TFLAG_WRITE)) in mv_qc_prep()2151 if (!(tf->flags & ATA_TFLAG_WRITE)) in mv_qc_prep_iie()2305 if (qc->tf.flags & ATA_TFLAG_WRITE) in mv_qc_issue_fis()
464 if (qc->tf.flags & ATA_TFLAG_WRITE) in inic_fill_sg()
566 unsigned int rw = qc->tf.flags & ATA_TFLAG_WRITE; in sata_rcar_bmdma_setup()
588 mio_boot_dma_cfg.s.rw = ((qc->tf.flags & ATA_TFLAG_WRITE) != 0); in octeon_cf_dma_start()
1297 if (qc->tf.flags & ATA_TFLAG_WRITE) in nv_adma_fill_aprd()2172 rw = qc->tf.flags & ATA_TFLAG_WRITE; in nv_swncq_dmafis()
495 if (!(qc->tf.flags & ATA_TFLAG_WRITE)) in pdc_atapi_pkt()
582 write = (tf->flags & ATA_TFLAG_WRITE) ? 1 : 0; in ata_rwcmd_protocol()689 if (tf->flags & ATA_TFLAG_WRITE) in ata_build_rw_tf()4669 ledtrig_disk_activity(!!(qc->tf.flags & ATA_TFLAG_WRITE)); in ata_qc_complete()
126 ATA_TFLAG_WRITE = (1 << 3), /* data dir: host->dev==1 (write) */ enumerator