Lines Matching refs:ctrl_hdlr
673 struct v4l2_ctrl_handler *ctrl_hdlr; in ov5675_init_controls() local
677 ctrl_hdlr = &ov5675->ctrl_handler; in ov5675_init_controls()
678 ret = v4l2_ctrl_handler_init(ctrl_hdlr, 8); in ov5675_init_controls()
682 ctrl_hdlr->lock = &ov5675->mutex; in ov5675_init_controls()
683 ov5675->link_freq = v4l2_ctrl_new_int_menu(ctrl_hdlr, &ov5675_ctrl_ops, in ov5675_init_controls()
690 ov5675->pixel_rate = v4l2_ctrl_new_std(ctrl_hdlr, &ov5675_ctrl_ops, in ov5675_init_controls()
695 ov5675->vblank = v4l2_ctrl_new_std(ctrl_hdlr, &ov5675_ctrl_ops, in ov5675_init_controls()
702 ov5675->hblank = v4l2_ctrl_new_std(ctrl_hdlr, &ov5675_ctrl_ops, in ov5675_init_controls()
708 v4l2_ctrl_new_std(ctrl_hdlr, &ov5675_ctrl_ops, V4L2_CID_ANALOGUE_GAIN, in ov5675_init_controls()
711 v4l2_ctrl_new_std(ctrl_hdlr, &ov5675_ctrl_ops, V4L2_CID_DIGITAL_GAIN, in ov5675_init_controls()
716 ov5675->exposure = v4l2_ctrl_new_std(ctrl_hdlr, &ov5675_ctrl_ops, in ov5675_init_controls()
721 v4l2_ctrl_new_std_menu_items(ctrl_hdlr, &ov5675_ctrl_ops, in ov5675_init_controls()
725 if (ctrl_hdlr->error) in ov5675_init_controls()
726 return ctrl_hdlr->error; in ov5675_init_controls()
728 ov5675->sd.ctrl_handler = ctrl_hdlr; in ov5675_init_controls()