[go: nahoru, domu]

Searched defs:ctrls (Results 1 - 25 of 32) sorted by relevance

12

/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
/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...]
/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
H A Dispvideo.c892 struct v4l2_ext_controls ctrls; local
938 memset(&ctrls, 0, sizeof(ctrls));
943 ctrls.count = 1;
944 ctrls.controls = &ctrl;
946 ret = v4l2_g_ext_ctrls(pipe->external->ctrl_handler, &ctrls);
/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/platform/exynos4-is/
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)
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...]
/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
H A Ddm365_ipipeif.h28 #include <media/v4l2-ctrls.h>
136 struct v4l2_ctrl_handler ctrls; member in struct:vpfe_ipipeif_device
/drivers/media/common/
H A Dcx2341x.c935 struct v4l2_ext_controls *ctrls, unsigned int cmd)
941 for (i = 0; i < ctrls->count; i++) {
942 struct v4l2_ext_control *ctrl = ctrls->controls + i;
946 ctrls->error_idx = i;
952 for (i = 0; i < ctrls->count; i++) {
953 struct v4l2_ext_control *ctrl = ctrls->controls + i;
974 ctrls->error_idx = ctrls->count;
977 ctrls->error_idx = i;
934 cx2341x_ext_ctrls(struct cx2341x_mpeg_params *params, int busy, struct v4l2_ext_controls *ctrls, unsigned int cmd) argument
/drivers/media/i2c/
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 Dmt9m032.c35 #include <media/v4l2-ctrls.h>
152 struct v4l2_ctrl_handler ctrls; member in struct:mt9m032
642 container_of(ctrl->handler, struct mt9m032, ctrls);
766 v4l2_ctrl_handler_init(&sensor->ctrls, 5);
768 v4l2_ctrl_new_std(&sensor->ctrls, &mt9m032_ctrl_ops,
771 sensor->hflip = v4l2_ctrl_new_std(&sensor->ctrls,
774 sensor->vflip = v4l2_ctrl_new_std(&sensor->ctrls,
778 v4l2_ctrl_new_std(&sensor->ctrls, &mt9m032_ctrl_ops,
782 v4l2_ctrl_new_std(&sensor->ctrls, &mt9m032_ctrl_ops,
786 if (sensor->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 Dmt9t001.c25 #include <media/v4l2-ctrls.h>
131 struct v4l2_ctrl_handler ctrls; member in struct:mt9t001
239 return v4l2_ctrl_handler_setup(&mt9t001->ctrls);
520 container_of(ctrl->handler, struct mt9t001, ctrls);
880 v4l2_ctrl_handler_init(&mt9t001->ctrls, ARRAY_SIZE(mt9t001_ctrls) +
883 v4l2_ctrl_new_std(&mt9t001->ctrls, &mt9t001_ctrl_ops,
887 v4l2_ctrl_new_std(&mt9t001->ctrls, &mt9t001_ctrl_ops,
889 v4l2_ctrl_new_std(&mt9t001->ctrls, &mt9t001_ctrl_ops,
892 v4l2_ctrl_new_std_menu_items(&mt9t001->ctrls, &mt9t001_ctrl_ops,
898 v4l2_ctrl_new_custom(&mt9t001->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/pci/saa7164/
H A Dsaa7164-encoder.c535 struct v4l2_ext_controls *ctrls)
541 if (ctrls->ctrl_class == V4L2_CTRL_CLASS_MPEG) {
542 for (i = 0; i < ctrls->count; i++) {
543 struct v4l2_ext_control *ctrl = ctrls->controls + i;
547 ctrls->error_idx = i;
611 struct v4l2_ext_controls *ctrls)
615 if (ctrls->ctrl_class == V4L2_CTRL_CLASS_MPEG) {
616 for (i = 0; i < ctrls->count; i++) {
617 struct v4l2_ext_control *ctrl = ctrls->controls + i;
621 ctrls
534 vidioc_g_ext_ctrls(struct file *file, void *priv, struct v4l2_ext_controls *ctrls) argument
610 vidioc_try_ext_ctrls(struct file *file, void *priv, struct v4l2_ext_controls *ctrls) argument
683 vidioc_s_ext_ctrls(struct file *file, void *priv, struct v4l2_ext_controls *ctrls) argument
[all...]
H A Dsaa7164-vbi.c498 struct v4l2_ext_controls *ctrls)
504 if (ctrls->ctrl_class == V4L2_CTRL_CLASS_MPEG) {
505 for (i = 0; i < ctrls->count; i++) {
506 struct v4l2_ext_control *ctrl = ctrls->controls + i;
510 ctrls->error_idx = i;
559 struct v4l2_ext_controls *ctrls)
563 if (ctrls->ctrl_class == V4L2_CTRL_CLASS_MPEG) {
564 for (i = 0; i < ctrls->count; i++) {
565 struct v4l2_ext_control *ctrl = ctrls->controls + i;
569 ctrls
497 vidioc_g_ext_ctrls(struct file *file, void *priv, struct v4l2_ext_controls *ctrls) argument
558 vidioc_try_ext_ctrls(struct file *file, void *priv, struct v4l2_ext_controls *ctrls) argument
622 vidioc_s_ext_ctrls(struct file *file, void *priv, struct v4l2_ext_controls *ctrls) argument
[all...]
/drivers/media/usb/uvc/
H A Duvc_v4l2.c28 #include <media/v4l2-ctrls.h>
654 struct v4l2_ext_controls *ctrls = arg; local
655 struct v4l2_ext_control *ctrl = ctrls->controls;
662 for (i = 0; i < ctrls->count; ++ctrl, ++i) {
666 ctrls->error_idx = i;
670 ctrls->error_idx = 0;
682 struct v4l2_ext_controls *ctrls = arg; local
683 struct v4l2_ext_control *ctrl = ctrls->controls;
690 for (i = 0; i < ctrls->count; ++ctrl, ++i) {
694 ctrls
[all...]
/drivers/media/platform/coda/
H A Dcoda.h21 #include <media/v4l2-ctrls.h>
200 struct v4l2_ctrl_handler ctrls; member in struct:coda_ctx
/drivers/media/v4l2-core/
H A Dv4l2-ioctl.c25 #include <media/v4l2-ctrls.h>
1720 struct v4l2_ext_controls ctrls; local
1732 ctrls.ctrl_class = V4L2_CTRL_ID2CLASS(p->id);
1733 ctrls.count = 1;
1734 ctrls.controls = &ctrl;
1737 if (check_ext_ctrls(&ctrls, 1)) {
1738 int ret = ops->vidioc_g_ext_ctrls(file, fh, &ctrls);
1754 struct v4l2_ext_controls ctrls; local
1766 ctrls.ctrl_class = V4L2_CTRL_ID2CLASS(p->id);
1767 ctrls
2444 struct v4l2_ext_controls *ctrls = parg; local
[all...]

Completed in 302 milliseconds

12