/sound/core/ |
D | pcm_dmaengine.c | 32 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/ |
D | fsl_asrc_dma.c | 38 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 …]
|
D | imx-pcm-dma.c | 26 static bool filter(struct dma_chan *chan, void *param) in filter()
|
D | fsl_asrc.h | 412 struct dma_chan *dma_chan[2]; member 460 struct dma_chan *fsl_asrc_get_dma_channel(struct fsl_asrc_pair *pair, bool dir);
|
D | fsl_asrc.c | 433 struct dma_chan *fsl_asrc_get_dma_channel(struct fsl_asrc_pair *pair, bool dir) in fsl_asrc_get_dma_channel()
|
/sound/soc/txx9/ |
D | txx9aclc.c | 123 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 …]
|
D | txx9aclc.h | 48 struct dma_chan *dma_chan; member
|
/sound/soc/ |
D | soc-generic-dmaengine-pcm.c | 28 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/ |
D | patch_ca0132.c | 1486 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/ |
D | spear_pcm.h | 22 bool (*filter)(struct dma_chan *chan, void *slave));
|
D | spear_pcm.c | 42 bool (*filter)(struct dma_chan *chan, void *slave)) in devm_spear_pcm_platform_register()
|
/sound/soc/omap/ |
D | omap-pcm.c | 64 struct dma_chan *chan; in omap_pcm_hw_params() 123 struct dma_chan *chan; in omap_pcm_open()
|
/sound/soc/cirrus/ |
D | ep93xx-pcm.c | 41 static bool ep93xx_pcm_dma_filter(struct dma_chan *chan, void *filter_param) in ep93xx_pcm_dma_filter()
|
/sound/soc/pxa/ |
D | mmp-pcm.c | 64 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/ |
D | abdac.c | 86 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()
|
D | ac97c.c | 56 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/ |
D | ux500_pcm.c | 49 static struct dma_chan *ux500_pcm_request_chan(struct snd_soc_pcm_runtime *rtd, in ux500_pcm_request_chan()
|
/sound/soc/sh/ |
D | siu.h | 123 struct dma_chan *chan; /* DMA channel */
|
D | siu_pcm.c | 329 static bool filter(struct dma_chan *chan, void *slave) in filter()
|
D | fsi.c | 234 struct dma_chan *chan;
|
/sound/soc/sh/rcar/ |
D | rsnd.h | 161 struct dma_chan *chan;
|