Lines Matching refs:ctrl_hdlr
521 struct v4l2_ctrl_handler *ctrl_hdlr; in ov2740_init_controls() local
528 ctrl_hdlr = &ov2740->ctrl_handler; in ov2740_init_controls()
529 ret = v4l2_ctrl_handler_init(ctrl_hdlr, 8); in ov2740_init_controls()
533 ctrl_hdlr->lock = &ov2740->mutex; in ov2740_init_controls()
537 ov2740->link_freq = v4l2_ctrl_new_int_menu(ctrl_hdlr, &ov2740_ctrl_ops, in ov2740_init_controls()
545 ov2740->pixel_rate = v4l2_ctrl_new_std(ctrl_hdlr, &ov2740_ctrl_ops, in ov2740_init_controls()
552 ov2740->vblank = v4l2_ctrl_new_std(ctrl_hdlr, &ov2740_ctrl_ops, in ov2740_init_controls()
558 ov2740->hblank = v4l2_ctrl_new_std(ctrl_hdlr, &ov2740_ctrl_ops, in ov2740_init_controls()
564 v4l2_ctrl_new_std(ctrl_hdlr, &ov2740_ctrl_ops, V4L2_CID_ANALOGUE_GAIN, in ov2740_init_controls()
567 v4l2_ctrl_new_std(ctrl_hdlr, &ov2740_ctrl_ops, V4L2_CID_DIGITAL_GAIN, in ov2740_init_controls()
571 ov2740->exposure = v4l2_ctrl_new_std(ctrl_hdlr, &ov2740_ctrl_ops, in ov2740_init_controls()
576 v4l2_ctrl_new_std_menu_items(ctrl_hdlr, &ov2740_ctrl_ops, in ov2740_init_controls()
580 if (ctrl_hdlr->error) in ov2740_init_controls()
581 return ctrl_hdlr->error; in ov2740_init_controls()
583 ov2740->sd.ctrl_handler = ctrl_hdlr; in ov2740_init_controls()