coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
usb_debug.c
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 // Use simple device model for this file even in ramstage
4 #define __SIMPLE_DEVICE__
5 
6 #include <device/pci_ehci.h>
7 #include <device/pci_def.h>
8 
9 pci_devfn_t pci_ehci_dbg_dev(unsigned int hcd_idx)
10 {
11  return PCI_DEV(0, 0x1d, 0);
12 }
13 
14 void pci_ehci_dbg_set_port(pci_devfn_t dev, unsigned int port)
15 {
16  /* Hardcoded to physical port 1 */
17 }
port
Definition: i915.h:29
#define PCI_DEV(SEGBUS, DEV, FN)
Definition: pci_type.h:14
u32 pci_devfn_t
Definition: pci_type.h:8
pci_devfn_t pci_ehci_dbg_dev(unsigned int hcd_idx)
Definition: usb_debug.c:9
void pci_ehci_dbg_set_port(pci_devfn_t dev, unsigned int port)
Definition: usb_debug.c:14