Lines Matching refs:ctrl_hdlr
953 struct v4l2_ctrl_handler *ctrl_hdlr = &ov7740->ctrl_handler; in ov7740_init_controls() local
956 ret = v4l2_ctrl_handler_init(ctrl_hdlr, 12); in ov7740_init_controls()
960 ctrl_hdlr->lock = &ov7740->mutex; in ov7740_init_controls()
961 ov7740->auto_wb = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops, in ov7740_init_controls()
964 ov7740->blue_balance = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops, in ov7740_init_controls()
967 ov7740->red_balance = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops, in ov7740_init_controls()
971 ov7740->brightness = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops, in ov7740_init_controls()
974 ov7740->contrast = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops, in ov7740_init_controls()
977 ov7740->saturation = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops, in ov7740_init_controls()
979 ov7740->hflip = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops, in ov7740_init_controls()
981 ov7740->vflip = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops, in ov7740_init_controls()
984 ov7740->gain = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops, in ov7740_init_controls()
989 ov7740->auto_gain = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops, in ov7740_init_controls()
992 ov7740->exposure = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops, in ov7740_init_controls()
997 ov7740->auto_exposure = v4l2_ctrl_new_std_menu(ctrl_hdlr, in ov7740_init_controls()
1009 if (ctrl_hdlr->error) { in ov7740_init_controls()
1010 ret = ctrl_hdlr->error; in ov7740_init_controls()
1016 ret = v4l2_ctrl_handler_setup(ctrl_hdlr); in ov7740_init_controls()
1023 ov7740->subdev.ctrl_handler = ctrl_hdlr; in ov7740_init_controls()
1027 v4l2_ctrl_handler_free(ctrl_hdlr); in ov7740_init_controls()