Lines Matching refs:ctrls
25 #include <media/v4l2-ctrls.h>
111 struct ov2680_ctrls ctrls;
188 ctrls.handler)->sd;
322 if (sensor->ctrls.vflip && sensor->ctrls.vflip->val)
325 if (sensor->ctrls.hflip && sensor->ctrls.hflip->val)
410 /* Restore value of all ctrls */
411 ret = __v4l2_ctrl_handler_setup(&sensor->ctrls.handler);
779 struct ov2680_ctrls *ctrls = &sensor->ctrls;
780 struct v4l2_ctrl_handler *hdl = &ctrls->handler;
800 ctrls->vflip = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_VFLIP, 0, 1, 1, 0);
801 ctrls->hflip = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_HFLIP, 0, 1, 1, 0);
803 ctrls->test_pattern = v4l2_ctrl_new_std_menu_items(hdl,
808 ctrls->exposure = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_EXPOSURE,
811 ctrls->gain = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_GAIN, 0, 2047, 1, 0);
818 ctrls->vflip->flags |= V4L2_CTRL_FLAG_MODIFY_LAYOUT;
819 ctrls->hflip->flags |= V4L2_CTRL_FLAG_MODIFY_LAYOUT;
955 v4l2_ctrl_handler_free(&sensor->ctrls.handler);