Lines Matching refs:_chip

32 	struct vx_core *_chip = snd_kcontrol_chip(kcontrol);  in vx_mic_level_get()  local
33 struct snd_vxpocket *chip = to_vxpocket(_chip); in vx_mic_level_get()
40 struct vx_core *_chip = snd_kcontrol_chip(kcontrol); in vx_mic_level_put() local
41 struct snd_vxpocket *chip = to_vxpocket(_chip); in vx_mic_level_put()
46 mutex_lock(&_chip->mixer_mutex); in vx_mic_level_put()
48 vx_set_mic_level(_chip, ucontrol->value.integer.value[0]); in vx_mic_level_put()
50 mutex_unlock(&_chip->mixer_mutex); in vx_mic_level_put()
53 mutex_unlock(&_chip->mixer_mutex); in vx_mic_level_put()
77 struct vx_core *_chip = snd_kcontrol_chip(kcontrol); in vx_mic_boost_get() local
78 struct snd_vxpocket *chip = to_vxpocket(_chip); in vx_mic_boost_get()
85 struct vx_core *_chip = snd_kcontrol_chip(kcontrol); in vx_mic_boost_put() local
86 struct snd_vxpocket *chip = to_vxpocket(_chip); in vx_mic_boost_put()
88 mutex_lock(&_chip->mixer_mutex); in vx_mic_boost_put()
90 vx_set_mic_boost(_chip, val); in vx_mic_boost_put()
92 mutex_unlock(&_chip->mixer_mutex); in vx_mic_boost_put()
95 mutex_unlock(&_chip->mixer_mutex); in vx_mic_boost_put()
108 int vxp_add_mic_controls(struct vx_core *_chip) in vxp_add_mic_controls() argument
110 struct snd_vxpocket *chip = to_vxpocket(_chip); in vxp_add_mic_controls()
115 switch (_chip->type) { in vxp_add_mic_controls()
117 vx_set_mic_level(_chip, 0); in vxp_add_mic_controls()
120 vx_set_mic_boost(_chip, 0); in vxp_add_mic_controls()
125 switch (_chip->type) { in vxp_add_mic_controls()
127 err = snd_ctl_add(_chip->card, snd_ctl_new1(&vx_control_mic_level, chip)); in vxp_add_mic_controls()
132 err = snd_ctl_add(_chip->card, snd_ctl_new1(&vx_control_mic_boost, chip)); in vxp_add_mic_controls()