Lines Matching refs:v
235 struct v4l2_capability *v) in vidioc_querycap() argument
239 strlcpy(v->driver, tea->v4l2_dev->name, sizeof(v->driver)); in vidioc_querycap()
240 strlcpy(v->card, tea->card, sizeof(v->card)); in vidioc_querycap()
241 strlcat(v->card, tea->tea5759 ? " TEA5759" : " TEA5757", sizeof(v->card)); in vidioc_querycap()
242 strlcpy(v->bus_info, tea->bus_info, sizeof(v->bus_info)); in vidioc_querycap()
243 v->device_caps = V4L2_CAP_TUNER | V4L2_CAP_RADIO; in vidioc_querycap()
245 v->device_caps |= V4L2_CAP_HW_FREQ_SEEK; in vidioc_querycap()
246 v->capabilities = v->device_caps | V4L2_CAP_DEVICE_CAPS; in vidioc_querycap()
291 int snd_tea575x_g_tuner(struct snd_tea575x *tea, struct v4l2_tuner *v) in snd_tea575x_g_tuner() argument
295 if (v->index > 0) in snd_tea575x_g_tuner()
301 memset(v, 0, sizeof(*v)); in snd_tea575x_g_tuner()
302 strlcpy(v->name, tea->has_am ? "FM/AM" : "FM", sizeof(v->name)); in snd_tea575x_g_tuner()
303 v->type = V4L2_TUNER_RADIO; in snd_tea575x_g_tuner()
304 v->capability = band_fm.capability; in snd_tea575x_g_tuner()
305 v->rangelow = tea->has_am ? bands[BAND_AM].rangelow : band_fm.rangelow; in snd_tea575x_g_tuner()
306 v->rangehigh = band_fm.rangehigh; in snd_tea575x_g_tuner()
307 v->rxsubchans = tea->stereo ? V4L2_TUNER_SUB_STEREO : V4L2_TUNER_SUB_MONO; in snd_tea575x_g_tuner()
308 v->audmode = (tea->val & TEA575X_BIT_MONO) ? in snd_tea575x_g_tuner()
310 v->signal = tea->tuned ? 0xffff : 0; in snd_tea575x_g_tuner()
316 struct v4l2_tuner *v) in vidioc_g_tuner() argument
320 return snd_tea575x_g_tuner(tea, v); in vidioc_g_tuner()
324 const struct v4l2_tuner *v) in vidioc_s_tuner() argument
329 if (v->index) in vidioc_s_tuner()
332 if (v->audmode == V4L2_TUNER_MODE_MONO) in vidioc_s_tuner()