Lines Matching refs:tuner
253 struct v4l2_tuner *tuner) in fm_v4l2_vidioc_g_tuner() argument
262 if (tuner->index != 0) in fm_v4l2_vidioc_g_tuner()
280 strscpy(tuner->name, "FM", sizeof(tuner->name)); in fm_v4l2_vidioc_g_tuner()
281 tuner->type = V4L2_TUNER_RADIO; in fm_v4l2_vidioc_g_tuner()
283 tuner->rangelow = bottom_freq * 16; in fm_v4l2_vidioc_g_tuner()
284 tuner->rangehigh = top_freq * 16; in fm_v4l2_vidioc_g_tuner()
285 tuner->rxsubchans = V4L2_TUNER_SUB_MONO | V4L2_TUNER_SUB_STEREO | in fm_v4l2_vidioc_g_tuner()
287 tuner->capability = V4L2_TUNER_CAP_STEREO | V4L2_TUNER_CAP_RDS | in fm_v4l2_vidioc_g_tuner()
291 tuner->audmode = (stereo_mono_mode ? in fm_v4l2_vidioc_g_tuner()
304 tuner->signal = rssilvl * 257; in fm_v4l2_vidioc_g_tuner()
305 tuner->afc = 0; in fm_v4l2_vidioc_g_tuner()
316 const struct v4l2_tuner *tuner) in fm_v4l2_vidioc_s_tuner() argument
323 if (tuner->index != 0) in fm_v4l2_vidioc_s_tuner()
326 aud_mode = (tuner->audmode == V4L2_TUNER_MODE_STEREO) ? in fm_v4l2_vidioc_s_tuner()
328 rds_mode = (tuner->rxsubchans & V4L2_TUNER_SUB_RDS) ? in fm_v4l2_vidioc_s_tuner()