Lines Matching refs:ctrl_hdlr
542 struct v4l2_ctrl_handler *ctrl_hdlr; in ov9734_init_controls() local
548 ctrl_hdlr = &ov9734->ctrl_handler; in ov9734_init_controls()
549 ret = v4l2_ctrl_handler_init(ctrl_hdlr, 8); in ov9734_init_controls()
553 ctrl_hdlr->lock = &ov9734->mutex; in ov9734_init_controls()
556 ov9734->link_freq = v4l2_ctrl_new_int_menu(ctrl_hdlr, &ov9734_ctrl_ops, in ov9734_init_controls()
564 ov9734->pixel_rate = v4l2_ctrl_new_std(ctrl_hdlr, &ov9734_ctrl_ops, in ov9734_init_controls()
570 ov9734->vblank = v4l2_ctrl_new_std(ctrl_hdlr, &ov9734_ctrl_ops, in ov9734_init_controls()
575 ov9734->hblank = v4l2_ctrl_new_std(ctrl_hdlr, &ov9734_ctrl_ops, in ov9734_init_controls()
581 v4l2_ctrl_new_std(ctrl_hdlr, &ov9734_ctrl_ops, V4L2_CID_ANALOGUE_GAIN, in ov9734_init_controls()
584 v4l2_ctrl_new_std(ctrl_hdlr, &ov9734_ctrl_ops, V4L2_CID_DIGITAL_GAIN, in ov9734_init_controls()
588 ov9734->exposure = v4l2_ctrl_new_std(ctrl_hdlr, &ov9734_ctrl_ops, in ov9734_init_controls()
593 v4l2_ctrl_new_std_menu_items(ctrl_hdlr, &ov9734_ctrl_ops, in ov9734_init_controls()
597 if (ctrl_hdlr->error) in ov9734_init_controls()
598 return ctrl_hdlr->error; in ov9734_init_controls()
600 ov9734->sd.ctrl_handler = ctrl_hdlr; in ov9734_init_controls()