Lines Matching refs:scfg
479 struct afe_param_id_slot_mapping_cfg *scfg; member
723 kfree(port->scfg); in q6afe_port_free()
1114 port->scfg = kzalloc(sizeof(*port->scfg), GFP_KERNEL); in q6afe_tdm_port_prepare()
1115 if (!port->scfg) in q6afe_tdm_port_prepare()
1118 port->scfg->minor_version = AFE_API_VERSION_SLOT_MAPPING_CONFIG; in q6afe_tdm_port_prepare()
1119 port->scfg->num_channels = cfg->num_channels; in q6afe_tdm_port_prepare()
1120 port->scfg->bitwidth = cfg->bit_width; in q6afe_tdm_port_prepare()
1121 port->scfg->data_align_type = cfg->data_align_type; in q6afe_tdm_port_prepare()
1122 memcpy(port->scfg->ch_mapping, cfg->ch_mapping, in q6afe_tdm_port_prepare()
1317 if (port->scfg) { in q6afe_port_start()
1318 ret = q6afe_port_set_param_v2(port, port->scfg, in q6afe_port_start()
1320 AFE_MODULE_TDM, sizeof(*port->scfg)); in q6afe_port_start()