Lines Matching defs:handler
584 struct ov2685 *ov2685 = container_of(ctrl->handler,
665 struct v4l2_ctrl_handler *handler;
672 handler = &ov2685->ctrl_handler;
674 ret = v4l2_ctrl_handler_init(handler, 10);
677 handler->lock = &ov2685->mutex;
679 ctrl = v4l2_ctrl_new_int_menu(handler, NULL, V4L2_CID_LINK_FREQ,
686 v4l2_ctrl_new_std(handler, NULL, V4L2_CID_PIXEL_RATE,
690 ov2685->hblank = v4l2_ctrl_new_std(handler, NULL, V4L2_CID_HBLANK,
695 ov2685->vblank = v4l2_ctrl_new_std(handler, &ov2685_ctrl_ops,
701 ov2685->exposure = v4l2_ctrl_new_std(handler, &ov2685_ctrl_ops,
706 ov2685->anal_gain = v4l2_ctrl_new_std(handler, &ov2685_ctrl_ops,
711 ov2685->test_pattern = v4l2_ctrl_new_std_menu_items(handler,
721 ret = v4l2_ctrl_new_fwnode_properties(handler, &ov2685_ctrl_ops, &props);
725 if (handler->error) {
726 ret = handler->error;
732 ov2685->subdev.ctrl_handler = handler;
737 v4l2_ctrl_handler_free(handler);