Lines Matching refs:vt
1189 static int tuner_g_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt) in tuner_g_tuner() argument
1195 if (check_mode(t, vt->type) == -EINVAL) in tuner_g_tuner()
1197 if (vt->type == t->mode && analog_ops->get_afc) in tuner_g_tuner()
1198 analog_ops->get_afc(&t->fe, &vt->afc); in tuner_g_tuner()
1199 if (vt->type == t->mode && analog_ops->has_signal) { in tuner_g_tuner()
1200 u16 signal = (u16)vt->signal; in tuner_g_tuner()
1203 vt->signal = signal; in tuner_g_tuner()
1205 if (vt->type != V4L2_TUNER_RADIO) { in tuner_g_tuner()
1206 vt->capability |= V4L2_TUNER_CAP_NORM; in tuner_g_tuner()
1207 vt->rangelow = tv_range[0] * 16; in tuner_g_tuner()
1208 vt->rangehigh = tv_range[1] * 16; in tuner_g_tuner()
1213 if (vt->type == t->mode) { in tuner_g_tuner()
1214 vt->rxsubchans = V4L2_TUNER_SUB_MONO | V4L2_TUNER_SUB_STEREO; in tuner_g_tuner()
1219 vt->rxsubchans = in tuner_g_tuner()
1224 vt->audmode = t->audmode; in tuner_g_tuner()
1226 vt->capability |= V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_STEREO; in tuner_g_tuner()
1227 vt->rangelow = radio_range[0] * 16000; in tuner_g_tuner()
1228 vt->rangehigh = radio_range[1] * 16000; in tuner_g_tuner()
1242 static int tuner_s_tuner(struct v4l2_subdev *sd, const struct v4l2_tuner *vt) in tuner_s_tuner() argument
1246 if (set_mode(t, vt->type)) in tuner_s_tuner()
1250 t->audmode = vt->audmode; in tuner_s_tuner()