Home
last modified time | relevance | path

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

12345678910>>...17

/drivers/media/platform/qcom/venus/
Dvenc_ctrls.c384 ret = v4l2_ctrl_handler_init(&inst->ctrl_handler, 59); in venc_ctrl_init()
388 v4l2_ctrl_new_std_menu(&inst->ctrl_handler, &venc_ctrl_ops, in venc_ctrl_init()
396 v4l2_ctrl_new_std_menu(&inst->ctrl_handler, &venc_ctrl_ops, in venc_ctrl_init()
401 v4l2_ctrl_new_std_menu(&inst->ctrl_handler, &venc_ctrl_ops, in venc_ctrl_init()
408 v4l2_ctrl_new_std_menu(&inst->ctrl_handler, &venc_ctrl_ops, in venc_ctrl_init()
413 v4l2_ctrl_new_std_menu(&inst->ctrl_handler, &venc_ctrl_ops, in venc_ctrl_init()
421 v4l2_ctrl_new_std_menu(&inst->ctrl_handler, &venc_ctrl_ops, in venc_ctrl_init()
426 v4l2_ctrl_new_std_menu(&inst->ctrl_handler, &venc_ctrl_ops, in venc_ctrl_init()
437 v4l2_ctrl_new_std_menu(&inst->ctrl_handler, &venc_ctrl_ops, in venc_ctrl_init()
442 v4l2_ctrl_new_std_menu(&inst->ctrl_handler, &venc_ctrl_ops, in venc_ctrl_init()
[all …]
Dvdec_ctrls.c101 ret = v4l2_ctrl_handler_init(&inst->ctrl_handler, 12); in vdec_ctrl_init()
105 ctrl = v4l2_ctrl_new_std_menu(&inst->ctrl_handler, &vdec_ctrl_ops, in vdec_ctrl_init()
114 ctrl = v4l2_ctrl_new_std_menu(&inst->ctrl_handler, &vdec_ctrl_ops, in vdec_ctrl_init()
121 ctrl = v4l2_ctrl_new_std_menu(&inst->ctrl_handler, &vdec_ctrl_ops, in vdec_ctrl_init()
134 ctrl = v4l2_ctrl_new_std_menu(&inst->ctrl_handler, &vdec_ctrl_ops, in vdec_ctrl_init()
141 ctrl = v4l2_ctrl_new_std_menu(&inst->ctrl_handler, &vdec_ctrl_ops, in vdec_ctrl_init()
148 ctrl = v4l2_ctrl_new_std_menu(&inst->ctrl_handler, &vdec_ctrl_ops, in vdec_ctrl_init()
155 ctrl = v4l2_ctrl_new_std_menu(&inst->ctrl_handler, &vdec_ctrl_ops, in vdec_ctrl_init()
162 v4l2_ctrl_new_std(&inst->ctrl_handler, &vdec_ctrl_ops, in vdec_ctrl_init()
165 ctrl = v4l2_ctrl_new_std(&inst->ctrl_handler, &vdec_ctrl_ops, in vdec_ctrl_init()
[all …]
/drivers/media/platform/xilinx/
Dxilinx-tpg.c100 struct v4l2_ctrl_handler ctrl_handler; member
158 mutex_lock(xtpg->ctrl_handler.lock); in xtpg_update_pattern_control()
160 mutex_unlock(xtpg->ctrl_handler.lock); in xtpg_update_pattern_control()
216 mutex_lock(xtpg->ctrl_handler.lock); in xtpg_s_stream()
230 mutex_unlock(xtpg->ctrl_handler.lock); in xtpg_s_stream()
377 ctrl_handler); in xtpg_s_ctrl()
845 v4l2_ctrl_handler_init(&xtpg->ctrl_handler, 3 + ARRAY_SIZE(xtpg_ctrls)); in xtpg_probe()
847 xtpg->vblank = v4l2_ctrl_new_std(&xtpg->ctrl_handler, &xtpg_ctrl_ops, in xtpg_probe()
850 xtpg->hblank = v4l2_ctrl_new_std(&xtpg->ctrl_handler, &xtpg_ctrl_ops, in xtpg_probe()
853 xtpg->pattern = v4l2_ctrl_new_std_menu_items(&xtpg->ctrl_handler, in xtpg_probe()
[all …]
/drivers/media/radio/wl128x/
Dfmdrv_v4l2.c194 struct fmdev, ctrl_handler); in fm_g_volatile_ctrl()
211 struct fmdev, ctrl_handler); in fm_v4l2_s_ctrl()
548 fmdev->radio_dev->ctrl_handler = &fmdev->ctrl_handler; in fm_v4l2_init_video_device()
550 ret = v4l2_ctrl_handler_init(&fmdev->ctrl_handler, 5); in fm_v4l2_init_video_device()
553 v4l2_ctrl_handler_free(&fmdev->ctrl_handler); in fm_v4l2_init_video_device()
563 v4l2_ctrl_new_std(&fmdev->ctrl_handler, &fm_ctrl_ops, in fm_v4l2_init_video_device()
567 v4l2_ctrl_new_std(&fmdev->ctrl_handler, &fm_ctrl_ops, in fm_v4l2_init_video_device()
570 v4l2_ctrl_new_std_menu(&fmdev->ctrl_handler, &fm_ctrl_ops, in fm_v4l2_init_video_device()
574 v4l2_ctrl_new_std(&fmdev->ctrl_handler, &fm_ctrl_ops, in fm_v4l2_init_video_device()
578 ctrl = v4l2_ctrl_new_std(&fmdev->ctrl_handler, &fm_ctrl_ops, in fm_v4l2_init_video_device()
[all …]
/drivers/staging/media/max96712/
Dmax96712.c36 struct v4l2_ctrl_handler ctrl_handler; member
266 container_of(ctrl->handler, struct max96712_priv, ctrl_handler); in max96712_s_ctrl()
291 v4l2_ctrl_handler_init(&priv->ctrl_handler, 2); in max96712_v4l2_register()
298 v4l2_ctrl_new_std(&priv->ctrl_handler, NULL, V4L2_CID_PIXEL_RATE, in max96712_v4l2_register()
301 v4l2_ctrl_new_std_menu_items(&priv->ctrl_handler, &max96712_ctrl_ops, in max96712_v4l2_register()
306 priv->sd.ctrl_handler = &priv->ctrl_handler; in max96712_v4l2_register()
307 ret = priv->ctrl_handler.error; in max96712_v4l2_register()
326 v4l2_ctrl_handler_free(&priv->ctrl_handler); in max96712_v4l2_register()
/drivers/media/platform/amphion/
Dvenc.c607 ret = v4l2_ctrl_handler_init(&inst->ctrl_handler, 20); in venc_ctrl_init()
611 v4l2_ctrl_new_std_menu(&inst->ctrl_handler, &venc_ctrl_ops, in venc_ctrl_init()
619 v4l2_ctrl_new_std_menu(&inst->ctrl_handler, &venc_ctrl_ops, in venc_ctrl_init()
625 v4l2_ctrl_new_std(&inst->ctrl_handler, &venc_ctrl_ops, in venc_ctrl_init()
628 v4l2_ctrl_new_std_menu(&inst->ctrl_handler, &venc_ctrl_ops, in venc_ctrl_init()
635 v4l2_ctrl_new_std(&inst->ctrl_handler, &venc_ctrl_ops, in venc_ctrl_init()
642 v4l2_ctrl_new_std(&inst->ctrl_handler, &venc_ctrl_ops, in venc_ctrl_init()
648 v4l2_ctrl_new_std(&inst->ctrl_handler, &venc_ctrl_ops, in venc_ctrl_init()
651 v4l2_ctrl_new_std(&inst->ctrl_handler, &venc_ctrl_ops, in venc_ctrl_init()
654 v4l2_ctrl_new_std(&inst->ctrl_handler, &venc_ctrl_ops, in venc_ctrl_init()
[all …]
/drivers/media/radio/
Dtea575x.c453 struct snd_tea575x *tea = container_of(ctrl->handler, struct snd_tea575x, ctrl_handler); in tea575x_s_ctrl()
539 tea->vd.ctrl_handler = &tea->ctrl_handler; in snd_tea575x_init()
540 v4l2_ctrl_handler_init(&tea->ctrl_handler, 1); in snd_tea575x_init()
541 v4l2_ctrl_new_std(&tea->ctrl_handler, &tea575x_ctrl_ops, in snd_tea575x_init()
543 retval = tea->ctrl_handler.error; in snd_tea575x_init()
546 v4l2_ctrl_handler_free(&tea->ctrl_handler); in snd_tea575x_init()
553 v4l2_ctrl_handler_free(&tea->ctrl_handler); in snd_tea575x_init()
558 v4l2_ctrl_handler_setup(&tea->ctrl_handler); in snd_tea575x_init()
564 v4l2_ctrl_handler_free(tea->vd.ctrl_handler); in snd_tea575x_init()
575 v4l2_ctrl_handler_free(tea->vd.ctrl_handler); in snd_tea575x_exit()
Dradio-tea5777.c486 container_of(c->handler, struct radio_tea5777, ctrl_handler); in tea575x_s_ctrl()
559 tea->vd.ctrl_handler = &tea->ctrl_handler; in radio_tea5777_init()
560 v4l2_ctrl_handler_init(&tea->ctrl_handler, 1); in radio_tea5777_init()
561 v4l2_ctrl_new_std(&tea->ctrl_handler, &tea575x_ctrl_ops, in radio_tea5777_init()
563 res = tea->ctrl_handler.error; in radio_tea5777_init()
566 v4l2_ctrl_handler_free(&tea->ctrl_handler); in radio_tea5777_init()
569 v4l2_ctrl_handler_setup(&tea->ctrl_handler); in radio_tea5777_init()
574 v4l2_ctrl_handler_free(tea->vd.ctrl_handler); in radio_tea5777_init()
585 v4l2_ctrl_handler_free(tea->vd.ctrl_handler); in radio_tea5777_exit()
Dradio-si476x.c305 struct v4l2_ctrl_handler ctrl_handler; member
318 return container_of(d, struct si476x_radio, ctrl_handler); in v4l2_ctrl_handler_to_radio()
1058 v4l2_ctrl_handler_setup(&radio->ctrl_handler); in si476x_radio_fops_open()
1366 ctrl = v4l2_ctrl_new_custom(&radio->ctrl_handler, in si476x_radio_add_new_custom()
1369 rval = radio->ctrl_handler.error; in si476x_radio_add_new_custom()
1418 radio->v4l2dev.ctrl_handler = &radio->ctrl_handler; in si476x_radio_probe()
1419 v4l2_ctrl_handler_init(&radio->ctrl_handler, in si476x_radio_probe()
1423 ctrl = v4l2_ctrl_new_std_menu(&radio->ctrl_handler, in si476x_radio_probe()
1428 rval = radio->ctrl_handler.error; in si476x_radio_probe()
1453 ctrl = v4l2_ctrl_new_std_menu(&radio->ctrl_handler, in si476x_radio_probe()
[all …]
Dradio-sf16fmr2.c151 struct snd_tea575x *tea = container_of(ctrl->handler, struct snd_tea575x, ctrl_handler); in fmr2_s_ctrl()
190 …fmr2->volume = v4l2_ctrl_new_std(&tea->ctrl_handler, &fmr2_ctrl_ops, V4L2_CID_AUDIO_VOLUME, 0, 68,… in fmr2_tea_ext_init()
191 …fmr2->balance = v4l2_ctrl_new_std(&tea->ctrl_handler, &fmr2_ctrl_ops, V4L2_CID_AUDIO_BALANCE, -68,… in fmr2_tea_ext_init()
192 if (tea->ctrl_handler.error) { in fmr2_tea_ext_init()
194 return tea->ctrl_handler.error; in fmr2_tea_ext_init()
/drivers/staging/media/atomisp/pci/
Datomisp_subdev.c590 v4l2_g_ctrl(isp->inputs[asd->input_curr].camera->ctrl_handler, in atomisp_get_sensor_bin_factor()
595 v4l2_g_ctrl(isp->inputs[asd->input_curr].camera->ctrl_handler, in atomisp_get_sensor_bin_factor()
846 isp->inputs[asd->input_curr].camera->ctrl_handler, in __atomisp_update_run_mode()
859 mutex_lock(asd->ctrl_handler.lock); in atomisp_update_run_mode()
861 mutex_unlock(asd->ctrl_handler.lock); in atomisp_update_run_mode()
869 ctrl->handler, struct atomisp_sub_device, ctrl_handler); in s_ctrl()
1152 ret = v4l2_ctrl_handler_init(&asd->ctrl_handler, 1); in isp_subdev_init_entities()
1156 asd->fmt_auto = v4l2_ctrl_new_custom(&asd->ctrl_handler, in isp_subdev_init_entities()
1158 asd->run_mode = v4l2_ctrl_new_custom(&asd->ctrl_handler, in isp_subdev_init_entities()
1160 asd->vfpp = v4l2_ctrl_new_custom(&asd->ctrl_handler, in isp_subdev_init_entities()
[all …]
/drivers/media/platform/st/sti/hva/
Dhva-v4l2.c619 ctrl_handler); in hva_s_ctrl()
700 v4l2_ctrl_handler_init(&ctx->ctrl_handler, 15); in hva_ctrls_setup()
702 v4l2_ctrl_new_std_menu(&ctx->ctrl_handler, &hva_ctrl_ops, in hva_ctrls_setup()
708 v4l2_ctrl_new_std(&ctx->ctrl_handler, &hva_ctrl_ops, in hva_ctrls_setup()
712 v4l2_ctrl_new_std(&ctx->ctrl_handler, &hva_ctrl_ops, in hva_ctrls_setup()
717 v4l2_ctrl_new_std_menu(&ctx->ctrl_handler, &hva_ctrl_ops, in hva_ctrls_setup()
727 v4l2_ctrl_new_std_menu(&ctx->ctrl_handler, &hva_ctrl_ops, in hva_ctrls_setup()
733 v4l2_ctrl_new_std_menu(&ctx->ctrl_handler, &hva_ctrl_ops, in hva_ctrls_setup()
739 v4l2_ctrl_new_std_menu(&ctx->ctrl_handler, &hva_ctrl_ops, in hva_ctrls_setup()
745 v4l2_ctrl_new_std(&ctx->ctrl_handler, &hva_ctrl_ops, in hva_ctrls_setup()
[all …]
/drivers/media/platform/verisilicon/
Dhantro_drv.c42 ctrl = v4l2_ctrl_find(&ctx->ctrl_handler, id); in hantro_get_ctrl()
140 &ctx->ctrl_handler); in hantro_start_prepare_run()
163 &ctx->ctrl_handler); in hantro_end_prepare_run()
258 struct hantro_ctx, ctrl_handler); in hantro_try_ctrl()
295 struct hantro_ctx, ctrl_handler); in hantro_jpeg_s_ctrl()
315 struct hantro_ctx, ctrl_handler); in hantro_vp9_s_ctrl()
511 v4l2_ctrl_handler_init(&ctx->ctrl_handler, num_ctrls); in hantro_ctrls_setup()
517 v4l2_ctrl_new_custom(&ctx->ctrl_handler, in hantro_ctrls_setup()
519 if (ctx->ctrl_handler.error) { in hantro_ctrls_setup()
522 ctx->ctrl_handler.error); in hantro_ctrls_setup()
[all …]
/drivers/media/v4l2-core/
Dv4l2-subdev.c456 if (!vfh->ctrl_handler) in subdev_do_ioctl()
458 return v4l2_queryctrl(vfh->ctrl_handler, arg); in subdev_do_ioctl()
461 if (!vfh->ctrl_handler) in subdev_do_ioctl()
463 return v4l2_query_ext_ctrl(vfh->ctrl_handler, arg); in subdev_do_ioctl()
466 if (!vfh->ctrl_handler) in subdev_do_ioctl()
468 return v4l2_querymenu(vfh->ctrl_handler, arg); in subdev_do_ioctl()
471 if (!vfh->ctrl_handler) in subdev_do_ioctl()
473 return v4l2_g_ctrl(vfh->ctrl_handler, arg); in subdev_do_ioctl()
476 if (!vfh->ctrl_handler) in subdev_do_ioctl()
478 return v4l2_s_ctrl(vfh, vfh->ctrl_handler, arg); in subdev_do_ioctl()
[all …]
/drivers/media/platform/rockchip/rga/
Drga.c132 ctrl_handler); in rga_s_ctrl()
162 v4l2_ctrl_handler_init(&ctx->ctrl_handler, 4); in rga_setup_ctrls()
164 v4l2_ctrl_new_std(&ctx->ctrl_handler, &rga_ctrl_ops, in rga_setup_ctrls()
167 v4l2_ctrl_new_std(&ctx->ctrl_handler, &rga_ctrl_ops, in rga_setup_ctrls()
170 v4l2_ctrl_new_std(&ctx->ctrl_handler, &rga_ctrl_ops, in rga_setup_ctrls()
173 v4l2_ctrl_new_std(&ctx->ctrl_handler, &rga_ctrl_ops, in rga_setup_ctrls()
176 if (ctx->ctrl_handler.error) { in rga_setup_ctrls()
177 int err = ctx->ctrl_handler.error; in rga_setup_ctrls()
180 v4l2_ctrl_handler_free(&ctx->ctrl_handler); in rga_setup_ctrls()
393 v4l2_ctrl_handler_setup(&ctx->ctrl_handler); in rga_open()
[all …]
/drivers/media/platform/mediatek/mdp3/
Dmtk-mdp3-m2m.c20 return container_of(ctrl->handler, struct mdp_m2m_ctx, ctrl_handler); in ctrl_to_ctx()
529 v4l2_ctrl_handler_init(&ctx->ctrl_handler, MDP_MAX_CTRLS); in mdp_m2m_ctrls_create()
530 ctx->ctrls.hflip = v4l2_ctrl_new_std(&ctx->ctrl_handler, in mdp_m2m_ctrls_create()
533 ctx->ctrls.vflip = v4l2_ctrl_new_std(&ctx->ctrl_handler, in mdp_m2m_ctrls_create()
536 ctx->ctrls.rotate = v4l2_ctrl_new_std(&ctx->ctrl_handler, in mdp_m2m_ctrls_create()
540 if (ctx->ctrl_handler.error) { in mdp_m2m_ctrls_create()
541 int err = ctx->ctrl_handler.error; in mdp_m2m_ctrls_create()
543 v4l2_ctrl_handler_free(&ctx->ctrl_handler); in mdp_m2m_ctrls_create()
583 ctx->fh.ctrl_handler = &ctx->ctrl_handler; in mdp_m2m_open()
620 v4l2_ctrl_handler_free(&ctx->ctrl_handler); in mdp_m2m_open()
[all …]
/drivers/media/platform/samsung/s5p-g2d/
Dg2d.c176 ctrl_handler); in g2d_s_ctrl()
205 v4l2_ctrl_handler_init(&ctx->ctrl_handler, 3); in g2d_setup_ctrls()
207 ctx->ctrl_hflip = v4l2_ctrl_new_std(&ctx->ctrl_handler, &g2d_ctrl_ops, in g2d_setup_ctrls()
210 ctx->ctrl_vflip = v4l2_ctrl_new_std(&ctx->ctrl_handler, &g2d_ctrl_ops, in g2d_setup_ctrls()
214 &ctx->ctrl_handler, in g2d_setup_ctrls()
221 if (ctx->ctrl_handler.error) { in g2d_setup_ctrls()
222 int err = ctx->ctrl_handler.error; in g2d_setup_ctrls()
224 v4l2_ctrl_handler_free(&ctx->ctrl_handler); in g2d_setup_ctrls()
265 v4l2_ctrl_handler_setup(&ctx->ctrl_handler); in g2d_open()
267 ctx->fh.ctrl_handler = &ctx->ctrl_handler; in g2d_open()
[all …]
/drivers/staging/media/atomisp/i2c/
Datomisp-lm3554.c66 struct v4l2_ctrl_handler ctrl_handler; member
423 container_of(ctrl->handler, struct lm3554, ctrl_handler); in lm3554_s_ctrl()
454 container_of(ctrl->handler, struct lm3554, ctrl_handler); in lm3554_g_volatile_ctrl()
855 v4l2_ctrl_handler_init(&flash->ctrl_handler, in lm3554_probe()
863 v4l2_ctrl_new_custom(&flash->ctrl_handler, &lm3554_controls[i], in lm3554_probe()
866 if (flash->ctrl_handler.error) { in lm3554_probe()
868 err = flash->ctrl_handler.error; in lm3554_probe()
872 flash->sd.ctrl_handler = &flash->ctrl_handler; in lm3554_probe()
904 v4l2_ctrl_handler_free(&flash->ctrl_handler); in lm3554_probe()
919 v4l2_ctrl_handler_free(&flash->ctrl_handler); in lm3554_remove()
/drivers/staging/media/imx/
Dimx-media-dev-common.c224 ret = v4l2_ctrl_add_handler(vfd->ctrl_handler, in imx_media_inherit_controls()
225 sd->ctrl_handler, in imx_media_inherit_controls()
290 if (!vfd->ctrl_handler) in imx_media_link_notify()
295 v4l2_ctrl_handler_free(vfd->ctrl_handler); in imx_media_link_notify()
296 v4l2_ctrl_handler_init(vfd->ctrl_handler, 0); in imx_media_link_notify()
302 if (!vfd->ctrl_handler) in imx_media_link_notify()
Dimx-media-fim.c44 struct v4l2_ctrl_handler ctrl_handler; member
265 ctrl_handler); in fim_s_ctrl()
371 struct v4l2_ctrl_handler *hdlr = &fim->ctrl_handler; in init_fim_controls()
457 return v4l2_ctrl_add_handler(fim->sd->ctrl_handler, in imx_media_fim_add_controls()
458 &fim->ctrl_handler, NULL, false); in imx_media_fim_add_controls()
484 v4l2_ctrl_handler_free(&fim->ctrl_handler); in imx_media_fim_free()
/drivers/media/platform/sunxi/sun8i-rotate/
Dsun8i_rotate.c572 ctrl_handler); in rotate_s_ctrl()
615 v4l2_ctrl_handler_init(&ctx->ctrl_handler, 3); in rotate_setup_ctrls()
617 v4l2_ctrl_new_std(&ctx->ctrl_handler, &rotate_ctrl_ops, in rotate_setup_ctrls()
620 v4l2_ctrl_new_std(&ctx->ctrl_handler, &rotate_ctrl_ops, in rotate_setup_ctrls()
623 v4l2_ctrl_new_std(&ctx->ctrl_handler, &rotate_ctrl_ops, in rotate_setup_ctrls()
626 if (ctx->ctrl_handler.error) { in rotate_setup_ctrls()
627 int err = ctx->ctrl_handler.error; in rotate_setup_ctrls()
630 v4l2_ctrl_handler_free(&ctx->ctrl_handler); in rotate_setup_ctrls()
635 return v4l2_ctrl_handler_setup(&ctx->ctrl_handler); in rotate_setup_ctrls()
680 ctx->fh.ctrl_handler = &ctx->ctrl_handler; in rotate_open()
[all …]
/drivers/media/usb/stk1160/
Dstk1160-core.c158 v4l2_ctrl_handler_free(&dev->ctrl_handler); in stk1160_release()
328 rc = v4l2_ctrl_handler_init(&dev->ctrl_handler, 0); in stk1160_probe()
340 dev->v4l2_dev.ctrl_handler = &dev->ctrl_handler; in stk1160_probe()
381 v4l2_ctrl_handler_free(&dev->ctrl_handler); in stk1160_probe()
/drivers/media/platform/amlogic/meson-ge2d/
Dge2d.c75 struct v4l2_ctrl_handler ctrl_handler; member
742 ctrl_handler); in ge2d_s_ctrl()
798 v4l2_ctrl_handler_init(&ctx->ctrl_handler, 4); in ge2d_setup_ctrls()
800 v4l2_ctrl_new_std(&ctx->ctrl_handler, &ge2d_ctrl_ops, in ge2d_setup_ctrls()
803 v4l2_ctrl_new_std(&ctx->ctrl_handler, &ge2d_ctrl_ops, in ge2d_setup_ctrls()
806 v4l2_ctrl_new_std(&ctx->ctrl_handler, &ge2d_ctrl_ops, in ge2d_setup_ctrls()
809 if (ctx->ctrl_handler.error) { in ge2d_setup_ctrls()
810 int err = ctx->ctrl_handler.error; in ge2d_setup_ctrls()
813 v4l2_ctrl_handler_free(&ctx->ctrl_handler); in ge2d_setup_ctrls()
866 v4l2_ctrl_handler_setup(&ctx->ctrl_handler); in ge2d_open()
[all …]
/drivers/media/i2c/et8ek8/
Det8ek8_driver.c51 struct v4l2_ctrl_handler ctrl_handler; member
639 container_of(ctrl->handler, struct et8ek8_sensor, ctrl_handler); in et8ek8_set_ctrl()
685 v4l2_ctrl_handler_init(&sensor->ctrl_handler, 4); in et8ek8_init_controls()
688 v4l2_ctrl_new_std(&sensor->ctrl_handler, &et8ek8_ctrl_ops, in et8ek8_init_controls()
697 v4l2_ctrl_new_std(&sensor->ctrl_handler, in et8ek8_init_controls()
704 v4l2_ctrl_new_std(&sensor->ctrl_handler, &et8ek8_ctrl_ops, in et8ek8_init_controls()
708 v4l2_ctrl_new_std_menu_items(&sensor->ctrl_handler, in et8ek8_init_controls()
713 if (sensor->ctrl_handler.error) in et8ek8_init_controls()
714 return sensor->ctrl_handler.error; in et8ek8_init_controls()
716 sensor->subdev.ctrl_handler = &sensor->ctrl_handler; in et8ek8_init_controls()
[all …]
/drivers/staging/media/tegra-video/
Dvi.c968 ctrl_handler); in vi_s_ctrl()
1013 v4l2_ctrl_new_std_menu_items(&chan->ctrl_handler, &vi_ctrl_ops, in tegra_channel_setup_ctrl_handler()
1017 if (chan->ctrl_handler.error) { in tegra_channel_setup_ctrl_handler()
1019 chan->ctrl_handler.error); in tegra_channel_setup_ctrl_handler()
1020 v4l2_ctrl_handler_free(&chan->ctrl_handler); in tegra_channel_setup_ctrl_handler()
1021 return chan->ctrl_handler.error; in tegra_channel_setup_ctrl_handler()
1027 v4l2_ctrl_new_custom(&chan->ctrl_handler, &syncpt_timeout_ctrl, NULL); in tegra_channel_setup_ctrl_handler()
1028 if (chan->ctrl_handler.error) { in tegra_channel_setup_ctrl_handler()
1031 chan->ctrl_handler.error); in tegra_channel_setup_ctrl_handler()
1032 v4l2_ctrl_handler_free(&chan->ctrl_handler); in tegra_channel_setup_ctrl_handler()
[all …]

12345678910>>...17