Lines Matching refs:ctrl_hdlr
977 struct v4l2_ctrl_handler *ctrl_hdlr = &ov7740->ctrl_handler;
980 ret = v4l2_ctrl_handler_init(ctrl_hdlr, 12);
984 ctrl_hdlr->lock = &ov7740->mutex;
985 ov7740->auto_wb = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops,
988 ov7740->blue_balance = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops,
991 ov7740->red_balance = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops,
995 ov7740->brightness = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops,
998 ov7740->contrast = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops,
1001 ov7740->saturation = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops,
1003 ov7740->hflip = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops,
1005 ov7740->vflip = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops,
1008 ov7740->gain = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops,
1011 ov7740->auto_gain = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops,
1014 ov7740->exposure = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops,
1017 ov7740->auto_exposure = v4l2_ctrl_new_std_menu(ctrl_hdlr,
1028 if (ctrl_hdlr->error) {
1029 ret = ctrl_hdlr->error;
1035 ret = v4l2_ctrl_handler_setup(ctrl_hdlr);
1042 ov7740->subdev.ctrl_handler = ctrl_hdlr;
1046 v4l2_ctrl_handler_free(ctrl_hdlr);