linux/drivers/usb/cdns3/host.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Cadence USBSS and USBSSP DRD Driver - host side
 *
 * Copyright (C) 2018-2019 Cadence Design Systems.
 * Copyright (C) 2017-2018 NXP
 *
 * Authors: Peter Chen <[email protected]>
 *          Pawel Laszczak <[email protected]>
 */

#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"

/*
 * The XECP_PORT_CAP_REG and XECP_AUX_CTRL_REG1 exist only
 * in Cadence USB3 dual-role controller, so it can't be used
 * with Cadence CDNSP dual-role controller.
 */
#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)
{}