53 xhci =
zalloc (
sizeof ( *xhci ) );
84 DBGC ( xhci,
"XHCI %s could not register: %s\n",
121 DT_ID (
"snps,dwc3",
"DesignWare USB3" ),
struct arbelprm_rc_send_wqe rc
uint16_t offset
Offset to command line.
void * dt_ioremap(struct dt_device *dt, unsigned int offset, unsigned int index, size_t len)
Map devicetree range.
static void * dt_get_drvdata(struct dt_device *dt)
Get devicetree driver-private data.
#define DT_ID(_name, _desc)
static void dt_set_drvdata(struct dt_device *dt, void *priv)
Set devicetree driver-private data.
#define __dt_driver
Declare a devicetree driver.
static int dwusb_probe(struct dt_device *dt, unsigned int offset)
Probe devicetree device.
static const char * dwusb_ids[]
DesignWare USB3 compatible model identifiers.
static void dwusb_remove(struct dt_device *dt)
Remove devicetree device.
Synopsys DesignWare USB3 host controller driver.
#define DWUSB_GCTL
Global core control register.
#define DWUSB_GCTL_PRTDIR_HOST
Operate as a host.
#define DWUSB_GCTL_RESET
Core soft reset.
#define DWUSB_GCTL_PRTDIR_MASK
Port direction mask.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define ENOMEM
Not enough space.
#define ENODEV
No such device.
void iounmap(volatile const void *io_addr)
Unmap I/O address.
void * zalloc(size_t size)
Allocate cleared memory.
static void(* free)(struct refcnt *refcnt))
char * strerror(int errno)
Retrieve string representation of error number.
struct dma_device dma
DMA device.
struct device dev
Generic device.
int(* probe)(struct dt_device *dt, unsigned int offset)
Probe device.
struct device * dev
Underlying hardware device.
struct dma_device * dma
DMA device.
void mdelay(unsigned long msecs)
Delay for a fixed number of milliseconds.
static struct xen_remove_from_physmap * remove
void xhci_unregister(struct xhci_device *xhci)
Unregister xHCI controller.
int xhci_register(struct xhci_device *xhci)
Register xHCI controller.
void xhci_init(struct xhci_device *xhci)
Initialise device.