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