Lines Matching +full:17 +full:v
64 #define TEA5777_W_DEEM_MASK (1LL << 17)
65 #define TEA5777_W_DEEM_SHIFT 17
123 #define TEA5777_R_LEVEL_MASK (0x0f << 17)
124 #define TEA5777_R_LEVEL_SHIFT 17
255 struct v4l2_capability *v) in vidioc_querycap() argument
259 strscpy(v->driver, tea->v4l2_dev->name, sizeof(v->driver)); in vidioc_querycap()
260 strscpy(v->card, tea->card, sizeof(v->card)); in vidioc_querycap()
261 strlcat(v->card, " TEA5777", sizeof(v->card)); in vidioc_querycap()
262 strscpy(v->bus_info, tea->bus_info, sizeof(v->bus_info)); in vidioc_querycap()
280 struct v4l2_tuner *v) in vidioc_g_tuner() argument
285 if (v->index > 0) in vidioc_g_tuner()
292 memset(v, 0, sizeof(*v)); in vidioc_g_tuner()
294 strscpy(v->name, "AM/FM", sizeof(v->name)); in vidioc_g_tuner()
296 strscpy(v->name, "FM", sizeof(v->name)); in vidioc_g_tuner()
297 v->type = V4L2_TUNER_RADIO; in vidioc_g_tuner()
298 v->capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_STEREO | in vidioc_g_tuner()
302 v->rangelow = tea->has_am ? bands[BAND_AM].rangelow : in vidioc_g_tuner()
304 v->rangehigh = bands[BAND_FM].rangehigh; in vidioc_g_tuner()
307 v->rxsubchans = V4L2_TUNER_SUB_STEREO; in vidioc_g_tuner()
309 v->rxsubchans = V4L2_TUNER_SUB_MONO; in vidioc_g_tuner()
310 v->audmode = tea->audmode; in vidioc_g_tuner()
312 v->signal = (tea->read_reg & TEA5777_R_LEVEL_MASK) >> in vidioc_g_tuner()
322 const struct v4l2_tuner *v) in vidioc_s_tuner() argument
327 if (v->index) in vidioc_s_tuner()
330 tea->audmode = v->audmode; in vidioc_s_tuner()