coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <console/console.h>
#include <device/mmio.h>
#include <intelblocks/xhci.h>
#include <soc/soc_chip.h>
Go to the source code of this file.
Macros | |
#define | XHCI_USB2_PORT_STATUS_REG 0x480 |
#define | XHCI_USB3_PORT_STATUS_REG 0x500 |
#define | XHCI_USB2_PORT_NUM 8 |
#define | XHCI_USB3_PORT_NUM 6 |
#define | XHCI_PMCTRL 0x80A4 |
#define | PMCTRL_LFPS_OFFTIME_SHIFT 4 |
#define | PMCTRL_LFPS_OFFTIME_MAX 0xF |
Functions | |
const struct xhci_usb_info * | soc_get_xhci_usb_info (pci_devfn_t xhci_dev) |
static void | set_xhci_lfps_sampling_offtime (struct device *dev, uint8_t time_ms) |
void | soc_xhci_init (struct device *dev) |
Variables | |
static const struct xhci_usb_info | usb_info |
Definition at line 31 of file xhci.c.
References addr, resource::base, BIOS_DEBUG, BIOS_ERR, clrsetbits32, PCI_BASE_ADDRESS_0, PMCTRL_LFPS_OFFTIME_MAX, PMCTRL_LFPS_OFFTIME_SHIFT, printk, probe_resource(), and XHCI_PMCTRL.
Referenced by soc_xhci_init().
const struct xhci_usb_info* soc_get_xhci_usb_info | ( | pci_devfn_t | xhci_dev | ) |
Definition at line 56 of file xhci.c.
References config, config_of_soc, and set_xhci_lfps_sampling_offtime().
|
static |
Definition at line 1 of file xhci.c.
Referenced by soc_get_xhci_usb_info().