Lines Matching full:scfg
545 struct afe_param_id_slot_mapping_cfg *scfg; member
849 kfree(port->scfg); in q6afe_port_free()
1280 port->scfg = kzalloc(sizeof(*port->scfg), GFP_KERNEL); in q6afe_tdm_port_prepare()
1281 if (!port->scfg) in q6afe_tdm_port_prepare()
1284 port->scfg->minor_version = AFE_API_VERSION_SLOT_MAPPING_CONFIG; in q6afe_tdm_port_prepare()
1285 port->scfg->num_channels = cfg->num_channels; in q6afe_tdm_port_prepare()
1286 port->scfg->bitwidth = cfg->bit_width; in q6afe_tdm_port_prepare()
1287 port->scfg->data_align_type = cfg->data_align_type; in q6afe_tdm_port_prepare()
1288 memcpy(port->scfg->ch_mapping, cfg->ch_mapping, in q6afe_tdm_port_prepare()
1505 if (port->scfg) { in q6afe_port_start()
1506 ret = q6afe_port_set_param_v2(port, port->scfg, in q6afe_port_start()
1508 AFE_MODULE_TDM, sizeof(*port->scfg)); in q6afe_port_start()