Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/usb/controller/xhcireg.h
| Show First 20 Lines • Show All 199 Lines • ▼ Show 20 Lines | |||||
| /* XHCI capability ID's */ | /* XHCI capability ID's */ | ||||
| #define XHCI_ID_USB_LEGACY 0x0001 | #define XHCI_ID_USB_LEGACY 0x0001 | ||||
| #define XHCI_ID_PROTOCOLS 0x0002 | #define XHCI_ID_PROTOCOLS 0x0002 | ||||
| #define XHCI_ID_POWER_MGMT 0x0003 | #define XHCI_ID_POWER_MGMT 0x0003 | ||||
| #define XHCI_ID_VIRTUALIZATION 0x0004 | #define XHCI_ID_VIRTUALIZATION 0x0004 | ||||
| #define XHCI_ID_MSG_IRQ 0x0005 | #define XHCI_ID_MSG_IRQ 0x0005 | ||||
| #define XHCI_ID_USB_LOCAL_MEM 0x0006 | #define XHCI_ID_USB_LOCAL_MEM 0x0006 | ||||
| /* values 7-9 are reserved */ | |||||
| #define XHCI_ID_USB_DEBUG 0x000a | |||||
| /* values 11-16 are reserved */ | |||||
| #define XHCI_ID_EXT_MSI 0x0011 | |||||
| #define XHCI_ID_USB3_TUN 0x0012 | |||||
| /* XHCI register R/W wrappers */ | /* XHCI register R/W wrappers */ | ||||
| #define XREAD1(sc, what, a) \ | #define XREAD1(sc, what, a) \ | ||||
| bus_space_read_1((sc)->sc_io_tag, (sc)->sc_io_hdl, \ | bus_space_read_1((sc)->sc_io_tag, (sc)->sc_io_hdl, \ | ||||
| (a) + (sc)->sc_##what##_off) | (a) + (sc)->sc_##what##_off) | ||||
| #define XREAD2(sc, what, a) \ | #define XREAD2(sc, what, a) \ | ||||
| bus_space_read_2((sc)->sc_io_tag, (sc)->sc_io_hdl, \ | bus_space_read_2((sc)->sc_io_tag, (sc)->sc_io_hdl, \ | ||||
| (a) + (sc)->sc_##what##_off) | (a) + (sc)->sc_##what##_off) | ||||
| Show All 14 Lines | |||||