linux/drivers/usb/dwc3/dwc3-keystone.c

// SPDX-License-Identifier: GPL-2.0
/*
 * dwc3-keystone.c - Keystone Specific Glue layer
 *
 * Copyright (C) 2010-2013 Texas Instruments Incorporated - https://www.ti.com
 *
 * Author: WingMan Kwok <[email protected]>
 */

#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/dma-mapping.h>
#include <linux/io.h>
#include <linux/of.h>
#include <linux/of_platform.h>
#include <linux/phy/phy.h>
#include <linux/pm_runtime.h>

/* USBSS register offsets */
#define USBSS_REVISION
#define USBSS_SYSCONFIG
#define USBSS_IRQ_EOI
#define USBSS_IRQSTATUS_RAW_0
#define USBSS_IRQSTATUS_0
#define USBSS_IRQENABLE_SET_0
#define USBSS_IRQENABLE_CLR_0

/* IRQ register bits */
#define USBSS_IRQ_EOI_LINE(n)
#define USBSS_IRQ_EVENT_ST
#define USBSS_IRQ_COREIRQ_EN
#define USBSS_IRQ_COREIRQ_CLR

struct dwc3_keystone {};

static inline u32 kdwc3_readl(void __iomem *base, u32 offset)
{}

static inline void kdwc3_writel(void __iomem *base, u32 offset, u32 value)
{}

static void kdwc3_enable_irqs(struct dwc3_keystone *kdwc)
{}

static void kdwc3_disable_irqs(struct dwc3_keystone *kdwc)
{}

static irqreturn_t dwc3_keystone_interrupt(int irq, void *_kdwc)
{}

static int kdwc3_probe(struct platform_device *pdev)
{}

static int kdwc3_remove_core(struct device *dev, void *c)
{}

static void kdwc3_remove(struct platform_device *pdev)
{}

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

static struct platform_driver kdwc3_driver =;

module_platform_driver();

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