Lines Matching full:mc
53 struct soc_mixer_control *mc = (struct soc_mixer_control *)kctl->private_value; in avs_control_volume_get() local
54 struct avs_control_data *ctl_data = mc->dobj.private; in avs_control_volume_get()
89 struct soc_mixer_control *mc; in avs_control_volume_put() local
94 mc = (struct soc_mixer_control *)kctl->private_value; in avs_control_volume_put()
95 ctl_data = mc->dobj.private; in avs_control_volume_put()
100 /* mc->num_channels can be 0. */ in avs_control_volume_put()
102 if (input[i] < mc->min || input[i] > mc->max) in avs_control_volume_put()
104 } while (++i < mc->num_channels); in avs_control_volume_put()
114 ret = avs_peakvol_set_volume(adev, active_module, mc, input); in avs_control_volume_put()
125 struct soc_mixer_control *mc = (struct soc_mixer_control *)kctl->private_value; in avs_control_volume_info() local
128 uinfo->count = max_t(u32, 1, mc->num_channels); in avs_control_volume_info()
130 uinfo->value.integer.max = mc->max; in avs_control_volume_info()
136 struct soc_mixer_control *mc = (struct soc_mixer_control *)kctl->private_value; in avs_control_mute_get() local
137 struct avs_control_data *ctl_data = mc->dobj.private; in avs_control_mute_get()
172 struct soc_mixer_control *mc; in avs_control_mute_put() local
177 mc = (struct soc_mixer_control *)kctl->private_value; in avs_control_mute_put()
178 ctl_data = mc->dobj.private; in avs_control_mute_put()
183 /* mc->num_channels can be 0. */ in avs_control_mute_put()
185 if (input[i] < mc->min || input[i] > mc->max) in avs_control_mute_put()
187 } while (++i < mc->num_channels); in avs_control_mute_put()
197 ret = avs_peakvol_set_mute(adev, active_module, mc, input); in avs_control_mute_put()
208 struct soc_mixer_control *mc = (struct soc_mixer_control *)kctl->private_value; in avs_control_mute_info() local
211 uinfo->count = max_t(u32, 1, mc->num_channels); in avs_control_mute_info()
213 uinfo->value.integer.max = mc->max; in avs_control_mute_info()