Lines Matching refs:scontrol
694 struct snd_ar_control *scontrol; in audioreach_widget_load_mixer() local
700 scontrol = kzalloc(sizeof(*scontrol), GFP_KERNEL); in audioreach_widget_load_mixer()
701 if (!scontrol) in audioreach_widget_load_mixer()
704 scontrol->scomp = component; in audioreach_widget_load_mixer()
706 dobj->private = scontrol; in audioreach_widget_load_mixer()
712 scontrol->sgid = le32_to_cpu(w_elem->value); in audioreach_widget_load_mixer()
925 struct snd_ar_control *scontrol = mc->dobj.private; in audioreach_get_audio_mixer() local
929 connected = q6apm_is_sub_graphs_connected(data, scontrol->sgid, dapm_scontrol->sgid); in audioreach_get_audio_mixer()
946 struct snd_ar_control *scontrol = mc->dobj.private; in audioreach_put_audio_mixer() local
950 q6apm_connect_sub_graphs(data, scontrol->sgid, dapm_scontrol->sgid, true); in audioreach_put_audio_mixer()
953 q6apm_connect_sub_graphs(data, scontrol->sgid, dapm_scontrol->sgid, false); in audioreach_put_audio_mixer()
982 struct snd_ar_control *scontrol, in audioreach_control_load_mix() argument
999 scontrol->sgid = le32_to_cpu(c_elem->value); in audioreach_control_load_mix()
1016 struct snd_ar_control *scontrol; in audioreach_control_load() local
1021 scontrol = kzalloc(sizeof(*scontrol), GFP_KERNEL); in audioreach_control_load()
1022 if (!scontrol) in audioreach_control_load()
1025 scontrol->scomp = scomp; in audioreach_control_load()
1031 ret = audioreach_control_load_mix(scomp, scontrol, kc, hdr); in audioreach_control_load()
1040 kfree(scontrol); in audioreach_control_load()
1044 dobj->private = scontrol; in audioreach_control_load()
1051 struct snd_ar_control *scontrol = dobj->private; in audioreach_control_unload() local
1053 kfree(scontrol); in audioreach_control_unload()