Lines Matching refs:vctrl
89 struct v4l2_control vctrl; in snd_ivtv_mixer_tv_vol_get() local
92 vctrl.id = V4L2_CID_AUDIO_VOLUME; in snd_ivtv_mixer_tv_vol_get()
93 vctrl.value = dB_to_cx25840_vol(uctl->value.integer.value[0]); in snd_ivtv_mixer_tv_vol_get()
96 ret = v4l2_subdev_call(itv->sd_audio, core, g_ctrl, &vctrl); in snd_ivtv_mixer_tv_vol_get()
100 uctl->value.integer.value[0] = cx25840_vol_to_dB(vctrl.value); in snd_ivtv_mixer_tv_vol_get()
109 struct v4l2_control vctrl; in snd_ivtv_mixer_tv_vol_put() local
112 vctrl.id = V4L2_CID_AUDIO_VOLUME; in snd_ivtv_mixer_tv_vol_put()
113 vctrl.value = dB_to_cx25840_vol(uctl->value.integer.value[0]); in snd_ivtv_mixer_tv_vol_put()
118 ret = v4l2_subdev_call(itv->sd_audio, core, g_ctrl, &vctrl); in snd_ivtv_mixer_tv_vol_put()
121 (cx25840_vol_to_dB(vctrl.value) != uctl->value.integer.value[0])) { in snd_ivtv_mixer_tv_vol_put()
124 vctrl.value = dB_to_cx25840_vol(uctl->value.integer.value[0]); in snd_ivtv_mixer_tv_vol_put()
125 ret = v4l2_subdev_call(itv->sd_audio, core, s_ctrl, &vctrl); in snd_ivtv_mixer_tv_vol_put()