MCPcopy Create free account
hub / github.com/coreboot/coreboot / usb_initialize

Function usb_initialize

payloads/libpayload/drivers/usb/usbinit.c:166–172  ·  view source on GitHub ↗

* Initialize all USB controllers attached to PCI. */

Source from the content-addressed store, hash-verified

164 * Initialize all USB controllers attached to PCI.
165 */
166int usb_initialize(void)
167{
168#if CONFIG(LP_USB_PCI)
169 usb_scan_pci_bus(0);
170#endif
171 return 0;
172}
173
174hci_t *usb_add_mmio_hc(hc_type type, void *bar)
175{

Callers 2

mainFunction · 0.85
mainFunction · 0.85

Calls 1

usb_scan_pci_busFunction · 0.85

Tested by

no test coverage detected