Searched refs:ipc4_cfg (Results 1 – 2 of 2) sorted by relevance
36 struct sof_smart_amp_ipc4_config ipc4_cfg; member95 memcpy_s(&sad->ipc4_cfg.base, sizeof(sad->ipc4_cfg.base), in smart_amp_new()99 bs = sizeof(sad->ipc4_cfg.input_pins) + sizeof(sad->ipc4_cfg.output_pin); in smart_amp_new()100 memcpy_s(sad->ipc4_cfg.input_pins, bs, in smart_amp_new()137 params->channels = sad->ipc4_cfg.base.audio_fmt.channels_count; in smart_amp_set_params()138 params->rate = sad->ipc4_cfg.base.audio_fmt.sampling_frequency; in smart_amp_set_params()139 params->sample_container_bytes = sad->ipc4_cfg.base.audio_fmt.depth / 8; in smart_amp_set_params()141 sad->ipc4_cfg.base.audio_fmt.valid_bit_depth / 8; in smart_amp_set_params()142 params->buffer_fmt = sad->ipc4_cfg.base.audio_fmt.interleaving_style; in smart_amp_set_params()143 params->buffer.size = sad->ipc4_cfg.base.ibs; in smart_amp_set_params()[all …]
97 struct ipc4_kpb_module_cfg ipc4_cfg; member191 kpb->ipc4_cfg.base_cfg = ipc_config->base_cfg; in kpb_set_verify_ipc_params()230 params->channels = kpb->ipc4_cfg.base_cfg.audio_fmt.channels_count; in kpb_set_params()231 params->rate = kpb->ipc4_cfg.base_cfg.audio_fmt.sampling_frequency; in kpb_set_params()232 params->sample_container_bytes = kpb->ipc4_cfg.base_cfg.audio_fmt.depth / 8; in kpb_set_params()234 kpb->ipc4_cfg.base_cfg.audio_fmt.valid_bit_depth / 8; in kpb_set_params()235 params->buffer_fmt = kpb->ipc4_cfg.base_cfg.audio_fmt.interleaving_style; in kpb_set_params()236 params->buffer.size = kpb->ipc4_cfg.base_cfg.ibs * KPB_MAX_BUFF_TIME * params->channels; in kpb_set_params()242 audio_stream_fmt_conversion(kpb->ipc4_cfg.base_cfg.audio_fmt.depth, in kpb_set_params()243 kpb->ipc4_cfg.base_cfg.audio_fmt.valid_bit_depth, in kpb_set_params()[all …]