#include <sys/cdefs.h>
#include <sys/stdint.h>
#include <sys/stddef.h>
#include <sys/param.h>
#include <sys/queue.h>
#include <sys/types.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/bus.h>
#include <sys/module.h>
#include <sys/lock.h>
#include <sys/mutex.h>
#include <sys/condvar.h>
#include <sys/sysctl.h>
#include <sys/sx.h>
#include <sys/unistd.h>
#include <sys/priv.h>
#include <sys/rman.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_util.h>
#include <dev/usb/usb_controller.h>
#include <dev/usb/usb_bus.h>
#include <dev/usb/controller/xhci.h>
#include <dev/usb/controller/xhcireg.h>
#include "generic_xhci.h"
Go to the source code of this file.
◆ IS_DMA_32B
◆ __FBSDID()
◆ generic_xhci_attach()
int generic_xhci_attach |
( |
device_t |
dev | ) |
|
Definition at line 69 of file generic_xhci.c.
References usb_bus::bdev, dev, usb_bus::devices, usb_bus::devices_max, generic_xhci_detach(), IS_DMA_32B, usb_bus::parent, rid, xhci_softc::sc_bus, xhci_softc::sc_devices, xhci_softc::sc_intr_hdl, xhci_softc::sc_io_hdl, xhci_softc::sc_io_res, xhci_softc::sc_io_size, xhci_softc::sc_io_tag, xhci_softc::sc_irq_res, xhci_softc::sc_vendor, XHCI_HC_DEVSTR, XHCI_HC_VENDOR, xhci_init(), xhci_interrupt(), XHCI_MAX_DEVICES, and xhci_start_controller().
◆ generic_xhci_detach()
int generic_xhci_detach |
( |
device_t |
dev | ) |
|
◆ generic_xhci_driver
driver_t generic_xhci_driver |
Initial value:= {
"xhci",
}
static device_method_t xhci_methods[]
Definition at line 188 of file generic_xhci.c.
◆ xhci_methods
device_method_t xhci_methods[] |
|
static |
Initial value:= {
DEVMETHOD(device_suspend, bus_generic_suspend),
DEVMETHOD(device_resume, bus_generic_resume),
DEVMETHOD(device_shutdown, bus_generic_shutdown),
DEVMETHOD_END
}
int generic_xhci_detach(device_t dev)
int generic_xhci_attach(device_t dev)
Definition at line 177 of file generic_xhci.c.