#include <sys/cdefs.h>
#include "opt_acpi.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/bus.h>
#include <sys/condvar.h>
#include <sys/kernel.h>
#include <sys/lock.h>
#include <sys/malloc.h>
#include <sys/module.h>
#include <sys/mutex.h>
#include <sys/rman.h>
#include <contrib/dev/acpica/include/acpi.h>
#include <contrib/dev/acpica/include/accommon.h>
#include <dev/acpica/acpivar.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/dwc_otg.h>
Go to the source code of this file.
◆ __FBSDID()
◆ DRIVER_MODULE()
◆ dwc_otg_attach()
static int dwc_otg_attach |
( |
device_t |
dev | ) |
|
|
static |
Definition at line 89 of file dwc_otg_acpi.c.
References usb_bus::bdev, dev, DWC_MODE_DEVICE, dwc_otg_detach, dwc_otg_init(), error, usb_bus::parent, rid, dwc_otg_softc::sc_bus, dwc_otg_softc::sc_io_res, dwc_otg_softc::sc_irq_res, and dwc_otg_softc::sc_mode.
◆ dwc_otg_detach()
static int dwc_otg_detach |
( |
device_t |
dev | ) |
|
|
static |
◆ dwc_otg_probe()
static int dwc_otg_probe |
( |
device_t |
dev | ) |
|
|
static |
◆ MODULE_DEPEND()
MODULE_DEPEND |
( |
dwcotg |
, |
|
|
usb |
, |
|
|
1 |
, |
|
|
1 |
, |
|
|
1 |
|
|
) |
| |
◆ dwc_otg_attach
device_attach_t dwc_otg_attach |
|
static |
◆ dwc_otg_detach
device_attach_t dwc_otg_detach |
|
static |
◆ dwc_otg_devclass
devclass_t dwc_otg_devclass |
|
static |
◆ dwc_otg_driver
Initial value:= {
.name = "dwcotg",
}
static device_method_t dwc_otg_methods[]
Definition at line 175 of file dwc_otg_acpi.c.
◆ dwc_otg_ids
◆ dwc_otg_methods
device_method_t dwc_otg_methods[] |
|
static |
Initial value:= {
DEVMETHOD(device_suspend, bus_generic_suspend),
DEVMETHOD(device_resume, bus_generic_resume),
DEVMETHOD(device_shutdown, bus_generic_shutdown),
DEVMETHOD_END
}
static device_attach_t dwc_otg_detach
static device_probe_t dwc_otg_probe
static device_attach_t dwc_otg_attach
Definition at line 163 of file dwc_otg_acpi.c.
◆ dwc_otg_probe
device_probe_t dwc_otg_probe |
|
static |