MCPcopy Create free account
hub / github.com/F-Stack/f-stack / DELAY

Function DELAY

freebsd/arm/mv/timer.c:331–345  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

329
330#ifndef PLATFORM
331void
332DELAY(int usec)
333{
334 uint32_t val;
335
336 if (!timers_initialized) {
337 for (; usec > 0; usec--)
338 for (val = 100; val > 0; val--)
339 __asm __volatile("nop" ::: "memory");
340 } else {
341 TSENTER();
342 mv_delay(usec, NULL);
343 TSEXIT();
344 }
345}
346#endif
347
348static uint32_t

Callers 15

mv_pcib_enableFunction · 0.70
a37x0_spi_waitFunction · 0.70
a37x0_spi_attachFunction · 0.70
a37x0_spi_transferFunction · 0.70
mv_spi_transferFunction · 0.70
a37x0_iic_wait_clearFunction · 0.70
a37x0_iic_wait_setFunction · 0.70
a37x0_iic_resetFunction · 0.70
mv_thermal_wait_sensorFunction · 0.70
XX_UDelayFunction · 0.50
fman_reset_macFunction · 0.50

Calls 1

mv_delayFunction · 0.85

Tested by

no test coverage detected