![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <arch/mmio.h>
#include <console/console.h>
#include <device/pci_def.h>
#include <device/xhci.h>
#include <string.h>
Go to the source code of this file.
Data Structures | |
union | xhci_ext_caps_header |
struct | supported_usb_cap_context |
Functions | |
enum cb_err | xhci_for_each_ext_cap (const struct device *device, void *context, void(*callback)(void *context, const struct xhci_ext_cap *cap)) |
Iterates over the xHCI Extended Capabilities List. More... | |
static void | xhci_supported_usb_cap_handler (void *context, const struct xhci_ext_cap *cap) |
enum cb_err | xhci_for_each_supported_usb_cap (const struct device *device, void *context, void(*callback)(void *context, const struct xhci_supported_protocol *data)) |
Helper method that iterates over only the USB supported capabilities structures in the xHCI Extended Capabilities List. More... | |
void | xhci_print_supported_protocol (const struct xhci_supported_protocol *supported_protocol) |
enum cb_err xhci_for_each_supported_usb_cap | ( | const struct device * | device, |
void * | context, | ||
void(*)(void *context, const struct xhci_supported_protocol *data) | callback | ||
) |
Helper method that iterates over only the USB supported capabilities structures in the xHCI Extended Capabilities List.
Definition at line 84 of file xhci.c.
References BIOS_DEBUG, supported_usb_cap_context::callback, xhci_ext_cap::cap_id, supported_usb_cap_context::context, memcmp(), xhci_supported_protocol::name, printk, xhci_ext_cap::supported_protocol, and XHCI_ECP_CAP_ID_SUPP.
Referenced by xhci_add_devices(), and xhci_port_exists().
void xhci_print_supported_protocol | ( | const struct xhci_supported_protocol * | supported_protocol | ) |
Definition at line 115 of file xhci.c.
References BIOS_DEBUG, xhci_supported_protocol::major_rev, xhci_supported_protocol::minor_rev, xhci_supported_protocol::name, xhci_supported_protocol::port_count, xhci_supported_protocol::port_offset, and printk.
Referenced by xhci_generate_port_acpi().
|
static |