/drivers/media/i2c/s5c73m3/ |
D | s5c73m3-ctrls.c | 79 ret = s5c73m3_get_af_status(state, state->ctrls.af_status); in s5c73m3_g_volatile_ctrl() 105 v4l2_ctrl_get_menu(state->ctrls.colorfx->id)[i]); in s5c73m3_set_colorfx() 117 struct s5c73m3_ctrls *ctrls = &state->ctrls; in s5c73m3_set_exposure() local 120 if (ctrls->exposure_metering->is_new) { in s5c73m3_set_exposure() 123 switch (ctrls->exposure_metering->val) { in s5c73m3_set_exposure() 138 if (!ret && ctrls->exposure_bias->is_new) { in s5c73m3_set_exposure() 139 u16 exp_bias = ctrls->exposure_bias->val; in s5c73m3_set_exposure() 145 ctrls->exposure_bias->val, ctrls->exposure_metering->val, ret); in s5c73m3_set_exposure() 168 v4l2_ctrl_get_menu(state->ctrls.auto_wb->id)[i]); in s5c73m3_set_white_balance() 178 struct s5c73m3_ctrls *c = &state->ctrls; in s5c73m3_af_run() [all …]
|
/drivers/media/usb/gspca/stv06xx/ |
D | stv06xx_pb0100.c | 93 struct pb0100_ctrls *ctrls = sd->sensor_priv; in pb0100_s_ctrl() local 103 err = pb0100_set_gain(gspca_dev, ctrls->gain->val); in pb0100_s_ctrl() 106 err = pb0100_set_exposure(gspca_dev, ctrls->exposure->val); in pb0100_s_ctrl() 122 struct pb0100_ctrls *ctrls; in pb0100_init_controls() local 142 ctrls = kzalloc(sizeof(*ctrls), GFP_KERNEL); in pb0100_init_controls() 143 if (!ctrls) in pb0100_init_controls() 147 ctrls->autogain = v4l2_ctrl_new_std(hdl, &pb0100_ctrl_ops, in pb0100_init_controls() 149 ctrls->exposure = v4l2_ctrl_new_std(hdl, &pb0100_ctrl_ops, in pb0100_init_controls() 151 ctrls->gain = v4l2_ctrl_new_std(hdl, &pb0100_ctrl_ops, in pb0100_init_controls() 153 ctrls->red = v4l2_ctrl_new_std(hdl, &pb0100_ctrl_ops, in pb0100_init_controls() [all …]
|
/drivers/media/i2c/ |
D | adp1653.c | 154 container_of(ctrl->handler, struct adp1653_flash, ctrls); in adp1653_get_ctrl() 180 container_of(ctrl->handler, struct adp1653_flash, ctrls); in adp1653_set_ctrl() 213 v4l2_ctrl_handler_init(&flash->ctrls, 9); in adp1653_init_controls() 216 v4l2_ctrl_new_std_menu(&flash->ctrls, &adp1653_ctrl_ops, in adp1653_init_controls() 219 v4l2_ctrl_new_std_menu(&flash->ctrls, &adp1653_ctrl_ops, in adp1653_init_controls() 222 v4l2_ctrl_new_std(&flash->ctrls, &adp1653_ctrl_ops, in adp1653_init_controls() 224 v4l2_ctrl_new_std(&flash->ctrls, &adp1653_ctrl_ops, in adp1653_init_controls() 227 v4l2_ctrl_new_std(&flash->ctrls, &adp1653_ctrl_ops, in adp1653_init_controls() 233 v4l2_ctrl_new_std(&flash->ctrls, &adp1653_ctrl_ops, in adp1653_init_controls() 239 v4l2_ctrl_new_std(&flash->ctrls, &adp1653_ctrl_ops, in adp1653_init_controls() [all …]
|
D | ov9650.c | 269 struct ov965x_ctrls ctrls; member 415 return &container_of(ctrl->handler, struct ov965x, ctrls.handler)->sd; in ctrl_to_sd() 548 ov965x->ctrls.update = 1; in ov965x_s_power() 565 struct v4l2_ctrl *ctrl = ov965x->ctrls.exposure; in ov965x_update_exposure_ctrl() 640 ov965x->ctrls.blue_balance->val); in ov965x_set_white_balance() 644 ov965x->ctrls.red_balance->val); in ov965x_set_white_balance() 679 struct ov965x_ctrls *ctrls = &ov965x->ctrls; in ov965x_set_gain() local 686 if (ctrls->auto_gain->is_new) { in ov965x_set_gain() 690 if (ctrls->auto_gain->val) in ov965x_set_gain() 699 if (ctrls->gain->is_new && !auto_gain) { in ov965x_set_gain() [all …]
|
D | as3645a.c | 126 struct v4l2_ctrl_handler ctrls; member 327 container_of(ctrl->handler, struct as3645a, ctrls); in as3645a_get_ctrl() 374 container_of(ctrl->handler, struct as3645a, ctrls); in as3645a_set_ctrl() 722 v4l2_ctrl_handler_init(&flash->ctrls, 10); in as3645a_init_controls() 725 v4l2_ctrl_new_std_menu(&flash->ctrls, &as3645a_ctrl_ops, in as3645a_init_controls() 730 v4l2_ctrl_new_std_menu(&flash->ctrls, &as3645a_ctrl_ops, in as3645a_init_controls() 739 v4l2_ctrl_new_std(&flash->ctrls, &as3645a_ctrl_ops, in as3645a_init_controls() 743 v4l2_ctrl_new_std(&flash->ctrls, &as3645a_ctrl_ops, in as3645a_init_controls() 747 ctrl = v4l2_ctrl_new_std(&flash->ctrls, &as3645a_ctrl_ops, in as3645a_init_controls() 755 v4l2_ctrl_new_std(&flash->ctrls, &as3645a_ctrl_ops, in as3645a_init_controls() [all …]
|
D | mt9v011.c | 53 struct v4l2_ctrl_handler ctrls; member 427 container_of(ctrl->handler, struct mt9v011, ctrls); in mt9v011_s_ctrl() 517 v4l2_ctrl_handler_init(&core->ctrls, 5); in mt9v011_probe() 518 v4l2_ctrl_new_std(&core->ctrls, &mt9v011_ctrl_ops, in mt9v011_probe() 520 v4l2_ctrl_new_std(&core->ctrls, &mt9v011_ctrl_ops, in mt9v011_probe() 522 v4l2_ctrl_new_std(&core->ctrls, &mt9v011_ctrl_ops, in mt9v011_probe() 524 v4l2_ctrl_new_std(&core->ctrls, &mt9v011_ctrl_ops, in mt9v011_probe() 526 v4l2_ctrl_new_std(&core->ctrls, &mt9v011_ctrl_ops, in mt9v011_probe() 528 v4l2_ctrl_new_std(&core->ctrls, &mt9v011_ctrl_ops, in mt9v011_probe() 531 if (core->ctrls.error) { in mt9v011_probe() [all …]
|
D | mt9v032.c | 240 struct v4l2_ctrl_handler ctrls; member 366 return v4l2_ctrl_handler_setup(&mt9v032->ctrls); in __mt9v032_set_power() 628 container_of(ctrl->handler, struct mt9v032, ctrls); in mt9v032_s_ctrl() 905 v4l2_ctrl_handler_init(&mt9v032->ctrls, 10); in mt9v032_probe() 907 v4l2_ctrl_new_std(&mt9v032->ctrls, &mt9v032_ctrl_ops, in mt9v032_probe() 909 v4l2_ctrl_new_std(&mt9v032->ctrls, &mt9v032_ctrl_ops, in mt9v032_probe() 912 v4l2_ctrl_new_std_menu(&mt9v032->ctrls, &mt9v032_ctrl_ops, in mt9v032_probe() 915 v4l2_ctrl_new_std(&mt9v032->ctrls, &mt9v032_ctrl_ops, in mt9v032_probe() 919 v4l2_ctrl_new_std(&mt9v032->ctrls, &mt9v032_ctrl_ops, in mt9v032_probe() 923 v4l2_ctrl_new_std(&mt9v032->ctrls, &mt9v032_ctrl_ops, in mt9v032_probe() [all …]
|
D | mt9p031.c | 140 struct v4l2_ctrl_handler ctrls; member 376 return v4l2_ctrl_handler_setup(&mt9p031->ctrls); in __mt9p031_set_power() 675 container_of(ctrl->handler, struct mt9p031, ctrls); in mt9p031_s_ctrl() 1069 v4l2_ctrl_handler_init(&mt9p031->ctrls, ARRAY_SIZE(mt9p031_ctrls) + 6); in mt9p031_probe() 1071 v4l2_ctrl_new_std(&mt9p031->ctrls, &mt9p031_ctrl_ops, in mt9p031_probe() 1075 v4l2_ctrl_new_std(&mt9p031->ctrls, &mt9p031_ctrl_ops, in mt9p031_probe() 1078 v4l2_ctrl_new_std(&mt9p031->ctrls, &mt9p031_ctrl_ops, in mt9p031_probe() 1080 v4l2_ctrl_new_std(&mt9p031->ctrls, &mt9p031_ctrl_ops, in mt9p031_probe() 1082 v4l2_ctrl_new_std(&mt9p031->ctrls, &mt9p031_ctrl_ops, in mt9p031_probe() 1085 v4l2_ctrl_new_std_menu_items(&mt9p031->ctrls, &mt9p031_ctrl_ops, in mt9p031_probe() [all …]
|
D | mt9m032.c | 152 struct v4l2_ctrl_handler ctrls; member 642 container_of(ctrl->handler, struct mt9m032, ctrls); in mt9m032_set_ctrl() 766 v4l2_ctrl_handler_init(&sensor->ctrls, 5); in mt9m032_probe() 768 v4l2_ctrl_new_std(&sensor->ctrls, &mt9m032_ctrl_ops, in mt9m032_probe() 771 sensor->hflip = v4l2_ctrl_new_std(&sensor->ctrls, in mt9m032_probe() 774 sensor->vflip = v4l2_ctrl_new_std(&sensor->ctrls, in mt9m032_probe() 778 v4l2_ctrl_new_std(&sensor->ctrls, &mt9m032_ctrl_ops, in mt9m032_probe() 782 v4l2_ctrl_new_std(&sensor->ctrls, &mt9m032_ctrl_ops, in mt9m032_probe() 786 if (sensor->ctrls.error) { in mt9m032_probe() 787 ret = sensor->ctrls.error; in mt9m032_probe() [all …]
|
D | mt9t001.c | 131 struct v4l2_ctrl_handler ctrls; member 239 return v4l2_ctrl_handler_setup(&mt9t001->ctrls); in __mt9t001_set_power() 520 container_of(ctrl->handler, struct mt9t001, ctrls); in mt9t001_s_ctrl() 880 v4l2_ctrl_handler_init(&mt9t001->ctrls, ARRAY_SIZE(mt9t001_ctrls) + in mt9t001_probe() 883 v4l2_ctrl_new_std(&mt9t001->ctrls, &mt9t001_ctrl_ops, in mt9t001_probe() 887 v4l2_ctrl_new_std(&mt9t001->ctrls, &mt9t001_ctrl_ops, in mt9t001_probe() 889 v4l2_ctrl_new_std(&mt9t001->ctrls, &mt9t001_ctrl_ops, in mt9t001_probe() 892 v4l2_ctrl_new_std_menu_items(&mt9t001->ctrls, &mt9t001_ctrl_ops, in mt9t001_probe() 898 v4l2_ctrl_new_custom(&mt9t001->ctrls, &mt9t001_ctrls[i], NULL); in mt9t001_probe() 901 mt9t001->gains[i] = v4l2_ctrl_new_custom(&mt9t001->ctrls, in mt9t001_probe() [all …]
|
D | s5k6aa.c | 258 struct s5k6aa_ctrls ctrls; member 306 return &container_of(ctrl->handler, struct s5k6aa, ctrls.handler)->sd; in ctrl_to_sd() 472 unsigned int vflip = s5k6aa->ctrls.vflip->val ^ s5k6aa->inv_vflip; in s5k6aa_set_mirror() 482 struct s5k6aa_ctrls *ctrls = &s5k6aa->ctrls; in s5k6aa_set_awb() local 488 ret = s5k6aa_write(c, REG_SF_RGAIN, ctrls->gain_red->val); in s5k6aa_set_awb() 494 ret = s5k6aa_write(c, REG_SF_GGAIN, ctrls->gain_green->val); in s5k6aa_set_awb() 500 ret = s5k6aa_write(c, REG_SF_BGAIN, ctrls->gain_blue->val); in s5k6aa_set_awb() 537 unsigned int exp_time = s5k6aa->ctrls.exposure->val; in s5k6aa_set_auto_exposure() 553 ret = s5k6aa_set_user_gain(c, s5k6aa->ctrls.gain->val); in s5k6aa_set_auto_exposure() 1360 struct s5k6aa_ctrls *ctrls = &s5k6aa->ctrls; in s5k6aa_initialize_ctrls() local [all …]
|
D | s5k5baf.c | 324 struct s5k5baf_ctrls ctrls; member 404 return &container_of(ctrl->handler, struct s5k5baf, ctrls.handler)->sd; in ctrl_to_sd() 642 u16 flip = state->ctrls.vflip->val | (state->ctrls.vflip->val << 1); in s5k5baf_hw_set_mirror() 673 struct s5k5baf_ctrls *ctrls = &state->ctrls; in s5k5baf_hw_set_awb() local 677 ctrls->gain_red->val, 1, in s5k5baf_hw_set_awb() 679 ctrls->gain_blue->val, 1, in s5k5baf_hw_set_awb() 705 unsigned int exp_time = state->ctrls.exposure->val; in s5k5baf_hw_set_auto_exposure() 708 s5k5baf_hw_set_user_gain(state, state->ctrls.gain->val); in s5k5baf_hw_set_auto_exposure() 1090 ret = v4l2_ctrl_handler_setup(&state->ctrls.handler); in s5k5baf_set_power() 1631 struct s5k5baf_ctrls *ctrls = &state->ctrls; in s5k5baf_initialize_ctrls() local [all …]
|
/drivers/media/platform/exynos4-is/ |
D | fimc-core.c | 515 effect->pat_cb = ctx->ctrls.colorfx_cbcr->val >> 8; in fimc_set_color_effect() 516 effect->pat_cr = ctx->ctrls.colorfx_cbcr->val & 0xff; in fimc_set_color_effect() 529 container_of((__ctrl)->handler, struct fimc_ctx, ctrls.handler) 600 struct fimc_ctrls *ctrls = &ctx->ctrls; in fimc_ctrls_create() local 601 struct v4l2_ctrl_handler *handler = &ctrls->handler; in fimc_ctrls_create() 603 if (ctx->ctrls.ready) in fimc_ctrls_create() 608 ctrls->rotate = v4l2_ctrl_new_std(handler, &fimc_ctrl_ops, in fimc_ctrls_create() 610 ctrls->hflip = v4l2_ctrl_new_std(handler, &fimc_ctrl_ops, in fimc_ctrls_create() 612 ctrls->vflip = v4l2_ctrl_new_std(handler, &fimc_ctrl_ops, in fimc_ctrls_create() 616 ctrls->alpha = v4l2_ctrl_new_std(handler, &fimc_ctrl_ops, in fimc_ctrls_create() [all …]
|
D | fimc-isp.c | 513 idx = is->isp.ctrls.iso->val; in __ctrl_set_iso() 694 struct v4l2_ctrl_handler *handler = &isp->ctrls.handler; in fimc_isp_subdev_create() 696 struct fimc_isp_ctrls *ctrls = &isp->ctrls; in fimc_isp_subdev_create() local 718 ctrls->saturation = v4l2_ctrl_new_std(handler, ops, V4L2_CID_SATURATION, in fimc_isp_subdev_create() 720 ctrls->brightness = v4l2_ctrl_new_std(handler, ops, V4L2_CID_BRIGHTNESS, in fimc_isp_subdev_create() 722 ctrls->contrast = v4l2_ctrl_new_std(handler, ops, V4L2_CID_CONTRAST, in fimc_isp_subdev_create() 724 ctrls->sharpness = v4l2_ctrl_new_std(handler, ops, V4L2_CID_SHARPNESS, in fimc_isp_subdev_create() 726 ctrls->hue = v4l2_ctrl_new_std(handler, ops, V4L2_CID_HUE, in fimc_isp_subdev_create() 729 ctrls->auto_wb = v4l2_ctrl_new_std_menu(handler, ops, in fimc_isp_subdev_create() 733 ctrls->exposure = v4l2_ctrl_new_std(handler, ops, in fimc_isp_subdev_create() [all …]
|
D | fimc-isp.h | 170 struct fimc_isp_ctrls ctrls; member 184 container_of(ctrl->handler, struct fimc_isp, ctrls.handler)
|
/drivers/media/platform/vsp1/ |
D | vsp1_wpf.c | 48 container_of(ctrl->handler, struct vsp1_rwpf, ctrls); in wpf_s_ctrl() 153 mutex_lock(wpf->ctrls.lock); in wpf_s_stream() 156 mutex_unlock(wpf->ctrls.lock); in wpf_s_stream() 253 v4l2_ctrl_handler_init(&wpf->ctrls, 1); in vsp1_wpf_create() 254 v4l2_ctrl_new_std(&wpf->ctrls, &wpf_ctrl_ops, V4L2_CID_ALPHA_COMPONENT, in vsp1_wpf_create() 257 wpf->entity.subdev.ctrl_handler = &wpf->ctrls; in vsp1_wpf_create() 259 if (wpf->ctrls.error) { in vsp1_wpf_create() 262 ret = wpf->ctrls.error; in vsp1_wpf_create()
|
D | vsp1_sru.c | 84 container_of(ctrl->handler, struct vsp1_sru, ctrls); in sru_s_ctrl() 154 mutex_lock(sru->ctrls.lock); in sru_s_stream() 158 mutex_unlock(sru->ctrls.lock); in sru_s_stream() 370 v4l2_ctrl_handler_init(&sru->ctrls, 1); in vsp1_sru_create() 371 v4l2_ctrl_new_custom(&sru->ctrls, &sru_intensity_control, NULL); in vsp1_sru_create() 373 sru->entity.subdev.ctrl_handler = &sru->ctrls; in vsp1_sru_create() 375 if (sru->ctrls.error) { in vsp1_sru_create() 377 ret = sru->ctrls.error; in vsp1_sru_create()
|
D | vsp1_rpf.c | 48 container_of(ctrl->handler, struct vsp1_rwpf, ctrls); in rpf_s_ctrl() 236 v4l2_ctrl_handler_init(&rpf->ctrls, 1); in vsp1_rpf_create() 237 v4l2_ctrl_new_std(&rpf->ctrls, &rpf_ctrl_ops, V4L2_CID_ALPHA_COMPONENT, in vsp1_rpf_create() 240 rpf->entity.subdev.ctrl_handler = &rpf->ctrls; in vsp1_rpf_create() 242 if (rpf->ctrls.error) { in vsp1_rpf_create() 245 ret = rpf->ctrls.error; in vsp1_rpf_create()
|
D | vsp1_bru.c | 47 container_of(ctrl->handler, struct vsp1_bru, ctrls); in bru_s_ctrl() 438 v4l2_ctrl_handler_init(&bru->ctrls, 1); in vsp1_bru_create() 439 v4l2_ctrl_new_std(&bru->ctrls, &bru_ctrl_ops, V4L2_CID_BG_COLOR, in vsp1_bru_create() 442 bru->entity.subdev.ctrl_handler = &bru->ctrls; in vsp1_bru_create() 444 if (bru->ctrls.error) { in vsp1_bru_create() 446 ret = bru->ctrls.error; in vsp1_bru_create()
|
/drivers/media/pci/saa7164/ |
D | saa7164-vbi.c | 498 struct v4l2_ext_controls *ctrls) in vidioc_g_ext_ctrls() argument 504 if (ctrls->ctrl_class == V4L2_CTRL_CLASS_MPEG) { in vidioc_g_ext_ctrls() 505 for (i = 0; i < ctrls->count; i++) { in vidioc_g_ext_ctrls() 506 struct v4l2_ext_control *ctrl = ctrls->controls + i; in vidioc_g_ext_ctrls() 510 ctrls->error_idx = i; in vidioc_g_ext_ctrls() 559 struct v4l2_ext_controls *ctrls) in vidioc_try_ext_ctrls() argument 563 if (ctrls->ctrl_class == V4L2_CTRL_CLASS_MPEG) { in vidioc_try_ext_ctrls() 564 for (i = 0; i < ctrls->count; i++) { in vidioc_try_ext_ctrls() 565 struct v4l2_ext_control *ctrl = ctrls->controls + i; in vidioc_try_ext_ctrls() 569 ctrls->error_idx = i; in vidioc_try_ext_ctrls() [all …]
|
D | saa7164-encoder.c | 535 struct v4l2_ext_controls *ctrls) in vidioc_g_ext_ctrls() argument 541 if (ctrls->ctrl_class == V4L2_CTRL_CLASS_MPEG) { in vidioc_g_ext_ctrls() 542 for (i = 0; i < ctrls->count; i++) { in vidioc_g_ext_ctrls() 543 struct v4l2_ext_control *ctrl = ctrls->controls + i; in vidioc_g_ext_ctrls() 547 ctrls->error_idx = i; in vidioc_g_ext_ctrls() 611 struct v4l2_ext_controls *ctrls) in vidioc_try_ext_ctrls() argument 615 if (ctrls->ctrl_class == V4L2_CTRL_CLASS_MPEG) { in vidioc_try_ext_ctrls() 616 for (i = 0; i < ctrls->count; i++) { in vidioc_try_ext_ctrls() 617 struct v4l2_ext_control *ctrl = ctrls->controls + i; in vidioc_try_ext_ctrls() 621 ctrls->error_idx = i; in vidioc_try_ext_ctrls() [all …]
|
/drivers/media/platform/coda/ |
D | coda-common.c | 1163 container_of(ctrl->handler, struct coda_ctx, ctrls); in coda_s_ctrl() 1245 v4l2_ctrl_handler_init(&ctx->ctrls, 9); in coda_ctrls_setup() 1247 v4l2_ctrl_new_std(&ctx->ctrls, &coda_ctrl_ops, in coda_ctrls_setup() 1249 v4l2_ctrl_new_std(&ctx->ctrls, &coda_ctrl_ops, in coda_ctrls_setup() 1251 v4l2_ctrl_new_std(&ctx->ctrls, &coda_ctrl_ops, in coda_ctrls_setup() 1253 v4l2_ctrl_new_std(&ctx->ctrls, &coda_ctrl_ops, in coda_ctrls_setup() 1255 v4l2_ctrl_new_std(&ctx->ctrls, &coda_ctrl_ops, in coda_ctrls_setup() 1257 v4l2_ctrl_new_std(&ctx->ctrls, &coda_ctrl_ops, in coda_ctrls_setup() 1260 v4l2_ctrl_new_std(&ctx->ctrls, &coda_ctrl_ops, in coda_ctrls_setup() 1263 v4l2_ctrl_new_std(&ctx->ctrls, &coda_ctrl_ops, in coda_ctrls_setup() [all …]
|
/drivers/media/usb/uvc/ |
D | uvc_v4l2.c | 654 struct v4l2_ext_controls *ctrls = arg; in uvc_v4l2_do_ioctl() local 655 struct v4l2_ext_control *ctrl = ctrls->controls; in uvc_v4l2_do_ioctl() 662 for (i = 0; i < ctrls->count; ++ctrl, ++i) { in uvc_v4l2_do_ioctl() 666 ctrls->error_idx = i; in uvc_v4l2_do_ioctl() 670 ctrls->error_idx = 0; in uvc_v4l2_do_ioctl() 682 struct v4l2_ext_controls *ctrls = arg; in uvc_v4l2_do_ioctl() local 683 struct v4l2_ext_control *ctrl = ctrls->controls; in uvc_v4l2_do_ioctl() 690 for (i = 0; i < ctrls->count; ++ctrl, ++i) { in uvc_v4l2_do_ioctl() 694 ctrls->error_idx = cmd == VIDIOC_S_EXT_CTRLS in uvc_v4l2_do_ioctl() 695 ? ctrls->count : i; in uvc_v4l2_do_ioctl() [all …]
|
/drivers/staging/media/davinci_vpfe/ |
D | dm365_ipipeif.c | 487 container_of(ctrl->handler, struct vpfe_ipipeif_device, ctrls); in ipipeif_s_ctrl() 1037 v4l2_ctrl_handler_init(&ipipeif->ctrls, 2); in vpfe_ipipeif_init() 1038 v4l2_ctrl_new_std(&ipipeif->ctrls, &ipipeif_ctrl_ops, in vpfe_ipipeif_init() 1041 v4l2_ctrl_new_custom(&ipipeif->ctrls, &vpfe_ipipeif_dpcm_pred, NULL); in vpfe_ipipeif_init() 1042 v4l2_ctrl_handler_setup(&ipipeif->ctrls); in vpfe_ipipeif_init() 1043 sd->ctrl_handler = &ipipeif->ctrls; in vpfe_ipipeif_init() 1065 v4l2_ctrl_handler_free(&ipipeif->ctrls); in vpfe_ipipeif_cleanup()
|
/drivers/media/v4l2-core/ |
D | v4l2-ioctl.c | 1720 struct v4l2_ext_controls ctrls; in v4l_g_ctrl() local 1732 ctrls.ctrl_class = V4L2_CTRL_ID2CLASS(p->id); in v4l_g_ctrl() 1733 ctrls.count = 1; in v4l_g_ctrl() 1734 ctrls.controls = &ctrl; in v4l_g_ctrl() 1737 if (check_ext_ctrls(&ctrls, 1)) { in v4l_g_ctrl() 1738 int ret = ops->vidioc_g_ext_ctrls(file, fh, &ctrls); in v4l_g_ctrl() 1754 struct v4l2_ext_controls ctrls; in v4l_s_ctrl() local 1766 ctrls.ctrl_class = V4L2_CTRL_ID2CLASS(p->id); in v4l_s_ctrl() 1767 ctrls.count = 1; in v4l_s_ctrl() 1768 ctrls.controls = &ctrl; in v4l_s_ctrl() [all …]
|