Home
last modified time | relevance | path

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

/linux-6.1.9/sound/soc/sh/
Drz-ssi.c95 struct dma_chan *dma_ch; member
184 return (ssi->playback.dma_ch && (ssi->dma_rt || ssi->capture.dma_ch)); in rz_ssi_is_dma_enabled()
357 dmaengine_terminate_async(strm->dma_ch); in rz_ssi_stop()
572 struct dma_chan *dma_ch, bool is_play) in rz_ssi_dma_slave_config() argument
584 return dmaengine_slave_config(dma_ch, &cfg); in rz_ssi_dma_slave_config()
618 desc = dmaengine_prep_slave_single(strm->dma_ch, dma_paddr, dma_size, in rz_ssi_dma_transfer()
640 dma_async_issue_pending(strm->dma_ch); in rz_ssi_dma_transfer()
661 if (ssi->playback.dma_ch) { in rz_ssi_release_dma_channels()
662 dma_release_channel(ssi->playback.dma_ch); in rz_ssi_release_dma_channels()
663 ssi->playback.dma_ch = NULL; in rz_ssi_release_dma_channels()
[all …]
/linux-6.1.9/drivers/media/platform/ti/omap3isp/
Disphist.c196 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 …]
Dispstat.h109 struct dma_chan *dma_ch; member
Dispstat.c22 #define ISP_STAT_USES_DMAENGINE(stat) ((stat)->dma_ch != NULL)
/linux-6.1.9/sound/soc/qcom/
Dlpass-platform.c199 int ret, dma_ch, dir = substream->stream; in lpass_platform_pcmops_open() local
213 dma_ch = v->alloc_dma_channel(drvdata, dir, dai_id); in lpass_platform_pcmops_open()
215 dma_ch = 0; in lpass_platform_pcmops_open()
217 if (dma_ch < 0) { in lpass_platform_pcmops_open()
219 return dma_ch; in lpass_platform_pcmops_open()
225 drvdata->substream[dma_ch] = substream; in lpass_platform_pcmops_open()
229 drvdata->hdmi_substream[dma_ch] = substream; in lpass_platform_pcmops_open()
234 drvdata->rxtx_substream[dma_ch] = substream; in lpass_platform_pcmops_open()
238 drvdata->va_substream[dma_ch] = substream; in lpass_platform_pcmops_open()
244 data->dma_ch = dma_ch; in lpass_platform_pcmops_open()
[all …]
Dlpass-cdc-dma.c46 *id = pcm_data->dma_ch; in __lpass_get_dmactl_handle()
50 *id = pcm_data->dma_ch - v->rxtx_wrdma_channel_start; in __lpass_get_dmactl_handle()
54 *id = pcm_data->dma_ch - v->va_wrdma_channel_start; in __lpass_get_dmactl_handle()
Dlpass.h396 int dma_ch; member
/linux-6.1.9/sound/ppc/
Dsnd_ps3.c110 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-6.1.9/drivers/mmc/host/
Domap_hsmmc.c194 int use_dma, dma_ch; member
818 int dma_ch; in omap_hsmmc_request_done() local
823 dma_ch = host->dma_ch; in omap_hsmmc_request_done()
828 if (mrq->data && host->use_dma && dma_ch != -1) in omap_hsmmc_request_done()
905 int dma_ch; in omap_hsmmc_dma_cleanup() local
911 dma_ch = host->dma_ch; in omap_hsmmc_dma_cleanup()
912 host->dma_ch = -1; in omap_hsmmc_dma_cleanup()
915 if (host->use_dma && dma_ch != -1) { in omap_hsmmc_dma_cleanup()
1166 if (host->dma_ch < 0) { in omap_hsmmc_dma_callback()
1179 host->dma_ch = -1; in omap_hsmmc_dma_callback()
[all …]
/linux-6.1.9/drivers/dma/ti/
Domap-dma.c75 int dma_ch; member
482 c->dma_ch); in omap_dma_drain_chan()
716 omap_dma_callback, c, &c->dma_ch); in omap_dma_alloc_chan_resources()
718 ret = omap_dma_get_lch(od, &c->dma_ch); in omap_dma_alloc_chan_resources()
721 dev_dbg(dev, "allocating channel %u for %u\n", c->dma_ch, c->dma_sig); in omap_dma_alloc_chan_resources()
724 omap_dma_assign(od, c, c->dma_ch); in omap_dma_alloc_chan_resources()
730 val = BIT(c->dma_ch); in omap_dma_alloc_chan_resources()
736 val &= ~BIT(c->dma_ch); in omap_dma_alloc_chan_resources()
746 c->ccr |= c->dma_ch + 1; in omap_dma_alloc_chan_resources()
767 od->irq_enable_mask &= ~BIT(c->dma_ch); in omap_dma_free_chan_resources()
[all …]
/linux-6.1.9/arch/arm/mach-s3c/
Ddma-s3c24xx.h20 enum dma_ch { enum
Ddma-s3c64xx.h51 enum dma_ch { enum
/linux-6.1.9/drivers/spi/
Dspi-stm32-qspi.c219 struct dma_chan *dma_ch; in stm32_qspi_tx_dma() local
227 dma_ch = qspi->dma_chrx; in stm32_qspi_tx_dma()
230 dma_ch = qspi->dma_chtx; in stm32_qspi_tx_dma()
241 desc = dmaengine_prep_slave_sg(dma_ch, sgt.sgl, sgt.nents, in stm32_qspi_tx_dma()
258 dma_async_issue_pending(dma_ch); in stm32_qspi_tx_dma()
268 dmaengine_terminate_all(dma_ch); in stm32_qspi_tx_dma()
/linux-6.1.9/drivers/mtd/nand/raw/
Dstm32_fmc2_nand.c842 struct dma_chan *dma_ch = nfc->dma_rx_ch; in stm32_fmc2_nfc_xfer() local
855 dma_ch = nfc->dma_tx_ch; in stm32_fmc2_nfc_xfer()
868 desc_data = dmaengine_prep_slave_sg(dma_ch, nfc->dma_data_sg.sgl, in stm32_fmc2_nfc_xfer()
884 dma_async_issue_pending(dma_ch); in stm32_fmc2_nfc_xfer()
931 dmaengine_terminate_all(dma_ch); in stm32_fmc2_nfc_xfer()
941 dmaengine_terminate_all(dma_ch); in stm32_fmc2_nfc_xfer()
/linux-6.1.9/include/linux/
Domap-dma.h307 void *data, int *dma_ch);
/linux-6.1.9/drivers/usb/host/
Dr8a66597-hcd.c297 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-6.1.9/drivers/scsi/
DBusLogic.h549 unsigned char dma_ch:7; /* Byte 11 Bits 0-6 */ member
/linux-6.1.9/drivers/gpu/ipu-v3/
Dipu-image-convert.c197 const struct ipu_image_convert_dma_chan *dma_ch; member
1857 const struct ipu_image_convert_dma_chan *dma = chan->dma_ch; in get_ipu_resources()
2492 chan->dma_ch = &image_convert_dma_chan[i]; in ipu_image_convert_init()
/linux-6.1.9/drivers/dma/ipu/
Dipu_idmac.c554 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()