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

Function stopwatch_wait_until_expired

src/include/timer.h:161–165  ·  view source on GitHub ↗

* Tick and check the stopwatch as long as it has not expired. */

Source from the content-addressed store, hash-verified

159 * Tick and check the stopwatch as long as it has not expired.
160 */
161static inline void stopwatch_wait_until_expired(struct stopwatch *sw)
162{
163 while (!stopwatch_expired(sw))
164 ;
165}
166
167/*
168 * Return number of microseconds since starting the stopwatch.

Callers 8

platform_romstage_mainFunction · 0.85
wait_for_legacy_devFunction · 0.85
wait_for_legacy_devFunction · 0.85
wait_for_legacy_devFunction · 0.85
wait_for_legacy_devFunction · 0.85
udelayFunction · 0.85
rx6110sa_initFunction · 0.85
crosec_spi_ioFunction · 0.85

Calls 1

stopwatch_expiredFunction · 0.85

Tested by

no test coverage detected