Searched refs:sm (Results 1 – 8 of 8) sorted by relevance
21 struct soc_mixer_control *sm = (struct soc_mixer_control *)kcontrol->private_value; in snd_sof_volume_get() local22 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() local37 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 …]
557 struct soc_mixer_control *sm; in sof_ipc3_control_update() local614 sm = (struct soc_mixer_control *)kc->private_value; in sof_ipc3_control_update()615 scontrol = sm->dobj.private; in sof_ipc3_control_update()
965 struct soc_mixer_control *sm; in sof_control_load() local995 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() local1677 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()
806 struct soc_mixer_control *sm; in sof_get_control_data() local818 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()
162 struct hda_scodec_match *sm; in hda_component_manager_init() local175 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()
640 struct soc_mixer_control *sm; in soc_tplg_control_dmixer_create() local649 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() local923 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 …]
1036 struct soc_mixer_control *sm; in audioreach_route_load() local1040 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() local1234 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()
73 * <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