Home
last modified time | relevance | path

Searched refs:ATA_TFLAG_WRITE (Results 1 – 25 of 28) sorted by relevance

12

/linux-3.4.99/drivers/ata/
Dlibata-sff.c700 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()
Dsata_promise.h56 if (!(tf->flags & ATA_TFLAG_WRITE)) in pdc_pkt_header()
Dpata_hpt3x2n.c317 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()
Dpata_arasan_cf.c382 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()
Dsata_sx4.c380 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()
Dpata_ns87415.c124 unsigned int rw = (qc->tf.flags & ATA_TFLAG_WRITE); in ns87415_bmdma_setup()
Dpata_pdc202xx_old.c204 if (tf->flags & ATA_TFLAG_WRITE) in pdc2026x_bmdma_start()
Dpata_pxa.c80 if (qc->tf.flags & ATA_TFLAG_WRITE) { in pxa_load_dmac()
Dpata_bf54x.c846 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()
Dacard-ahci.c293 if (qc->tf.flags & ATA_TFLAG_WRITE) in acard_ahci_qc_prep()
Dpata_mpc52xx.c448 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()
Dsata_svw.c254 unsigned int rw = (qc->tf.flags & ATA_TFLAG_WRITE); in k2_bmdma_setup_mmio()
Dpata_macio.c512 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()
Dsata_sil24.c863 if (qc->tf.flags & ATA_TFLAG_WRITE) in sil24_qc_prep()
876 if (qc->tf.flags & ATA_TFLAG_WRITE) in sil24_qc_prep()
Dlibata-scsi.c1651 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()
Dpata_icside.c223 unsigned int write = qc->tf.flags & ATA_TFLAG_WRITE; in pata_icside_bmdma_setup()
Dsata_mv.c1884 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()
Dsata_qstor.c296 if ((qc->tf.flags & ATA_TFLAG_WRITE)) in qs_qc_prep()
Dpdc_adma.c280 u8 pFLAGS = pORD | ((qc->tf.flags & ATA_TFLAG_WRITE) ? pDIRO : 0); in adma_fill_sg()
Dsata_sil.c295 unsigned int rw = (qc->tf.flags & ATA_TFLAG_WRITE); in sil_bmdma_start()
Dsata_inic162x.c460 if (qc->tf.flags & ATA_TFLAG_WRITE) in inic_fill_sg()
Dpata_octeon_cf.c548 mio_boot_dma_cfg.s.rw = ((qc->tf.flags & ATA_TFLAG_WRITE) != 0); in octeon_cf_dma_start()
Dpata_scc.c438 unsigned int rw = (qc->tf.flags & ATA_TFLAG_WRITE); in scc_bmdma_setup()
Dsata_promise.c518 if (!(qc->tf.flags & ATA_TFLAG_WRITE)) in pdc_atapi_pkt()
/linux-3.4.99/include/linux/
Data.h441 ATA_TFLAG_WRITE = (1 << 3), /* data dir: host->dev==1 (write) */ enumerator

12