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

Function wait

src/device/software_i2c.c:55–58  ·  view source on GitHub ↗

Waits the default DELAY_US to allow line state to stabilize. */

Source from the content-addressed store, hash-verified

53
54/* Waits the default DELAY_US to allow line state to stabilize. */
55static void wait(unsigned int bus)
56{
57 __wait(bus, DELAY_US, 0);
58}
59
60/* Waits until SCL goes high. Prints a contextual error message on timeout. */
61static int wait_for_scl(unsigned int bus, const char *error_context)

Callers 7

start_condFunction · 0.85
stop_condFunction · 0.85
out_bitFunction · 0.85
in_bitFunction · 0.85
software_i2c_wedge_ackFunction · 0.85
software_i2c_wedge_readFunction · 0.85
software_i2c_wedge_writeFunction · 0.85

Calls 1

__waitFunction · 0.85

Tested by

no test coverage detected