Lines Matching refs:config
29 const struct snd_dmaengine_pcm_config *config; member
95 if (!pcm->config) in dmaengine_pcm_hw_params()
98 prepare_slave_config = pcm->config->prepare_slave_config; in dmaengine_pcm_hw_params()
127 if (pcm->config && pcm->config->pcm_hardware) in dmaengine_pcm_set_runtime_hwparams()
129 pcm->config->pcm_hardware); in dmaengine_pcm_set_runtime_hwparams()
216 if (pcm->config && pcm->config->compat_request_channel) in dmaengine_pcm_compat_request_channel()
217 return pcm->config->compat_request_channel(rtd, substream); in dmaengine_pcm_compat_request_channel()
219 if (pcm->config) in dmaengine_pcm_compat_request_channel()
220 fn = pcm->config->compat_filter_fn; in dmaengine_pcm_compat_request_channel()
243 const struct snd_dmaengine_pcm_config *config = pcm->config; in dmaengine_pcm_new() local
252 if (config && config->prealloc_buffer_size) { in dmaengine_pcm_new()
253 prealloc_buffer_size = config->prealloc_buffer_size; in dmaengine_pcm_new()
254 max_buffer_size = config->pcm_hardware->buffer_bytes_max; in dmaengine_pcm_new()
342 struct device *dev, const struct snd_dmaengine_pcm_config *config) in dmaengine_pcm_request_chan_of() argument
353 if (config && config->dma_dev) { in dmaengine_pcm_request_chan_of()
361 dev_name(config->dma_dev)); in dmaengine_pcm_request_chan_of()
362 dev = config->dma_dev; in dmaengine_pcm_request_chan_of()
371 if (config && config->chan_names[i]) in dmaengine_pcm_request_chan_of()
372 name = config->chan_names[i]; in dmaengine_pcm_request_chan_of()
412 const struct snd_dmaengine_pcm_config *config, unsigned int flags) in snd_dmaengine_pcm_register() argument
421 pcm->config = config; in snd_dmaengine_pcm_register()
424 ret = dmaengine_pcm_request_chan_of(pcm, dev, config); in snd_dmaengine_pcm_register()