Lines Matching refs:vt
1234 static int tuner_g_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt) in tuner_g_tuner() argument
1240 if (check_mode(t, vt->type) == -EINVAL) in tuner_g_tuner()
1242 if (vt->type == t->mode && analog_ops->get_afc) in tuner_g_tuner()
1243 analog_ops->get_afc(&t->fe, &vt->afc); in tuner_g_tuner()
1244 if (vt->type == t->mode && analog_ops->has_signal) { in tuner_g_tuner()
1245 u16 signal = (u16)vt->signal; in tuner_g_tuner()
1248 vt->signal = signal; in tuner_g_tuner()
1250 if (vt->type != V4L2_TUNER_RADIO) { in tuner_g_tuner()
1251 vt->capability |= V4L2_TUNER_CAP_NORM; in tuner_g_tuner()
1252 vt->rangelow = tv_range[0] * 16; in tuner_g_tuner()
1253 vt->rangehigh = tv_range[1] * 16; in tuner_g_tuner()
1258 if (vt->type == t->mode) { in tuner_g_tuner()
1259 vt->rxsubchans = V4L2_TUNER_SUB_MONO | V4L2_TUNER_SUB_STEREO; in tuner_g_tuner()
1264 vt->rxsubchans = in tuner_g_tuner()
1269 vt->audmode = t->audmode; in tuner_g_tuner()
1271 vt->capability |= V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_STEREO; in tuner_g_tuner()
1272 vt->rangelow = radio_range[0] * 16000; in tuner_g_tuner()
1273 vt->rangehigh = radio_range[1] * 16000; in tuner_g_tuner()
1287 static int tuner_s_tuner(struct v4l2_subdev *sd, const struct v4l2_tuner *vt) in tuner_s_tuner() argument
1291 if (set_mode(t, vt->type)) in tuner_s_tuner()
1295 t->audmode = vt->audmode; in tuner_s_tuner()