/drivers/media/platform/blackfin/ |
D | ppi.c | 102 ret = request_dma(info->dma_ch, "PPI_DMA"); in ppi_attach_irq() 108 set_dma_callback(info->dma_ch, handler, ppi); in ppi_attach_irq() 114 free_dma(info->dma_ch); in ppi_attach_irq() 126 free_dma(info->dma_ch); in ppi_detach_irq() 134 enable_dma(info->dma_ch); in ppi_start() 195 clear_dma_irqstat(info->dma_ch); in ppi_stop() 196 disable_dma(info->dma_ch); in ppi_stop() 306 set_dma_x_count(info->dma_ch, bytes_per_line >> 2); in ppi_set_params() 307 set_dma_x_modify(info->dma_ch, 4); in ppi_set_params() 308 set_dma_y_modify(info->dma_ch, 4); in ppi_set_params() [all …]
|
/drivers/mmc/host/ |
D | bfin_sdh.c | 65 int dma_ch; member 185 set_dma_curr_desc_addr(host->dma_ch, (unsigned long *)host->sg_dma); in sdh_setup_data() 186 set_dma_x_count(host->dma_ch, 0); in sdh_setup_data() 187 set_dma_x_modify(host->dma_ch, 0); in sdh_setup_data() 189 set_dma_config(host->dma_ch, dma_cfg); in sdh_setup_data() 193 set_dma_start_addr(host->dma_ch, sg_dma_address(&data->sg[0])); in sdh_setup_data() 194 set_dma_x_count(host->dma_ch, length / 4); in sdh_setup_data() 195 set_dma_x_modify(host->dma_ch, 4); in sdh_setup_data() 197 set_dma_config(host->dma_ch, dma_cfg); in sdh_setup_data() 298 disable_dma(host->dma_ch); in sdh_data_done() [all …]
|
D | omap_hsmmc.c | 200 int use_dma, dma_ch; member 955 int dma_ch; in omap_hsmmc_request_done() local 960 dma_ch = host->dma_ch; in omap_hsmmc_request_done() 965 if (mrq->data && host->use_dma && dma_ch != -1) in omap_hsmmc_request_done() 1042 int dma_ch; in omap_hsmmc_dma_cleanup() local 1048 dma_ch = host->dma_ch; in omap_hsmmc_dma_cleanup() 1049 host->dma_ch = -1; in omap_hsmmc_dma_cleanup() 1052 if (host->use_dma && dma_ch != -1) { in omap_hsmmc_dma_cleanup() 1343 if (host->dma_ch < 0) { in omap_hsmmc_dma_callback() 1356 host->dma_ch = -1; in omap_hsmmc_dma_callback() [all …]
|
/drivers/media/platform/omap/ |
D | omap_vout_vrfb.c | 135 vout->vrfb_dma_tx.dma_ch = -1; in omap_vout_setup_vrfb_bufs() 139 (void *) &vout->vrfb_dma_tx, &vout->vrfb_dma_tx.dma_ch); in omap_vout_setup_vrfb_bufs() 179 omap_free_dma(vout->vrfb_dma_tx.dma_ch); in omap_vout_release_vrfb() 257 omap_set_dma_transfer_params(tx->dma_ch, OMAP_DMA_DATA_TYPE_S32, in omap_vout_prepare_vrfb() 261 omap_set_dma_src_params(tx->dma_ch, 0, OMAP_DMA_AMODE_POST_INC, in omap_vout_prepare_vrfb() 264 omap_set_dma_src_burst_mode(tx->dma_ch, OMAP_DMA_DATA_BURST_16); in omap_vout_prepare_vrfb() 268 omap_set_dma_dest_params(tx->dma_ch, 0, OMAP_DMA_AMODE_DOUBLE_IDX, in omap_vout_prepare_vrfb() 272 omap_set_dma_dest_burst_mode(tx->dma_ch, OMAP_DMA_DATA_BURST_16); in omap_vout_prepare_vrfb() 275 omap_start_dma(tx->dma_ch); in omap_vout_prepare_vrfb() 280 omap_stop_dma(tx->dma_ch); in omap_vout_prepare_vrfb()
|
D | omap_voutdef.h | 85 int dma_ch; member
|
/drivers/media/platform/omap3isp/ |
D | isphist.c | 200 ret = dmaengine_slave_config(hist->dma_ch, &cfg); in hist_buf_dma() 207 tx = dmaengine_prep_slave_single(hist->dma_ch, dma_addr, in hist_buf_dma() 224 dma_async_issue_pending(hist->dma_ch); in hist_buf_dma() 287 if (hist->dma_ch) in hist_buf_process() 502 hist->dma_ch = dma_request_slave_channel_compat(mask, in omap3isp_hist_init() 504 if (!hist->dma_ch) in omap3isp_hist_init() 509 dma_chan_name(hist->dma_ch)); in omap3isp_hist_init() 518 if (hist->dma_ch) in omap3isp_hist_init() 519 dma_release_channel(hist->dma_ch); in omap3isp_hist_init() 532 if (hist->dma_ch) in omap3isp_hist_cleanup() [all …]
|
D | ispstat.h | 112 struct dma_chan *dma_ch; member
|
D | ispstat.c | 24 #define ISP_STAT_USES_DMAENGINE(stat) ((stat)->dma_ch != NULL)
|
/drivers/crypto/ |
D | bfin_crc.c | 56 int dma_ch; member 273 set_dma_curr_desc_addr(crc->dma_ch, (unsigned long *)crc->sg_dma); in bfin_crypto_crc_config_dma() 274 set_dma_x_count(crc->dma_ch, 0); in bfin_crypto_crc_config_dma() 275 set_dma_x_modify(crc->dma_ch, 0); in bfin_crypto_crc_config_dma() 276 set_dma_config(crc->dma_ch, dma_config); in bfin_crypto_crc_config_dma() 616 crc->dma_ch = res->start; in bfin_crypto_crc_probe() 618 ret = request_dma(crc->dma_ch, dev_name(dev)); in bfin_crypto_crc_probe() 669 free_dma(crc->dma_ch); in bfin_crypto_crc_probe() 691 free_dma(crc->dma_ch); in bfin_crypto_crc_remove()
|
/drivers/misc/mic/card/ |
D | mic_device.c | 334 mdrv->dma_ch[mdrv->num_dma_ch++] = chan; in mic_request_dma_chans() 348 dma_release_channel(mdrv->dma_ch[i]); in mic_free_dma_chans() 349 mdrv->dma_ch[i] = NULL; in mic_free_dma_chans() 383 NULL, mdrv->dma_ch[0]); in mic_driver_init() 393 NULL, mdrv->dp, mdrv->dma_ch, in mic_driver_init()
|
D | mic_device.h | 92 struct dma_chan *dma_ch[MIC_MAX_DMA_CHAN]; member
|
/drivers/dma/ |
D | omap-dma.c | 56 int dma_ch; member 464 c->dma_ch); in omap_dma_stop() 629 omap_dma_callback, c, &c->dma_ch); in omap_dma_alloc_chan_resources() 632 &c->dma_ch); in omap_dma_alloc_chan_resources() 635 dev_dbg(dev, "allocating channel %u for %u\n", c->dma_ch, c->dma_sig); in omap_dma_alloc_chan_resources() 638 omap_dma_assign(od, c, c->dma_ch); in omap_dma_alloc_chan_resources() 644 val = BIT(c->dma_ch); in omap_dma_alloc_chan_resources() 650 val &= ~BIT(c->dma_ch); in omap_dma_alloc_chan_resources() 660 c->ccr |= c->dma_ch + 1; in omap_dma_alloc_chan_resources() 681 od->irq_enable_mask &= ~BIT(c->dma_ch); in omap_dma_free_chan_resources() [all …]
|
/drivers/misc/mic/host/ |
D | mic_boot.c | 432 mdev->dma_ch[mdev->num_dma_ch++] = chan; in mic_request_dma_chans() 452 dma_release_channel(mdev->dma_ch[i]); in mic_free_dma_chans() 453 mdev->dma_ch[i] = NULL; in mic_free_dma_chans() 489 mdev->dma_ch, mdev->num_dma_ch, in _mic_start() 499 mdev->dma_ch[0]); in _mic_start()
|
D | mic_device.h | 94 struct dma_chan *dma_ch[MIC_MAX_DMA_CHAN]; member
|
/drivers/misc/mic/vop/ |
D | vop_vringh.c | 488 struct dma_chan *vop_ch = vi->dma_ch; in vop_sync_dma() 534 size_t dma_alignment = 1 << vi->dma_ch->device->copy_align; in vop_virtio_copy_to_user() 535 bool x200 = is_dma_copy_aligned(vi->dma_ch->device, 1, 1, 1); in vop_virtio_copy_to_user() 609 size_t dma_alignment = 1 << vi->dma_ch->device->copy_align; in vop_virtio_copy_from_user() 610 bool x200 = is_dma_copy_aligned(vi->dma_ch->device, 1, 1, 1); in vop_virtio_copy_from_user() 1134 vi->dma_ch = vpdev->dma_ch; in vop_host_init()
|
D | vop_main.h | 74 struct dma_chan *dma_ch; member
|
/drivers/misc/mic/bus/ |
D | vop_bus.h | 60 struct dma_chan *dma_ch; member
|
D | scif_bus.h | 62 struct dma_chan **dma_ch; member
|
D | vop_bus.c | 165 vdev->dma_ch = chan; in vop_register_device()
|
D | scif_bus.c | 170 sdev->dma_ch = chan; in scif_register_device()
|
/drivers/scsi/ |
D | BusLogic.c | 1549 adapter->dma_ch = 5; in blogic_rdconfig() 1551 adapter->dma_ch = 6; in blogic_rdconfig() 1553 adapter->dma_ch = 7; in blogic_rdconfig() 1848 if (adapter->dma_ch > 0) in blogic_reportconfig() 1849 blogic_info("%d, ", adapter, adapter->dma_ch); in blogic_reportconfig() 2006 if (adapter->dma_ch > 0) { in blogic_getres() 2007 if (request_dma(adapter->dma_ch, adapter->full_model) < 0) { in blogic_getres() 2008 blogic_err("UNABLE TO ACQUIRE DMA CHANNEL %d - DETACHING\n", adapter, adapter->dma_ch); in blogic_getres() 2011 set_dma_mode(adapter->dma_ch, DMA_MODE_CASCADE); in blogic_getres() 2012 enable_dma(adapter->dma_ch); in blogic_getres() [all …]
|
D | BusLogic.h | 564 unsigned char dma_ch:7; /* Byte 11 Bits 0-6 */ member 1007 unsigned char dma_ch; member
|
/drivers/usb/host/ |
D | r8a66597-hcd.c | 310 static void set_pipe_reg_addr(struct r8a66597_pipe *pipe, u8 dma_ch) in set_pipe_reg_addr() argument 317 if (dma_ch > R8A66597_PIPE_NO_DMA) /* dma fifo not use? */ in set_pipe_reg_addr() 318 dma_ch = R8A66597_PIPE_NO_DMA; in set_pipe_reg_addr() 320 pipe->fifoaddr = fifoaddr[dma_ch]; in set_pipe_reg_addr() 321 pipe->fifosel = fifosel[dma_ch]; in set_pipe_reg_addr() 322 pipe->fifoctr = fifoctr[dma_ch]; in set_pipe_reg_addr()
|
/drivers/gpu/ipu-v3/ |
D | ipu-image-convert.c | 164 const struct ipu_image_convert_dma_chan *dma_ch; member 1105 const struct ipu_image_convert_dma_chan *dma = chan->dma_ch; in get_ipu_resources() 1694 chan->dma_ch = &image_convert_dma_chan[i]; in ipu_image_convert_init()
|
/drivers/dma/ipu/ |
D | ipu_idmac.c | 557 static uint32_t dma_param_addr(uint32_t dma_ch) in dma_param_addr() argument 560 return 0x10000 | (dma_ch << 4); in dma_param_addr()
|