Home
last modified time | relevance | path

Searched refs:dma_dir (Results 1 – 24 of 24) sorted by relevance

/drivers/scsi/
Da3000.c84 HDATA(a3000_host)->dma_dir = dir_in; in dma_setup()
113 if (!HDATA(instance)->dma_dir) in dma_stop()
120 if (HDATA(instance)->dma_dir) { in dma_stop()
145 if (HDATA(instance)->dma_dir && SCpnt) in dma_stop()
Da2091.c86 HDATA(cmd->device->host)->dma_dir = dir_in; in dma_setup()
113 if (!HDATA(instance)->dma_dir) in dma_stop()
120 if (HDATA(instance)->dma_dir) { in dma_stop()
137 if( HDATA(instance)->dma_dir ) in dma_stop()
Dsgiwd93.c111 hdata->wh.dma_dir = datainp; in dma_setup()
153 if (hdata->wh.dma_dir) { in dma_stop()
161 DMA_DIR(hdata->wh.dma_dir)); in dma_stop()
Dgvp11.c120 HDATA(cmd->device->host)->dma_dir = dir_in; in dma_setup()
153 if (HDATA(instance)->dma_dir && SCpnt) in dma_stop()
Dmvme147.c41 HDATA(mvme147_host)->dma_dir = dir_in; in dma_setup()
Dwd33c93.h234 int dma_dir; /* data transfer dir. */ member
Dgdth.h923 enum dma_data_direction dma_dir; member
Dgdth.c2524 cmndinfo->dma_dir = (read_write == 1 ? in gdth_fill_cache_cmd()
2527 cmndinfo->dma_dir); in gdth_fill_cache_cmd()
2700 cmndinfo->dma_dir = PCI_DMA_BIDIRECTIONAL; in gdth_fill_raw_cmd()
2702 cmndinfo->dma_dir); in gdth_fill_raw_cmd()
3324 cmndinfo->dma_dir); in gdth_sync_event()
Dipr.c5132 if (qc->dma_dir == DMA_TO_DEVICE) { in ipr_build_ata_ioadl()
5138 } else if (qc->dma_dir == DMA_FROM_DEVICE) { in ipr_build_ata_ioadl()
/drivers/scsi/libsas/
Dsas_ata.c191 task->data_dir = qc->dma_dir; in sas_ata_qc_issue()
444 enum dma_data_direction dma_dir) in sas_execute_task() argument
454 if (dma_dir != DMA_NONE) { in sas_execute_task()
467 task->data_dir = dma_dir; in sas_execute_task()
469 if (dma_dir != DMA_NONE && in sas_execute_task()
558 if (dma_dir != DMA_NONE) { in sas_execute_task()
625 enum dma_data_direction dma_dir) in sas_issue_ata_cmd() argument
645 res = sas_execute_task(task, buffer, size, dma_dir); in sas_issue_ata_cmd()
/drivers/mmc/host/
Dimxmmc.c69 unsigned int dma_dir; member
251 host->dma_dir = DMA_FROM_DEVICE; in imxmci_setup_data()
257 host->dma_dir = DMA_TO_DEVICE; in imxmci_setup_data()
271 host->dma_dir = DMA_FROM_DEVICE; in imxmci_setup_data()
273 data->sg_len, host->dma_dir); in imxmci_setup_data()
282 host->dma_dir = DMA_TO_DEVICE; in imxmci_setup_data()
285 data->sg_len, host->dma_dir); in imxmci_setup_data()
321 if (host->dma_dir == DMA_FROM_DEVICE) in imxmci_setup_data()
422 host->dma_dir); in imxmci_finish_data()
563 if (host->dma_dir == DMA_FROM_DEVICE) { in imxmci_cpu_driven_data()
[all …]
Dmxcmmc.c131 unsigned int dma_dir; member
191 host->dma_dir = DMA_FROM_DEVICE; in mxcmci_setup_data()
193 data->sg_len, host->dma_dir); in mxcmci_setup_data()
199 host->dma_dir = DMA_TO_DEVICE; in mxcmci_setup_data()
201 data->sg_len, host->dma_dir); in mxcmci_setup_data()
275 host->dma_dir); in mxcmci_finish_data()
Dpxamci.c68 unsigned int dma_dir; member
136 host->dma_dir = DMA_FROM_DEVICE; in pxamci_setup_data()
141 host->dma_dir = DMA_TO_DEVICE; in pxamci_setup_data()
150 host->dma_dir); in pxamci_setup_data()
300 host->dma_dir); in pxamci_data_done()
Domap_hsmmc.c140 unsigned int dma_dir; member
288 host->dma_dir); in mmc_omap_xfer_done()
340 host->dma_dir); in mmc_dma_cleanup()
651 host->dma_dir = DMA_FROM_DEVICE; in mmc_omap_start_dma_transfer()
657 host->dma_dir = DMA_TO_DEVICE; in mmc_omap_start_dma_transfer()
674 data->sg_len, host->dma_dir); in mmc_omap_start_dma_transfer()
/drivers/scsi/arm/
Dpowertec.c140 int bufs, map_dir, dma_dir; in powertecscsi_dma_setup() local
146 dma_dir = DMA_MODE_WRITE; in powertecscsi_dma_setup()
149 dma_dir = DMA_MODE_READ; in powertecscsi_dma_setup()
155 set_dma_mode(dmach, dma_dir); in powertecscsi_dma_setup()
Dcumana_2.c168 int bufs, map_dir, dma_dir, alatch_dir; in cumanascsi_2_dma_setup() local
174 dma_dir = DMA_MODE_WRITE, in cumanascsi_2_dma_setup()
178 dma_dir = DMA_MODE_READ, in cumanascsi_2_dma_setup()
186 set_dma_mode(dmach, dma_dir); in cumanascsi_2_dma_setup()
Deesox.c167 int bufs, map_dir, dma_dir; in eesoxscsi_dma_setup() local
173 dma_dir = DMA_MODE_WRITE; in eesoxscsi_dma_setup()
176 dma_dir = DMA_MODE_READ; in eesoxscsi_dma_setup()
182 set_dma_mode(dmach, dma_dir); in eesoxscsi_dma_setup()
/drivers/ata/
Dlibata.h87 int dma_dir, void *buf, unsigned int buflen,
91 int dma_dir, struct scatterlist *sg,
Dlibata-core.c1752 int dma_dir, struct scatterlist *sgl, in ata_exec_internal_sg() argument
1812 qc->dma_dir = dma_dir; in ata_exec_internal_sg()
1813 if (dma_dir != DMA_NONE) { in ata_exec_internal_sg()
1941 int dma_dir, void *buf, unsigned int buflen, in ata_exec_internal() argument
1947 if (dma_dir != DMA_NONE) { in ata_exec_internal()
1954 return ata_exec_internal_sg(dev, tf, cdb, dma_dir, psg, n_elem, in ata_exec_internal()
4610 int dir = qc->dma_dir; in ata_sg_clean()
4727 n_elem = dma_map_sg(ap->dev, qc->sg, qc->n_elem, qc->dma_dir); in ata_sg_setup()
Dlibata-eh.c2195 if (qc->dma_dir != DMA_NONE) { in ata_eh_link_report()
2211 dma_str[qc->dma_dir]); in ata_eh_link_report()
Dlibata-scsi.c1813 qc->dma_dir = cmd->sc_data_direction; in ata_scsi_translate()
2456 qc->dma_dir = DMA_FROM_DEVICE; in atapi_request_sense()
/drivers/ieee1394/
Dsbp2.c1527 enum dma_data_direction dma_dir) in sbp2_prep_command_orb_sg() argument
1533 n = dma_map_sg(dmadev, sg, sg_count, dma_dir); in sbp2_prep_command_orb_sg()
1574 enum dma_data_direction dma_dir = SCpnt->sc_data_direction; in sbp2_create_command_orb() local
1594 if (dma_dir == DMA_NONE) in sbp2_create_command_orb()
1596 else if (dma_dir == DMA_TO_DEVICE && scsi_request_bufflen) in sbp2_create_command_orb()
1598 else if (dma_dir == DMA_FROM_DEVICE && scsi_request_bufflen) in sbp2_create_command_orb()
1615 orb_direction, dma_dir); in sbp2_create_command_orb()
/drivers/infiniband/ulp/iser/
Diser_memory.c382 enum dma_data_direction dma_dir) in iser_dma_map_task_data() argument
389 data->dma_nents = ib_dma_map_sg(dev, data->buf, data->size, dma_dir); in iser_dma_map_task_data()
Discsi_iser.h368 enum dma_data_direction dma_dir);