Searched refs:ATA_TFLAG_WRITE (Results 1 – 25 of 28) sorted by relevance
12
700 int do_write = (qc->tf.flags & ATA_TFLAG_WRITE); in ata_pio_sector()716 DPRINTK("data %s\n", qc->tf.flags & ATA_TFLAG_WRITE ? "write" : "read"); in ata_pio_sector()830 int rw = (qc->tf.flags & ATA_TFLAG_WRITE) ? WRITE : READ; in __atapi_pio_bytes()861 DPRINTK("data %s\n", qc->tf.flags & ATA_TFLAG_WRITE ? "write" : "read"); in __atapi_pio_bytes()917 int i_write, do_write = (qc->tf.flags & ATA_TFLAG_WRITE) ? 1 : 0; in atapi_pio_bytes()975 (qc->tf.flags & ATA_TFLAG_WRITE)) in ata_hsm_ok_in_wq()1225 if (!(qc->tf.flags & ATA_TFLAG_WRITE)) { in ata_sff_hsm_move()1258 (!(qc->tf.flags & ATA_TFLAG_WRITE))) { in ata_sff_hsm_move()1442 if (qc->tf.flags & ATA_TFLAG_WRITE) { in ata_sff_qc_issue()3013 unsigned int rw = (qc->tf.flags & ATA_TFLAG_WRITE); in ata_bmdma_setup()
56 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()
382 u32 rw = acdev->qc->tf.flags & ATA_TFLAG_WRITE; in wait4buf()437 u32 write = acdev->qc->tf.flags & ATA_TFLAG_WRITE; in sg_xfer()639 if (qc->tf.flags & ATA_TFLAG_WRITE) in arasan_cf_interrupt()677 u32 write = acdev->qc->tf.flags & ATA_TFLAG_WRITE; in arasan_cf_dma_start()
380 if ((tf->protocol == ATA_PROT_DMA) && (!(tf->flags & ATA_TFLAG_WRITE))) in pdc20621_ata_pkt()436 if ((tf->protocol == ATA_PROT_DMA) && (!(tf->flags & ATA_TFLAG_WRITE))) in pdc20621_host_pkt()646 unsigned int rw = (qc->tf.flags & ATA_TFLAG_WRITE); in pdc20621_packet_start()719 (!(qc->tf.flags & ATA_TFLAG_WRITE))) { in pdc20621_host_intr()
124 unsigned int rw = (qc->tf.flags & ATA_TFLAG_WRITE); in ns87415_bmdma_setup()
204 if (tf->flags & ATA_TFLAG_WRITE) in pdc2026x_bmdma_start()
80 if (qc->tf.flags & ATA_TFLAG_WRITE) { in pxa_load_dmac()
846 if (qc->tf.flags & ATA_TFLAG_WRITE) { in bfin_bmdma_setup()884 if (qc->tf.flags & ATA_TFLAG_WRITE) { in bfin_bmdma_setup()946 if (qc->tf.flags & ATA_TFLAG_WRITE) { in bfin_bmdma_stop()
293 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()
254 unsigned int rw = (qc->tf.flags & ATA_TFLAG_WRITE); in k2_bmdma_setup_mmio()
512 unsigned int write = (qc->tf.flags & ATA_TFLAG_WRITE); in pata_macio_qc_prep()608 if (!(qc->tf.flags & ATA_TFLAG_WRITE)) in pata_macio_bmdma_setup()
863 if (qc->tf.flags & ATA_TFLAG_WRITE) in sil24_qc_prep()876 if (qc->tf.flags & ATA_TFLAG_WRITE) in sil24_qc_prep()
1651 tf_flags |= ATA_TFLAG_WRITE; in ata_scsi_rw_xlat()2674 qc->tf.flags |= ATA_TFLAG_WRITE; in atapi_xlat()2964 tf->flags |= ATA_TFLAG_WRITE; in ata_scsi_pass_thru()3072 ATA_TFLAG_WRITE; in ata_scsi_write_same_xlat()
223 unsigned int write = qc->tf.flags & ATA_TFLAG_WRITE; in pata_icside_bmdma_setup()
1884 unsigned int rw = (qc->tf.flags & ATA_TFLAG_WRITE); in mv_bmdma_start()1976 if ((tf->flags & ATA_TFLAG_WRITE) && is_multi_taskfile(tf)) { in mv_rw_multi_errata_sata24()2030 if (!(tf->flags & ATA_TFLAG_WRITE)) in mv_qc_prep()2122 if (!(tf->flags & ATA_TFLAG_WRITE)) in mv_qc_prep_iie()2274 if (qc->tf.flags & ATA_TFLAG_WRITE) in mv_qc_issue_fis()
296 if ((qc->tf.flags & ATA_TFLAG_WRITE)) in qs_qc_prep()
280 u8 pFLAGS = pORD | ((qc->tf.flags & ATA_TFLAG_WRITE) ? pDIRO : 0); in adma_fill_sg()
295 unsigned int rw = (qc->tf.flags & ATA_TFLAG_WRITE); in sil_bmdma_start()
460 if (qc->tf.flags & ATA_TFLAG_WRITE) in inic_fill_sg()
548 mio_boot_dma_cfg.s.rw = ((qc->tf.flags & ATA_TFLAG_WRITE) != 0); in octeon_cf_dma_start()
438 unsigned int rw = (qc->tf.flags & ATA_TFLAG_WRITE); in scc_bmdma_setup()
518 if (!(qc->tf.flags & ATA_TFLAG_WRITE)) in pdc_atapi_pkt()
441 ATA_TFLAG_WRITE = (1 << 3), /* data dir: host->dev==1 (write) */ enumerator