Home
last modified time | relevance | path

Searched refs:k_sleep (Results 1 – 25 of 753) sorted by relevance

12345678910>>...31

/Zephyr-latest/tests/drivers/input/kbd_matrix/src/
Dmain.c141 k_sleep(K_MSEC(100))); in kbd_scan_wait_for_idle()
156 k_sleep(K_USEC(cfg->debounce_down_us / 2)); in ZTEST()
159 k_sleep(K_USEC(cfg->debounce_down_us)); in ZTEST()
163 k_sleep(K_USEC(cfg->debounce_up_us / 2)); in ZTEST()
166 k_sleep(K_USEC(cfg->debounce_up_us)); in ZTEST()
184 k_sleep(K_USEC(cfg->debounce_down_us / 2)); in ZTEST()
188 k_sleep(K_USEC(cfg->debounce_down_us)); in ZTEST()
203 k_sleep(K_USEC(cfg->debounce_down_us / 2)); in ZTEST()
208 k_sleep(K_USEC(cfg->debounce_down_us / 2)); in ZTEST()
212 k_sleep(K_USEC(cfg->debounce_down_us / 2)); in ZTEST()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/ll/advx/src/
Dmain.c198 k_sleep(K_MSEC(100)); in test_advx_main()
204 k_sleep(K_MSEC(100)); in test_advx_main()
250 k_sleep(K_MSEC(100)); in test_advx_main()
294 k_sleep(K_MSEC(100)); in test_advx_main()
331 k_sleep(K_MSEC(500)); in test_advx_main()
367 k_sleep(K_MSEC(100)); in test_advx_main()
373 k_sleep(K_MSEC(100)); in test_advx_main()
384 k_sleep(K_MSEC(1000)); in test_advx_main()
393 k_sleep(K_MSEC(400)); in test_advx_main()
402 k_sleep(K_MSEC(1000)); in test_advx_main()
[all …]
/Zephyr-latest/samples/drivers/led/pwm/src/
Dmain.c47 k_sleep(K_MSEC(1000)); in run_led_test()
56 k_sleep(K_MSEC(1000)); in run_led_test()
66 k_sleep(K_MSEC(CONFIG_FADE_DELAY)); in run_led_test()
68 k_sleep(K_MSEC(1000)); in run_led_test()
78 k_sleep(K_MSEC(CONFIG_FADE_DELAY)); in run_led_test()
80 k_sleep(K_MSEC(1000)); in run_led_test()
92 k_sleep(K_MSEC(5000)); in run_led_test()
108 k_sleep(K_MSEC(5000)); in run_led_test()
/Zephyr-latest/samples/drivers/led/pca9633/src/
Dmain.c50 k_sleep(DELAY_TIME); in main()
60 k_sleep(DELAY_TIME); in main()
70 k_sleep(DELAY_TIME); in main()
80 k_sleep(DELAY_TIME); in main()
91 k_sleep(DELAY_TIME); in main()
104 k_sleep(DELAY_TIME); in main()
/Zephyr-latest/samples/boards/bbc/microbit/display/src/
Dmain.c75 k_sleep(K_SECONDS(11)); in main()
84 k_sleep(K_MSEC(300)); in main()
91 k_sleep(K_SECONDS(2)); in main()
96 k_sleep(K_SECONDS((ARRAY_SIZE(scroll) + 2))); in main()
101 k_sleep(K_MSEC(150 * ARRAY_SIZE(animation) * 5)); in main()
/Zephyr-latest/tests/net/conn_mgr_conn/src/
Dmain.c131 k_sleep(SIMULATED_EVENT_WAIT_TIME); in conn_mgr_conn_before()
206 k_sleep(K_MSEC(1)); in ZTEST()
215 k_sleep(K_MSEC(1)); in ZTEST()
237 k_sleep(K_MSEC(1)); in ZTEST()
259 k_sleep(K_MSEC(1)); in ZTEST()
281 k_sleep(K_MSEC(1)); in ZTEST()
304 k_sleep(K_MSEC(1)); in ZTEST()
327 k_sleep(K_MSEC(1)); in ZTEST()
359 k_sleep(K_MSEC(1)); in ZTEST()
368 k_sleep(K_MSEC(1)); in ZTEST()
[all …]
/Zephyr-latest/samples/boards/st/power_mgmt/stm32wb_ble/src/
Dmain.c59 k_sleep(K_MSEC(500)); in bt_ready()
80 k_sleep(K_SECONDS(2)); in bt_ready()
90 k_sleep(K_SECONDS(1)); in bt_ready()
123 k_sleep(K_SECONDS(6)); in main()
131 k_sleep(K_SECONDS(2)); in main()
141 k_sleep(K_SECONDS(6)); in main()
/Zephyr-latest/tests/bsim/bluetooth/host/misc/disconnect/common/
Dutils.h23 (void)k_sleep(K_MSEC(1)); \
27 (void)k_sleep(K_MSEC(1)); \
31 (void)k_sleep(K_MSEC(1)); \
35 (void)k_sleep(K_MSEC(1)); \
39 (void)k_sleep(K_MSEC(1)); \
/Zephyr-latest/tests/bsim/babblekit/include/babblekit/
Dflags.h36 (void)k_sleep(K_MSEC(1)); \
42 (void)k_sleep(K_MSEC(1)); \
48 (void)k_sleep(K_MSEC(1)); \
54 (void)k_sleep(K_MSEC(1)); \
/Zephyr-latest/samples/drivers/led/lp5569/src/
Dmain.c50 k_sleep(DELAY_TIME_ON); in main()
62 k_sleep(DELAY_TIME_BREATHING); in main()
65 k_sleep(DELAY_TIME_ON); in main()
74 k_sleep(DELAY_TIME_ON); in main()
83 k_sleep(DELAY_TIME_ON); in main()
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/settings/src/
Dserver.c43 k_sleep(K_SECONDS(2)); in server_round_1()
56 k_sleep(K_MSEC(100)); in server_round_1()
73 k_sleep(K_MSEC(CONFIG_BT_SETTINGS_DELAYED_STORE_MS)); in server_round_2()
92 k_sleep(K_MSEC(100)); in server_round_3()
114 k_sleep(K_MSEC(100)); in server_round_5()
/Zephyr-latest/tests/bsim/bluetooth/host/misc/hfc/src/
Dutils.h23 (void)k_sleep(K_MSEC(1)); \
27 (void)k_sleep(K_MSEC(1)); \
31 (void)k_sleep(K_MSEC(1)); \
35 (void)k_sleep(K_MSEC(1)); \
/Zephyr-latest/tests/drivers/input/gpio_kbd_matrix/src/
Dmain.c242 k_sleep(K_SECONDS(1)); in ZTEST()
254 k_sleep(K_USEC(cfg->debounce_down_us * 1.5)); in ZTEST()
258 k_sleep(K_USEC(cfg->debounce_down_us * 1.5)); in ZTEST()
262 k_sleep(K_USEC(cfg->debounce_up_us * 1.5)); in ZTEST()
266 k_sleep(K_USEC(cfg->debounce_up_us * 1.5)); in ZTEST()
269 k_sleep(K_MSEC(cfg->poll_timeout_ms * 1.5)); in ZTEST()
273 k_sleep(K_MSEC(cfg->poll_timeout_ms * 10)); in ZTEST()
300 k_sleep(K_SECONDS(1)); in ZTEST()
312 k_sleep(K_USEC(cfg->debounce_down_us * 1.5)); in ZTEST()
316 k_sleep(K_USEC(cfg->debounce_down_us * 1.5)); in ZTEST()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/att/sequential/common/
Dutils.h23 (void)k_sleep(K_MSEC(1)); \
27 (void)k_sleep(K_MSEC(1)); \
31 (void)k_sleep(K_MSEC(1)); \
35 (void)k_sleep(K_MSEC(1)); \
/Zephyr-latest/samples/boards/nordic/nrf_led_matrix/src/
Dmain.c49 k_sleep(K_MSEC(100)); in update_block_3x3()
78 k_sleep(K_MSEC(100)); in update_block_5x5()
107 k_sleep(K_MSEC(5)); in show_all_brightness_levels()
132 k_sleep(K_MSEC(100)); in update_through_framebuffer()
233 k_sleep(K_MSEC(500)); in main()
237 k_sleep(K_MSEC(500)); in main()
241 k_sleep(K_MSEC(200)); in main()
249 k_sleep(K_MSEC(500)); in main()
257 k_sleep(K_MSEC(500)); in main()
263 k_sleep(K_MSEC(500)); in main()
/Zephyr-latest/tests/bsim/bluetooth/host/att/pipeline/common/
Dutils.h23 (void)k_sleep(K_MSEC(1)); \
27 (void)k_sleep(K_MSEC(1)); \
31 (void)k_sleep(K_MSEC(1)); \
35 (void)k_sleep(K_MSEC(1)); \
/Zephyr-latest/tests/subsys/input/double_tap/src/
Dmain.c47 k_sleep(K_MSEC(50)); in ZTEST()
49 k_sleep(K_MSEC(50)); in ZTEST()
51 k_sleep(K_MSEC(50)); in ZTEST()
63 k_sleep(K_MSEC(50)); in ZTEST()
65 k_sleep(K_MSEC(50)); in ZTEST()
67 k_sleep(K_MSEC(50)); in ZTEST()
/Zephyr-latest/tests/bsim/bluetooth/host/att/eatt/src/
Dmain_autoconnect.c16 k_sleep(K_MSEC(10)); in test_peripheral_main()
20 k_sleep(K_MSEC(1000)); in test_peripheral_main()
32 k_sleep(K_MSEC(10)); in test_central_main()
Dcommon.c121 k_sleep(K_MSEC(100)); in central_setup_and_connect()
130 k_sleep(K_MSEC(100)); in central_setup_and_connect()
149 k_sleep(K_MSEC(100)); in peripheral_setup_and_connect()
154 k_sleep(K_MSEC(100)); in peripheral_setup_and_connect()
161 k_sleep(K_MSEC(100)); in wait_for_disconnect()
175 k_sleep(K_MSEC(100)); in disconnect()
219 k_sleep(K_MSEC(1)); in backchannel_sync_wait()
/Zephyr-latest/tests/boards/native_sim/cpu_wait/src/
Dmain.c92 k_sleep(Z_TIMEOUT_TICKS(1)); in thread_entry()
115 k_sleep(Z_TIMEOUT_TICKS(1)); /* Wait until tick boundary */ in ZTEST()
134 k_sleep(Z_TIMEOUT_TICKS(1)); /* Wait until tick boundary */ in ZTEST()
154 k_sleep(Z_TIMEOUT_TICKS(1)); /* Wait until tick boundary */ in ZTEST()
172 k_sleep(Z_TIMEOUT_TICKS(1)); /* Wait until tick boundary */ in ZTEST()
224 k_sleep(Z_TIMEOUT_TICKS(1)); /* Wait until a tick boundary */ in ZTEST()
242 k_sleep(Z_TIMEOUT_TICKS(1)); /* Wait until tick boundary */ in ZTEST()
259 k_sleep(Z_TIMEOUT_TICKS(1)); /* Wait until tick boundary */ in ZTEST()
275 k_sleep(Z_TIMEOUT_TICKS(1)); /* Wait until tick boundary */ in ZTEST()
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_replay_cache.c149 k_sleep(K_SECONDS(1)); in test_tx_immediate_replay_attack()
167 k_sleep(K_SECONDS(1)); in test_tx_immediate_replay_attack()
179 k_sleep(K_SECONDS(6 * TEST_DATA_WAITING_TIME)); in test_rx_immediate_replay_attack()
212 k_sleep(K_SECONDS(1)); in test_tx_power_replay_attack()
228 k_sleep(K_SECONDS(1)); in test_tx_power_replay_attack()
240 k_sleep(K_SECONDS(6 * TEST_DATA_WAITING_TIME)); in test_rx_power_replay_attack()
329 k_sleep(K_SECONDS(10)); in test_rx_rpl_frag()
336 k_sleep(K_SECONDS(1)); in test_rx_rpl_frag()
350 k_sleep(K_SECONDS(1)); in test_rx_rpl_frag()
362 k_sleep(K_SECONDS(1)); in test_rx_rpl_frag()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/adv/extended/src/
Dcommon.h26 (void)k_sleep(K_MSEC(1)); \
30 (void)k_sleep(K_MSEC(1)); \
34 (void)k_sleep(K_MSEC(1)); \
/Zephyr-latest/samples/drivers/led/xec/src/
Dmain.c64 k_sleep(K_SECONDS(1)); in led_test()
90 k_sleep(K_SECONDS(5)); in led_test()
102 k_sleep(K_SECONDS(15)); in led_test()
112 k_sleep(K_SECONDS(2)); in led_test()
122 k_sleep(K_SECONDS(2)); in led_test()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/split/common/
Dutils.h23 (void)k_sleep(K_MSEC(1)); \
27 (void)k_sleep(K_MSEC(1)); \
31 (void)k_sleep(K_MSEC(1)); \
/Zephyr-latest/samples/drivers/led/lp50xx/src/
Dmain.c111 k_sleep(SLEEP_DELAY); in run_led_test()
119 k_sleep(SLEEP_DELAY); in run_led_test()
127 k_sleep(SLEEP_DELAY); in run_led_test()
137 k_sleep(FADE_DELAY); in run_led_test()
139 k_sleep(SLEEP_DELAY); in run_led_test()
147 k_sleep(SLEEP_DELAY); in run_led_test()
203 k_sleep(SLEEP_DELAY); in run_channel_test()
219 k_sleep(SLEEP_DELAY); in run_channel_test()
234 k_sleep(SLEEP_DELAY); in run_channel_test()
251 k_sleep(FADE_DELAY); in run_channel_test()
[all …]

12345678910>>...31