Lines Matching defs:config
41 * @slave_config: DMA slave config to prepare
46 * snd_hwparams_to_dma_slave_config to fill in the slave config based on the
85 if (!pcm->config->prepare_slave_config)
90 ret = pcm->config->prepare_slave_config(substream, params, &slave_config);
114 if (pcm->config->pcm_hardware)
116 pcm->config->pcm_hardware);
193 if (pcm->config->compat_request_channel)
194 return pcm->config->compat_request_channel(rtd, substream);
196 return snd_dmaengine_pcm_request_channel(pcm->config->compat_filter_fn,
223 const struct snd_dmaengine_pcm_config *config = pcm->config;
229 if (config->prealloc_buffer_size)
230 prealloc_buffer_size = config->prealloc_buffer_size;
234 if (config->pcm_hardware && config->pcm_hardware->buffer_bytes_max)
235 max_buffer_size = config->pcm_hardware->buffer_bytes_max;
244 if (!pcm->chan[i] && config->chan_names[i])
246 config->chan_names[i]);
299 unsigned long bytes) = pcm->config->process;
350 struct device *dev, const struct snd_dmaengine_pcm_config *config)
357 !(config->dma_dev && config->dma_dev->of_node)))
360 if (config->dma_dev) {
368 dev_name(config->dma_dev));
369 dev = config->dma_dev;
377 if (config->chan_names[i])
378 name = config->chan_names[i];
422 * @config: Platform specific PCM configuration
426 const struct snd_dmaengine_pcm_config *config, unsigned int flags)
439 if (!config)
440 config = &snd_dmaengine_pcm_default_config;
441 pcm->config = config;
444 ret = dmaengine_pcm_request_chan_of(pcm, dev, config);
448 if (config->process)