Lines Matching full:scfg
544 struct afe_param_id_slot_mapping_cfg *scfg; member
848 kfree(port->scfg); in q6afe_port_free()
1279 port->scfg = kzalloc(sizeof(*port->scfg), GFP_KERNEL); in q6afe_tdm_port_prepare()
1280 if (!port->scfg) in q6afe_tdm_port_prepare()
1283 port->scfg->minor_version = AFE_API_VERSION_SLOT_MAPPING_CONFIG; in q6afe_tdm_port_prepare()
1284 port->scfg->num_channels = cfg->num_channels; in q6afe_tdm_port_prepare()
1285 port->scfg->bitwidth = cfg->bit_width; in q6afe_tdm_port_prepare()
1286 port->scfg->data_align_type = cfg->data_align_type; in q6afe_tdm_port_prepare()
1287 memcpy(port->scfg->ch_mapping, cfg->ch_mapping, in q6afe_tdm_port_prepare()
1504 if (port->scfg) { in q6afe_port_start()
1505 ret = q6afe_port_set_param_v2(port, port->scfg, in q6afe_port_start()
1507 AFE_MODULE_TDM, sizeof(*port->scfg)); in q6afe_port_start()