Lines Matching refs:ctrl_hdlr
547 struct v4l2_ctrl_handler *ctrl_hdlr; in ov2740_init_controls() local
554 ctrl_hdlr = &ov2740->ctrl_handler; in ov2740_init_controls()
555 ret = v4l2_ctrl_handler_init(ctrl_hdlr, 8); in ov2740_init_controls()
559 ctrl_hdlr->lock = &ov2740->mutex; in ov2740_init_controls()
563 ov2740->link_freq = v4l2_ctrl_new_int_menu(ctrl_hdlr, &ov2740_ctrl_ops, in ov2740_init_controls()
571 ov2740->pixel_rate = v4l2_ctrl_new_std(ctrl_hdlr, &ov2740_ctrl_ops, in ov2740_init_controls()
578 ov2740->vblank = v4l2_ctrl_new_std(ctrl_hdlr, &ov2740_ctrl_ops, in ov2740_init_controls()
584 ov2740->hblank = v4l2_ctrl_new_std(ctrl_hdlr, &ov2740_ctrl_ops, in ov2740_init_controls()
590 v4l2_ctrl_new_std(ctrl_hdlr, &ov2740_ctrl_ops, V4L2_CID_ANALOGUE_GAIN, in ov2740_init_controls()
593 v4l2_ctrl_new_std(ctrl_hdlr, &ov2740_ctrl_ops, V4L2_CID_DIGITAL_GAIN, in ov2740_init_controls()
597 ov2740->exposure = v4l2_ctrl_new_std(ctrl_hdlr, &ov2740_ctrl_ops, in ov2740_init_controls()
602 v4l2_ctrl_new_std_menu_items(ctrl_hdlr, &ov2740_ctrl_ops, in ov2740_init_controls()
606 if (ctrl_hdlr->error) in ov2740_init_controls()
607 return ctrl_hdlr->error; in ov2740_init_controls()
609 ov2740->sd.ctrl_handler = ctrl_hdlr; in ov2740_init_controls()