Home
last modified time | relevance | path

Searched refs:repeat (Results 1 – 25 of 46) sorted by relevance

12

/Zephyr-4.3.0/tests/ztest/ztress/src/
Dmain.c22 uint32_t repeat = 1000000; in ZTEST() local
32 ZTRESS_EXECUTE(ZTRESS_THREAD(ztress_handler_busy, NULL, repeat, 0, t), in ZTEST()
33 ZTRESS_THREAD(ztress_handler_busy, NULL, repeat, 1000, t)); in ZTEST()
40 ZTRESS_CONTEXT_INITIALIZER(ztress_handler_busy, NULL, repeat, 0, t); in ZTEST()
42 ZTRESS_CONTEXT_INITIALIZER(ztress_handler_busy, NULL, repeat, 1000, t), in ZTEST()
43 ZTRESS_CONTEXT_INITIALIZER(ztress_handler_busy, NULL, repeat, 1000, t) in ZTEST()
63 uint32_t repeat = 10000000; in ZTEST() local
68 ZTRESS_EXECUTE(ZTRESS_THREAD(ztress_handler_busy, NULL, repeat, 0, K_MSEC(1)), in ZTEST()
69 ZTRESS_THREAD(ztress_handler_busy, NULL, repeat, 0, K_MSEC(1))); in ZTEST()
71 zassert_true(ztress_exec_count(0) < repeat); in ZTEST()
[all …]
/Zephyr-4.3.0/drivers/flash/
Dflash_shell.c261 uint32_t repeat; in cmd_test() local
274 repeat = strtoul(argv[3], NULL, 16); in cmd_test()
281 if (repeat == 0) { in cmd_test()
282 repeat = 1; in cmd_test()
291 while (repeat--) { in cmd_test()
337 uint32_t *size, uint32_t *repeat) in read_write_erase_validate() argument
345 *repeat = strtoul(argv[3], NULL, 0); in read_write_erase_validate()
353 if (*repeat == 0 || *repeat > 10) { in read_write_erase_validate()
386 uint32_t repeat; in cmd_read_test() local
400 result = read_write_erase_validate(sh, argc, argv, &size, &repeat); in cmd_read_test()
[all …]
/Zephyr-4.3.0/tests/lib/mpsc_pbuf/src/
Dmain.c120 int repeat = buffer.size*2; in item_put_no_overwrite() local
123 for (int i = 0; i < repeat; i++) { in item_put_no_overwrite()
178 int repeat = buffer.size; in item_put_saturate() local
184 for (int i = 0; i < repeat / 2; i++) { in item_put_saturate()
196 for (int i = 0; i < repeat + 1; i++) { in item_put_saturate()
201 for (int i = 0; i < repeat; i++) { in item_put_saturate()
223 int repeat = buffer.size - 1; in benchmark_item_put() local
227 for (int i = 0; i < repeat; i++) { in benchmark_item_put()
234 PRINT("single word put time: %d cycles\n", t/repeat); in benchmark_item_put()
237 for (int i = 0; i < repeat; i++) { in benchmark_item_put()
[all …]
/Zephyr-4.3.0/tests/lib/spsc_pbuf/src/
Dmain.c68 int repeat = capacity / (sizeof(message) + sizeof(uint32_t)); in test_spsc_pbuf_flags() local
70 for (int i = 0; i < repeat; i++) { in test_spsc_pbuf_flags()
87 for (size_t i = 0; i < repeat; i++) { in test_spsc_pbuf_flags()
471 uint32_t repeat = 0; in ZTEST() local
478 ZTRESS_EXECUTE(ZTRESS_TIMER(stress_read, &ctx, repeat, Z_TIMEOUT_TICKS(4)), in ZTEST()
479 ZTRESS_THREAD(stress_write, &ctx, repeat, 2000, Z_TIMEOUT_TICKS(4))); in ZTEST()
483 ZTRESS_EXECUTE(ZTRESS_TIMER(stress_write, &ctx, repeat, Z_TIMEOUT_TICKS(4)), in ZTEST()
484 ZTRESS_THREAD(stress_read, &ctx, repeat, 1000, Z_TIMEOUT_TICKS(4))); in ZTEST()
541 uint32_t repeat = 0; in ZTEST() local
549 ZTRESS_EXECUTE(ZTRESS_THREAD(stress_claim_free, &ctx, repeat, 0, Z_TIMEOUT_TICKS(4)), in ZTEST()
[all …]
/Zephyr-4.3.0/tests/drivers/uart/uart_mix_fifo_poll/src/
Dmain.c314 static void init_test_data(struct test_data *data, const uint8_t *buf, int repeat) in init_test_data() argument
319 data->max = repeat; in init_test_data()
324 int repeat = CONFIG_STRESS_TEST_REPS; in ZTEST() local
364 init_test_data(&test_data[i], txbuf[i], repeat); in ZTEST()
373 init_test_data(&int_async_data, txbuf3, repeat); in ZTEST()
401 zassert_equal(source[i].cnt, repeat, in ZTEST()
403 i, source[i].cnt, repeat); in ZTEST()
/Zephyr-4.3.0/tests/ztest/repeat/
DCMakeLists.txt5 project(repeat) project
/Zephyr-4.3.0/tests/subsys/logging/log_benchmark/src/
Dmain.c219 int repeat = 8; in ZTEST() local
221 for (int i = 0; i < repeat; i++) { in ZTEST()
230 cyc / repeat, us / repeat); in ZTEST()
/Zephyr-4.3.0/tests/subsys/ipc/pbuf/src/
Dmain.c265 uint32_t repeat = 0; in ZTEST() local
286 ZTRESS_EXECUTE(ZTRESS_TIMER(stress_read, &ctx, repeat, Z_TIMEOUT_TICKS(4)), in ZTEST()
287 ZTRESS_THREAD(stress_write, &ctx, repeat, 2000, Z_TIMEOUT_TICKS(4))); in ZTEST()
291 ZTRESS_EXECUTE(ZTRESS_TIMER(stress_write, &ctx, repeat, Z_TIMEOUT_TICKS(4)), in ZTEST()
292 ZTRESS_THREAD(stress_read, &ctx, repeat, 1000, Z_TIMEOUT_TICKS(4))); in ZTEST()
/Zephyr-4.3.0/drivers/adc/
Dadc_context.h245 bool repeat = false; in adc_context_on_sampling_done() local
257 repeat = true; in adc_context_on_sampling_done()
272 adc_context_update_buffer_pointer(ctx, repeat); in adc_context_on_sampling_done()
Dadc_nrfx_adc.c124 bool repeat) in adc_context_update_buffer_pointer() argument
128 if (!repeat) { in adc_context_update_buffer_pointer()
Dadc_mcux_gau_adc.c39 uint16_t *repeat; member
185 data->results = data->repeat; in adc_context_update_buffer_pointer()
271 data->repeat = sequence->buffer; in mcux_gau_adc_do_read()
Dadc_cc13xx_cc26xx.c124 bool repeat) in adc_context_update_buffer_pointer() argument
129 if (repeat) { in adc_context_update_buffer_pointer()
Dadc_cc32xx.c96 bool repeat) in adc_context_update_buffer_pointer() argument
101 if (repeat) { in adc_context_update_buffer_pointer()
Dadc_smartbond_gpadc.c165 bool repeat) in adc_context_update_buffer_pointer() argument
170 if (!repeat) { in adc_context_update_buffer_pointer()
Dadc_smartbond_sdadc.c171 bool repeat) in adc_context_update_buffer_pointer() argument
176 if (!repeat) { in adc_context_update_buffer_pointer()
Dadc_sam.c162 static void adc_context_update_buffer_pointer(struct adc_context *ctx, bool repeat) in adc_context_update_buffer_pointer() argument
166 if (repeat) { in adc_context_update_buffer_pointer()
/Zephyr-4.3.0/tests/kernel/mem_protect/mem_map/src/
Dmain.c292 int i, repeat; in ZTEST() local
302 for (repeat = 1; repeat <= 10; repeat++) { in ZTEST()
347 if (repeat == 10) { in ZTEST()
/Zephyr-4.3.0/subsys/fs/
Dshell.c635 uint32_t repeat; in cmd_read_test() local
650 repeat = strtol(argv[2], NULL, 0); in cmd_read_test()
652 if (repeat == 0 || repeat > 10) { in cmd_read_test()
673 while (loops < repeat) { in cmd_read_test()
727 uint32_t repeat; in cmd_erase_write_test() local
742 repeat = strtol(argv[3], NULL, 0); in cmd_erase_write_test()
749 if (repeat == 0 || repeat > 10) { in cmd_erase_write_test()
761 while (loops < repeat) { in cmd_erase_write_test()
/Zephyr-4.3.0/drivers/input/
Dinput_cap12xx.c51 bool repeat; member
288 if (config->repeat) { in cap12xx_init()
324 .repeat = DT_INST_PROP(index, repeat), \
/Zephyr-4.3.0/boards/phytec/reel_board/
Dreel_board_nrf52840_2.overlay73 * and RPn repeat count of a sequence.
79 * repeat count : 2
/Zephyr-4.3.0/samples/basic/fade_led/
DREADME.rst14 cycle. Each cycle takes 2.5 seconds, and the cycles repeat forever. The PWM
/Zephyr-4.3.0/samples/drivers/led/is31fl3733/
DREADME.rst18 API, and repeat the above tests
/Zephyr-4.3.0/doc/build/snippets/
Ddesign.rst34 - **DRY** (don't repeat yourself): snippets allow you to skip unnecessary
/Zephyr-4.3.0/subsys/bluetooth/host/shell/
Dgatt.c486 uint16_t repeat; in cmd_write_without_rsp() local
519 repeat = 0U; in cmd_write_without_rsp()
523 repeat = strtoul(argv[4], NULL, 16); in cmd_write_without_rsp()
526 if (!repeat) { in cmd_write_without_rsp()
527 repeat = 1U; in cmd_write_without_rsp()
530 while (repeat--) { in cmd_write_without_rsp()
/Zephyr-4.3.0/subsys/testsuite/ztest/src/
Dztress.c219 uint8_t repeat = sys_rand8_get(); in microdelay() local
221 for (int i = 0; i < repeat; i++) { in microdelay()

12