Lines Matching refs:ctrl_hdlr
781 struct v4l2_ctrl_handler *ctrl_hdlr; in ov5675_init_controls() local
785 ctrl_hdlr = &ov5675->ctrl_handler; in ov5675_init_controls()
786 ret = v4l2_ctrl_handler_init(ctrl_hdlr, 10); in ov5675_init_controls()
790 ctrl_hdlr->lock = &ov5675->mutex; in ov5675_init_controls()
791 ov5675->link_freq = v4l2_ctrl_new_int_menu(ctrl_hdlr, &ov5675_ctrl_ops, in ov5675_init_controls()
798 ov5675->pixel_rate = v4l2_ctrl_new_std(ctrl_hdlr, &ov5675_ctrl_ops, in ov5675_init_controls()
803 ov5675->vblank = v4l2_ctrl_new_std(ctrl_hdlr, &ov5675_ctrl_ops, in ov5675_init_controls()
810 ov5675->hblank = v4l2_ctrl_new_std(ctrl_hdlr, &ov5675_ctrl_ops, in ov5675_init_controls()
816 v4l2_ctrl_new_std(ctrl_hdlr, &ov5675_ctrl_ops, V4L2_CID_ANALOGUE_GAIN, in ov5675_init_controls()
819 v4l2_ctrl_new_std(ctrl_hdlr, &ov5675_ctrl_ops, V4L2_CID_DIGITAL_GAIN, in ov5675_init_controls()
823 ov5675->exposure = v4l2_ctrl_new_std(ctrl_hdlr, &ov5675_ctrl_ops, in ov5675_init_controls()
828 v4l2_ctrl_new_std_menu_items(ctrl_hdlr, &ov5675_ctrl_ops, in ov5675_init_controls()
832 v4l2_ctrl_new_std(ctrl_hdlr, &ov5675_ctrl_ops, in ov5675_init_controls()
834 v4l2_ctrl_new_std(ctrl_hdlr, &ov5675_ctrl_ops, in ov5675_init_controls()
837 if (ctrl_hdlr->error) { in ov5675_init_controls()
838 v4l2_ctrl_handler_free(ctrl_hdlr); in ov5675_init_controls()
839 return ctrl_hdlr->error; in ov5675_init_controls()
846 ret = v4l2_ctrl_new_fwnode_properties(ctrl_hdlr, &ov5675_ctrl_ops, in ov5675_init_controls()
851 ov5675->sd.ctrl_handler = ctrl_hdlr; in ov5675_init_controls()
856 v4l2_ctrl_handler_free(ctrl_hdlr); in ov5675_init_controls()