#include <linux/platform_device.h>
#include <linux/slab.h>
#include "core.h"
#include "drd.h"
#include "host-export.h"
#include <linux/usb/hcd.h>
#include "../host/xhci.h"
#include "../host/xhci-plat.h"
#define XECP_PORT_CAP_REG …
#define XECP_AUX_CTRL_REG1 …
#define CFG_RXDET_P3_EN …
#define LPM_2_STB_SWITCH_EN …
static void xhci_cdns3_plat_start(struct usb_hcd *hcd)
{ … }
static int xhci_cdns3_resume_quirk(struct usb_hcd *hcd)
{ … }
static const struct xhci_plat_priv xhci_plat_cdns3_xhci = …;
static const struct xhci_plat_priv xhci_plat_cdnsp_xhci;
static int __cdns_host_init(struct cdns *cdns)
{ … }
static void cdns_host_exit(struct cdns *cdns)
{ … }
int cdns_host_init(struct cdns *cdns)
{ … }