Lines Matching refs:ctrl_hdlr
539 struct v4l2_ctrl_handler *ctrl_hdlr; in ov9734_init_controls() local
545 ctrl_hdlr = &ov9734->ctrl_handler; in ov9734_init_controls()
546 ret = v4l2_ctrl_handler_init(ctrl_hdlr, 8); in ov9734_init_controls()
550 ctrl_hdlr->lock = &ov9734->mutex; in ov9734_init_controls()
553 ov9734->link_freq = v4l2_ctrl_new_int_menu(ctrl_hdlr, &ov9734_ctrl_ops, in ov9734_init_controls()
561 ov9734->pixel_rate = v4l2_ctrl_new_std(ctrl_hdlr, &ov9734_ctrl_ops, in ov9734_init_controls()
567 ov9734->vblank = v4l2_ctrl_new_std(ctrl_hdlr, &ov9734_ctrl_ops, in ov9734_init_controls()
572 ov9734->hblank = v4l2_ctrl_new_std(ctrl_hdlr, &ov9734_ctrl_ops, in ov9734_init_controls()
578 v4l2_ctrl_new_std(ctrl_hdlr, &ov9734_ctrl_ops, V4L2_CID_ANALOGUE_GAIN, in ov9734_init_controls()
581 v4l2_ctrl_new_std(ctrl_hdlr, &ov9734_ctrl_ops, V4L2_CID_DIGITAL_GAIN, in ov9734_init_controls()
585 ov9734->exposure = v4l2_ctrl_new_std(ctrl_hdlr, &ov9734_ctrl_ops, in ov9734_init_controls()
590 v4l2_ctrl_new_std_menu_items(ctrl_hdlr, &ov9734_ctrl_ops, in ov9734_init_controls()
594 if (ctrl_hdlr->error) in ov9734_init_controls()
595 return ctrl_hdlr->error; in ov9734_init_controls()
597 ov9734->sd.ctrl_handler = ctrl_hdlr; in ov9734_init_controls()