Lines Matching refs:vt
1231 static int tuner_g_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt) in tuner_g_tuner() argument
1237 if (check_mode(t, vt->type) == -EINVAL) in tuner_g_tuner()
1239 if (vt->type == t->mode && analog_ops->get_afc) in tuner_g_tuner()
1240 analog_ops->get_afc(&t->fe, &vt->afc); in tuner_g_tuner()
1241 if (vt->type == t->mode && analog_ops->has_signal) { in tuner_g_tuner()
1242 u16 signal = (u16)vt->signal; in tuner_g_tuner()
1245 vt->signal = signal; in tuner_g_tuner()
1247 if (vt->type != V4L2_TUNER_RADIO) { in tuner_g_tuner()
1248 vt->capability |= V4L2_TUNER_CAP_NORM; in tuner_g_tuner()
1249 vt->rangelow = tv_range[0] * 16; in tuner_g_tuner()
1250 vt->rangehigh = tv_range[1] * 16; in tuner_g_tuner()
1255 if (vt->type == t->mode) { in tuner_g_tuner()
1256 vt->rxsubchans = V4L2_TUNER_SUB_MONO | V4L2_TUNER_SUB_STEREO; in tuner_g_tuner()
1261 vt->rxsubchans = in tuner_g_tuner()
1266 vt->audmode = t->audmode; in tuner_g_tuner()
1268 vt->capability |= V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_STEREO; in tuner_g_tuner()
1269 vt->rangelow = radio_range[0] * 16000; in tuner_g_tuner()
1270 vt->rangehigh = radio_range[1] * 16000; in tuner_g_tuner()
1284 static int tuner_s_tuner(struct v4l2_subdev *sd, const struct v4l2_tuner *vt) in tuner_s_tuner() argument
1288 if (set_mode(t, vt->type)) in tuner_s_tuner()
1292 t->audmode = vt->audmode; in tuner_s_tuner()