Home
last modified time | relevance | path

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

/drivers/media/platform/blackfin/
Dppi.c102 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/
Dbfin_sdh.c65 int dma_ch; member
188 set_dma_curr_desc_addr(host->dma_ch, (unsigned long *)host->sg_dma); in sdh_setup_data()
189 set_dma_x_count(host->dma_ch, 0); in sdh_setup_data()
190 set_dma_x_modify(host->dma_ch, 0); in sdh_setup_data()
192 set_dma_config(host->dma_ch, dma_cfg); in sdh_setup_data()
196 set_dma_start_addr(host->dma_ch, sg_dma_address(&data->sg[0])); in sdh_setup_data()
197 set_dma_x_count(host->dma_ch, length / 4); in sdh_setup_data()
198 set_dma_x_modify(host->dma_ch, 4); in sdh_setup_data()
200 set_dma_config(host->dma_ch, dma_cfg); in sdh_setup_data()
301 disable_dma(host->dma_ch); in sdh_data_done()
[all …]
Domap_hsmmc.c201 int use_dma, dma_ch; member
954 int dma_ch; in omap_hsmmc_request_done() local
959 dma_ch = host->dma_ch; in omap_hsmmc_request_done()
964 if (mrq->data && host->use_dma && dma_ch != -1) in omap_hsmmc_request_done()
1043 int dma_ch; in omap_hsmmc_dma_cleanup() local
1049 dma_ch = host->dma_ch; in omap_hsmmc_dma_cleanup()
1050 host->dma_ch = -1; in omap_hsmmc_dma_cleanup()
1053 if (host->use_dma && dma_ch != -1) { in omap_hsmmc_dma_cleanup()
1346 if (host->dma_ch < 0) { in omap_hsmmc_dma_callback()
1359 host->dma_ch = -1; in omap_hsmmc_dma_callback()
[all …]
/drivers/media/platform/omap/
Domap_vout_vrfb.c133 vout->vrfb_dma_tx.dma_ch = -1; in omap_vout_setup_vrfb_bufs()
137 (void *) &vout->vrfb_dma_tx, &vout->vrfb_dma_tx.dma_ch); in omap_vout_setup_vrfb_bufs()
177 omap_free_dma(vout->vrfb_dma_tx.dma_ch); in omap_vout_release_vrfb()
255 omap_set_dma_transfer_params(tx->dma_ch, OMAP_DMA_DATA_TYPE_S32, in omap_vout_prepare_vrfb()
259 omap_set_dma_src_params(tx->dma_ch, 0, OMAP_DMA_AMODE_POST_INC, in omap_vout_prepare_vrfb()
262 omap_set_dma_src_burst_mode(tx->dma_ch, OMAP_DMA_DATA_BURST_16); in omap_vout_prepare_vrfb()
266 omap_set_dma_dest_params(tx->dma_ch, 0, OMAP_DMA_AMODE_DOUBLE_IDX, in omap_vout_prepare_vrfb()
270 omap_set_dma_dest_burst_mode(tx->dma_ch, OMAP_DMA_DATA_BURST_16); in omap_vout_prepare_vrfb()
273 omap_start_dma(tx->dma_ch); in omap_vout_prepare_vrfb()
278 omap_stop_dma(tx->dma_ch); in omap_vout_prepare_vrfb()
Domap_voutdef.h84 int dma_ch; member
/drivers/media/platform/omap3isp/
Disphist.c200 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 …]
Dispstat.h112 struct dma_chan *dma_ch; member
Dispstat.c24 #define ISP_STAT_USES_DMAENGINE(stat) ((stat)->dma_ch != NULL)
/drivers/media/platform/soc_camera/
Domap1_camera.c158 int dma_ch; member
298 static void set_dma_dest_params(int dma_ch, struct omap1_cam_buf *buf, in set_dma_dest_params() argument
337 omap_set_dma_dest_params(dma_ch, in set_dma_dest_params()
339 omap_set_dma_transfer_params(dma_ch, in set_dma_dest_params()
370 set_dma_dest_params(pcdev->dma_ch, buf, pcdev->vb_mode); in prepare_next_vb()
384 static struct scatterlist *try_next_sgbuf(int dma_ch, struct omap1_cam_buf *buf) in try_next_sgbuf() argument
421 set_dma_dest_params(dma_ch, buf, OMAP1_CAM_DMA_SG); in try_next_sgbuf()
447 omap_start_dma(pcdev->dma_ch); in start_capture()
455 try_next_sgbuf(pcdev->dma_ch, buf); in start_capture()
469 omap_stop_dma(pcdev->dma_ch); in suspend_capture()
[all …]
/drivers/crypto/
Dbfin_crc.c56 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()
620 crc->dma_ch = res->start; in bfin_crypto_crc_probe()
622 ret = request_dma(crc->dma_ch, dev_name(dev)); in bfin_crypto_crc_probe()
673 free_dma(crc->dma_ch); in bfin_crypto_crc_probe()
695 free_dma(crc->dma_ch); in bfin_crypto_crc_remove()
/drivers/dma/
Domap-dma.c55 int dma_ch; member
341 c->dma_ch); in omap_dma_stop()
532 omap_dma_callback, c, &c->dma_ch); in omap_dma_alloc_chan_resources()
535 &c->dma_ch); in omap_dma_alloc_chan_resources()
539 c->dma_ch, c->dma_sig); in omap_dma_alloc_chan_resources()
542 omap_dma_assign(od, c, c->dma_ch); in omap_dma_alloc_chan_resources()
548 val = BIT(c->dma_ch); in omap_dma_alloc_chan_resources()
554 val &= ~BIT(c->dma_ch); in omap_dma_alloc_chan_resources()
564 c->ccr |= c->dma_ch + 1; in omap_dma_alloc_chan_resources()
585 od->irq_enable_mask &= ~BIT(c->dma_ch); in omap_dma_free_chan_resources()
[all …]
/drivers/misc/mic/card/
Dmic_device.c265 mdrv->dma_ch[mdrv->num_dma_ch++] = chan; in mic_request_dma_chans()
279 dma_release_channel(mdrv->dma_ch[i]); in mic_free_dma_chans()
280 mdrv->dma_ch[i] = NULL; in mic_free_dma_chans()
320 NULL, mdrv->dp, mdrv->dma_ch, in mic_driver_init()
Dmic_device.h90 struct dma_chan *dma_ch[MIC_MAX_DMA_CHAN]; member
/drivers/misc/mic/host/
Dmic_boot.c326 mdev->dma_ch[mdev->num_dma_ch++] = chan; in mic_request_dma_chans()
346 dma_release_channel(mdev->dma_ch[i]); in mic_free_dma_chans()
347 mdev->dma_ch[i] = NULL; in mic_free_dma_chans()
383 mdev->dma_ch, mdev->num_dma_ch, in _mic_start()
Dmic_device.h98 struct dma_chan *dma_ch[MIC_MAX_DMA_CHAN]; member
Dmic_virtio.c42 struct dma_chan *mic_ch = mdev->dma_ch[0]; in mic_sync_dma()
82 size_t dma_alignment = 1 << mdev->dma_ch[0]->device->copy_align; in mic_virtio_copy_to_user()
131 size_t dma_alignment = 1 << mdev->dma_ch[0]->device->copy_align; in mic_virtio_copy_from_user()
/drivers/dma/sh/
Drcar-hpbdma.c350 int ch = chan->cfg->dma_ch; in hpb_dmae_chan_irq()
414 HPB_DMAE_CHAN(cfg->dma_ch); in hpb_dmae_alloc_chan_resources()
418 dev_dbg(dev, " -- cfg->dma_ch : %d\n", cfg->dma_ch); in hpb_dmae_alloc_chan_resources()
452 hpb_dmae_enable_int(hpbdev, cfg->dma_ch); in hpb_dmae_alloc_chan_resources()
/drivers/misc/mic/bus/
Dscif_bus.h62 struct dma_chan **dma_ch; member
Dscif_bus.c170 sdev->dma_ch = chan; in scif_register_device()
/drivers/scsi/
DBusLogic.c1549 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 …]
DBusLogic.h564 unsigned char dma_ch:7; /* Byte 11 Bits 0-6 */ member
1007 unsigned char dma_ch; member
/drivers/usb/host/
Dr8a66597-hcd.c310 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/dma/ipu/
Dipu_idmac.c557 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()
/drivers/misc/mic/scif/
Dscif_dma.c107 chan = sdev->dma_ch[scifdev->dma_ch_idx]; in scif_reserve_dma_chan()