Lines Matching defs:handler
593 struct ov2685 *ov2685 = container_of(ctrl->handler,
676 struct v4l2_ctrl_handler *handler;
683 handler = &ov2685->ctrl_handler;
685 ret = v4l2_ctrl_handler_init(handler, 10);
688 handler->lock = &ov2685->mutex;
690 ctrl = v4l2_ctrl_new_int_menu(handler, NULL, V4L2_CID_LINK_FREQ,
697 v4l2_ctrl_new_std(handler, NULL, V4L2_CID_PIXEL_RATE,
701 ov2685->hblank = v4l2_ctrl_new_std(handler, NULL, V4L2_CID_HBLANK,
706 ov2685->vblank = v4l2_ctrl_new_std(handler, &ov2685_ctrl_ops,
712 ov2685->exposure = v4l2_ctrl_new_std(handler, &ov2685_ctrl_ops,
717 ov2685->anal_gain = v4l2_ctrl_new_std(handler, &ov2685_ctrl_ops,
722 ov2685->test_pattern = v4l2_ctrl_new_std_menu_items(handler,
732 ret = v4l2_ctrl_new_fwnode_properties(handler, &ov2685_ctrl_ops, &props);
736 if (handler->error) {
737 ret = handler->error;
743 ov2685->subdev.ctrl_handler = handler;
748 v4l2_ctrl_handler_free(handler);