Searched refs:vctrl (Results 1 – 2 of 2) sorted by relevance
/linux-4.4.14/drivers/media/pci/cx18/ |
D | cx18-alsa-mixer.c | 89 struct v4l2_control vctrl; in snd_cx18_mixer_tv_vol_get() local 92 vctrl.id = V4L2_CID_AUDIO_VOLUME; in snd_cx18_mixer_tv_vol_get() 93 vctrl.value = dB_to_cx18_av_vol(uctl->value.integer.value[0]); in snd_cx18_mixer_tv_vol_get() 96 ret = v4l2_subdev_call(cx->sd_av, core, g_ctrl, &vctrl); in snd_cx18_mixer_tv_vol_get() 100 uctl->value.integer.value[0] = cx18_av_vol_to_dB(vctrl.value); in snd_cx18_mixer_tv_vol_get() 109 struct v4l2_control vctrl; in snd_cx18_mixer_tv_vol_put() local 112 vctrl.id = V4L2_CID_AUDIO_VOLUME; in snd_cx18_mixer_tv_vol_put() 113 vctrl.value = dB_to_cx18_av_vol(uctl->value.integer.value[0]); in snd_cx18_mixer_tv_vol_put() 118 ret = v4l2_subdev_call(cx->sd_av, core, g_ctrl, &vctrl); in snd_cx18_mixer_tv_vol_put() 121 (cx18_av_vol_to_dB(vctrl.value) != uctl->value.integer.value[0])) { in snd_cx18_mixer_tv_vol_put() [all …]
|
/linux-4.4.14/drivers/media/pci/ivtv/ |
D | ivtv-alsa-mixer.c | 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() [all …]
|