/Linux-v6.1/drivers/media/platform/qcom/venus/ |
D | venc_ctrls.c | 384 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 …]
|
D | vdec_ctrls.c | 101 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 …]
|
/Linux-v6.1/drivers/media/platform/xilinx/ |
D | xilinx-tpg.c | 100 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 …]
|
/Linux-v6.1/drivers/media/radio/wl128x/ |
D | fmdrv_v4l2.c | 194 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 …]
|
/Linux-v6.1/drivers/staging/media/max96712/ |
D | max96712.c | 36 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()
|
/Linux-v6.1/Documentation/driver-api/media/ |
D | v4l2-controls.rst | 67 struct v4l2_ctrl_handler ctrl_handler; 79 struct v4l2_ctrl_handler ctrl_handler; 87 v4l2_ctrl_handler_init(&foo->ctrl_handler, nr_of_controls); 99 foo->v4l2_dev.ctrl_handler = &foo->ctrl_handler; 105 foo->sd.ctrl_handler = &foo->ctrl_handler; 111 v4l2_ctrl_handler_free(&foo->ctrl_handler); 176 v4l2_ctrl_handler_init(&foo->ctrl_handler, nr_of_controls); 177 v4l2_ctrl_new_std(&foo->ctrl_handler, &foo_ctrl_ops, 179 v4l2_ctrl_new_std(&foo->ctrl_handler, &foo_ctrl_ops, 181 v4l2_ctrl_new_std_menu(&foo->ctrl_handler, &foo_ctrl_ops, [all …]
|
/Linux-v6.1/drivers/media/radio/ |
D | tea575x.c | 453 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()
|
D | radio-tea5777.c | 486 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()
|
D | radio-si476x.c | 305 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 …]
|
D | radio-sf16fmr2.c | 151 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()
|
/Linux-v6.1/drivers/media/platform/amphion/ |
D | venc.c | 605 ret = v4l2_ctrl_handler_init(&inst->ctrl_handler, 20); in venc_ctrl_init() 609 v4l2_ctrl_new_std_menu(&inst->ctrl_handler, &venc_ctrl_ops, in venc_ctrl_init() 617 v4l2_ctrl_new_std_menu(&inst->ctrl_handler, &venc_ctrl_ops, in venc_ctrl_init() 623 v4l2_ctrl_new_std(&inst->ctrl_handler, &venc_ctrl_ops, in venc_ctrl_init() 626 v4l2_ctrl_new_std_menu(&inst->ctrl_handler, &venc_ctrl_ops, in venc_ctrl_init() 633 v4l2_ctrl_new_std(&inst->ctrl_handler, &venc_ctrl_ops, in venc_ctrl_init() 640 v4l2_ctrl_new_std(&inst->ctrl_handler, &venc_ctrl_ops, in venc_ctrl_init() 646 v4l2_ctrl_new_std(&inst->ctrl_handler, &venc_ctrl_ops, in venc_ctrl_init() 649 v4l2_ctrl_new_std(&inst->ctrl_handler, &venc_ctrl_ops, in venc_ctrl_init() 652 v4l2_ctrl_new_std(&inst->ctrl_handler, &venc_ctrl_ops, in venc_ctrl_init() [all …]
|
/Linux-v6.1/drivers/staging/media/atomisp/pci/ |
D | atomisp_subdev.c | 590 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 …]
|
/Linux-v6.1/drivers/media/platform/st/sti/hva/ |
D | hva-v4l2.c | 619 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 …]
|
/Linux-v6.1/drivers/media/v4l2-core/ |
D | v4l2-subdev.c | 456 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 …]
|
D | v4l2-device.c | 135 err = v4l2_ctrl_add_handler(v4l2_dev->ctrl_handler, sd->ctrl_handler, in v4l2_device_register_subdev() 218 vdev->ctrl_handler = sd->ctrl_handler; in __v4l2_device_register_subdev_nodes()
|
/Linux-v6.1/drivers/media/platform/verisilicon/ |
D | hantro_drv.c | 42 ctrl = v4l2_ctrl_find(&ctx->ctrl_handler, id); in hantro_get_ctrl() 139 &ctx->ctrl_handler); in hantro_start_prepare_run() 162 &ctx->ctrl_handler); in hantro_end_prepare_run() 257 struct hantro_ctx, ctrl_handler); in hantro_try_ctrl() 294 struct hantro_ctx, ctrl_handler); in hantro_jpeg_s_ctrl() 314 struct hantro_ctx, ctrl_handler); in hantro_vp9_s_ctrl() 510 v4l2_ctrl_handler_init(&ctx->ctrl_handler, num_ctrls); in hantro_ctrls_setup() 516 v4l2_ctrl_new_custom(&ctx->ctrl_handler, in hantro_ctrls_setup() 518 if (ctx->ctrl_handler.error) { in hantro_ctrls_setup() 521 ctx->ctrl_handler.error); in hantro_ctrls_setup() [all …]
|
/Linux-v6.1/drivers/media/platform/rockchip/rga/ |
D | rga.c | 132 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() 402 v4l2_ctrl_handler_setup(&ctx->ctrl_handler); in rga_open() [all …]
|
/Linux-v6.1/drivers/staging/media/imx/ |
D | imx-media-dev-common.c | 224 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()
|
D | imx-media-fim.c | 44 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()
|
/Linux-v6.1/drivers/media/platform/mediatek/mdp3/ |
D | mtk-mdp3-m2m.c | 20 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() 579 ctx->fh.ctrl_handler = &ctx->ctrl_handler; in mdp_m2m_open() 616 v4l2_ctrl_handler_free(&ctx->ctrl_handler); in mdp_m2m_open() [all …]
|
/Linux-v6.1/drivers/media/platform/samsung/s5p-g2d/ |
D | g2d.c | 176 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 …]
|
/Linux-v6.1/drivers/staging/media/atomisp/i2c/ |
D | atomisp-lm3554.c | 66 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()
|
/Linux-v6.1/tools/testing/selftests/resctrl/ |
D | fill_buf.c | 36 static void ctrl_handler(int signo) in ctrl_handler() function 202 if (signal(SIGINT, ctrl_handler) == SIG_ERR) in run_fill_buf() 204 if (signal(SIGHUP, ctrl_handler) == SIG_ERR) in run_fill_buf()
|
/Linux-v6.1/drivers/media/usb/stk1160/ |
D | stk1160-core.c | 158 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()
|
/Linux-v6.1/drivers/media/platform/sunxi/sun8i-rotate/ |
D | sun8i_rotate.c | 572 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 …]
|