Lines Matching refs:ctl
87 struct mixer_ctl *ctl; in hfp_set_volume() local
119 ctl = mixer_get_ctl_by_name(adev->mixer, hfpmod.hfp_vol_mixer_ctl); in hfp_set_volume()
120 if (!ctl) { in hfp_set_volume()
125 if(mixer_ctl_set_value(ctl, 0, vol) < 0) { in hfp_set_volume()
143 struct mixer_ctl *ctl; in hfp_set_mic_volume() local
163 ctl = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name); in hfp_set_mic_volume()
164 if (!ctl) { in hfp_set_mic_volume()
172 if (mixer_ctl_set_value(ctl, 0, volume) < 0) { in hfp_set_mic_volume()
184 struct mixer_ctl *ctl; in hfp_get_mic_volume() local
196 ctl = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name); in hfp_get_mic_volume()
197 if (!ctl) { in hfp_get_mic_volume()
203 volume = mixer_ctl_get_value(ctl, 0); in hfp_get_mic_volume()