/sound/core/ |
D | pcm_dmaengine.c | 23 struct dma_chan *dma_chan; member 35 struct dma_chan *snd_dmaengine_pcm_get_chan(struct snd_pcm_substream *substream) in snd_dmaengine_pcm_get_chan() 39 return prtd->dma_chan; in snd_dmaengine_pcm_get_chan() 151 struct dma_chan *chan = prtd->dma_chan; in dmaengine_pcm_prepare_and_submit() 198 dma_async_issue_pending(prtd->dma_chan); in snd_dmaengine_pcm_trigger() 202 dmaengine_resume(prtd->dma_chan); in snd_dmaengine_pcm_trigger() 206 dmaengine_pause(prtd->dma_chan); in snd_dmaengine_pcm_trigger() 208 dmaengine_terminate_async(prtd->dma_chan); in snd_dmaengine_pcm_trigger() 211 dmaengine_pause(prtd->dma_chan); in snd_dmaengine_pcm_trigger() 214 dmaengine_terminate_async(prtd->dma_chan); in snd_dmaengine_pcm_trigger() [all …]
|
/sound/soc/fsl/ |
D | fsl_asrc_dma.c | 32 static bool filter(struct dma_chan *chan, void *param) in filter() 70 pair->dma_chan[!dir], runtime->dma_addr, in fsl_asrc_dma_prepare_and_submit() 86 pair->dma_chan[dir], 0xffff, 64, 64, DMA_DEV_TO_DEV, 0); in fsl_asrc_dma_prepare_and_submit() 111 dma_async_issue_pending(pair->dma_chan[IN]); in fsl_asrc_dma_trigger() 112 dma_async_issue_pending(pair->dma_chan[OUT]); in fsl_asrc_dma_trigger() 117 dmaengine_terminate_async(pair->dma_chan[OUT]); in fsl_asrc_dma_trigger() 118 dmaengine_terminate_async(pair->dma_chan[IN]); in fsl_asrc_dma_trigger() 139 struct dma_chan *tmp_chan = NULL, *be_chan = NULL; in fsl_asrc_dma_hw_params() 180 pair->dma_chan[!dir] = 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 | fsl_asrc_common.h | 46 struct dma_chan *dma_chan[2]; member 96 struct dma_chan *(*get_dma_channel)(struct fsl_asrc_pair *pair, bool dir);
|
D | imx-pcm-dma.c | 22 static bool filter(struct dma_chan *chan, void *param) in filter()
|
/sound/soc/intel/catpt/ |
D | core.h | 108 struct dma_chan *catpt_dma_request_config_chan(struct catpt_dev *cdev); 109 int catpt_dma_memcpy_todsp(struct catpt_dev *cdev, struct dma_chan *chan, 112 int catpt_dma_memcpy_fromdsp(struct catpt_dev *cdev, struct dma_chan *chan, 142 int catpt_store_streams_context(struct catpt_dev *cdev, struct dma_chan *chan); 143 int catpt_store_module_states(struct catpt_dev *cdev, struct dma_chan *chan); 144 int catpt_store_memdumps(struct catpt_dev *cdev, struct dma_chan *chan);
|
D | loader.c | 89 int catpt_store_streams_context(struct catpt_dev *cdev, struct dma_chan *chan) in catpt_store_streams_context() 115 int catpt_store_module_states(struct catpt_dev *cdev, struct dma_chan *chan) in catpt_store_module_states() 145 int catpt_store_memdumps(struct catpt_dev *cdev, struct dma_chan *chan) in catpt_store_memdumps() 179 catpt_restore_streams_context(struct catpt_dev *cdev, struct dma_chan *chan) in catpt_restore_streams_context() 205 static int catpt_restore_memdumps(struct catpt_dev *cdev, struct dma_chan *chan) in catpt_restore_memdumps() 239 struct dma_chan *chan, dma_addr_t paddr, in catpt_restore_fwimage() 290 struct dma_chan *chan, dma_addr_t paddr, in catpt_load_block() 329 struct dma_chan *chan, dma_addr_t paddr, in catpt_restore_basefw() 372 struct dma_chan *chan, dma_addr_t paddr, in catpt_restore_module() 413 struct dma_chan *chan, dma_addr_t paddr, in catpt_load_module() [all …]
|
D | dsp.c | 17 static bool catpt_dma_filter(struct dma_chan *chan, void *param) in catpt_dma_filter() 29 struct dma_chan *catpt_dma_request_config_chan(struct catpt_dev *cdev) in catpt_dma_request_config_chan() 32 struct dma_chan *chan; in catpt_dma_request_config_chan() 62 static int catpt_dma_memcpy(struct catpt_dev *cdev, struct dma_chan *chan, in catpt_dma_memcpy() 99 int catpt_dma_memcpy_todsp(struct catpt_dev *cdev, struct dma_chan *chan, in catpt_dma_memcpy_todsp() 107 int catpt_dma_memcpy_fromdsp(struct catpt_dev *cdev, struct dma_chan *chan, in catpt_dma_memcpy_fromdsp()
|
D | device.c | 34 struct dma_chan *chan; in catpt_suspend()
|
/sound/soc/sprd/ |
D | sprd-mcdt.c | 199 enum sprd_mcdt_dma_chan dma_chan) in sprd_mcdt_dac_dma_chn_select() argument 201 switch (dma_chan) { in sprd_mcdt_dac_dma_chn_select() 235 enum sprd_mcdt_dma_chan dma_chan) in sprd_mcdt_adc_dma_chn_select() argument 237 switch (dma_chan) { in sprd_mcdt_adc_dma_chn_select() 296 enum sprd_mcdt_dma_chan dma_chan) in sprd_mcdt_dac_dma_ack_select() argument 298 u32 reg, shift = sprd_mcdt_dma_ack_shift(channel), ack = dma_chan; in sprd_mcdt_dac_dma_ack_select() 318 enum sprd_mcdt_dma_chan dma_chan) in sprd_mcdt_adc_dma_ack_select() argument 320 u32 reg, shift = sprd_mcdt_dma_ack_shift(channel), ack = dma_chan; in sprd_mcdt_adc_dma_ack_select() 774 enum sprd_mcdt_dma_chan dma_chan, in sprd_mcdt_chan_dma_enable() argument 784 dma_chan > SPRD_MCDT_DMA_CH4) { in sprd_mcdt_chan_dma_enable() [all …]
|
D | sprd-mcdt.h | 44 enum sprd_mcdt_dma_chan dma_chan; member 63 enum sprd_mcdt_dma_chan dma_chan, u32 water_mark); 97 enum sprd_mcdt_dma_chan dma_chan, u32 water_mark) in sprd_mcdt_chan_dma_enable() argument
|
D | sprd-pcm-dma.c | 21 struct dma_chan *chan; 229 struct dma_chan *chan = data->chan; in sprd_pcm_hw_params()
|
/sound/soc/ |
D | soc-generic-dmaengine-pcm.c | 81 struct dma_chan *chan = snd_dmaengine_pcm_get_chan(substream); in dmaengine_pcm_hw_params() 104 struct dma_chan *chan = pcm->chan[substream->stream]; in dmaengine_pcm_set_runtime_hwparams() 152 struct dma_chan *chan = pcm->chan[substream->stream]; in dmaengine_pcm_open() 174 static struct dma_chan *dmaengine_pcm_compat_request_channel( in dmaengine_pcm_compat_request_channel() 201 struct dma_chan *chan) in dmaengine_pcm_can_report_residue() 354 struct dma_chan *chan; in dmaengine_pcm_request_chan_of()
|
/sound/soc/spear/ |
D | spear_pcm.h | 11 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/tegra/ |
D | tegra_pcm.c | 81 struct dma_chan *chan; in tegra_pcm_open() 145 struct dma_chan *chan; in tegra_pcm_hw_params()
|
/sound/soc/cirrus/ |
D | ep93xx-pcm.c | 38 static bool ep93xx_pcm_dma_filter(struct dma_chan *chan, void *filter_param) in ep93xx_pcm_dma_filter()
|
/sound/pci/hda/ |
D | patch_ca0132.c | 2456 static int dspio_alloc_dma_chan(struct hda_codec *codec, unsigned int *dma_chan) in dspio_alloc_dma_chan() argument 2459 unsigned int size = sizeof(*dma_chan); in dspio_alloc_dma_chan() 2464 dma_chan, &size); in dspio_alloc_dma_chan() 2471 if ((*dma_chan + 1) == 0) { in dspio_alloc_dma_chan() 2476 codec_dbg(codec, "dspio_alloc_dma_chan: chan=%d\n", *dma_chan); in dspio_alloc_dma_chan() 2485 static int dspio_free_dma_chan(struct hda_codec *codec, unsigned int dma_chan) in dspio_free_dma_chan() argument 2491 codec_dbg(codec, "dspio_free_dma_chan: chan=%d\n", dma_chan); in dspio_free_dma_chan() 2494 MASTERCONTROL_ALLOC_DMA_CHAN, SCP_SET, &dma_chan, in dspio_free_dma_chan() 2495 sizeof(dma_chan), NULL, &dummy); in dspio_free_dma_chan() 2588 static bool dsp_is_dma_active(struct hda_codec *codec, unsigned int dma_chan) in dsp_is_dma_active() argument [all …]
|
/sound/soc/pxa/ |
D | mmp-pcm.c | 62 struct dma_chan *chan = snd_dmaengine_pcm_get_chan(substream); in mmp_pcm_hw_params() 93 static bool filter(struct dma_chan *chan, void *param) in filter()
|
/sound/soc/sh/rcar/ |
D | dma.c | 24 struct dma_chan *chan; 83 static struct dma_chan *rsnd_dmaen_request_channel(struct rsnd_dai_stream *io, in rsnd_dmaen_request_channel() 240 struct dma_chan *rsnd_dma_request_channel(struct device_node *of_node, char *name, in rsnd_dma_request_channel() 245 struct dma_chan *chan = NULL; in rsnd_dma_request_channel() 274 struct dma_chan *chan; in rsnd_dmaen_attach()
|
D | rsnd.h | 272 struct dma_chan *rsnd_dma_request_channel(struct device_node *of_node, char *name, 297 struct dma_chan* (*dma_req)(struct rsnd_dai_stream *io, 432 struct dma_chan *rsnd_mod_dma_req(struct rsnd_dai_stream *io,
|
D | dvc.c | 283 static struct dma_chan *rsnd_dvc_dma_req(struct rsnd_dai_stream *io, in rsnd_dvc_dma_req()
|
/sound/soc/apple/ |
D | mca.c | 134 struct dma_chan *dma_chans[SNDRV_PCM_STREAM_LAST + 1]; 783 struct dma_chan *chan) in mca_set_runtime_hwparams() 816 struct dma_chan *chan = cl->dma_chans[substream->stream]; in mca_pcm_open() 834 struct dma_chan *chan = snd_dmaengine_pcm_get_chan(substream); in mca_hw_params() 896 static struct dma_chan *mca_request_dma_channel(struct mca_cluster *cl, unsigned int stream) in mca_request_dma_channel() 945 struct dma_chan *chan; in mca_pcm_new()
|
/sound/soc/ux500/ |
D | ux500_pcm.c | 44 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 | 109 struct dma_chan *chan; /* DMA channel */
|
/sound/arm/ |
D | pxa2xx-pcm-lib.c | 35 struct dma_chan *chan = snd_dmaengine_pcm_get_chan(substream); in pxa2xx_pcm_hw_params()
|