Lines Matching refs:tuner
273 struct v4l2_tuner *tuner) in fm_v4l2_vidioc_g_tuner() argument
282 if (tuner->index != 0) in fm_v4l2_vidioc_g_tuner()
300 strcpy(tuner->name, "FM"); in fm_v4l2_vidioc_g_tuner()
301 tuner->type = V4L2_TUNER_RADIO; in fm_v4l2_vidioc_g_tuner()
303 tuner->rangelow = bottom_freq * 16; in fm_v4l2_vidioc_g_tuner()
304 tuner->rangehigh = top_freq * 16; in fm_v4l2_vidioc_g_tuner()
305 tuner->rxsubchans = V4L2_TUNER_SUB_MONO | V4L2_TUNER_SUB_STEREO | in fm_v4l2_vidioc_g_tuner()
307 tuner->capability = V4L2_TUNER_CAP_STEREO | V4L2_TUNER_CAP_RDS | in fm_v4l2_vidioc_g_tuner()
311 tuner->audmode = (stereo_mono_mode ? in fm_v4l2_vidioc_g_tuner()
324 tuner->signal = rssilvl * 257; in fm_v4l2_vidioc_g_tuner()
325 tuner->afc = 0; in fm_v4l2_vidioc_g_tuner()
336 const struct v4l2_tuner *tuner) in fm_v4l2_vidioc_s_tuner() argument
343 if (tuner->index != 0) in fm_v4l2_vidioc_s_tuner()
346 aud_mode = (tuner->audmode == V4L2_TUNER_MODE_STEREO) ? in fm_v4l2_vidioc_s_tuner()
348 rds_mode = (tuner->rxsubchans & V4L2_TUNER_SUB_RDS) ? in fm_v4l2_vidioc_s_tuner()