/Linux-v4.19/sound/soc/qcom/ |
D | lpass-platform.c | 30 int dma_ch; member 69 int ret, dma_ch, dir = substream->stream; in lpass_platform_pcmops_open() local 80 dma_ch = v->alloc_dma_channel(drvdata, dir); in lpass_platform_pcmops_open() 82 dma_ch = 0; in lpass_platform_pcmops_open() 84 if (dma_ch < 0) in lpass_platform_pcmops_open() 85 return dma_ch; in lpass_platform_pcmops_open() 87 drvdata->substream[dma_ch] = substream; in lpass_platform_pcmops_open() 90 LPAIF_DMACTL_REG(v, dma_ch, dir), 0); in lpass_platform_pcmops_open() 97 data->dma_ch = dma_ch; in lpass_platform_pcmops_open() 126 drvdata->substream[data->dma_ch] = NULL; in lpass_platform_pcmops_close() [all …]
|
/Linux-v4.19/drivers/media/platform/omap3isp/ |
D | isphist.c | 199 ret = dmaengine_slave_config(hist->dma_ch, &cfg); in hist_buf_dma() 206 tx = dmaengine_prep_slave_single(hist->dma_ch, dma_addr, in hist_buf_dma() 223 dma_async_issue_pending(hist->dma_ch); in hist_buf_dma() 286 if (hist->dma_ch) in hist_buf_process() 501 hist->dma_ch = dma_request_chan_by_mask(&mask); in omap3isp_hist_init() 502 if (IS_ERR(hist->dma_ch)) { in omap3isp_hist_init() 503 ret = PTR_ERR(hist->dma_ch); in omap3isp_hist_init() 507 hist->dma_ch = NULL; in omap3isp_hist_init() 512 dma_chan_name(hist->dma_ch)); in omap3isp_hist_init() 522 if (hist->dma_ch) in omap3isp_hist_init() [all …]
|
D | ispstat.h | 112 struct dma_chan *dma_ch; member
|
/Linux-v4.19/arch/unicore32/kernel/ |
D | dma.c | 77 void puv3_free_dma(int dma_ch) in puv3_free_dma() argument 81 if (!dma_channels[dma_ch].name) { in puv3_free_dma() 84 __func__, dma_ch); in puv3_free_dma() 89 dma_channels[dma_ch].name = NULL; in puv3_free_dma() 90 dma_channels[dma_ch].err_handler = NULL; in puv3_free_dma()
|
/Linux-v4.19/sound/ppc/ |
D | snd_ps3.c | 122 int dma_ch, done, retries, stop_forced = 0; in snd_ps3_verify_dma_stop() local 125 for (dma_ch = 0; dma_ch < 8; dma_ch++) { in snd_ps3_verify_dma_stop() 128 status = read_reg(PS3_AUDIO_KICK(dma_ch)) & in snd_ps3_verify_dma_stop() 144 __func__, dma_ch); in snd_ps3_verify_dma_stop() 233 int fill_stages, dma_ch, stage; in snd_ps3_program_dma() local 262 dma_ch = stage * 2 + ch; in snd_ps3_program_dma() 271 write_reg(PS3_AUDIO_SOURCE(dma_ch), in snd_ps3_program_dma() 277 write_reg(PS3_AUDIO_DEST(dma_ch), in snd_ps3_program_dma() 281 write_reg(PS3_AUDIO_DEST(dma_ch), in snd_ps3_program_dma() 286 write_reg(PS3_AUDIO_DMASIZE(dma_ch), 0); in snd_ps3_program_dma() [all …]
|
/Linux-v4.19/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
|
/Linux-v4.19/drivers/dma/ti/ |
D | omap-dma.c | 56 int dma_ch; member 448 c->dma_ch); in omap_dma_drain_chan() 646 omap_dma_callback, c, &c->dma_ch); in omap_dma_alloc_chan_resources() 649 &c->dma_ch); in omap_dma_alloc_chan_resources() 652 dev_dbg(dev, "allocating channel %u for %u\n", c->dma_ch, c->dma_sig); in omap_dma_alloc_chan_resources() 655 omap_dma_assign(od, c, c->dma_ch); in omap_dma_alloc_chan_resources() 661 val = BIT(c->dma_ch); in omap_dma_alloc_chan_resources() 667 val &= ~BIT(c->dma_ch); in omap_dma_alloc_chan_resources() 677 c->ccr |= c->dma_ch + 1; in omap_dma_alloc_chan_resources() 698 od->irq_enable_mask &= ~BIT(c->dma_ch); in omap_dma_free_chan_resources() [all …]
|
/Linux-v4.19/drivers/mmc/host/ |
D | omap_hsmmc.c | 196 int use_dma, dma_ch; member 908 int dma_ch; in omap_hsmmc_request_done() local 913 dma_ch = host->dma_ch; in omap_hsmmc_request_done() 918 if (mrq->data && host->use_dma && dma_ch != -1) in omap_hsmmc_request_done() 995 int dma_ch; in omap_hsmmc_dma_cleanup() local 1001 dma_ch = host->dma_ch; in omap_hsmmc_dma_cleanup() 1002 host->dma_ch = -1; in omap_hsmmc_dma_cleanup() 1005 if (host->use_dma && dma_ch != -1) { in omap_hsmmc_dma_cleanup() 1296 if (host->dma_ch < 0) { in omap_hsmmc_dma_callback() 1309 host->dma_ch = -1; in omap_hsmmc_dma_callback() [all …]
|
/Linux-v4.19/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
|
/Linux-v4.19/arch/arm/mach-s3c24xx/include/mach/ |
D | dma.h | 20 enum dma_ch { enum
|
/Linux-v4.19/arch/unicore32/include/mach/ |
D | dma.h | 36 extern void puv3_free_dma(int dma_ch);
|
/Linux-v4.19/arch/arm/mach-s3c64xx/include/mach/ |
D | dma.h | 51 enum dma_ch { enum
|
/Linux-v4.19/drivers/misc/mic/vop/ |
D | vop_main.h | 74 struct dma_chan *dma_ch; member
|
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() 1126 vi->dma_ch = vpdev->dma_ch; in vop_host_init()
|
/Linux-v4.19/include/linux/ |
D | omap-dma.h | 307 void *data, int *dma_ch); 369 void *data, int *dma_ch) in omap_request_dma() argument
|
/Linux-v4.19/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 | 167 vdev->dma_ch = chan; in vop_register_device()
|
D | scif_bus.c | 170 sdev->dma_ch = chan; in scif_register_device()
|
/Linux-v4.19/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
|
/Linux-v4.19/drivers/usb/host/ |
D | r8a66597-hcd.c | 297 static void set_pipe_reg_addr(struct r8a66597_pipe *pipe, u8 dma_ch) in set_pipe_reg_addr() argument 304 if (dma_ch > R8A66597_PIPE_NO_DMA) /* dma fifo not use? */ in set_pipe_reg_addr() 305 dma_ch = R8A66597_PIPE_NO_DMA; in set_pipe_reg_addr() 307 pipe->fifoaddr = fifoaddr[dma_ch]; in set_pipe_reg_addr() 308 pipe->fifosel = fifosel[dma_ch]; in set_pipe_reg_addr() 309 pipe->fifoctr = fifoctr[dma_ch]; in set_pipe_reg_addr()
|
/Linux-v4.19/drivers/gpu/ipu-v3/ |
D | ipu-image-convert.c | 164 const struct ipu_image_convert_dma_chan *dma_ch; member 1116 const struct ipu_image_convert_dma_chan *dma = chan->dma_ch; in get_ipu_resources() 1705 chan->dma_ch = &image_convert_dma_chan[i]; in ipu_image_convert_init()
|