Lines Matching defs:ctrls
26 #include <media/v4l2-ctrls.h>
320 struct s5k5baf_ctrls ctrls;
402 return &container_of(ctrl->handler, struct s5k5baf, ctrls.handler)->sd;
641 u16 flip = state->ctrls.vflip->val | (state->ctrls.vflip->val << 1);
672 struct s5k5baf_ctrls *ctrls = &state->ctrls;
676 ctrls->gain_red->val, 1,
678 ctrls->gain_blue->val, 1,
704 unsigned int exp_time = state->ctrls.exposure->val;
707 s5k5baf_hw_set_user_gain(state, state->ctrls.gain->val);
1089 ret = v4l2_ctrl_handler_setup(&state->ctrls.handler);
1630 struct s5k5baf_ctrls *ctrls = &state->ctrls;
1631 struct v4l2_ctrl_handler *hdl = &ctrls->handler;
1641 ctrls->awb = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_AUTO_WHITE_BALANCE,
1643 ctrls->gain_red = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_RED_BALANCE,
1645 ctrls->gain_blue = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_BLUE_BALANCE,
1647 v4l2_ctrl_auto_cluster(3, &ctrls->awb, 0, false);
1649 ctrls->hflip = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_HFLIP, 0, 1, 1, 0);
1650 ctrls->vflip = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_VFLIP, 0, 1, 1, 0);
1651 v4l2_ctrl_cluster(2, &ctrls->hflip);
1653 ctrls->auto_exp = v4l2_ctrl_new_std_menu(hdl, ops,
1657 ctrls->exposure = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_EXPOSURE,
1660 ctrls->gain = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_GAIN,
1662 v4l2_ctrl_auto_cluster(3, &ctrls->auto_exp, 0, false);