Lines Matching refs:ucontrol
121 static int codec_hw_vol_get(struct audio_kcontrol *kcontrol, struct audio_ctl_elem_value *ucontrol);
122 static int codec_hw_vol_put(struct audio_kcontrol *kcontrol, struct audio_ctl_elem_value *ucontrol);
123 …nt codec_hw_mute_state_get(struct audio_kcontrol *kcontrol, struct audio_ctl_elem_value *ucontrol);
124 …nt codec_hw_mute_state_put(struct audio_kcontrol *kcontrol, struct audio_ctl_elem_value *ucontrol);
143 …int codec_hw_mute_state_get(struct audio_kcontrol *kcontrol, struct audio_ctl_elem_value *ucontrol) in codec_hw_mute_state_get() argument
146 if(!kcontrol || !ucontrol) { in codec_hw_mute_state_get()
152 ucontrol->value.integer.value[0] = mute; in codec_hw_mute_state_get()
156 …int codec_hw_mute_state_put(struct audio_kcontrol *kcontrol, struct audio_ctl_elem_value *ucontrol) in codec_hw_mute_state_put() argument
159 if(!kcontrol || !ucontrol) { in codec_hw_mute_state_put()
163 mute = ucontrol->value.integer.value[0]; in codec_hw_mute_state_put()
169 static int codec_hw_vol_get(struct audio_kcontrol *kcontrol, struct audio_ctl_elem_value *ucontrol) in codec_hw_vol_get() argument
172 if(!kcontrol || !ucontrol) { in codec_hw_vol_get()
179 ucontrol->value.integer.value[0] = volume; in codec_hw_vol_get()
183 static int codec_hw_vol_put(struct audio_kcontrol *kcontrol, struct audio_ctl_elem_value *ucontrol) in codec_hw_vol_put() argument
186 if(!kcontrol || !ucontrol) { in codec_hw_vol_put()
190 volume = ucontrol->value.integer.value[0]; in codec_hw_vol_put()