Home
last modified time | relevance | path

Searched refs:sm (Results 1 – 8 of 8) sorted by relevance

/sound/soc/sof/
A Dcontrol.c21 struct soc_mixer_control *sm = (struct soc_mixer_control *)kcontrol->private_value; in snd_sof_volume_get() local
22 struct snd_sof_control *scontrol = sm->dobj.private; in snd_sof_volume_get()
36 struct soc_mixer_control *sm = (struct soc_mixer_control *)kcontrol->private_value; in snd_sof_volume_put() local
37 struct snd_sof_control *scontrol = sm->dobj.private; in snd_sof_volume_put()
51 struct snd_sof_control *scontrol = sm->dobj.private; in snd_sof_volume_info()
55 if (!sm->platform_max) in snd_sof_volume_info()
56 sm->platform_max = sm->max; in snd_sof_volume_info()
57 platform_max = sm->platform_max; in snd_sof_volume_info()
66 uinfo->value.integer.max = platform_max - sm->min; in snd_sof_volume_info()
74 struct snd_sof_control *scontrol = sm->dobj.private; in snd_sof_switch_get()
[all …]
A Dipc3-control.c557 struct soc_mixer_control *sm; in sof_ipc3_control_update() local
614 sm = (struct soc_mixer_control *)kc->private_value; in sof_ipc3_control_update()
615 scontrol = sm->dobj.private; in sof_ipc3_control_update()
A Dtopology.c965 struct soc_mixer_control *sm; in sof_control_load() local
995 sm = (struct soc_mixer_control *)kc->private_value; in sof_control_load()
996 dobj = &sm->dobj; in sof_control_load()
1638 struct soc_mixer_control *sm; in sof_widget_unload() local
1677 sm = (struct soc_mixer_control *)kc->private_value; in sof_widget_unload()
1678 scontrol = sm->dobj.private; in sof_widget_unload()
1679 if (sm->max > 1) in sof_widget_unload()
A Dipc3-topology.c806 struct soc_mixer_control *sm; in sof_get_control_data() local
818 sm = (struct soc_mixer_control *)kc->private_value; in sof_get_control_data()
819 wdata[i].control = sm->dobj.private; in sof_get_control_data()
/sound/hda/codecs/side-codecs/
A Dhda_component.c162 struct hda_scodec_match *sm; in hda_component_manager_init() local
175 sm = devm_kmalloc(dev, sizeof(*sm), GFP_KERNEL); in hda_component_manager_init()
176 if (!sm) in hda_component_manager_init()
179 sm->bus = bus; in hda_component_manager_init()
180 sm->hid = hid; in hda_component_manager_init()
181 sm->match_str = match_str; in hda_component_manager_init()
182 sm->index = i; in hda_component_manager_init()
183 component_match_add(dev, &match, hda_comp_match_dev_name, sm); in hda_component_manager_init()
/sound/soc/
A Dsoc-topology.c640 struct soc_mixer_control *sm; in soc_tplg_control_dmixer_create() local
649 sm = devm_kzalloc(tplg->dev, sizeof(*sm), GFP_KERNEL); in soc_tplg_control_dmixer_create()
650 if (!sm) in soc_tplg_control_dmixer_create()
661 kc->private_value = (long)sm; in soc_tplg_control_dmixer_create()
671 sm->max = le32_to_cpu(mc->max); in soc_tplg_control_dmixer_create()
672 sm->min = le32_to_cpu(mc->min); in soc_tplg_control_dmixer_create()
673 sm->invert = le32_to_cpu(mc->invert); in soc_tplg_control_dmixer_create()
908 struct soc_mixer_control *sm; in soc_tplg_dmixer_create() local
923 INIT_LIST_HEAD(&sm->dobj.list); in soc_tplg_dmixer_create()
924 sm->dobj.type = SND_SOC_DOBJ_MIXER; in soc_tplg_dmixer_create()
[all …]
/sound/soc/qcom/qdsp6/
A Dtopology.c1036 struct soc_mixer_control *sm; in audioreach_route_load() local
1040 sm = (struct soc_mixer_control *)w->kcontrol_news[i].private_value; in audioreach_route_load()
1041 dobj = &sm->dobj; in audioreach_route_load()
1222 struct soc_mixer_control *sm; in audioreach_control_load() local
1234 sm = (struct soc_mixer_control *)kc->private_value; in audioreach_control_load()
1235 dobj = &sm->dobj; in audioreach_control_load()
1239 sm = (struct soc_mixer_control *)kc->private_value; in audioreach_control_load()
1240 dobj = &sm->dobj; in audioreach_control_load()
/sound/soc/generic/
A Daudio-graph-card2-custom-sample1.dtsi73 * <sm> +-+
78 &sm /* CPU side only */
124 * <sm> +---+
350 sm: port@1 { reg = <1>; cpu1_1_ep: endpoint { remote-endpoint = <&smcodec_ep>; }; }; label

Completed in 31 milliseconds