diff options
Diffstat (limited to 'src/include/device/xhci.h')
-rw-r--r-- | src/include/device/xhci.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/include/device/xhci.h b/src/include/device/xhci.h index e5ce8b514ca5..a4a3bc1de736 100644 --- a/src/include/device/xhci.h +++ b/src/include/device/xhci.h @@ -81,6 +81,20 @@ struct xhci_ext_cap { }; }; +/* + * struct xhci_usb_info - Data containing number of USB ports & offset. + * @usb2_port_status_reg: Offset to USB2 port status register. + * @num_usb2_ports: Number of USB2 ports. + * @usb3_port_status_reg: Offset to USB3 port status register. + * @num_usb3_ports: Number of USB3 ports. + */ +struct xhci_usb_info { + uint32_t usb2_port_status_reg; + uint32_t num_usb2_ports; + uint32_t usb3_port_status_reg; + uint32_t num_usb3_ports; +}; + /** * Iterates over the xHCI Extended Capabilities List. */ |