Lines Matching refs:sm
21 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()
50 struct soc_mixer_control *sm = (struct soc_mixer_control *)kcontrol->private_value; in snd_sof_volume_info() local
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()
73 struct soc_mixer_control *sm = (struct soc_mixer_control *)kcontrol->private_value; in snd_sof_switch_get() local
74 struct snd_sof_control *scontrol = sm->dobj.private; in snd_sof_switch_get()
88 struct soc_mixer_control *sm = (struct soc_mixer_control *)kcontrol->private_value; in snd_sof_switch_put() local
89 struct snd_sof_control *scontrol = sm->dobj.private; in snd_sof_switch_put()