Home
last modified time | relevance | path

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

/linux/sound/soc/sh/
H A Drz-ssi.c95 struct dma_chan *dma_ch;
193 return (ssi->playback.dma_ch && (ssi->dma_rt || ssi->capture.dma_ch)); in rz_ssi_set_substream()
421 dmaengine_terminate_async(strm->dma_ch); in rz_ssi_pio_recv()
648 struct dma_chan *dma_ch, bool is_play) in rz_ssi_dma_transfer()
660 return dmaengine_slave_config(dma_ch, &cfg); in rz_ssi_dma_complete()
694 desc = dmaengine_prep_slave_single(strm->dma_ch, dma_paddr, dma_size, in rz_ssi_dma_request()
716 dma_async_issue_pending(strm->dma_ch); in rz_ssi_dma_request()
737 if (ssi->playback.dma_ch) { in rz_ssi_dai_trigger()
738 dma_release_channel(ssi->playback.dma_ch); in rz_ssi_dai_trigger()
94 struct dma_chan *dma_ch; global() member
583 rz_ssi_dma_slave_config(struct rz_ssi_priv * ssi,struct dma_chan * dma_ch,bool is_play) rz_ssi_dma_slave_config() argument
[all...]
/linux/drivers/media/platform/ti/omap3isp/
H A 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 …]
H A Dispstat.h109 struct dma_chan *dma_ch; member
H A Dispstat.c22 #define ISP_STAT_USES_DMAENGINE(stat) ((stat)->dma_ch != NULL)
/linux/sound/soc/qcom/
H A Dlpass-platform.c200 int ret, dma_ch, dir = substream->stream; in lpass_platform_pcmops_open() local
214 dma_ch = v->alloc_dma_channel(drvdata, dir, dai_id); in lpass_platform_pcmops_open()
216 dma_ch = 0; in lpass_platform_pcmops_open()
218 if (dma_ch < 0) { in lpass_platform_pcmops_open()
220 return dma_ch; in lpass_platform_pcmops_open()
226 drvdata->substream[dma_ch] = substream; in lpass_platform_pcmops_open()
230 drvdata->hdmi_substream[dma_ch] = substream; in lpass_platform_pcmops_open()
235 drvdata->rxtx_substream[dma_ch] = substream; in lpass_platform_pcmops_open()
239 drvdata->va_substream[dma_ch] = substream; in lpass_platform_pcmops_open()
245 data->dma_ch = dma_ch; in lpass_platform_pcmops_open()
[all …]
H A Dlpass-cdc-dma.c47 *id = pcm_data->dma_ch; in __lpass_get_dmactl_handle()
51 *id = pcm_data->dma_ch - v->rxtx_wrdma_channel_start; in __lpass_get_dmactl_handle()
55 *id = pcm_data->dma_ch - v->va_wrdma_channel_start; in __lpass_get_dmactl_handle()
H A Dlpass.h396 int dma_ch; member
/linux/sound/ppc/
H A 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/drivers/mmc/host/
H A 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/drivers/dma/ti/
H A 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/drivers/spi/
H A Dspi-stm32-qspi.c218 struct dma_chan *dma_ch; in stm32_qspi_tx_dma() local
226 dma_ch = qspi->dma_chrx; in stm32_qspi_tx_dma()
229 dma_ch = qspi->dma_chtx; in stm32_qspi_tx_dma()
240 desc = dmaengine_prep_slave_sg(dma_ch, sgt.sgl, sgt.nents, in stm32_qspi_tx_dma()
257 dma_async_issue_pending(dma_ch); in stm32_qspi_tx_dma()
267 dmaengine_terminate_all(dma_ch); in stm32_qspi_tx_dma()
/linux/include/linux/
H A Domap-dma.h307 void *data, int *dma_ch);
/linux/drivers/usb/host/
H A 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/drivers/scsi/
H A DBusLogic.h549 unsigned char dma_ch:7; /* Byte 11 Bits 0-6 */ member
/linux/drivers/gpu/ipu-v3/
H A Dipu-image-convert.c200 const struct ipu_image_convert_dma_chan *dma_ch; member
1856 const struct ipu_image_convert_dma_chan *dma = chan->dma_ch; in get_ipu_resources()
2491 chan->dma_ch = &image_convert_dma_chan[i]; in ipu_image_convert_init()