#include <sys/cdefs.h>
#include "opt_bus.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/bus.h>
#include <sys/condvar.h>
#include <sys/kernel.h>
#include <sys/module.h>
#include <dev/usb/usb.h>
#include <dev/usb/usbdi.h>
#include <dev/usb/usb_core.h>
#include <dev/usb/usb_busdma.h>
#include <dev/usb/usb_process.h>
#include <dev/usb/usb_controller.h>
#include <dev/usb/usb_bus.h>
#include <dev/usb/controller/xhci.h>
#include <dev/ofw/ofw_bus.h>
#include <dev/ofw/ofw_bus_subr.h>
#include <dev/extres/phy/phy.h>
#include "generic_xhci.h"
Go to the source code of this file.
|
| __FBSDID ("$FreeBSD$") |
|
static int | generic_xhci_fdt_probe (device_t dev) |
|
static int | generic_xhci_fdt_attach (device_t dev) |
|
static int | generic_xhci_fdt_detach (device_t dev) |
|
| DEFINE_CLASS_1 (xhci, xhci_fdt_driver, xhci_fdt_methods, sizeof(struct xhci_softc), generic_xhci_driver) |
|
| DRIVER_MODULE (xhci, simplebus, xhci_fdt_driver, xhci_fdt_devclass, 0, 0) |
|
| MODULE_DEPEND (xhci, usb, 1, 1, 1) |
|
◆ __FBSDID()
◆ DEFINE_CLASS_1()
◆ DRIVER_MODULE()
◆ generic_xhci_fdt_attach()
static int generic_xhci_fdt_attach |
( |
device_t |
dev | ) |
|
|
static |
◆ generic_xhci_fdt_detach()
static int generic_xhci_fdt_detach |
( |
device_t |
dev | ) |
|
|
static |
◆ generic_xhci_fdt_probe()
static int generic_xhci_fdt_probe |
( |
device_t |
dev | ) |
|
|
static |
◆ MODULE_DEPEND()
MODULE_DEPEND |
( |
xhci |
, |
|
|
usb |
, |
|
|
1 |
, |
|
|
1 |
, |
|
|
1 |
|
|
) |
| |
◆ compat_data
struct ofw_compat_data compat_data[] |
|
static |
Initial value:= {
{"marvell,armada-380-xhci", true},
{"marvell,armada3700-xhci", true},
{"marvell,armada-8k-xhci", true},
{"generic-xhci", true},
{NULL, false}
}
Definition at line 60 of file generic_xhci_fdt.c.
Referenced by generic_xhci_fdt_probe().
◆ xhci_fdt_devclass
devclass_t xhci_fdt_devclass |
|
static |
◆ xhci_fdt_methods
device_method_t xhci_fdt_methods[] |
|
static |
Initial value:= {
DEVMETHOD_END
}
static int generic_xhci_fdt_detach(device_t dev)
static int generic_xhci_fdt_attach(device_t dev)
static int generic_xhci_fdt_probe(device_t dev)
Definition at line 115 of file generic_xhci_fdt.c.