Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/ata/
Dsata_promise.h40 if (!(tf->flags & ATA_TFLAG_WRITE)) in pdc_pkt_header()
Dpata_hpt3x2n.c312 int dpll = hpt3x2n_use_dpll(ap, qc->tf.flags & ATA_TFLAG_WRITE); in hpt3x2n_qc_defer()
328 int dpll = hpt3x2n_use_dpll(ap, qc->tf.flags & ATA_TFLAG_WRITE); in hpt3x2n_qc_issue()
Dpata_arasan_cf.c381 u32 rw = acdev->qc->tf.flags & ATA_TFLAG_WRITE; in wait4buf()
435 u32 write = acdev->qc->tf.flags & ATA_TFLAG_WRITE; in sg_xfer()
638 if (qc->tf.flags & ATA_TFLAG_WRITE) in arasan_cf_interrupt()
679 u32 write = tf->flags & ATA_TFLAG_WRITE; in arasan_cf_dma_start()
Dlibata-sff.c637 bool do_write = (qc->tf.flags & ATA_TFLAG_WRITE); in ata_pio_xfer()
787 int rw = (qc->tf.flags & ATA_TFLAG_WRITE) ? WRITE : READ; in __atapi_pio_bytes()
860 int i_write, do_write = (qc->tf.flags & ATA_TFLAG_WRITE) ? 1 : 0; in atapi_pio_bytes()
916 (qc->tf.flags & ATA_TFLAG_WRITE)) in ata_hsm_ok_in_wq()
1148 if (!(qc->tf.flags & ATA_TFLAG_WRITE)) { in ata_sff_hsm_move()
1181 (!(qc->tf.flags & ATA_TFLAG_WRITE))) { in ata_sff_hsm_move()
1381 if (qc->tf.flags & ATA_TFLAG_WRITE) { in ata_sff_qc_issue()
2950 unsigned int rw = (qc->tf.flags & ATA_TFLAG_WRITE); in ata_bmdma_setup()
Dlibata-trace.c172 if (tf_flags & ATA_TFLAG_WRITE) in libata_trace_parse_tf_flags()
Dsata_sx4.c349 if ((tf->protocol == ATA_PROT_DMA) && (!(tf->flags & ATA_TFLAG_WRITE))) in pdc20621_ata_pkt()
403 if ((tf->protocol == ATA_PROT_DMA) && (!(tf->flags & ATA_TFLAG_WRITE))) in pdc20621_host_pkt()
599 unsigned int rw = (qc->tf.flags & ATA_TFLAG_WRITE); in pdc20621_packet_start()
668 (!(qc->tf.flags & ATA_TFLAG_WRITE))) { in pdc20621_host_intr()
Dpata_ns87415.c123 unsigned int rw = (qc->tf.flags & ATA_TFLAG_WRITE); in ns87415_bmdma_setup()
Dpata_pdc202xx_old.c202 if (tf->flags & ATA_TFLAG_WRITE) in pdc2026x_bmdma_start()
Dacard-ahci.c241 if (qc->tf.flags & ATA_TFLAG_WRITE) in acard_ahci_qc_prep()
Dpata_mpc52xx.c449 unsigned int read = !(qc->tf.flags & ATA_TFLAG_WRITE), si; in mpc52xx_ata_build_dmatable()
506 unsigned int read = !(qc->tf.flags & ATA_TFLAG_WRITE); in mpc52xx_bmdma_setup()
Dsata_svw.c233 unsigned int rw = (qc->tf.flags & ATA_TFLAG_WRITE); in k2_bmdma_setup_mmio()
Dsata_sil24.c852 if (qc->tf.flags & ATA_TFLAG_WRITE) in sil24_qc_prep()
865 if (qc->tf.flags & ATA_TFLAG_WRITE) in sil24_qc_prep()
Dpata_macio.c515 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()
Dlibata-scsi.c1541 tf_flags |= ATA_TFLAG_WRITE; in ata_scsi_rw_xlat()
2634 qc->tf.flags |= ATA_TFLAG_WRITE; in atapi_xlat()
2987 tf->flags |= ATA_TFLAG_WRITE; in ata_scsi_pass_thru()
3217 ATA_TFLAG_WRITE; in ata_scsi_write_same_xlat()
3852 tf->flags |= ATA_TFLAG_WRITE; in ata_scsi_security_inout_xlat()
Dsata_qstor.c274 if ((qc->tf.flags & ATA_TFLAG_WRITE)) in qs_qc_prep()
Dpata_icside.c229 unsigned int write = qc->tf.flags & ATA_TFLAG_WRITE; in pata_icside_bmdma_setup()
Dpdc_adma.c263 u8 pFLAGS = pORD | ((qc->tf.flags & ATA_TFLAG_WRITE) ? pDIRO : 0); in adma_fill_sg()
Dsata_sil.c278 unsigned int rw = (qc->tf.flags & ATA_TFLAG_WRITE); in sil_bmdma_start()
Dsata_mv.c1909 unsigned int rw = (qc->tf.flags & ATA_TFLAG_WRITE); in mv_bmdma_start()
2001 if ((tf->flags & ATA_TFLAG_WRITE) && is_multi_taskfile(tf)) { in mv_rw_multi_errata_sata24()
2055 if (!(tf->flags & ATA_TFLAG_WRITE)) in mv_qc_prep()
2147 if (!(tf->flags & ATA_TFLAG_WRITE)) in mv_qc_prep_iie()
2302 if (qc->tf.flags & ATA_TFLAG_WRITE) in mv_qc_issue_fis()
Dsata_inic162x.c464 if (qc->tf.flags & ATA_TFLAG_WRITE) in inic_fill_sg()
Dpata_octeon_cf.c560 mio_boot_dma_cfg.s.rw = ((qc->tf.flags & ATA_TFLAG_WRITE) != 0); in octeon_cf_dma_start()
Dsata_rcar.c539 unsigned int rw = qc->tf.flags & ATA_TFLAG_WRITE; in sata_rcar_bmdma_setup()
Dsata_nv.c1297 if (qc->tf.flags & ATA_TFLAG_WRITE) in nv_adma_fill_aprd()
2160 rw = qc->tf.flags & ATA_TFLAG_WRITE; in nv_swncq_dmafis()
Dsata_promise.c495 if (!(qc->tf.flags & ATA_TFLAG_WRITE)) in pdc_atapi_pkt()
Dlibata-core.c595 write = (tf->flags & ATA_TFLAG_WRITE) ? 1 : 0; in ata_rwcmd_protocol()
702 if (tf->flags & ATA_TFLAG_WRITE) in ata_build_rw_tf()
4680 ledtrig_disk_activity(!!(qc->tf.flags & ATA_TFLAG_WRITE)); in ata_qc_complete()

12