linux/drivers/usb/gadget/udc/aspeed-vhub/core.c

// SPDX-License-Identifier: GPL-2.0+
/*
 * aspeed-vhub -- Driver for Aspeed SoC "vHub" USB gadget
 *
 * core.c - Top level support
 *
 * Copyright 2017 IBM Corporation
 */

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/delay.h>
#include <linux/ioport.h>
#include <linux/slab.h>
#include <linux/errno.h>
#include <linux/list.h>
#include <linux/interrupt.h>
#include <linux/proc_fs.h>
#include <linux/prefetch.h>
#include <linux/clk.h>
#include <linux/usb/gadget.h>
#include <linux/of.h>
#include <linux/regmap.h>
#include <linux/dma-mapping.h>

#include "vhub.h"

void ast_vhub_done(struct ast_vhub_ep *ep, struct ast_vhub_req *req,
		   int status)
{}

void ast_vhub_nuke(struct ast_vhub_ep *ep, int status)
{}

struct usb_request *ast_vhub_alloc_request(struct usb_ep *u_ep,
					   gfp_t gfp_flags)
{}

void ast_vhub_free_request(struct usb_ep *u_ep, struct usb_request *u_req)
{}

static irqreturn_t ast_vhub_irq(int irq, void *data)
{}

void ast_vhub_init_hw(struct ast_vhub *vhub)
{}

static void ast_vhub_remove(struct platform_device *pdev)
{}

static int ast_vhub_probe(struct platform_device *pdev)
{}

static const struct of_device_id ast_vhub_dt_ids[] =;
MODULE_DEVICE_TABLE(of, ast_vhub_dt_ids);

static struct platform_driver ast_vhub_driver =;
module_platform_driver();

MODULE_DESCRIPTION();
MODULE_AUTHOR();
MODULE_LICENSE();