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