Searched refs:ctrls (Results 1 - 25 of 190) sorted by relevance

12345678

/drivers/media/i2c/s5c73m3/
H A Ds5c73m3-ctrls.c31 #include <media/v4l2-ctrls.h>
79 ret = s5c73m3_get_af_status(state, state->ctrls.af_status);
105 v4l2_ctrl_get_menu(state->ctrls.colorfx->id)[i]);
117 struct s5c73m3_ctrls *ctrls = &state->ctrls; local
120 if (ctrls->exposure_metering->is_new) {
123 switch (ctrls->exposure_metering->val) {
138 if (!ret && ctrls->exposure_bias->is_new) {
139 u16 exp_bias = ctrls->exposure_bias->val;
145 ctrls
454 struct s5c73m3_ctrls *ctrls = &state->ctrls; local
[all...]
H A DMakefile1 s5c73m3-objs := s5c73m3-core.o s5c73m3-spi.o s5c73m3-ctrls.o
/drivers/media/radio/wl128x/
H A Dfmdrv_v4l2.h28 #include <media/v4l2-ctrls.h>
/drivers/media/platform/vsp1/
H A Dvsp1_sru.h17 #include <media/v4l2-ctrls.h>
30 struct v4l2_ctrl_handler ctrls; member in struct:vsp1_sru
H A Dvsp1_bru.h17 #include <media/v4l2-ctrls.h>
31 struct v4l2_ctrl_handler ctrls; member in struct:vsp1_bru
H A Dvsp1_rwpf.h17 #include <media/v4l2-ctrls.h>
30 struct v4l2_ctrl_handler ctrls; member in struct:vsp1_rwpf
H A Dvsp1_wpf.c48 container_of(ctrl->handler, struct vsp1_rwpf, ctrls);
153 mutex_lock(wpf->ctrls.lock);
156 mutex_unlock(wpf->ctrls.lock);
253 v4l2_ctrl_handler_init(&wpf->ctrls, 1);
254 v4l2_ctrl_new_std(&wpf->ctrls, &wpf_ctrl_ops, V4L2_CID_ALPHA_COMPONENT,
257 wpf->entity.subdev.ctrl_handler = &wpf->ctrls;
259 if (wpf->ctrls.error) {
262 ret = wpf->ctrls.error;
H A Dvsp1_sru.c84 container_of(ctrl->handler, struct vsp1_sru, ctrls);
154 mutex_lock(sru->ctrls.lock);
157 mutex_unlock(sru->ctrls.lock);
369 v4l2_ctrl_handler_init(&sru->ctrls, 1);
370 v4l2_ctrl_new_custom(&sru->ctrls, &sru_intensity_control, NULL);
372 sru->entity.subdev.ctrl_handler = &sru->ctrls;
374 if (sru->ctrls.error) {
376 ret = sru->ctrls.error;
H A Dvsp1_rpf.c48 container_of(ctrl->handler, struct vsp1_rwpf, ctrls);
236 v4l2_ctrl_handler_init(&rpf->ctrls, 1);
237 v4l2_ctrl_new_std(&rpf->ctrls, &rpf_ctrl_ops, V4L2_CID_ALPHA_COMPONENT,
240 rpf->entity.subdev.ctrl_handler = &rpf->ctrls;
242 if (rpf->ctrls.error) {
245 ret = rpf->ctrls.error;
H A Dvsp1_bru.c47 container_of(ctrl->handler, struct vsp1_bru, ctrls);
438 v4l2_ctrl_handler_init(&bru->ctrls, 1);
439 v4l2_ctrl_new_std(&bru->ctrls, &bru_ctrl_ops, V4L2_CID_BG_COLOR,
442 bru->entity.subdev.ctrl_handler = &bru->ctrls;
444 if (bru->ctrls.error) {
446 ret = bru->ctrls.error;
/drivers/media/usb/gspca/stv06xx/
H A Dstv06xx_pb0100.c93 struct pb0100_ctrls *ctrls = sd->sensor_priv; local
103 err = pb0100_set_gain(gspca_dev, ctrls->gain->val);
106 err = pb0100_set_exposure(gspca_dev, ctrls->exposure->val);
122 struct pb0100_ctrls *ctrls; local
142 ctrls = kzalloc(sizeof(*ctrls), GFP_KERNEL);
143 if (!ctrls)
147 ctrls->autogain = v4l2_ctrl_new_std(hdl, &pb0100_ctrl_ops,
149 ctrls->exposure = v4l2_ctrl_new_std(hdl, &pb0100_ctrl_ops,
151 ctrls
334 struct pb0100_ctrls *ctrls = sd->sensor_priv; local
353 struct pb0100_ctrls *ctrls = sd->sensor_priv; local
371 struct pb0100_ctrls *ctrls = sd->sensor_priv; local
400 struct pb0100_ctrls *ctrls = sd->sensor_priv; local
[all...]
/drivers/media/i2c/
H A Dadp1653.c154 container_of(ctrl->handler, struct adp1653_flash, ctrls);
180 container_of(ctrl->handler, struct adp1653_flash, ctrls);
213 v4l2_ctrl_handler_init(&flash->ctrls, 9);
216 v4l2_ctrl_new_std_menu(&flash->ctrls, &adp1653_ctrl_ops,
219 v4l2_ctrl_new_std_menu(&flash->ctrls, &adp1653_ctrl_ops,
222 v4l2_ctrl_new_std(&flash->ctrls, &adp1653_ctrl_ops,
224 v4l2_ctrl_new_std(&flash->ctrls, &adp1653_ctrl_ops,
227 v4l2_ctrl_new_std(&flash->ctrls, &adp1653_ctrl_ops,
233 v4l2_ctrl_new_std(&flash->ctrls, &adp1653_ctrl_ops,
239 v4l2_ctrl_new_std(&flash->ctrls,
[all...]
H A Dov9650.c26 #include <media/v4l2-ctrls.h>
269 struct ov965x_ctrls ctrls; member in struct:ov965x
415 return &container_of(ctrl->handler, struct ov965x, ctrls.handler)->sd;
548 ov965x->ctrls.update = 1;
565 struct v4l2_ctrl *ctrl = ov965x->ctrls.exposure;
640 ov965x->ctrls.blue_balance->val);
644 ov965x->ctrls.red_balance->val);
679 struct ov965x_ctrls *ctrls = &ov965x->ctrls; local
686 if (ctrls
763 struct ov965x_ctrls *ctrls = &ov965x->ctrls; local
991 struct ov965x_ctrls *ctrls = &ov965x->ctrls; local
1276 struct ov965x_ctrls *ctrls = &ov965x->ctrls; local
1324 struct ov965x_ctrls *ctrls = &ov965x->ctrls; local
[all...]
H A Das3645a.c35 #include <media/v4l2-ctrls.h>
126 struct v4l2_ctrl_handler ctrls; member in struct:as3645a
327 container_of(ctrl->handler, struct as3645a, ctrls);
374 container_of(ctrl->handler, struct as3645a, ctrls);
722 v4l2_ctrl_handler_init(&flash->ctrls, 10);
725 v4l2_ctrl_new_std_menu(&flash->ctrls, &as3645a_ctrl_ops,
730 v4l2_ctrl_new_std_menu(&flash->ctrls, &as3645a_ctrl_ops,
739 v4l2_ctrl_new_std(&flash->ctrls, &as3645a_ctrl_ops,
743 v4l2_ctrl_new_std(&flash->ctrls, &as3645a_ctrl_ops,
747 ctrl = v4l2_ctrl_new_std(&flash->ctrls,
[all...]
H A Dmt9v011.c15 #include <media/v4l2-ctrls.h>
53 struct v4l2_ctrl_handler ctrls; member in struct:mt9v011
427 container_of(ctrl->handler, struct mt9v011, ctrls);
517 v4l2_ctrl_handler_init(&core->ctrls, 5);
518 v4l2_ctrl_new_std(&core->ctrls, &mt9v011_ctrl_ops,
520 v4l2_ctrl_new_std(&core->ctrls, &mt9v011_ctrl_ops,
522 v4l2_ctrl_new_std(&core->ctrls, &mt9v011_ctrl_ops,
524 v4l2_ctrl_new_std(&core->ctrls, &mt9v011_ctrl_ops,
526 v4l2_ctrl_new_std(&core->ctrls, &mt9v011_ctrl_ops,
528 v4l2_ctrl_new_std(&core->ctrls,
[all...]
H A Dmt9p031.c31 #include <media/v4l2-ctrls.h>
140 struct v4l2_ctrl_handler ctrls; member in struct:mt9p031
376 return v4l2_ctrl_handler_setup(&mt9p031->ctrls);
675 container_of(ctrl->handler, struct mt9p031, ctrls);
1069 v4l2_ctrl_handler_init(&mt9p031->ctrls, ARRAY_SIZE(mt9p031_ctrls) + 6);
1071 v4l2_ctrl_new_std(&mt9p031->ctrls, &mt9p031_ctrl_ops,
1075 v4l2_ctrl_new_std(&mt9p031->ctrls, &mt9p031_ctrl_ops,
1078 v4l2_ctrl_new_std(&mt9p031->ctrls, &mt9p031_ctrl_ops,
1080 v4l2_ctrl_new_std(&mt9p031->ctrls, &mt9p031_ctrl_ops,
1082 v4l2_ctrl_new_std(&mt9p031->ctrls,
[all...]
H A Dmt9v032.c27 #include <media/v4l2-ctrls.h>
240 struct v4l2_ctrl_handler ctrls; member in struct:mt9v032
366 return v4l2_ctrl_handler_setup(&mt9v032->ctrls);
628 container_of(ctrl->handler, struct mt9v032, ctrls);
905 v4l2_ctrl_handler_init(&mt9v032->ctrls, 10);
907 v4l2_ctrl_new_std(&mt9v032->ctrls, &mt9v032_ctrl_ops,
909 v4l2_ctrl_new_std(&mt9v032->ctrls, &mt9v032_ctrl_ops,
912 v4l2_ctrl_new_std_menu(&mt9v032->ctrls, &mt9v032_ctrl_ops,
915 v4l2_ctrl_new_std(&mt9v032->ctrls, &mt9v032_ctrl_ops,
919 v4l2_ctrl_new_std(&mt9v032->ctrls,
[all...]
/drivers/media/platform/exynos4-is/
H A Dfimc-core.c515 effect->pat_cb = ctx->ctrls.colorfx_cbcr->val >> 8;
516 effect->pat_cr = ctx->ctrls.colorfx_cbcr->val & 0xff;
529 container_of((__ctrl)->handler, struct fimc_ctx, ctrls.handler)
600 struct fimc_ctrls *ctrls = &ctx->ctrls; local
601 struct v4l2_ctrl_handler *handler = &ctrls->handler;
603 if (ctx->ctrls.ready)
608 ctrls->rotate = v4l2_ctrl_new_std(handler, &fimc_ctrl_ops,
610 ctrls->hflip = v4l2_ctrl_new_std(handler, &fimc_ctrl_ops,
612 ctrls
641 struct fimc_ctrls *ctrls = &ctx->ctrls; local
653 struct fimc_ctrls *ctrls = &ctx->ctrls; local
[all...]
H A Dfimc-isp.c513 idx = is->isp.ctrls.iso->val;
694 struct v4l2_ctrl_handler *handler = &isp->ctrls.handler;
696 struct fimc_isp_ctrls *ctrls = &isp->ctrls; local
718 ctrls->saturation = v4l2_ctrl_new_std(handler, ops, V4L2_CID_SATURATION,
720 ctrls->brightness = v4l2_ctrl_new_std(handler, ops, V4L2_CID_BRIGHTNESS,
722 ctrls->contrast = v4l2_ctrl_new_std(handler, ops, V4L2_CID_CONTRAST,
724 ctrls->sharpness = v4l2_ctrl_new_std(handler, ops, V4L2_CID_SHARPNESS,
726 ctrls->hue = v4l2_ctrl_new_std(handler, ops, V4L2_CID_HUE,
729 ctrls
[all...]
H A Dfimc-isp.h155 * @ctrls: v4l2 controls structure
170 struct fimc_isp_ctrls ctrls; member in struct:fimc_isp
184 container_of(ctrl->handler, struct fimc_isp, ctrls.handler)
/drivers/media/platform/vivid/
H A DMakefile1 vivid-objs := vivid-core.o vivid-ctrls.o vivid-vid-common.o vivid-vbi-gen.o \
/drivers/media/radio/
H A Dradio-tea5777.h31 #include <media/v4l2-ctrls.h>
/drivers/media/platform/omap3isp/
H A Disppreview.h22 #include <media/v4l2-ctrls.h>
129 struct v4l2_ctrl_handler ctrls; member in struct:isp_prev_device
/drivers/staging/media/davinci_vpfe/
H A Ddm365_ipipe.h27 #include <media/v4l2-ctrls.h>
122 struct v4l2_ctrl_handler ctrls; member in struct:vpfe_ipipe_device
H A Ddm365_isif.h30 #include <media/v4l2-ctrls.h>
187 struct v4l2_ctrl_handler ctrls; member in struct:vpfe_isif_device

Completed in 377 milliseconds

12345678