Searched refs:rpt (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/samples/boards/nordic/coresight_stm/src/ |
D | main.c | 16 #define TEST_LOG(rpt, item) \ argument 20 for (uint32_t i = 0; i < rpt; i++) { \ 44 static uint32_t t_to_ns(uint32_t t, uint32_t rpt, uint32_t freq) in t_to_ns() argument 46 return (uint32_t)(((uint64_t)t * 1000000000) / (uint64_t)(rpt * freq)); in t_to_ns() 49 static void timing_report(uint32_t t, uint32_t rpt, const char *str) in timing_report() argument 51 uint32_t ns = t_to_ns(t, rpt, CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC); in timing_report() 60 uint32_t rpt = 10; in main() local 69 t0 = TEST_LOG(rpt, (LOG_INF("test no arguments"))); in main() 72 t1 = TEST_LOG(rpt, (LOG_INF("test with one argument %d", 100))); in main() 75 t2 = TEST_LOG(rpt, (LOG_INF("test with two arguments %d %d", 100, 10))); in main() [all …]
|
/Zephyr-latest/tests/subsys/ipc/pbuf/src/ |
D | main.c | 214 int rpt = (sys_rand8_get() & 3) + 1; in stress_read() local 216 for (int i = 0; i < rpt; i++) { in stress_read() 239 int rpt = (sys_rand8_get() & 1) + 1; in stress_write() local 243 for (int i = 0; i < rpt; i++) { in stress_write()
|
/Zephyr-latest/tests/lib/spsc_pbuf/src/ |
D | main.c | 427 int rpt = (sys_rand8_get() & 3) + 1; in stress_read() local 429 for (int i = 0; i < rpt; i++) { in stress_read() 451 int rpt = (sys_rand8_get() & 1) + 1; in stress_write() local 455 for (int i = 0; i < rpt; i++) { in stress_write() 493 int rpt = sys_rand8_get() % 0x3; in stress_claim_free() local 495 for (int i = 0; i < rpt; i++) { in stress_claim_free() 517 int rpt = rnd % 0x3; in stress_alloc_commit() local 521 for (int i = 0; i < rpt; i++) { in stress_alloc_commit()
|
/Zephyr-latest/tests/drivers/uart/uart_async_rx/src/ |
D | main.c | 200 uint32_t rpt = MAX(1, r & 0x7); in consumer() local 204 for (uint32_t i = 0; i < rpt; i++) { in consumer()
|