Home
last modified time | relevance | path

Searched refs:dma_chan (Results 1 – 21 of 21) sorted by relevance

/sound/core/
Dpcm_dmaengine.c32 struct dma_chan *dma_chan; member
44 struct dma_chan *snd_dmaengine_pcm_get_chan(struct snd_pcm_substream *substream) in snd_dmaengine_pcm_get_chan()
48 return prtd->dma_chan; in snd_dmaengine_pcm_get_chan()
148 struct dma_chan *chan = prtd->dma_chan; in dmaengine_pcm_prepare_and_submit()
195 dma_async_issue_pending(prtd->dma_chan); in snd_dmaengine_pcm_trigger()
199 dmaengine_resume(prtd->dma_chan); in snd_dmaengine_pcm_trigger()
203 dmaengine_pause(prtd->dma_chan); in snd_dmaengine_pcm_trigger()
205 dmaengine_terminate_all(prtd->dma_chan); in snd_dmaengine_pcm_trigger()
208 dmaengine_pause(prtd->dma_chan); in snd_dmaengine_pcm_trigger()
211 dmaengine_terminate_all(prtd->dma_chan); in snd_dmaengine_pcm_trigger()
[all …]
/sound/soc/fsl/
Dfsl_asrc_dma.c38 static bool filter(struct dma_chan *chan, void *param) in filter()
76 pair->dma_chan[!dir], runtime->dma_addr, in fsl_asrc_dma_prepare_and_submit()
92 pair->dma_chan[dir], 0xffff, 64, 64, DMA_DEV_TO_DEV, 0); in fsl_asrc_dma_prepare_and_submit()
116 dma_async_issue_pending(pair->dma_chan[IN]); in fsl_asrc_dma_trigger()
117 dma_async_issue_pending(pair->dma_chan[OUT]); in fsl_asrc_dma_trigger()
122 dmaengine_terminate_all(pair->dma_chan[OUT]); in fsl_asrc_dma_trigger()
123 dmaengine_terminate_all(pair->dma_chan[IN]); in fsl_asrc_dma_trigger()
149 struct dma_chan *tmp_chan; in fsl_asrc_dma_hw_params()
180 pair->dma_chan[!dir] = fsl_asrc_get_dma_channel(pair, !dir); in fsl_asrc_dma_hw_params()
181 if (!pair->dma_chan[!dir]) { in fsl_asrc_dma_hw_params()
[all …]
Dimx-pcm-dma.c26 static bool filter(struct dma_chan *chan, void *param) in filter()
Dfsl_asrc.h412 struct dma_chan *dma_chan[2]; member
460 struct dma_chan *fsl_asrc_get_dma_channel(struct fsl_asrc_pair *pair, bool dir);
Dfsl_asrc.c433 struct dma_chan *fsl_asrc_get_dma_channel(struct fsl_asrc_pair *pair, bool dir) in fsl_asrc_get_dma_channel()
/sound/soc/txx9/
Dtxx9aclc.c123 struct dma_chan *chan = dmadata->dma_chan; in txx9aclc_dma_submit()
150 struct dma_chan *chan = dmadata->dma_chan; in txx9aclc_dma_tasklet()
267 struct dma_chan *chan = dmadata->dma_chan; in txx9aclc_pcm_close()
322 if (dev->dmadata[i].dma_chan) in txx9aclc_pcm_new()
323 dma_release_channel(dev->dmadata[i].dma_chan); in txx9aclc_pcm_new()
324 dev->dmadata[i].dma_chan = NULL; in txx9aclc_pcm_new()
329 static bool filter(struct dma_chan *chan, void *param) in filter()
366 dmadata->dma_chan = dma_request_channel(mask, filter, dmadata); in txx9aclc_dma_init()
367 if (!dmadata->dma_chan) { in txx9aclc_dma_init()
399 struct dma_chan *chan = dmadata->dma_chan; in txx9aclc_pcm_remove()
[all …]
Dtxx9aclc.h48 struct dma_chan *dma_chan; member
/sound/soc/
Dsoc-generic-dmaengine-pcm.c28 struct dma_chan *chan[SNDRV_PCM_STREAM_LAST + 1];
86 struct dma_chan *chan = snd_dmaengine_pcm_get_chan(substream); in dmaengine_pcm_hw_params()
118 struct dma_chan *chan = pcm->chan[substream->stream]; in dmaengine_pcm_set_runtime_hwparams()
193 struct dma_chan *chan = pcm->chan[substream->stream]; in dmaengine_pcm_open()
208 static struct dma_chan *dmaengine_pcm_compat_request_channel( in dmaengine_pcm_compat_request_channel()
230 static bool dmaengine_pcm_can_report_residue(struct dma_chan *chan) in dmaengine_pcm_can_report_residue()
357 struct dma_chan *chan; in dmaengine_pcm_request_chan_of()
/sound/pci/hda/
Dpatch_ca0132.c1486 static int dspio_alloc_dma_chan(struct hda_codec *codec, unsigned int *dma_chan) in dspio_alloc_dma_chan() argument
1489 unsigned int size = sizeof(dma_chan); in dspio_alloc_dma_chan()
1493 SCP_GET, NULL, 0, dma_chan, &size); in dspio_alloc_dma_chan()
1500 if ((*dma_chan + 1) == 0) { in dspio_alloc_dma_chan()
1505 codec_dbg(codec, "dspio_alloc_dma_chan: chan=%d\n", *dma_chan); in dspio_alloc_dma_chan()
1514 static int dspio_free_dma_chan(struct hda_codec *codec, unsigned int dma_chan) in dspio_free_dma_chan() argument
1520 codec_dbg(codec, "dspio_free_dma_chan: chan=%d\n", dma_chan); in dspio_free_dma_chan()
1523 SCP_SET, &dma_chan, sizeof(dma_chan), NULL, &dummy); in dspio_free_dma_chan()
1616 static bool dsp_is_dma_active(struct hda_codec *codec, unsigned int dma_chan) in dsp_is_dma_active() argument
1623 (DSPDMAC_CHNLSTART_EN_LOBIT + dma_chan))) != 0); in dsp_is_dma_active()
[all …]
/sound/soc/spear/
Dspear_pcm.h22 bool (*filter)(struct dma_chan *chan, void *slave));
Dspear_pcm.c42 bool (*filter)(struct dma_chan *chan, void *slave)) in devm_spear_pcm_platform_register()
/sound/soc/omap/
Domap-pcm.c64 struct dma_chan *chan; in omap_pcm_hw_params()
123 struct dma_chan *chan; in omap_pcm_open()
/sound/soc/cirrus/
Dep93xx-pcm.c41 static bool ep93xx_pcm_dma_filter(struct dma_chan *chan, void *filter_param) in ep93xx_pcm_dma_filter()
/sound/soc/pxa/
Dmmp-pcm.c64 struct dma_chan *chan = snd_dmaengine_pcm_get_chan(substream); in mmp_pcm_hw_params()
83 static bool filter(struct dma_chan *chan, void *param) in filter()
/sound/atmel/
Dabdac.c86 struct dma_chan *chan;
121 struct dma_chan *chan = dac->dma.chan; in atmel_abdac_prepare_dma()
339 static bool filter(struct dma_chan *chan, void *slave) in filter()
Dac97c.c56 struct dma_chan *rx_chan;
57 struct dma_chan *tx_chan;
108 struct dma_chan *chan; in atmel_ac97c_prepare_dma()
875 static bool filter(struct dma_chan *chan, void *slave) in filter()
/sound/soc/ux500/
Dux500_pcm.c49 static struct dma_chan *ux500_pcm_request_chan(struct snd_soc_pcm_runtime *rtd, in ux500_pcm_request_chan()
/sound/soc/sh/
Dsiu.h123 struct dma_chan *chan; /* DMA channel */
Dsiu_pcm.c329 static bool filter(struct dma_chan *chan, void *slave) in filter()
Dfsi.c234 struct dma_chan *chan;
/sound/soc/sh/rcar/
Drsnd.h161 struct dma_chan *chan;