/linux-4.1.27/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 …]
|
D | Makefile | 1 s5c73m3-objs := s5c73m3-core.o s5c73m3-spi.o s5c73m3-ctrls.o
|
D | s5c73m3.h | 413 struct s5c73m3_ctrls ctrls; member 451 ctrls.handler)->sensor_sd; in ctrl_to_sensor_sd()
|
D | s5c73m3-core.c | 407 if (state->ctrls.stabilization->val) in s5c73m3_set_frame_rate()
|
/linux-4.1.27/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 …]
|
/linux-4.1.27/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 | 243 struct v4l2_ctrl_handler ctrls; member 369 return v4l2_ctrl_handler_setup(&mt9v032->ctrls); in __mt9v032_set_power() 636 container_of(ctrl->handler, struct mt9v032, ctrls); in mt9v032_s_ctrl() 961 v4l2_ctrl_handler_init(&mt9v032->ctrls, 10); in mt9v032_probe() 963 v4l2_ctrl_new_std(&mt9v032->ctrls, &mt9v032_ctrl_ops, in mt9v032_probe() 965 v4l2_ctrl_new_std(&mt9v032->ctrls, &mt9v032_ctrl_ops, in mt9v032_probe() 968 v4l2_ctrl_new_std_menu(&mt9v032->ctrls, &mt9v032_ctrl_ops, in mt9v032_probe() 971 v4l2_ctrl_new_std(&mt9v032->ctrls, &mt9v032_ctrl_ops, in mt9v032_probe() 975 v4l2_ctrl_new_std(&mt9v032->ctrls, &mt9v032_ctrl_ops, in mt9v032_probe() 979 v4l2_ctrl_new_std(&mt9v032->ctrls, &mt9v032_ctrl_ops, in mt9v032_probe() [all …]
|
D | mt9m032.c | 152 struct v4l2_ctrl_handler ctrls; member 648 container_of(ctrl->handler, struct mt9m032, ctrls); in mt9m032_set_ctrl() 772 v4l2_ctrl_handler_init(&sensor->ctrls, 5); in mt9m032_probe() 774 v4l2_ctrl_new_std(&sensor->ctrls, &mt9m032_ctrl_ops, in mt9m032_probe() 777 sensor->hflip = v4l2_ctrl_new_std(&sensor->ctrls, in mt9m032_probe() 780 sensor->vflip = v4l2_ctrl_new_std(&sensor->ctrls, in mt9m032_probe() 784 v4l2_ctrl_new_std(&sensor->ctrls, &mt9m032_ctrl_ops, in mt9m032_probe() 788 v4l2_ctrl_new_std(&sensor->ctrls, &mt9m032_ctrl_ops, in mt9m032_probe() 792 if (sensor->ctrls.error) { in mt9m032_probe() 793 ret = sensor->ctrls.error; in mt9m032_probe() [all …]
|
D | mt9p031.c | 140 struct v4l2_ctrl_handler ctrls; member 376 return v4l2_ctrl_handler_setup(&mt9p031->ctrls); in __mt9p031_set_power() 680 container_of(ctrl->handler, struct mt9p031, ctrls); in mt9p031_s_ctrl() 1074 v4l2_ctrl_handler_init(&mt9p031->ctrls, ARRAY_SIZE(mt9p031_ctrls) + 6); in mt9p031_probe() 1076 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() 1083 v4l2_ctrl_new_std(&mt9p031->ctrls, &mt9p031_ctrl_ops, in mt9p031_probe() 1085 v4l2_ctrl_new_std(&mt9p031->ctrls, &mt9p031_ctrl_ops, in mt9p031_probe() 1087 v4l2_ctrl_new_std(&mt9p031->ctrls, &mt9p031_ctrl_ops, in mt9p031_probe() 1090 v4l2_ctrl_new_std_menu_items(&mt9p031->ctrls, &mt9p031_ctrl_ops, in mt9p031_probe() [all …]
|
D | mt9t001.c | 131 struct v4l2_ctrl_handler ctrls; member 239 return v4l2_ctrl_handler_setup(&mt9t001->ctrls); in __mt9t001_set_power() 525 container_of(ctrl->handler, struct mt9t001, ctrls); in mt9t001_s_ctrl() 885 v4l2_ctrl_handler_init(&mt9t001->ctrls, ARRAY_SIZE(mt9t001_ctrls) + in mt9t001_probe() 888 v4l2_ctrl_new_std(&mt9t001->ctrls, &mt9t001_ctrl_ops, in mt9t001_probe() 892 v4l2_ctrl_new_std(&mt9t001->ctrls, &mt9t001_ctrl_ops, in mt9t001_probe() 894 v4l2_ctrl_new_std(&mt9t001->ctrls, &mt9t001_ctrl_ops, in mt9t001_probe() 897 v4l2_ctrl_new_std_menu_items(&mt9t001->ctrls, &mt9t001_ctrl_ops, in mt9t001_probe() 903 v4l2_ctrl_new_custom(&mt9t001->ctrls, &mt9t001_ctrls[i], NULL); in mt9t001_probe() 906 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() 1368 struct s5k6aa_ctrls *ctrls = &s5k6aa->ctrls; in s5k6aa_initialize_ctrls() local [all …]
|
D | s5k5baf.c | 324 struct s5k5baf_ctrls ctrls; member 406 return &container_of(ctrl->handler, struct s5k5baf, ctrls.handler)->sd; in ctrl_to_sd() 645 u16 flip = state->ctrls.vflip->val | (state->ctrls.vflip->val << 1); in s5k5baf_hw_set_mirror() 676 struct s5k5baf_ctrls *ctrls = &state->ctrls; in s5k5baf_hw_set_awb() local 680 ctrls->gain_red->val, 1, in s5k5baf_hw_set_awb() 682 ctrls->gain_blue->val, 1, in s5k5baf_hw_set_awb() 708 unsigned int exp_time = state->ctrls.exposure->val; in s5k5baf_hw_set_auto_exposure() 711 s5k5baf_hw_set_user_gain(state, state->ctrls.gain->val); in s5k5baf_hw_set_auto_exposure() 1093 ret = v4l2_ctrl_handler_setup(&state->ctrls.handler); in s5k5baf_set_power() 1634 struct s5k5baf_ctrls *ctrls = &state->ctrls; in s5k5baf_initialize_ctrls() local [all …]
|
D | ov2659.c | 229 struct v4l2_ctrl_handler ctrls; member 1237 container_of(ctrl->handler, struct ov2659, ctrls); in ov2659_s_ctrl() 1399 v4l2_ctrl_handler_init(&ov2659->ctrls, 2); in ov2659_probe() 1401 v4l2_ctrl_new_std(&ov2659->ctrls, &ov2659_ctrl_ops, in ov2659_probe() 1406 v4l2_ctrl_new_std_menu_items(&ov2659->ctrls, &ov2659_ctrl_ops, in ov2659_probe() 1410 ov2659->sd.ctrl_handler = &ov2659->ctrls; in ov2659_probe() 1412 if (ov2659->ctrls.error) { in ov2659_probe() 1414 __func__, ov2659->ctrls.error); in ov2659_probe() 1415 return ov2659->ctrls.error; in ov2659_probe() 1431 v4l2_ctrl_handler_free(&ov2659->ctrls); in ov2659_probe() [all …]
|
/linux-4.1.27/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)
|
D | fimc-core.h | 505 struct fimc_ctrls ctrls; member
|
D | fimc-m2m.c | 638 ctx->fh.ctrl_handler = &ctx->ctrls.handler; in fimc_m2m_open()
|
D | fimc-capture.c | 1428 return v4l2_ctrl_add_handler(&vc->ctx->ctrls.handler, in fimc_link_setup() 1822 vfd->ctrl_handler = &ctx->ctrls.handler; in fimc_register_capture_device()
|
/linux-4.1.27/drivers/media/platform/vsp1/ |
D | vsp1_wpf.c | 48 container_of(ctrl->handler, struct vsp1_rwpf, ctrls); in wpf_s_ctrl() 154 mutex_lock(wpf->ctrls.lock); in wpf_s_stream() 157 mutex_unlock(wpf->ctrls.lock); in wpf_s_stream() 254 v4l2_ctrl_handler_init(&wpf->ctrls, 1); in vsp1_wpf_create() 255 v4l2_ctrl_new_std(&wpf->ctrls, &wpf_ctrl_ops, V4L2_CID_ALPHA_COMPONENT, in vsp1_wpf_create() 258 wpf->entity.subdev.ctrl_handler = &wpf->ctrls; in vsp1_wpf_create() 260 if (wpf->ctrls.error) { in vsp1_wpf_create() 263 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() 157 mutex_unlock(sru->ctrls.lock); in sru_s_stream() 373 v4l2_ctrl_handler_init(&sru->ctrls, 1); in vsp1_sru_create() 374 v4l2_ctrl_new_custom(&sru->ctrls, &sru_intensity_control, NULL); in vsp1_sru_create() 376 sru->entity.subdev.ctrl_handler = &sru->ctrls; in vsp1_sru_create() 378 if (sru->ctrls.error) { in vsp1_sru_create() 380 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() 254 v4l2_ctrl_handler_init(&rpf->ctrls, 1); in vsp1_rpf_create() 255 v4l2_ctrl_new_std(&rpf->ctrls, &rpf_ctrl_ops, V4L2_CID_ALPHA_COMPONENT, in vsp1_rpf_create() 258 rpf->entity.subdev.ctrl_handler = &rpf->ctrls; in vsp1_rpf_create() 260 if (rpf->ctrls.error) { in vsp1_rpf_create() 263 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() 440 v4l2_ctrl_handler_init(&bru->ctrls, 1); in vsp1_bru_create() 441 v4l2_ctrl_new_std(&bru->ctrls, &bru_ctrl_ops, V4L2_CID_BG_COLOR, in vsp1_bru_create() 444 bru->entity.subdev.ctrl_handler = &bru->ctrls; in vsp1_bru_create() 446 if (bru->ctrls.error) { in vsp1_bru_create() 448 ret = bru->ctrls.error; in vsp1_bru_create()
|
D | vsp1_sru.h | 30 struct v4l2_ctrl_handler ctrls; member
|
D | vsp1_bru.h | 31 struct v4l2_ctrl_handler ctrls; member
|
D | vsp1_rwpf.h | 30 struct v4l2_ctrl_handler ctrls; member
|
/linux-4.1.27/arch/arm/mach-integrator/ |
D | integrator_ap.c | 217 unsigned int ctrls = 0, ctrlc = 0, rts_mask, dtr_mask; in integrator_uart_set_mctrl() local 233 ctrls |= rts_mask; in integrator_uart_set_mctrl() 238 ctrls |= dtr_mask; in integrator_uart_set_mctrl() 240 __raw_writel(ctrls, ap_syscon_base + INTEGRATOR_SC_CTRLS_OFFSET); in integrator_uart_set_mctrl()
|
/linux-4.1.27/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 …]
|
/linux-4.1.27/drivers/media/platform/coda/ |
D | coda-common.c | 1405 container_of(ctrl->handler, struct coda_ctx, ctrls); in coda_s_ctrl() 1493 v4l2_ctrl_new_std(&ctx->ctrls, &coda_ctrl_ops, in coda_encode_ctrls() 1495 v4l2_ctrl_new_std(&ctx->ctrls, &coda_ctrl_ops, in coda_encode_ctrls() 1497 v4l2_ctrl_new_std(&ctx->ctrls, &coda_ctrl_ops, in coda_encode_ctrls() 1499 v4l2_ctrl_new_std(&ctx->ctrls, &coda_ctrl_ops, in coda_encode_ctrls() 1502 v4l2_ctrl_new_std(&ctx->ctrls, &coda_ctrl_ops, in coda_encode_ctrls() 1505 v4l2_ctrl_new_std(&ctx->ctrls, &coda_ctrl_ops, in coda_encode_ctrls() 1507 v4l2_ctrl_new_std(&ctx->ctrls, &coda_ctrl_ops, in coda_encode_ctrls() 1509 v4l2_ctrl_new_std(&ctx->ctrls, &coda_ctrl_ops, in coda_encode_ctrls() 1511 v4l2_ctrl_new_std_menu(&ctx->ctrls, &coda_ctrl_ops, in coda_encode_ctrls() [all …]
|
D | coda.h | 212 struct v4l2_ctrl_handler ctrls; member
|
/linux-4.1.27/drivers/media/usb/uvc/ |
D | uvc_v4l2.c | 969 struct v4l2_ext_controls *ctrls) in uvc_ioctl_g_ext_ctrls() argument 973 struct v4l2_ext_control *ctrl = ctrls->controls; in uvc_ioctl_g_ext_ctrls() 981 for (i = 0; i < ctrls->count; ++ctrl, ++i) { in uvc_ioctl_g_ext_ctrls() 985 ctrls->error_idx = i; in uvc_ioctl_g_ext_ctrls() 990 ctrls->error_idx = 0; in uvc_ioctl_g_ext_ctrls() 996 struct v4l2_ext_controls *ctrls, in uvc_ioctl_s_try_ext_ctrls() argument 999 struct v4l2_ext_control *ctrl = ctrls->controls; in uvc_ioctl_s_try_ext_ctrls() 1008 for (i = 0; i < ctrls->count; ++ctrl, ++i) { in uvc_ioctl_s_try_ext_ctrls() 1012 ctrls->error_idx = commit ? ctrls->count : i; in uvc_ioctl_s_try_ext_ctrls() 1017 ctrls->error_idx = 0; in uvc_ioctl_s_try_ext_ctrls() [all …]
|
/linux-4.1.27/sound/synth/emux/ |
D | emux_hwdep.c | 72 emu->portptrs[i]->ctrls[info.mode] = info.value; in snd_emux_hwdep_misc_mode() 75 emu->portptrs[info.port]->ctrls[info.mode] = info.value; in snd_emux_hwdep_misc_mode()
|
D | emux_seq.c | 237 port->ctrls[EMUX_MD_DEF_BANK] = 0; in snd_emux_reset_port() 238 port->ctrls[EMUX_MD_DEF_DRUM] = 0; in snd_emux_reset_port() 239 port->ctrls[EMUX_MD_REALTIME_PAN] = 1; in snd_emux_reset_port()
|
D | emux_synth.c | 913 def_preset = port->ctrls[EMUX_MD_DEF_DRUM]; in get_zone() 917 def_bank = port->ctrls[EMUX_MD_DEF_BANK]; in get_zone()
|
D | emux_oss.c | 411 port->ctrls[p1] = p2; in emuspec_control()
|
/linux-4.1.27/drivers/staging/media/davinci_vpfe/ |
D | dm365_ipipeif.c | 487 container_of(ctrl->handler, struct vpfe_ipipeif_device, ctrls); in ipipeif_s_ctrl() 1033 v4l2_ctrl_handler_init(&ipipeif->ctrls, 2); in vpfe_ipipeif_init() 1034 v4l2_ctrl_new_std(&ipipeif->ctrls, &ipipeif_ctrl_ops, in vpfe_ipipeif_init() 1037 v4l2_ctrl_new_custom(&ipipeif->ctrls, &vpfe_ipipeif_dpcm_pred, NULL); in vpfe_ipipeif_init() 1038 v4l2_ctrl_handler_setup(&ipipeif->ctrls); in vpfe_ipipeif_init() 1039 sd->ctrl_handler = &ipipeif->ctrls; in vpfe_ipipeif_init() 1061 v4l2_ctrl_handler_free(&ipipeif->ctrls); in vpfe_ipipeif_cleanup()
|
D | dm365_isif.c | 1840 container_of(ctrl->handler, struct vpfe_isif_device, ctrls); in vpfe_isif_s_ctrl() 2064 v4l2_ctrl_handler_init(&isif->ctrls, 6); in vpfe_isif_init() 2065 v4l2_ctrl_new_custom(&isif->ctrls, &vpfe_isif_crgain, NULL); in vpfe_isif_init() 2066 v4l2_ctrl_new_custom(&isif->ctrls, &vpfe_isif_cgrgain, NULL); in vpfe_isif_init() 2067 v4l2_ctrl_new_custom(&isif->ctrls, &vpfe_isif_cgbgain, NULL); in vpfe_isif_init() 2068 v4l2_ctrl_new_custom(&isif->ctrls, &vpfe_isif_cbgain, NULL); in vpfe_isif_init() 2069 v4l2_ctrl_new_custom(&isif->ctrls, &vpfe_isif_gain_offset, NULL); in vpfe_isif_init() 2070 v4l2_ctrl_new_custom(&isif->ctrls, &vpfe_isif_dpcm_pred, NULL); in vpfe_isif_init() 2072 v4l2_ctrl_handler_setup(&isif->ctrls); in vpfe_isif_init() 2073 sd->ctrl_handler = &isif->ctrls; in vpfe_isif_init() [all …]
|
D | dm365_isif.h | 187 struct v4l2_ctrl_handler ctrls; member
|
D | dm365_ipipe.h | 122 struct v4l2_ctrl_handler ctrls; member
|
D | dm365_ipipeif.h | 136 struct v4l2_ctrl_handler ctrls; member
|
D | dm365_ipipe.c | 1605 container_of(ctrl->handler, struct vpfe_ipipe_device, ctrls); in ipipe_s_ctrl() 1830 v4l2_ctrl_handler_init(&ipipe->ctrls, 2); in vpfe_ipipe_init() 1831 v4l2_ctrl_new_std(&ipipe->ctrls, &ipipe_ctrl_ops, in vpfe_ipipe_init() 1834 v4l2_ctrl_new_std(&ipipe->ctrls, &ipipe_ctrl_ops, in vpfe_ipipe_init() 1839 v4l2_ctrl_handler_setup(&ipipe->ctrls); in vpfe_ipipe_init() 1840 sd->ctrl_handler = &ipipe->ctrls; in vpfe_ipipe_init() 1855 v4l2_ctrl_handler_free(&ipipe->ctrls); in vpfe_ipipe_cleanup()
|
/linux-4.1.27/drivers/media/platform/vivid/ |
D | Makefile | 1 vivid-objs := vivid-core.o vivid-ctrls.o vivid-vid-common.o vivid-vbi-gen.o \
|
/linux-4.1.27/drivers/media/v4l2-core/ |
D | v4l2-ioctl.c | 1729 struct v4l2_ext_controls ctrls; in v4l_g_ctrl() local 1741 ctrls.ctrl_class = V4L2_CTRL_ID2CLASS(p->id); in v4l_g_ctrl() 1742 ctrls.count = 1; in v4l_g_ctrl() 1743 ctrls.controls = &ctrl; in v4l_g_ctrl() 1746 if (check_ext_ctrls(&ctrls, 1)) { in v4l_g_ctrl() 1747 int ret = ops->vidioc_g_ext_ctrls(file, fh, &ctrls); in v4l_g_ctrl() 1763 struct v4l2_ext_controls ctrls; in v4l_s_ctrl() local 1775 ctrls.ctrl_class = V4L2_CTRL_ID2CLASS(p->id); in v4l_s_ctrl() 1776 ctrls.count = 1; in v4l_s_ctrl() 1777 ctrls.controls = &ctrl; in v4l_s_ctrl() [all …]
|
D | Makefile | 8 v4l2-event.o v4l2-ctrls.o v4l2-subdev.o v4l2-clk.o \
|
D | v4l2-ctrls.c | 1722 INIT_LIST_HEAD(&hdl->ctrls); in v4l2_ctrl_handler_init_class() 1749 list_for_each_entry_safe(ctrl, next_ctrl, &hdl->ctrls, node) { in v4l2_ctrl_handler_free() 2055 list_add_tail(&ctrl->node, &hdl->ctrls); in v4l2_ctrl_new() 2425 list_for_each_entry(ctrl, &hdl->ctrls, node) in v4l2_ctrl_handler_log_status() 2448 list_for_each_entry(ctrl, &hdl->ctrls, node) in v4l2_ctrl_handler_setup() 2451 list_for_each_entry(ctrl, &hdl->ctrls, node) { in v4l2_ctrl_handler_setup()
|
/linux-4.1.27/include/media/ |
D | adp1653.h | 114 struct v4l2_ctrl_handler ctrls; member
|
D | v4l2-subdev.h | 158 int (*g_ext_ctrls)(struct v4l2_subdev *sd, struct v4l2_ext_controls *ctrls); 159 int (*s_ext_ctrls)(struct v4l2_subdev *sd, struct v4l2_ext_controls *ctrls); 160 int (*try_ext_ctrls)(struct v4l2_subdev *sd, struct v4l2_ext_controls *ctrls);
|
D | cx2341x.h | 100 struct v4l2_ext_controls *ctrls, unsigned int cmd);
|
D | v4l2-ctrls.h | 252 struct list_head ctrls; member
|
/linux-4.1.27/drivers/media/common/ |
D | cx2341x.c | 964 struct v4l2_ext_controls *ctrls, unsigned int cmd) in cx2341x_ext_ctrls() argument 970 for (i = 0; i < ctrls->count; i++) { in cx2341x_ext_ctrls() 971 struct v4l2_ext_control *ctrl = ctrls->controls + i; in cx2341x_ext_ctrls() 975 ctrls->error_idx = i; in cx2341x_ext_ctrls() 981 for (i = 0; i < ctrls->count; i++) { in cx2341x_ext_ctrls() 982 struct v4l2_ext_control *ctrl = ctrls->controls + i; in cx2341x_ext_ctrls() 1003 ctrls->error_idx = ctrls->count; in cx2341x_ext_ctrls() 1006 ctrls->error_idx = i; in cx2341x_ext_ctrls()
|
/linux-4.1.27/drivers/media/platform/omap3isp/ |
D | isppreview.h | 129 struct v4l2_ctrl_handler ctrls; member
|
D | ispvideo.c | 890 struct v4l2_ext_controls ctrls; in isp_video_check_external_subdevs() local 936 memset(&ctrls, 0, sizeof(ctrls)); in isp_video_check_external_subdevs() 941 ctrls.count = 1; in isp_video_check_external_subdevs() 942 ctrls.controls = &ctrl; in isp_video_check_external_subdevs() 944 ret = v4l2_g_ext_ctrls(pipe->external->ctrl_handler, &ctrls); in isp_video_check_external_subdevs()
|
D | isppreview.c | 1591 container_of(ctrl->handler, struct isp_prev_device, ctrls); in preview_s_ctrl() 2274 v4l2_ctrl_handler_init(&prev->ctrls, 2); in preview_init_entities() 2275 v4l2_ctrl_new_std(&prev->ctrls, &preview_ctrl_ops, V4L2_CID_BRIGHTNESS, in preview_init_entities() 2278 v4l2_ctrl_new_std(&prev->ctrls, &preview_ctrl_ops, V4L2_CID_CONTRAST, in preview_init_entities() 2281 v4l2_ctrl_handler_setup(&prev->ctrls); in preview_init_entities() 2282 sd->ctrl_handler = &prev->ctrls; in preview_init_entities() 2360 v4l2_ctrl_handler_free(&prev->ctrls); in omap3isp_preview_cleanup()
|
/linux-4.1.27/include/sound/ |
D | emux_synth.h | 149 int ctrls[EMUX_MD_END]; /* control parameters */ member
|
/linux-4.1.27/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_dec.c | 1144 ctx->ctrls[i] = v4l2_ctrl_new_custom(&ctx->ctrl_handler, in s5p_mfc_dec_ctrls_setup() 1147 ctx->ctrls[i] = v4l2_ctrl_new_std(&ctx->ctrl_handler, in s5p_mfc_dec_ctrls_setup() 1157 if (controls[i].is_volatile && ctx->ctrls[i]) in s5p_mfc_dec_ctrls_setup() 1158 ctx->ctrls[i]->flags |= V4L2_CTRL_FLAG_VOLATILE; in s5p_mfc_dec_ctrls_setup() 1169 ctx->ctrls[i] = NULL; in s5p_mfc_dec_ctrls_delete()
|
D | s5p_mfc_enc.c | 2095 ctx->ctrls[i] = v4l2_ctrl_new_custom(&ctx->ctrl_handler, in s5p_mfc_enc_ctrls_setup() 2101 ctx->ctrls[i] = v4l2_ctrl_new_std_menu( in s5p_mfc_enc_ctrls_setup() 2107 ctx->ctrls[i] = v4l2_ctrl_new_std( in s5p_mfc_enc_ctrls_setup() 2119 if (controls[i].is_volatile && ctx->ctrls[i]) in s5p_mfc_enc_ctrls_setup() 2120 ctx->ctrls[i]->flags |= V4L2_CTRL_FLAG_VOLATILE; in s5p_mfc_enc_ctrls_setup() 2132 ctx->ctrls[i] = NULL; in s5p_mfc_enc_ctrls_delete()
|
D | s5p_mfc_common.h | 658 struct v4l2_ctrl *ctrls[MFC_MAX_CTRLS]; member
|
/linux-4.1.27/drivers/video/fbdev/omap/ |
D | omapfb_main.c | 109 static const struct lcd_ctrl *ctrls[] = { variable 1617 for (i = 0; i < ARRAY_SIZE(ctrls); i++) { in omapfb_find_ctrl() 1618 dev_dbg(fbdev->dev, "ctrl %s\n", ctrls[i]->name); in omapfb_find_ctrl() 1619 if (strcmp(ctrls[i]->name, name) == 0) { in omapfb_find_ctrl() 1620 fbdev->ctrl = ctrls[i]; in omapfb_find_ctrl()
|
/linux-4.1.27/sound/isa/sb/ |
D | emu8000_callback.c | 134 vp->port->ctrls[EMUX_MD_REALTIME_PAN]) in update_voice()
|
/linux-4.1.27/drivers/net/ethernet/rocker/ |
D | rocker.c | 222 bool ctrls[ROCKER_CTRL_MAX]; member 3256 if (rocker_port->ctrls[i]) { in rocker_port_ctrl_vlan_add() 3642 if (want[i] != rocker_port->ctrls[i]) { in rocker_port_stp_update() 3649 rocker_port->ctrls[i] = want[i]; in rocker_port_stp_update()
|