Lines Matching refs:tuner

601 		struct v4l2_tuner *tuner)  in si470x_vidioc_g_tuner()  argument
606 if (tuner->index != 0) in si470x_vidioc_g_tuner()
616 strscpy(tuner->name, "FM", sizeof(tuner->name)); in si470x_vidioc_g_tuner()
617 tuner->type = V4L2_TUNER_RADIO; in si470x_vidioc_g_tuner()
618 tuner->capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_STEREO | in si470x_vidioc_g_tuner()
622 tuner->rangelow = 76 * FREQ_MUL; in si470x_vidioc_g_tuner()
623 tuner->rangehigh = 108 * FREQ_MUL; in si470x_vidioc_g_tuner()
627 tuner->rxsubchans = V4L2_TUNER_SUB_MONO; in si470x_vidioc_g_tuner()
629 tuner->rxsubchans = V4L2_TUNER_SUB_STEREO; in si470x_vidioc_g_tuner()
633 tuner->rxsubchans |= V4L2_TUNER_SUB_RDS; in si470x_vidioc_g_tuner()
637 tuner->audmode = V4L2_TUNER_MODE_STEREO; in si470x_vidioc_g_tuner()
639 tuner->audmode = V4L2_TUNER_MODE_MONO; in si470x_vidioc_g_tuner()
643 tuner->signal = (radio->registers[STATUSRSSI] & STATUSRSSI_RSSI); in si470x_vidioc_g_tuner()
645 tuner->signal = (tuner->signal * 873) + (8 * tuner->signal / 10); in si470x_vidioc_g_tuner()
646 if (tuner->signal > 0xffff) in si470x_vidioc_g_tuner()
647 tuner->signal = 0xffff; in si470x_vidioc_g_tuner()
651 tuner->afc = (radio->registers[STATUSRSSI] & STATUSRSSI_AFCRL) ? 1 : 0; in si470x_vidioc_g_tuner()
661 const struct v4l2_tuner *tuner) in si470x_vidioc_s_tuner() argument
665 if (tuner->index != 0) in si470x_vidioc_s_tuner()
669 switch (tuner->audmode) { in si470x_vidioc_s_tuner()
691 if (freq->tuner != 0) in si470x_vidioc_g_frequency()
708 if (freq->tuner != 0) in si470x_vidioc_s_frequency()
730 if (seek->tuner != 0) in si470x_vidioc_s_hw_freq_seek()
745 if (band->tuner != 0) in si470x_vidioc_enum_freq_bands()