Lines Matching refs:ctrl_hdlr
764 struct v4l2_ctrl_handler *ctrl_hdlr; in ov8856_init_controls() local
768 ctrl_hdlr = &ov8856->ctrl_handler; in ov8856_init_controls()
769 ret = v4l2_ctrl_handler_init(ctrl_hdlr, 8); in ov8856_init_controls()
773 ctrl_hdlr->lock = &ov8856->mutex; in ov8856_init_controls()
774 ov8856->link_freq = v4l2_ctrl_new_int_menu(ctrl_hdlr, &ov8856_ctrl_ops, in ov8856_init_controls()
781 ov8856->pixel_rate = v4l2_ctrl_new_std(ctrl_hdlr, &ov8856_ctrl_ops, in ov8856_init_controls()
786 ov8856->vblank = v4l2_ctrl_new_std(ctrl_hdlr, &ov8856_ctrl_ops, in ov8856_init_controls()
793 ov8856->hblank = v4l2_ctrl_new_std(ctrl_hdlr, &ov8856_ctrl_ops, in ov8856_init_controls()
799 v4l2_ctrl_new_std(ctrl_hdlr, &ov8856_ctrl_ops, V4L2_CID_ANALOGUE_GAIN, in ov8856_init_controls()
802 v4l2_ctrl_new_std(ctrl_hdlr, &ov8856_ctrl_ops, V4L2_CID_DIGITAL_GAIN, in ov8856_init_controls()
806 ov8856->exposure = v4l2_ctrl_new_std(ctrl_hdlr, &ov8856_ctrl_ops, in ov8856_init_controls()
811 v4l2_ctrl_new_std_menu_items(ctrl_hdlr, &ov8856_ctrl_ops, in ov8856_init_controls()
815 if (ctrl_hdlr->error) in ov8856_init_controls()
816 return ctrl_hdlr->error; in ov8856_init_controls()
818 ov8856->sd.ctrl_handler = ctrl_hdlr; in ov8856_init_controls()