Lines Matching refs:ctrl_hdlr
978 struct v4l2_ctrl_handler *ctrl_hdlr = &ov7740->ctrl_handler;
981 ret = v4l2_ctrl_handler_init(ctrl_hdlr, 12);
985 ctrl_hdlr->lock = &ov7740->mutex;
986 ov7740->auto_wb = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops,
989 ov7740->blue_balance = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops,
992 ov7740->red_balance = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops,
996 ov7740->brightness = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops,
999 ov7740->contrast = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops,
1002 ov7740->saturation = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops,
1004 ov7740->hflip = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops,
1006 ov7740->vflip = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops,
1009 ov7740->gain = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops,
1012 ov7740->auto_gain = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops,
1015 ov7740->exposure = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops,
1018 ov7740->auto_exposure = v4l2_ctrl_new_std_menu(ctrl_hdlr,
1029 if (ctrl_hdlr->error) {
1030 ret = ctrl_hdlr->error;
1036 ret = v4l2_ctrl_handler_setup(ctrl_hdlr);
1043 ov7740->subdev.ctrl_handler = ctrl_hdlr;
1047 v4l2_ctrl_handler_free(ctrl_hdlr);