Lines Matching refs:ctrl_hdlr
942 struct v4l2_ctrl_handler *ctrl_hdlr = &ov7740->ctrl_handler; in ov7740_init_controls() local
945 ret = v4l2_ctrl_handler_init(ctrl_hdlr, 12); in ov7740_init_controls()
949 ctrl_hdlr->lock = &ov7740->mutex; in ov7740_init_controls()
950 ov7740->auto_wb = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops, in ov7740_init_controls()
953 ov7740->blue_balance = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops, in ov7740_init_controls()
956 ov7740->red_balance = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops, in ov7740_init_controls()
960 ov7740->brightness = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops, in ov7740_init_controls()
963 ov7740->contrast = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops, in ov7740_init_controls()
966 ov7740->saturation = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops, in ov7740_init_controls()
968 ov7740->hflip = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops, in ov7740_init_controls()
970 ov7740->vflip = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops, in ov7740_init_controls()
973 ov7740->gain = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops, in ov7740_init_controls()
976 ov7740->auto_gain = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops, in ov7740_init_controls()
979 ov7740->exposure = v4l2_ctrl_new_std(ctrl_hdlr, &ov7740_ctrl_ops, in ov7740_init_controls()
982 ov7740->auto_exposure = v4l2_ctrl_new_std_menu(ctrl_hdlr, in ov7740_init_controls()
993 if (ctrl_hdlr->error) { in ov7740_init_controls()
994 ret = ctrl_hdlr->error; in ov7740_init_controls()
1000 ret = v4l2_ctrl_handler_setup(ctrl_hdlr); in ov7740_init_controls()
1007 ov7740->subdev.ctrl_handler = ctrl_hdlr; in ov7740_init_controls()
1011 v4l2_ctrl_handler_free(ctrl_hdlr); in ov7740_init_controls()