/kernel/linux/linux-5.10/sound/soc/qcom/ |
D | lpass-platform.c | 22 int dma_ch; member 108 int ret, dma_ch, dir = substream->stream; in lpass_platform_pcmops_open() local 122 dma_ch = v->alloc_dma_channel(drvdata, dir, dai_id); in lpass_platform_pcmops_open() 124 dma_ch = 0; in lpass_platform_pcmops_open() 126 if (dma_ch < 0) { in lpass_platform_pcmops_open() 128 return dma_ch; in lpass_platform_pcmops_open() 133 drvdata->hdmi_substream[dma_ch] = substream; in lpass_platform_pcmops_open() 136 drvdata->substream[dma_ch] = substream; in lpass_platform_pcmops_open() 138 data->dma_ch = dma_ch; in lpass_platform_pcmops_open() 140 LPAIF_DMACTL_REG(v, dma_ch, dir, data->i2s_port), 0); in lpass_platform_pcmops_open() [all …]
|
/kernel/linux/linux-5.10/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
|
D | ispstat.c | 22 #define ISP_STAT_USES_DMAENGINE(stat) ((stat)->dma_ch != NULL)
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/drivers/dma/ti/ |
D | omap-dma.c | 75 int dma_ch; member 482 c->dma_ch); in omap_dma_drain_chan() 711 omap_dma_callback, c, &c->dma_ch); in omap_dma_alloc_chan_resources() 713 ret = omap_dma_get_lch(od, &c->dma_ch); in omap_dma_alloc_chan_resources() 716 dev_dbg(dev, "allocating channel %u for %u\n", c->dma_ch, c->dma_sig); in omap_dma_alloc_chan_resources() 719 omap_dma_assign(od, c, c->dma_ch); in omap_dma_alloc_chan_resources() 725 val = BIT(c->dma_ch); in omap_dma_alloc_chan_resources() 731 val &= ~BIT(c->dma_ch); in omap_dma_alloc_chan_resources() 741 c->ccr |= c->dma_ch + 1; in omap_dma_alloc_chan_resources() 762 od->irq_enable_mask &= ~BIT(c->dma_ch); in omap_dma_free_chan_resources() [all …]
|
/kernel/linux/linux-5.10/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() 1171 if (host->dma_ch < 0) { in omap_hsmmc_dma_callback() 1184 host->dma_ch = -1; in omap_hsmmc_dma_callback() [all …]
|
/kernel/linux/linux-5.10/arch/arm/mach-s3c/ |
D | dma-s3c24xx.h | 20 enum dma_ch { enum
|
D | dma-s3c64xx.h | 51 enum dma_ch { enum
|
/kernel/linux/linux-5.10/drivers/spi/ |
D | spi-stm32-qspi.c | 206 struct dma_chan *dma_ch; in stm32_qspi_tx_dma() local 214 dma_ch = qspi->dma_chrx; in stm32_qspi_tx_dma() 217 dma_ch = qspi->dma_chtx; in stm32_qspi_tx_dma() 228 desc = dmaengine_prep_slave_sg(dma_ch, sgt.sgl, sgt.nents, in stm32_qspi_tx_dma() 245 dma_async_issue_pending(dma_ch); in stm32_qspi_tx_dma() 255 dmaengine_terminate_all(dma_ch); in stm32_qspi_tx_dma()
|
/kernel/linux/linux-5.10/include/linux/ |
D | omap-dma.h | 301 void *data, int *dma_ch); 349 void *data, int *dma_ch) in omap_request_dma() argument
|
/kernel/linux/linux-5.10/drivers/scsi/ |
D | BusLogic.c | 1544 adapter->dma_ch = 5; in blogic_rdconfig() 1546 adapter->dma_ch = 6; in blogic_rdconfig() 1548 adapter->dma_ch = 7; in blogic_rdconfig() 1843 if (adapter->dma_ch > 0) in blogic_reportconfig() 1844 blogic_info("%d, ", adapter, adapter->dma_ch); in blogic_reportconfig() 2001 if (adapter->dma_ch > 0) { in blogic_getres() 2002 if (request_dma(adapter->dma_ch, adapter->full_model) < 0) { in blogic_getres() 2003 blogic_err("UNABLE TO ACQUIRE DMA CHANNEL %d - DETACHING\n", adapter, adapter->dma_ch); in blogic_getres() 2006 set_dma_mode(adapter->dma_ch, DMA_MODE_CASCADE); in blogic_getres() 2007 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
|
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
D | stm32_fmc2_nand.c | 838 struct dma_chan *dma_ch = nfc->dma_rx_ch; in stm32_fmc2_nfc_xfer() local 851 dma_ch = nfc->dma_tx_ch; in stm32_fmc2_nfc_xfer() 864 desc_data = dmaengine_prep_slave_sg(dma_ch, nfc->dma_data_sg.sgl, in stm32_fmc2_nfc_xfer() 880 dma_async_issue_pending(dma_ch); in stm32_fmc2_nfc_xfer() 925 dmaengine_terminate_all(dma_ch); in stm32_fmc2_nfc_xfer() 935 dmaengine_terminate_all(dma_ch); in stm32_fmc2_nfc_xfer()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/gpu/ipu-v3/ |
D | ipu-image-convert.c | 197 const struct ipu_image_convert_dma_chan *dma_ch; member 1860 const struct ipu_image_convert_dma_chan *dma = chan->dma_ch; in get_ipu_resources() 2495 chan->dma_ch = &image_convert_dma_chan[i]; in ipu_image_convert_init()
|
/kernel/linux/linux-5.10/drivers/dma/ipu/ |
D | ipu_idmac.c | 554 static uint32_t dma_param_addr(uint32_t dma_ch) in dma_param_addr() argument 557 return 0x10000 | (dma_ch << 4); in dma_param_addr()
|