Lines Matching refs:pin_fmt
473 static void fill_pin_params(struct skl_audio_data_format *pin_fmt, in fill_pin_params() argument
476 pin_fmt->number_of_channels = format->channels; in fill_pin_params()
477 pin_fmt->s_freq = format->s_freq; in fill_pin_params()
478 pin_fmt->bit_depth = format->bit_depth; in fill_pin_params()
479 pin_fmt->valid_bit_depth = format->valid_bit_depth; in fill_pin_params()
480 pin_fmt->ch_cfg = format->ch_cfg; in fill_pin_params()
481 pin_fmt->sample_type = format->sample_type; in fill_pin_params()
482 pin_fmt->channel_map = format->ch_map; in fill_pin_params()
483 pin_fmt->interleaving = format->interleaving_style; in fill_pin_params()
500 struct skl_pin_format *pin_fmt; in skl_set_base_ext_module_format() local
511 pin_fmt = &base_cfg_ext->pins_fmt[i]; in skl_set_base_ext_module_format()
513 pin_fmt->pin_idx = pin_res->pin_index; in skl_set_base_ext_module_format()
514 pin_fmt->buf_size = pin_res->buf_size; in skl_set_base_ext_module_format()
517 fill_pin_params(&pin_fmt->audio_fmt, format); in skl_set_base_ext_module_format()
522 pin_fmt = &base_cfg_ext->pins_fmt[res->nr_input_pins + i]; in skl_set_base_ext_module_format()
524 pin_fmt->pin_idx = pin_res->pin_index; in skl_set_base_ext_module_format()
525 pin_fmt->buf_size = pin_res->buf_size; in skl_set_base_ext_module_format()
528 fill_pin_params(&pin_fmt->audio_fmt, format); in skl_set_base_ext_module_format()
1159 struct skl_cpr_pin_fmt pin_fmt; in skl_bind_modules() local
1185 pin_fmt.sink_id = src_index; in skl_bind_modules()
1191 fill_pin_params(&(pin_fmt.src_fmt), format); in skl_bind_modules()
1194 fill_pin_params(&(pin_fmt.dst_fmt), format); in skl_bind_modules()
1195 ret = skl_set_module_params(skl, (void *)&pin_fmt, in skl_bind_modules()