Lines Matching refs:ctrl_hdlr
574 struct v4l2_ctrl_handler *ctrl_hdlr; in ov2740_init_controls() local
581 ctrl_hdlr = &ov2740->ctrl_handler; in ov2740_init_controls()
582 ret = v4l2_ctrl_handler_init(ctrl_hdlr, 8); in ov2740_init_controls()
586 ctrl_hdlr->lock = &ov2740->mutex; in ov2740_init_controls()
590 ov2740->link_freq = v4l2_ctrl_new_int_menu(ctrl_hdlr, &ov2740_ctrl_ops, in ov2740_init_controls()
598 ov2740->pixel_rate = v4l2_ctrl_new_std(ctrl_hdlr, &ov2740_ctrl_ops, in ov2740_init_controls()
605 ov2740->vblank = v4l2_ctrl_new_std(ctrl_hdlr, &ov2740_ctrl_ops, in ov2740_init_controls()
611 ov2740->hblank = v4l2_ctrl_new_std(ctrl_hdlr, &ov2740_ctrl_ops, in ov2740_init_controls()
617 v4l2_ctrl_new_std(ctrl_hdlr, &ov2740_ctrl_ops, V4L2_CID_ANALOGUE_GAIN, in ov2740_init_controls()
620 v4l2_ctrl_new_std(ctrl_hdlr, &ov2740_ctrl_ops, V4L2_CID_DIGITAL_GAIN, in ov2740_init_controls()
624 ov2740->exposure = v4l2_ctrl_new_std(ctrl_hdlr, &ov2740_ctrl_ops, in ov2740_init_controls()
629 v4l2_ctrl_new_std_menu_items(ctrl_hdlr, &ov2740_ctrl_ops, in ov2740_init_controls()
633 if (ctrl_hdlr->error) in ov2740_init_controls()
634 return ctrl_hdlr->error; in ov2740_init_controls()
636 ov2740->sd.ctrl_handler = ctrl_hdlr; in ov2740_init_controls()