Lines Matching refs:ctrl_hdlr
767 struct v4l2_ctrl_handler *ctrl_hdlr; in ov5675_init_controls() local
771 ctrl_hdlr = &ov5675->ctrl_handler; in ov5675_init_controls()
772 ret = v4l2_ctrl_handler_init(ctrl_hdlr, 8); in ov5675_init_controls()
776 ctrl_hdlr->lock = &ov5675->mutex; in ov5675_init_controls()
777 ov5675->link_freq = v4l2_ctrl_new_int_menu(ctrl_hdlr, &ov5675_ctrl_ops, in ov5675_init_controls()
784 ov5675->pixel_rate = v4l2_ctrl_new_std(ctrl_hdlr, &ov5675_ctrl_ops, in ov5675_init_controls()
789 ov5675->vblank = v4l2_ctrl_new_std(ctrl_hdlr, &ov5675_ctrl_ops, in ov5675_init_controls()
796 ov5675->hblank = v4l2_ctrl_new_std(ctrl_hdlr, &ov5675_ctrl_ops, in ov5675_init_controls()
802 v4l2_ctrl_new_std(ctrl_hdlr, &ov5675_ctrl_ops, V4L2_CID_ANALOGUE_GAIN, in ov5675_init_controls()
805 v4l2_ctrl_new_std(ctrl_hdlr, &ov5675_ctrl_ops, V4L2_CID_DIGITAL_GAIN, in ov5675_init_controls()
809 ov5675->exposure = v4l2_ctrl_new_std(ctrl_hdlr, &ov5675_ctrl_ops, in ov5675_init_controls()
814 v4l2_ctrl_new_std_menu_items(ctrl_hdlr, &ov5675_ctrl_ops, in ov5675_init_controls()
818 v4l2_ctrl_new_std(ctrl_hdlr, &ov5675_ctrl_ops, in ov5675_init_controls()
820 v4l2_ctrl_new_std(ctrl_hdlr, &ov5675_ctrl_ops, in ov5675_init_controls()
823 if (ctrl_hdlr->error) in ov5675_init_controls()
824 return ctrl_hdlr->error; in ov5675_init_controls()
826 ov5675->sd.ctrl_handler = ctrl_hdlr; in ov5675_init_controls()