![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <stdint.h>
#include <device/pci_ops.h>
#include <device/pci_ehci.h>
#include <device/pci_def.h>
Go to the source code of this file.
Macros | |
#define | __SIMPLE_DEVICE__ |
Functions | |
pci_devfn_t | pci_ehci_dbg_dev (unsigned int hcd_idx) |
void | pci_ehci_dbg_set_port (pci_devfn_t dev, unsigned int port) |
#define __SIMPLE_DEVICE__ |
Definition at line 4 of file usb_debug.c.
pci_devfn_t pci_ehci_dbg_dev | ( | unsigned int | hcd_idx | ) |
Definition at line 11 of file usb_debug.c.
References CONFIG, PCI_CLASS_REVISION, PCI_DEV, PCI_EHCI_CLASSCODE, pci_read_config32(), pm_io_write8(), PM_USB_ALL_CONTROLLERS, PM_USB_ENABLE, and SOC_EHCI1_DEV.
Referenced by ehci_debug_hw_enable(), and ehci_debug_select_port().
void pci_ehci_dbg_set_port | ( | pci_devfn_t | dev, |
unsigned int | port | ||
) |
Definition at line 35 of file usb_debug.c.
References DEBUG_PORT_ENABLE, DEBUG_PORT_MASK, DEBUG_PORT_SELECT_SHIFT, EHCI_HUB_CONFIG4, pci_read_config32(), pci_write_config32(), SOC_EHCI1_DEV, and value.
Referenced by ehci_debug_select_port().