Lines Matching refs:config
35 const struct snd_dmaengine_pcm_config *config; member
101 if (!pcm->config) in dmaengine_pcm_hw_params()
104 prepare_slave_config = pcm->config->prepare_slave_config; in dmaengine_pcm_hw_params()
133 if (pcm->config && pcm->config->pcm_hardware) in dmaengine_pcm_set_runtime_hwparams()
135 pcm->config->pcm_hardware); in dmaengine_pcm_set_runtime_hwparams()
222 if (pcm->config && pcm->config->compat_request_channel) in dmaengine_pcm_compat_request_channel()
223 return pcm->config->compat_request_channel(rtd, substream); in dmaengine_pcm_compat_request_channel()
225 if (pcm->config) in dmaengine_pcm_compat_request_channel()
226 fn = pcm->config->compat_filter_fn; in dmaengine_pcm_compat_request_channel()
253 const struct snd_dmaengine_pcm_config *config = pcm->config; in dmaengine_pcm_new() local
262 if (config && config->prealloc_buffer_size) { in dmaengine_pcm_new()
263 prealloc_buffer_size = config->prealloc_buffer_size; in dmaengine_pcm_new()
264 max_buffer_size = config->pcm_hardware->buffer_bytes_max; in dmaengine_pcm_new()
345 struct device *dev, const struct snd_dmaengine_pcm_config *config) in dmaengine_pcm_request_chan_of() argument
356 if (config && config->dma_dev) { in dmaengine_pcm_request_chan_of()
364 dev_name(config->dma_dev)); in dmaengine_pcm_request_chan_of()
365 dev = config->dma_dev; in dmaengine_pcm_request_chan_of()
374 if (config && config->chan_names[i]) in dmaengine_pcm_request_chan_of()
375 name = config->chan_names[i]; in dmaengine_pcm_request_chan_of()
415 const struct snd_dmaengine_pcm_config *config, unsigned int flags) in snd_dmaengine_pcm_register() argument
424 pcm->config = config; in snd_dmaengine_pcm_register()
427 ret = dmaengine_pcm_request_chan_of(pcm, dev, config); in snd_dmaengine_pcm_register()