Lines Matching refs:ctrl_hdlr
756 struct v4l2_ctrl_handler *ctrl_hdlr; in ov2740_init_controls() local
763 ctrl_hdlr = &ov2740->ctrl_handler; in ov2740_init_controls()
764 ret = v4l2_ctrl_handler_init(ctrl_hdlr, 8); in ov2740_init_controls()
772 v4l2_ctrl_new_int_menu(ctrl_hdlr, &ov2740_ctrl_ops, in ov2740_init_controls()
780 ov2740->pixel_rate = v4l2_ctrl_new_std(ctrl_hdlr, &ov2740_ctrl_ops, in ov2740_init_controls()
787 ov2740->vblank = v4l2_ctrl_new_std(ctrl_hdlr, &ov2740_ctrl_ops, in ov2740_init_controls()
792 ov2740->hblank = v4l2_ctrl_new_std(ctrl_hdlr, &ov2740_ctrl_ops, in ov2740_init_controls()
798 v4l2_ctrl_new_std(ctrl_hdlr, &ov2740_ctrl_ops, V4L2_CID_ANALOGUE_GAIN, in ov2740_init_controls()
801 v4l2_ctrl_new_std(ctrl_hdlr, &ov2740_ctrl_ops, V4L2_CID_DIGITAL_GAIN, in ov2740_init_controls()
805 ov2740->exposure = v4l2_ctrl_new_std(ctrl_hdlr, &ov2740_ctrl_ops, in ov2740_init_controls()
810 v4l2_ctrl_new_std_menu_items(ctrl_hdlr, &ov2740_ctrl_ops, in ov2740_init_controls()
814 if (ctrl_hdlr->error) { in ov2740_init_controls()
815 v4l2_ctrl_handler_free(ctrl_hdlr); in ov2740_init_controls()
816 return ctrl_hdlr->error; in ov2740_init_controls()
819 ov2740->sd.ctrl_handler = ctrl_hdlr; in ov2740_init_controls()