Lines Matching defs:ctrls
25 #include <media/v4l2-ctrls.h>
314 struct s5k5baf_ctrls ctrls;
396 return &container_of(ctrl->handler, struct s5k5baf, ctrls.handler)->sd;
635 u16 flip = state->ctrls.vflip->val | (state->ctrls.vflip->val << 1);
666 struct s5k5baf_ctrls *ctrls = &state->ctrls;
670 ctrls->gain_red->val, 1,
672 ctrls->gain_blue->val, 1,
698 unsigned int exp_time = state->ctrls.exposure->val;
701 s5k5baf_hw_set_user_gain(state, state->ctrls.gain->val);
1079 ret = v4l2_ctrl_handler_setup(&state->ctrls.handler);
1627 struct s5k5baf_ctrls *ctrls = &state->ctrls;
1628 struct v4l2_ctrl_handler *hdl = &ctrls->handler;
1638 ctrls->awb = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_AUTO_WHITE_BALANCE,
1640 ctrls->gain_red = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_RED_BALANCE,
1642 ctrls->gain_blue = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_BLUE_BALANCE,
1644 v4l2_ctrl_auto_cluster(3, &ctrls->awb, 0, false);
1646 ctrls->hflip = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_HFLIP, 0, 1, 1, 0);
1647 ctrls->vflip = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_VFLIP, 0, 1, 1, 0);
1648 v4l2_ctrl_cluster(2, &ctrls->hflip);
1650 ctrls->auto_exp = v4l2_ctrl_new_std_menu(hdl, ops,
1654 ctrls->exposure = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_EXPOSURE,
1657 ctrls->gain = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_GAIN,
1659 v4l2_ctrl_auto_cluster(3, &ctrls->auto_exp, 0, false);