| /Linux-v5.4/sound/soc/qcom/ |
| D | lpass-platform.c | 22 int dma_ch; member 61 int ret, dma_ch, dir = substream->stream; in lpass_platform_pcmops_open() local 72 dma_ch = v->alloc_dma_channel(drvdata, dir); in lpass_platform_pcmops_open() 74 dma_ch = 0; in lpass_platform_pcmops_open() 76 if (dma_ch < 0) in lpass_platform_pcmops_open() 77 return dma_ch; in lpass_platform_pcmops_open() 79 drvdata->substream[dma_ch] = substream; in lpass_platform_pcmops_open() 82 LPAIF_DMACTL_REG(v, dma_ch, dir), 0); in lpass_platform_pcmops_open() 89 data->dma_ch = dma_ch; in lpass_platform_pcmops_open() 118 drvdata->substream[data->dma_ch] = NULL; in lpass_platform_pcmops_close() [all …]
|
| /Linux-v5.4/drivers/media/platform/omap3isp/ |
| D | isphist.c | 196 ret = dmaengine_slave_config(hist->dma_ch, &cfg); in hist_buf_dma() 203 tx = dmaengine_prep_slave_single(hist->dma_ch, dma_addr, in hist_buf_dma() 220 dma_async_issue_pending(hist->dma_ch); in hist_buf_dma() 283 if (hist->dma_ch) in hist_buf_process() 498 hist->dma_ch = dma_request_chan_by_mask(&mask); in omap3isp_hist_init() 499 if (IS_ERR(hist->dma_ch)) { in omap3isp_hist_init() 500 ret = PTR_ERR(hist->dma_ch); in omap3isp_hist_init() 504 hist->dma_ch = NULL; in omap3isp_hist_init() 509 dma_chan_name(hist->dma_ch)); in omap3isp_hist_init() 521 if (!IS_ERR_OR_NULL(hist->dma_ch)) in omap3isp_hist_init() [all …]
|
| D | ispstat.h | 109 struct dma_chan *dma_ch; member
|
| /Linux-v5.4/arch/unicore32/kernel/ |
| D | dma.c | 74 void puv3_free_dma(int dma_ch) in puv3_free_dma() argument 78 if (!dma_channels[dma_ch].name) { in puv3_free_dma() 81 __func__, dma_ch); in puv3_free_dma() 86 dma_channels[dma_ch].name = NULL; in puv3_free_dma() 87 dma_channels[dma_ch].err_handler = NULL; in puv3_free_dma()
|
| /Linux-v5.4/sound/ppc/ |
| D | snd_ps3.c | 110 int dma_ch, done, retries, stop_forced = 0; in snd_ps3_verify_dma_stop() local 113 for (dma_ch = 0; dma_ch < 8; dma_ch++) { in snd_ps3_verify_dma_stop() 116 status = read_reg(PS3_AUDIO_KICK(dma_ch)) & in snd_ps3_verify_dma_stop() 132 __func__, dma_ch); in snd_ps3_verify_dma_stop() 221 int fill_stages, dma_ch, stage; in snd_ps3_program_dma() local 248 dma_ch = stage * 2 + ch; in snd_ps3_program_dma() 257 write_reg(PS3_AUDIO_SOURCE(dma_ch), in snd_ps3_program_dma() 263 write_reg(PS3_AUDIO_DEST(dma_ch), in snd_ps3_program_dma() 267 write_reg(PS3_AUDIO_DEST(dma_ch), in snd_ps3_program_dma() 272 write_reg(PS3_AUDIO_DMASIZE(dma_ch), 0); in snd_ps3_program_dma() [all …]
|
| /Linux-v5.4/drivers/misc/mic/card/ |
| D | mic_device.c | 322 mdrv->dma_ch[mdrv->num_dma_ch++] = chan; in mic_request_dma_chans() 336 dma_release_channel(mdrv->dma_ch[i]); in mic_free_dma_chans() 337 mdrv->dma_ch[i] = NULL; in mic_free_dma_chans() 371 NULL, mdrv->dma_ch[0]); in mic_driver_init() 381 NULL, mdrv->dp, mdrv->dma_ch, in mic_driver_init()
|
| D | mic_device.h | 80 struct dma_chan *dma_ch[MIC_MAX_DMA_CHAN]; member
|
| /Linux-v5.4/drivers/dma/ti/ |
| D | omap-dma.c | 53 int dma_ch; member 447 c->dma_ch); in omap_dma_drain_chan() 645 omap_dma_callback, c, &c->dma_ch); in omap_dma_alloc_chan_resources() 648 &c->dma_ch); in omap_dma_alloc_chan_resources() 651 dev_dbg(dev, "allocating channel %u for %u\n", c->dma_ch, c->dma_sig); in omap_dma_alloc_chan_resources() 654 omap_dma_assign(od, c, c->dma_ch); in omap_dma_alloc_chan_resources() 660 val = BIT(c->dma_ch); in omap_dma_alloc_chan_resources() 666 val &= ~BIT(c->dma_ch); in omap_dma_alloc_chan_resources() 676 c->ccr |= c->dma_ch + 1; in omap_dma_alloc_chan_resources() 697 od->irq_enable_mask &= ~BIT(c->dma_ch); in omap_dma_free_chan_resources() [all …]
|
| /Linux-v5.4/drivers/mmc/host/ |
| D | omap_hsmmc.c | 194 int use_dma, dma_ch; member 823 int dma_ch; in omap_hsmmc_request_done() local 828 dma_ch = host->dma_ch; in omap_hsmmc_request_done() 833 if (mrq->data && host->use_dma && dma_ch != -1) in omap_hsmmc_request_done() 910 int dma_ch; in omap_hsmmc_dma_cleanup() local 916 dma_ch = host->dma_ch; in omap_hsmmc_dma_cleanup() 917 host->dma_ch = -1; in omap_hsmmc_dma_cleanup() 920 if (host->use_dma && dma_ch != -1) { in omap_hsmmc_dma_cleanup() 1173 if (host->dma_ch < 0) { in omap_hsmmc_dma_callback() 1186 host->dma_ch = -1; in omap_hsmmc_dma_callback() [all …]
|
| /Linux-v5.4/drivers/spi/ |
| D | spi-stm32-qspi.c | 204 struct dma_chan *dma_ch; in stm32_qspi_tx_dma() local 212 dma_ch = qspi->dma_chrx; in stm32_qspi_tx_dma() 215 dma_ch = qspi->dma_chtx; in stm32_qspi_tx_dma() 226 desc = dmaengine_prep_slave_sg(dma_ch, sgt.sgl, sgt.nents, in stm32_qspi_tx_dma() 243 dma_async_issue_pending(dma_ch); in stm32_qspi_tx_dma() 253 dmaengine_terminate_all(dma_ch); in stm32_qspi_tx_dma()
|
| /Linux-v5.4/drivers/misc/mic/host/ |
| D | mic_boot.c | 420 mdev->dma_ch[mdev->num_dma_ch++] = chan; in mic_request_dma_chans() 440 dma_release_channel(mdev->dma_ch[i]); in mic_free_dma_chans() 441 mdev->dma_ch[i] = NULL; in mic_free_dma_chans() 477 mdev->dma_ch, mdev->num_dma_ch, in _mic_start() 487 mdev->dma_ch[0]); in _mic_start()
|
| D | mic_device.h | 82 struct dma_chan *dma_ch[MIC_MAX_DMA_CHAN]; member
|
| /Linux-v5.4/arch/arm/mach-s3c24xx/include/mach/ |
| D | dma.h | 20 enum dma_ch { enum
|
| /Linux-v5.4/arch/unicore32/include/mach/ |
| D | dma.h | 33 extern void puv3_free_dma(int dma_ch);
|
| /Linux-v5.4/drivers/misc/mic/vop/ |
| D | vop_vringh.c | 476 struct dma_chan *vop_ch = vi->dma_ch; in vop_sync_dma() 527 if (!VOP_USE_DMA || !vi->dma_ch) { in vop_virtio_copy_to_user() 539 dma_alignment = 1 << vi->dma_ch->device->copy_align; in vop_virtio_copy_to_user() 540 x200 = is_dma_copy_aligned(vi->dma_ch->device, 1, 1, 1); in vop_virtio_copy_to_user() 603 bool dma = VOP_USE_DMA && vi->dma_ch; in vop_virtio_copy_from_user() 607 dma_alignment = 1 << vi->dma_ch->device->copy_align; in vop_virtio_copy_from_user() 608 x200 = is_dma_copy_aligned(vi->dma_ch->device, 1, 1, 1); in vop_virtio_copy_from_user() 1123 vi->dma_ch = vpdev->dma_ch; in vop_host_init()
|
| D | vop_main.h | 62 struct dma_chan *dma_ch; member
|
| /Linux-v5.4/arch/arm/mach-s3c64xx/include/mach/ |
| D | dma.h | 51 enum dma_ch { enum
|
| /Linux-v5.4/include/linux/ |
| D | omap-dma.h | 305 void *data, int *dma_ch); 367 void *data, int *dma_ch) in omap_request_dma() argument
|
| /Linux-v5.4/drivers/misc/mic/bus/ |
| D | vop_bus.h | 49 struct dma_chan *dma_ch; member
|
| D | scif_bus.h | 54 struct dma_chan **dma_ch; member
|
| D | vop_bus.c | 156 vdev->dma_ch = chan; in vop_register_device()
|
| D | scif_bus.c | 162 sdev->dma_ch = chan; in scif_register_device()
|
| /Linux-v5.4/drivers/scsi/ |
| D | BusLogic.c | 1543 adapter->dma_ch = 5; in blogic_rdconfig() 1545 adapter->dma_ch = 6; in blogic_rdconfig() 1547 adapter->dma_ch = 7; in blogic_rdconfig() 1842 if (adapter->dma_ch > 0) in blogic_reportconfig() 1843 blogic_info("%d, ", adapter, adapter->dma_ch); in blogic_reportconfig() 2000 if (adapter->dma_ch > 0) { in blogic_getres() 2001 if (request_dma(adapter->dma_ch, adapter->full_model) < 0) { in blogic_getres() 2002 blogic_err("UNABLE TO ACQUIRE DMA CHANNEL %d - DETACHING\n", adapter, adapter->dma_ch); in blogic_getres() 2005 set_dma_mode(adapter->dma_ch, DMA_MODE_CASCADE); in blogic_getres() 2006 enable_dma(adapter->dma_ch); in blogic_getres() [all …]
|
| D | BusLogic.h | 557 unsigned char dma_ch:7; /* Byte 11 Bits 0-6 */ member 1000 unsigned char dma_ch; member
|
| /Linux-v5.4/drivers/mtd/nand/raw/ |
| D | stm32_fmc2_nand.c | 890 struct dma_chan *dma_ch = fmc2->dma_rx_ch; in stm32_fmc2_xfer() local 903 dma_ch = fmc2->dma_tx_ch; in stm32_fmc2_xfer() 916 desc_data = dmaengine_prep_slave_sg(dma_ch, fmc2->dma_data_sg.sgl, in stm32_fmc2_xfer() 932 dma_async_issue_pending(dma_ch); in stm32_fmc2_xfer() 978 dmaengine_terminate_all(dma_ch); in stm32_fmc2_xfer() 989 dmaengine_terminate_all(dma_ch); in stm32_fmc2_xfer()
|