Lines Matching refs:ctrl_hdlr
738 struct v4l2_ctrl_handler *ctrl_hdlr; in ov5675_init_controls() local
742 ctrl_hdlr = &ov5675->ctrl_handler; in ov5675_init_controls()
743 ret = v4l2_ctrl_handler_init(ctrl_hdlr, 8); in ov5675_init_controls()
747 ctrl_hdlr->lock = &ov5675->mutex; in ov5675_init_controls()
748 ov5675->link_freq = v4l2_ctrl_new_int_menu(ctrl_hdlr, &ov5675_ctrl_ops, in ov5675_init_controls()
755 ov5675->pixel_rate = v4l2_ctrl_new_std(ctrl_hdlr, &ov5675_ctrl_ops, in ov5675_init_controls()
760 ov5675->vblank = v4l2_ctrl_new_std(ctrl_hdlr, &ov5675_ctrl_ops, in ov5675_init_controls()
767 ov5675->hblank = v4l2_ctrl_new_std(ctrl_hdlr, &ov5675_ctrl_ops, in ov5675_init_controls()
773 v4l2_ctrl_new_std(ctrl_hdlr, &ov5675_ctrl_ops, V4L2_CID_ANALOGUE_GAIN, in ov5675_init_controls()
776 v4l2_ctrl_new_std(ctrl_hdlr, &ov5675_ctrl_ops, V4L2_CID_DIGITAL_GAIN, in ov5675_init_controls()
780 ov5675->exposure = v4l2_ctrl_new_std(ctrl_hdlr, &ov5675_ctrl_ops, in ov5675_init_controls()
785 v4l2_ctrl_new_std_menu_items(ctrl_hdlr, &ov5675_ctrl_ops, in ov5675_init_controls()
789 v4l2_ctrl_new_std(ctrl_hdlr, &ov5675_ctrl_ops, in ov5675_init_controls()
791 v4l2_ctrl_new_std(ctrl_hdlr, &ov5675_ctrl_ops, in ov5675_init_controls()
794 if (ctrl_hdlr->error) in ov5675_init_controls()
795 return ctrl_hdlr->error; in ov5675_init_controls()
797 ov5675->sd.ctrl_handler = ctrl_hdlr; in ov5675_init_controls()