Lines Matching defs:format
71 static int skl_dsp_prepare(struct device *dev, unsigned int format,
94 ret = snd_hdac_dsp_prepare(stream, format, size, dmab);
440 * PCM format information, which we calculate in driver and resource values
451 struct skl_module_fmt *format = &fmt->inputs[0].fmt;
453 base_cfg->audio_fmt.number_of_channels = format->channels;
455 base_cfg->audio_fmt.s_freq = format->s_freq;
456 base_cfg->audio_fmt.bit_depth = format->bit_depth;
457 base_cfg->audio_fmt.valid_bit_depth = format->valid_bit_depth;
458 base_cfg->audio_fmt.ch_cfg = format->ch_cfg;
459 base_cfg->audio_fmt.sample_type = format->sample_type;
462 format->bit_depth, format->valid_bit_depth,
463 format->ch_cfg);
465 base_cfg->audio_fmt.channel_map = format->ch_map;
467 base_cfg->audio_fmt.interleaving = format->interleaving_style;
666 struct skl_module_fmt *format = &fmt->outputs[0].fmt;
668 out_fmt->number_of_channels = (u8)format->channels;
669 out_fmt->s_freq = format->s_freq;
670 out_fmt->bit_depth = format->bit_depth;
671 out_fmt->valid_bit_depth = format->valid_bit_depth;
672 out_fmt->ch_cfg = format->ch_cfg;
674 out_fmt->channel_map = format->ch_map;
675 out_fmt->interleaving = format->interleaving_style;
676 out_fmt->sample_type = format->sample_type;
678 dev_dbg(skl->dev, "copier out format chan=%d fre=%d bitdepth=%d\n",
679 out_fmt->number_of_channels, format->s_freq, format->bit_depth);
723 * Here we calculate the copier module parameters, like PCM format, output
724 * format, gateway settings
766 * Mic select module take base module configuration and out-format
826 * base module format configuration
976 * We first calculate the module format, based on module type and then
999 dev_err(skl->dev, "Failed to set module format ret=%d\n", ret);
1096 struct skl_module_fmt *format)
1098 pin_fmt->number_of_channels = format->channels;
1099 pin_fmt->s_freq = format->s_freq;
1100 pin_fmt->bit_depth = format->bit_depth;
1101 pin_fmt->valid_bit_depth = format->valid_bit_depth;
1102 pin_fmt->ch_cfg = format->ch_cfg;
1103 pin_fmt->sample_type = format->sample_type;
1104 pin_fmt->channel_map = format->ch_map;
1105 pin_fmt->interleaving = format->interleaving_style;
1126 struct skl_module_fmt *format;
1158 format = &fmt->inputs[0].fmt;
1159 fill_pin_params(&(pin_fmt.src_fmt), format);
1161 format = &fmt->outputs[src_index].fmt;
1162 fill_pin_params(&(pin_fmt.dst_fmt), format);