Home
last modified time | relevance | path

Searched refs:ctrl_handler (Results 1 – 25 of 68) sorted by relevance

123

/linux-4.19.296/drivers/media/radio/wl128x/
Dfmdrv_v4l2.c210 struct fmdev, ctrl_handler); in fm_g_volatile_ctrl()
227 struct fmdev, ctrl_handler); in fm_v4l2_s_ctrl()
560 fmdev->radio_dev->ctrl_handler = &fmdev->ctrl_handler; in fm_v4l2_init_video_device()
562 ret = v4l2_ctrl_handler_init(&fmdev->ctrl_handler, 5); in fm_v4l2_init_video_device()
565 v4l2_ctrl_handler_free(&fmdev->ctrl_handler); in fm_v4l2_init_video_device()
575 v4l2_ctrl_new_std(&fmdev->ctrl_handler, &fm_ctrl_ops, in fm_v4l2_init_video_device()
579 v4l2_ctrl_new_std(&fmdev->ctrl_handler, &fm_ctrl_ops, in fm_v4l2_init_video_device()
582 v4l2_ctrl_new_std_menu(&fmdev->ctrl_handler, &fm_ctrl_ops, in fm_v4l2_init_video_device()
586 v4l2_ctrl_new_std(&fmdev->ctrl_handler, &fm_ctrl_ops, in fm_v4l2_init_video_device()
590 ctrl = v4l2_ctrl_new_std(&fmdev->ctrl_handler, &fm_ctrl_ops, in fm_v4l2_init_video_device()
[all …]
/linux-4.19.296/drivers/media/v4l2-core/
Dv4l2-subdev.c198 if (!vfh->ctrl_handler) in subdev_do_ioctl()
200 return v4l2_queryctrl(vfh->ctrl_handler, arg); in subdev_do_ioctl()
203 if (!vfh->ctrl_handler) in subdev_do_ioctl()
205 return v4l2_query_ext_ctrl(vfh->ctrl_handler, arg); in subdev_do_ioctl()
208 if (!vfh->ctrl_handler) in subdev_do_ioctl()
210 return v4l2_querymenu(vfh->ctrl_handler, arg); in subdev_do_ioctl()
213 if (!vfh->ctrl_handler) in subdev_do_ioctl()
215 return v4l2_g_ctrl(vfh->ctrl_handler, arg); in subdev_do_ioctl()
218 if (!vfh->ctrl_handler) in subdev_do_ioctl()
220 return v4l2_s_ctrl(vfh, vfh->ctrl_handler, arg); in subdev_do_ioctl()
[all …]
Dv4l2-device.c181 err = v4l2_ctrl_add_handler(v4l2_dev->ctrl_handler, sd->ctrl_handler, NULL); in v4l2_device_register_subdev()
252 vdev->ctrl_handler = sd->ctrl_handler; in v4l2_device_register_subdev_nodes()
Dv4l2-dev.c548 if (vdev->ctrl_handler || ops->vidioc_queryctrl) in determine_valid_ioctls()
550 if (vdev->ctrl_handler || ops->vidioc_query_ext_ctrl) in determine_valid_ioctls()
552 if (vdev->ctrl_handler || ops->vidioc_g_ctrl || ops->vidioc_g_ext_ctrls) in determine_valid_ioctls()
554 if (vdev->ctrl_handler || ops->vidioc_s_ctrl || ops->vidioc_s_ext_ctrls) in determine_valid_ioctls()
556 if (vdev->ctrl_handler || ops->vidioc_g_ext_ctrls) in determine_valid_ioctls()
558 if (vdev->ctrl_handler || ops->vidioc_s_ext_ctrls) in determine_valid_ioctls()
560 if (vdev->ctrl_handler || ops->vidioc_try_ext_ctrls) in determine_valid_ioctls()
562 if (vdev->ctrl_handler || ops->vidioc_querymenu) in determine_valid_ioctls()
886 if (vdev->ctrl_handler == NULL) in __video_register_device()
887 vdev->ctrl_handler = vdev->v4l2_dev->ctrl_handler; in __video_register_device()
Dv4l2-fh.c33 fh->ctrl_handler = vdev->ctrl_handler; in v4l2_fh_init()
Dv4l2-ioctl.c2001 if (vfh && vfh->ctrl_handler) in v4l_queryctrl()
2002 return v4l2_queryctrl(vfh->ctrl_handler, p); in v4l_queryctrl()
2003 if (vfd->ctrl_handler) in v4l_queryctrl()
2004 return v4l2_queryctrl(vfd->ctrl_handler, p); in v4l_queryctrl()
2018 if (vfh && vfh->ctrl_handler) in v4l_query_ext_ctrl()
2019 return v4l2_query_ext_ctrl(vfh->ctrl_handler, p); in v4l_query_ext_ctrl()
2020 if (vfd->ctrl_handler) in v4l_query_ext_ctrl()
2021 return v4l2_query_ext_ctrl(vfd->ctrl_handler, p); in v4l_query_ext_ctrl()
2035 if (vfh && vfh->ctrl_handler) in v4l_querymenu()
2036 return v4l2_querymenu(vfh->ctrl_handler, p); in v4l_querymenu()
[all …]
/linux-4.19.296/drivers/media/radio/
Dtea575x.c468 struct snd_tea575x *tea = container_of(ctrl->handler, struct snd_tea575x, ctrl_handler); in tea575x_s_ctrl()
551 tea->vd.ctrl_handler = &tea->ctrl_handler; in snd_tea575x_init()
552 v4l2_ctrl_handler_init(&tea->ctrl_handler, 1); in snd_tea575x_init()
553 v4l2_ctrl_new_std(&tea->ctrl_handler, &tea575x_ctrl_ops, in snd_tea575x_init()
555 retval = tea->ctrl_handler.error; in snd_tea575x_init()
558 v4l2_ctrl_handler_free(&tea->ctrl_handler); in snd_tea575x_init()
565 v4l2_ctrl_handler_free(&tea->ctrl_handler); in snd_tea575x_init()
570 v4l2_ctrl_handler_setup(&tea->ctrl_handler); in snd_tea575x_init()
576 v4l2_ctrl_handler_free(tea->vd.ctrl_handler); in snd_tea575x_init()
587 v4l2_ctrl_handler_free(tea->vd.ctrl_handler); in snd_tea575x_exit()
Dradio-tea5777.c499 container_of(c->handler, struct radio_tea5777, ctrl_handler); in tea575x_s_ctrl()
570 tea->vd.ctrl_handler = &tea->ctrl_handler; in radio_tea5777_init()
571 v4l2_ctrl_handler_init(&tea->ctrl_handler, 1); in radio_tea5777_init()
572 v4l2_ctrl_new_std(&tea->ctrl_handler, &tea575x_ctrl_ops, in radio_tea5777_init()
574 res = tea->ctrl_handler.error; in radio_tea5777_init()
577 v4l2_ctrl_handler_free(&tea->ctrl_handler); in radio_tea5777_init()
580 v4l2_ctrl_handler_setup(&tea->ctrl_handler); in radio_tea5777_init()
585 v4l2_ctrl_handler_free(tea->vd.ctrl_handler); in radio_tea5777_init()
596 v4l2_ctrl_handler_free(tea->vd.ctrl_handler); in radio_tea5777_exit()
Dradio-sf16fmr2.c150 struct snd_tea575x *tea = container_of(ctrl->handler, struct snd_tea575x, ctrl_handler); in fmr2_s_ctrl()
189 …fmr2->volume = v4l2_ctrl_new_std(&tea->ctrl_handler, &fmr2_ctrl_ops, V4L2_CID_AUDIO_VOLUME, 0, 68,… in fmr2_tea_ext_init()
190 …fmr2->balance = v4l2_ctrl_new_std(&tea->ctrl_handler, &fmr2_ctrl_ops, V4L2_CID_AUDIO_BALANCE, -68,… in fmr2_tea_ext_init()
191 if (tea->ctrl_handler.error) { in fmr2_tea_ext_init()
193 return tea->ctrl_handler.error; in fmr2_tea_ext_init()
Dradio-si476x.c313 struct v4l2_ctrl_handler ctrl_handler; member
332 return container_of(d, struct si476x_radio, ctrl_handler); in v4l2_ctrl_handler_to_radio()
1085 v4l2_ctrl_handler_setup(&radio->ctrl_handler); in si476x_radio_fops_open()
1432 ctrl = v4l2_ctrl_new_custom(&radio->ctrl_handler, in si476x_radio_add_new_custom()
1435 rval = radio->ctrl_handler.error; in si476x_radio_add_new_custom()
1476 radio->v4l2dev.ctrl_handler = &radio->ctrl_handler; in si476x_radio_probe()
1477 v4l2_ctrl_handler_init(&radio->ctrl_handler, in si476x_radio_probe()
1481 ctrl = v4l2_ctrl_new_std_menu(&radio->ctrl_handler, in si476x_radio_probe()
1486 rval = radio->ctrl_handler.error; in si476x_radio_probe()
1511 ctrl = v4l2_ctrl_new_std_menu(&radio->ctrl_handler, in si476x_radio_probe()
[all …]
Dradio-miropcm20.c64 struct v4l2_ctrl_handler ctrl_handler; member
299 struct pcm20 *dev = container_of(ctrl->handler, struct pcm20, ctrl_handler); in pcm20_s_ctrl()
455 hdl = &dev->ctrl_handler; in pcm20_init()
471 v4l2_dev->ctrl_handler = hdl; in pcm20_init()
509 v4l2_ctrl_handler_free(&dev->ctrl_handler); in pcm20_cleanup()
Dradio-tea5764.c141 struct v4l2_ctrl_handler ctrl_handler; member
382 container_of(ctrl->handler, struct tea5764_device, ctrl_handler); in tea5764_s_ctrl()
446 hdl = &radio->ctrl_handler; in tea5764_i2c_probe()
450 v4l2_dev->ctrl_handler = hdl; in tea5764_i2c_probe()
508 v4l2_ctrl_handler_free(&radio->ctrl_handler); in tea5764_i2c_remove()
Dradio-cadet.c67 struct v4l2_ctrl_handler ctrl_handler; member
440 struct cadet *dev = container_of(ctrl->handler, struct cadet, ctrl_handler); in cadet_s_ctrl()
628 hdl = &dev->ctrl_handler; in cadet_init()
632 v4l2_dev->ctrl_handler = hdl; in cadet_init()
669 v4l2_ctrl_handler_free(&dev->ctrl_handler); in cadet_exit()
Dradio-tea5777.h79 struct v4l2_ctrl_handler ctrl_handler; member
Dradio-timb.c142 tr->v4l2_dev.ctrl_handler = tr->sd_dsp->ctrl_handler; in timbradio_probe()
Dradio-wl1273.c81 struct v4l2_ctrl_handler ctrl_handler; member
1423 return container_of(ctrl->handler, struct wl1273_device, ctrl_handler); in to_radio()
2002 v4l2_ctrl_handler_free(&radio->ctrl_handler); in wl1273_fm_radio_remove()
2092 radio->v4l2dev.ctrl_handler = &radio->ctrl_handler; in wl1273_fm_radio_probe()
2106 v4l2_ctrl_handler_init(&radio->ctrl_handler, 6); in wl1273_fm_radio_probe()
2109 v4l2_ctrl_new_std(&radio->ctrl_handler, &wl1273_ctrl_ops, in wl1273_fm_radio_probe()
2113 v4l2_ctrl_new_std(&radio->ctrl_handler, &wl1273_ctrl_ops, in wl1273_fm_radio_probe()
2116 v4l2_ctrl_new_std_menu(&radio->ctrl_handler, &wl1273_ctrl_ops, in wl1273_fm_radio_probe()
2121 v4l2_ctrl_new_std(&radio->ctrl_handler, &wl1273_ctrl_ops, in wl1273_fm_radio_probe()
2124 ctrl = v4l2_ctrl_new_std(&radio->ctrl_handler, &wl1273_ctrl_ops, in wl1273_fm_radio_probe()
[all …]
/linux-4.19.296/drivers/media/usb/gspca/
Dspca508.c1457 container_of(ctrl->handler, struct gspca_dev, ctrl_handler); in sd_s_ctrl()
1478 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls()
1480 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls()
Dtv8532.c292 container_of(ctrl->handler, struct gspca_dev, ctrl_handler); in sd_s_ctrl()
316 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls()
318 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls()
Dsn9c2028.c287 container_of(ctrl->handler, struct gspca_dev, ctrl_handler); in sd_s_ctrl()
315 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls()
318 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls()
/linux-4.19.296/drivers/media/usb/gspca/stv06xx/
Dstv06xx_st6422.c67 container_of(ctrl->handler, struct gspca_dev, ctrl_handler); in st6422_s_ctrl()
99 struct v4l2_ctrl_handler *hdl = &sd->gspca_dev.ctrl_handler; in st6422_init_controls()
Dstv06xx_vv6410.c46 container_of(ctrl->handler, struct gspca_dev, ctrl_handler); in vv6410_s_ctrl()
95 struct v4l2_ctrl_handler *hdl = &sd->gspca_dev.ctrl_handler; in vv6410_init_controls()
/linux-4.19.296/drivers/media/radio/si4713/
Dradio-platform-si4713.c184 rsdev->radio_dev.ctrl_handler = sd->ctrl_handler; in radio_si4713_pdriver_probe()
/linux-4.19.296/include/media/
Dv4l2-fh.h53 struct v4l2_ctrl_handler *ctrl_handler; member
/linux-4.19.296/include/media/drv-intf/
Dtea575x.h66 struct v4l2_ctrl_handler ctrl_handler; member
/linux-4.19.296/drivers/media/usb/gspca/m5602/
Dm5602_ov7660.c279 struct v4l2_ctrl_handler *hdl = &sd->gspca_dev.ctrl_handler; in ov7660_init_controls()
281 sd->gspca_dev.vdev.ctrl_handler = hdl; in ov7660_init_controls()
413 container_of(ctrl->handler, struct gspca_dev, ctrl_handler); in ov7660_s_ctrl()

123