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

Function usb_debug

payloads/libpayload/include/usb/usb.h:347–355  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

345#define USB_QUIRK_NONE 0
346
347static inline void __printf(1, 2) usb_debug(const char *fmt, ...)
348{
349#ifdef USB_DEBUG
350 va_list ap;
351 va_start(ap, fmt);
352 vprintf(fmt, ap);
353 va_end(ap);
354#endif
355}
356
357/**
358 * To be implemented by libpayload-client. It's called by the USB

Callers 15

get_mpsFunction · 0.85
dwc2_connectFunction · 0.85
dwc2_enum_doneFunction · 0.85
dwc2_tx_fifo_flushFunction · 0.85
dwc2_rx_fifo_flushFunction · 0.85
dwc2_halt_epFunction · 0.85
dwc2_start_ep0Function · 0.85
dwc2_start_epFunction · 0.85
continue_ep_transferFunction · 0.85
start_ep_transferFunction · 0.85
dwc2_enqueue_packetFunction · 0.85
complete_ep_transferFunction · 0.85

Calls 1

vprintfFunction · 0.85

Tested by

no test coverage detected