/drivers/scsi/ |
D | a3000.c | 84 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()
|
D | a2091.c | 86 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()
|
D | sgiwd93.c | 111 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()
|
D | gvp11.c | 120 HDATA(cmd->device->host)->dma_dir = dir_in; in dma_setup() 153 if (HDATA(instance)->dma_dir && SCpnt) in dma_stop()
|
D | mvme147.c | 41 HDATA(mvme147_host)->dma_dir = dir_in; in dma_setup()
|
D | wd33c93.h | 234 int dma_dir; /* data transfer dir. */ member
|
D | gdth.h | 923 enum dma_data_direction dma_dir; member
|
D | gdth.c | 2524 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()
|
D | ipr.c | 5132 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/ |
D | sas_ata.c | 191 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/ |
D | imxmmc.c | 69 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 …]
|
D | mxcmmc.c | 131 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()
|
D | pxamci.c | 68 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()
|
D | omap_hsmmc.c | 140 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/ |
D | powertec.c | 140 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()
|
D | cumana_2.c | 168 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()
|
D | eesox.c | 167 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/ |
D | libata.h | 87 int dma_dir, void *buf, unsigned int buflen, 91 int dma_dir, struct scatterlist *sg,
|
D | libata-core.c | 1752 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()
|
D | libata-eh.c | 2195 if (qc->dma_dir != DMA_NONE) { in ata_eh_link_report() 2211 dma_str[qc->dma_dir]); in ata_eh_link_report()
|
D | libata-scsi.c | 1813 qc->dma_dir = cmd->sc_data_direction; in ata_scsi_translate() 2456 qc->dma_dir = DMA_FROM_DEVICE; in atapi_request_sense()
|
/drivers/ieee1394/ |
D | sbp2.c | 1527 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/ |
D | iser_memory.c | 382 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()
|
D | iscsi_iser.h | 368 enum dma_data_direction dma_dir);
|