Lines Matching refs:tuner
251 /* Get tuner attributes. If current mode is NOT RX, return error */
253 struct v4l2_tuner *tuner)
262 if (tuner->index != 0)
280 strscpy(tuner->name, "FM", sizeof(tuner->name));
281 tuner->type = V4L2_TUNER_RADIO;
283 tuner->rangelow = bottom_freq * 16;
284 tuner->rangehigh = top_freq * 16;
285 tuner->rxsubchans = V4L2_TUNER_SUB_MONO | V4L2_TUNER_SUB_STEREO |
287 tuner->capability = V4L2_TUNER_CAP_STEREO | V4L2_TUNER_CAP_RDS |
291 tuner->audmode = (stereo_mono_mode ?
304 tuner->signal = rssilvl * 257;
305 tuner->afc = 0;
311 * Set tuner attributes. If current mode is NOT RX, set to RX.
313 * Should we set other tuner attributes, too?
316 const struct v4l2_tuner *tuner)
323 if (tuner->index != 0)
326 aud_mode = (tuner->audmode == V4L2_TUNER_MODE_STEREO) ?
328 rds_mode = (tuner->rxsubchans & V4L2_TUNER_SUB_RDS) ?
352 /* Get tuner or modulator radio frequency */
371 /* Set tuner or modulator radio frequency */
502 * To ensure both the tuner and modulator ioctls are accessible we