struct snd_dmaengine_pcm_config — Configuration data for dmaengine based PCM
struct snd_dmaengine_pcm_config { int (* prepare_slave_config) (struct snd_pcm_substream *substream,struct snd_pcm_hw_params *params,struct dma_slave_config *slave_config); struct dma_chan *(* compat_request_channel) (struct snd_soc_pcm_runtime *rtd,struct snd_pcm_substream *substream); dma_filter_fn compat_filter_fn; struct device * dma_dev; const char * chan_names[SNDRV_PCM_STREAM_LAST + 1]; const struct snd_pcm_hardware * pcm_hardware; unsigned int prealloc_buffer_size; };
Callback used to fill in the DMA slave_config for a PCM substream. Will be called from the PCM drivers hwparams callback.
Callback to request a DMA channel for platforms which do not use devicetree.
Will be used as the filter function when requesting a channel for platforms which do not use devicetree. The filter parameter will be the DAI's DMA data.
If set, request DMA channel on this device rather than the DAI device.
If set, these custom DMA channel names will be requested at registration time.
snd_pcm_hardware struct to be used for the PCM.
Size of the preallocated audio buffer.