/Zephyr-latest/tests/ztest/ztress/src/ |
D | main.c | 29 uint32_t repeat = 1000000; in ZTEST() local 39 ZTRESS_EXECUTE(ZTRESS_THREAD(ztress_handler_busy, NULL, repeat, 0, t), in ZTEST() 40 ZTRESS_THREAD(ztress_handler_busy, NULL, repeat, 1000, t)); in ZTEST() 47 ZTRESS_CONTEXT_INITIALIZER(ztress_handler_busy, NULL, repeat, 0, t); in ZTEST() 49 ZTRESS_CONTEXT_INITIALIZER(ztress_handler_busy, NULL, repeat, 1000, t), in ZTEST() 50 ZTRESS_CONTEXT_INITIALIZER(ztress_handler_busy, NULL, repeat, 1000, t) in ZTEST() 70 uint32_t repeat = 10000000; in ZTEST() local 75 ZTRESS_EXECUTE(ZTRESS_THREAD(ztress_handler_busy, NULL, repeat, 0, K_MSEC(1)), in ZTEST() 76 ZTRESS_THREAD(ztress_handler_busy, NULL, repeat, 0, K_MSEC(1))); in ZTEST() 78 zassert_true(ztress_exec_count(0) < repeat); in ZTEST() [all …]
|
/Zephyr-latest/drivers/flash/ |
D | flash_shell.c | 257 uint32_t repeat; in cmd_test() local 270 repeat = strtoul(argv[3], NULL, 16); in cmd_test() 277 if (repeat == 0) { in cmd_test() 278 repeat = 1; in cmd_test() 287 while (repeat--) { in cmd_test() 333 uint32_t *size, uint32_t *repeat) in read_write_erase_validate() argument 341 *repeat = strtoul(argv[3], NULL, 0); in read_write_erase_validate() 349 if (*repeat == 0 || *repeat > 10) { in read_write_erase_validate() 380 uint32_t repeat; in cmd_read_test() local 394 result = read_write_erase_validate(sh, argc, argv, &size, &repeat); in cmd_read_test() [all …]
|
/Zephyr-latest/tests/lib/mpsc_pbuf/src/ |
D | main.c | 120 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-latest/tests/lib/spsc_pbuf/src/ |
D | main.c | 68 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-latest/tests/drivers/uart/uart_mix_fifo_poll/src/ |
D | main.c | 311 static void init_test_data(struct test_data *data, const uint8_t *buf, int repeat) in init_test_data() argument 316 data->max = repeat; in init_test_data() 321 int repeat = CONFIG_STRESS_TEST_REPS; in ZTEST() local 327 init_test_data(&test_data[i], txbuf[i], repeat); in ZTEST() 336 init_test_data(&int_async_data, txbuf3, repeat); in ZTEST() 364 zassert_equal(source[i].cnt, repeat, in ZTEST() 366 i, source[i].cnt, repeat); in ZTEST()
|
/Zephyr-latest/drivers/input/ |
D | input_cap12xx.c | 33 bool repeat; member 192 if (config->repeat) { in cap12xx_init() 223 .repeat = DT_INST_PROP(index, repeat), \
|
/Zephyr-latest/tests/subsys/logging/log_benchmark/src/ |
D | main.c | 219 int repeat = 8; in ZTEST() local 221 for (int i = 0; i < repeat; i++) { in ZTEST() 230 cyc / repeat, us / repeat); in ZTEST()
|
/Zephyr-latest/tests/subsys/ipc/pbuf/src/ |
D | main.c | 263 uint32_t repeat = 0; in ZTEST() local 284 ZTRESS_EXECUTE(ZTRESS_TIMER(stress_read, &ctx, repeat, Z_TIMEOUT_TICKS(4)), in ZTEST() 285 ZTRESS_THREAD(stress_write, &ctx, repeat, 2000, Z_TIMEOUT_TICKS(4))); in ZTEST() 289 ZTRESS_EXECUTE(ZTRESS_TIMER(stress_write, &ctx, repeat, Z_TIMEOUT_TICKS(4)), in ZTEST() 290 ZTRESS_THREAD(stress_read, &ctx, repeat, 1000, Z_TIMEOUT_TICKS(4))); in ZTEST()
|
/Zephyr-latest/subsys/fs/ |
D | shell.c | 554 uint32_t repeat; in cmd_read_test() local 569 repeat = strtol(argv[2], NULL, 0); in cmd_read_test() 571 if (repeat == 0 || repeat > 10) { in cmd_read_test() 592 while (loops < repeat) { in cmd_read_test() 647 uint32_t repeat; in cmd_erase_write_test() local 662 repeat = strtol(argv[3], NULL, 0); in cmd_erase_write_test() 669 if (repeat == 0 || repeat > 10) { in cmd_erase_write_test() 681 while (loops < repeat) { in cmd_erase_write_test()
|
/Zephyr-latest/drivers/adc/ |
D | adc_context.h | 245 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()
|
D | adc_nrfx_adc.c | 124 bool repeat) in adc_context_update_buffer_pointer() argument 128 if (!repeat) { in adc_context_update_buffer_pointer()
|
D | adc_mcux_gau_adc.c | 39 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()
|
D | adc_cc13xx_cc26xx.c | 92 bool repeat) in adc_context_update_buffer_pointer() argument 97 if (repeat) { in adc_context_update_buffer_pointer()
|
D | adc_cc32xx.c | 96 bool repeat) in adc_context_update_buffer_pointer() argument 101 if (repeat) { in adc_context_update_buffer_pointer()
|
D | adc_smartbond_gpadc.c | 165 bool repeat) in adc_context_update_buffer_pointer() argument 170 if (!repeat) { in adc_context_update_buffer_pointer()
|
D | adc_smartbond_sdadc.c | 171 bool repeat) in adc_context_update_buffer_pointer() argument 176 if (!repeat) { in adc_context_update_buffer_pointer()
|
D | adc_sam.c | 172 static void adc_context_update_buffer_pointer(struct adc_context *ctx, bool repeat) in adc_context_update_buffer_pointer() argument 176 if (repeat) { in adc_context_update_buffer_pointer()
|
D | adc_nrfx_saadc.c | 330 bool repeat) in adc_context_update_buffer_pointer() argument 334 if (!repeat) { in adc_context_update_buffer_pointer()
|
/Zephyr-latest/tests/kernel/mem_protect/mem_map/src/ |
D | main.c | 292 int i, repeat; in ZTEST() local 302 for (repeat = 1; repeat <= 10; repeat++) { in ZTEST() 347 if (repeat == 10) { in ZTEST()
|
/Zephyr-latest/boards/phytec/reel_board/ |
D | reel_board_nrf52840_2.overlay | 73 * and RPn repeat count of a sequence. 79 * repeat count : 2
|
/Zephyr-latest/samples/basic/fade_led/ |
D | README.rst | 14 cycle. Each cycle takes 2.5 seconds, and the cycles repeat forever. The PWM
|
/Zephyr-latest/samples/drivers/led/is31fl3733/ |
D | README.rst | 18 API, and repeat the above tests
|
/Zephyr-latest/doc/build/snippets/ |
D | design.rst | 34 - **DRY** (don't repeat yourself): snippets allow you to skip unnecessary
|
/Zephyr-latest/subsys/bluetooth/host/shell/ |
D | gatt.c | 485 uint16_t repeat; in cmd_write_without_rsp() local 518 repeat = 0U; in cmd_write_without_rsp() 522 repeat = strtoul(argv[4], NULL, 16); in cmd_write_without_rsp() 525 if (!repeat) { in cmd_write_without_rsp() 526 repeat = 1U; in cmd_write_without_rsp() 529 while (repeat--) { in cmd_write_without_rsp()
|
/Zephyr-latest/subsys/testsuite/ztest/src/ |
D | ztress.c | 219 uint8_t repeat = sys_rand8_get(); in microdelay() local 221 for (int i = 0; i < repeat; i++) { in microdelay()
|