Home
last modified time | relevance | path

Searched refs:duration (Results 1 – 25 of 171) sorted by relevance

1234567

/Zephyr-latest/drivers/display/
Dmb_display.c51 int32_t duration; /* Duration for each shown image */ member
106 LOG_DBG("Image duration %d", disp->duration); in update_content()
107 if (disp->duration != SYS_FOREVER_MS) { in update_content()
108 k_work_reschedule(&disp->dwork, K_MSEC(disp->duration)); in update_content()
260 static int start_scroll(struct mb_display *disp, int32_t duration) in start_scroll() argument
263 if (duration) { in start_scroll()
264 disp->duration = duration / scroll_steps(disp); in start_scroll()
266 disp->duration = SCROLL_DEFAULT_DURATION_MS; in start_scroll()
275 static int start_single(struct mb_display *disp, int32_t duration) in start_single() argument
277 disp->duration = duration; in start_single()
[all …]
/Zephyr-latest/subsys/bluetooth/mesh/
Dadv_legacy.c53 uint16_t duration; in bt_data_send() local
72 duration = adv_int + num_events * (adv_int + 10); in bt_data_send()
82 duration += BT_MESH_SCAN_WINDOW_MS; in bt_data_send()
86 num_events, adv_int, duration); in bt_data_send()
105 LOG_DBG("Advertising started. Sleeping %u ms", duration); in bt_data_send()
108 bt_mesh_adv_send_start(duration, err, ctx); in bt_data_send()
112 k_sleep(K_MSEC(duration)); in bt_data_send()
273 int bt_mesh_adv_gatt_start(const struct bt_le_adv_param *param, int32_t duration, in bt_mesh_adv_gatt_start() argument
277 adv_timeout = duration; in bt_mesh_adv_gatt_start()
Dproxy_srv.c493 uint8_t hash[16], int32_t duration) in enc_id_adv() argument
535 duration, enc_id_ad, ARRAY_SIZE(enc_id_ad), in enc_id_adv()
546 static int node_id_adv(struct bt_mesh_subnet *sub, int32_t duration) in node_id_adv() argument
563 return enc_id_adv(sub, BT_MESH_ID_TYPE_NODE, tmp, duration); in node_id_adv()
566 static int priv_node_id_adv(struct bt_mesh_subnet *sub, int32_t duration) in priv_node_id_adv() argument
584 return enc_id_adv(sub, BT_MESH_ID_TYPE_PRIV_NODE, tmp, duration); in priv_node_id_adv()
587 static int priv_net_id_adv(struct bt_mesh_subnet *sub, int32_t duration) in priv_net_id_adv() argument
603 return enc_id_adv(sub, BT_MESH_ID_TYPE_PRIV_NET, tmp, duration); in priv_net_id_adv()
606 static int net_id_adv(struct bt_mesh_subnet *sub, int32_t duration) in net_id_adv() argument
628 err = bt_mesh_adv_gatt_start(&slow_adv_param, duration, net_id_ad, in net_id_adv()
[all …]
Dadv_ext.c226 uint16_t duration, adv_int; in adv_send() local
232 duration = num_events * (adv_int + 10); in adv_send()
237 num_events, adv_int, duration); in adv_send()
248 bt_mesh_adv_send_start(duration, err, &adv->ctx); in adv_send()
567 int32_t duration, in bt_mesh_adv_gatt_start() argument
574 .timeout = (duration == SYS_FOREVER_MS) ? 0 : MAX(1, duration / 10), in bt_mesh_adv_gatt_start()
577 LOG_DBG("Start advertising %d ms", duration); in bt_mesh_adv_gatt_start()
Dadv.h115 int bt_mesh_adv_gatt_start(const struct bt_le_adv_param *param, int32_t duration,
119 void bt_mesh_adv_send_start(uint16_t duration, int err, struct bt_mesh_adv_ctx *ctx);
/Zephyr-latest/drivers/serial/
DKconfig.nxp_s3218 int "The maximum duration to transfer a byte data in blocking mode"
21 Maximum duration in micro-seconds to transfer a byte data in blocking mode.
24 int "The maximum duration to receive a byte data in blocking mode"
27 Maximum duration in micro-seconds to receive a byte data in blocking mode.
/Zephyr-latest/kernel/
Dtimer.c139 void z_impl_k_timer_start(struct k_timer *timer, k_timeout_t duration, in z_impl_k_timer_start() argument
142 SYS_PORT_TRACING_OBJ_FUNC(k_timer, start, timer, duration, period); in z_impl_k_timer_start()
151 if (K_TIMEOUT_EQ(duration, K_FOREVER)) { in z_impl_k_timer_start()
169 if (Z_TICK_ABS(duration.ticks) < 0) { in z_impl_k_timer_start()
170 duration.ticks = MAX(duration.ticks - 1, 0); in z_impl_k_timer_start()
178 duration); in z_impl_k_timer_start()
185 k_timeout_t duration, in z_vrfy_k_timer_start() argument
189 z_impl_k_timer_start(timer, duration, period); in z_vrfy_k_timer_start()
/Zephyr-latest/samples/subsys/zbus/benchmark/
Dbenchmark_256KB.robot56 ${duration} Evaluate ${total}/3.0
57 RETURN ${duration}
66 ${duration} Measure Results
67 RETURN ${duration}
79 ${duration} Benchmark
92 ... ${duration}
/Zephyr-latest/tests/lib/c_lib/thrd/src/
Dthrd.c22 struct timespec duration = {0}; in ZTEST() local
27 zassert_ok(thrd_sleep(&duration, NULL)); in ZTEST()
28 zassert_ok(thrd_sleep(&duration, &duration)); in ZTEST()
31 duration = (struct timespec){.tv_nsec = delay_ms[i] * NSEC_PER_MSEC}; in ZTEST()
36 zassert_ok(thrd_sleep(&duration, &remaining)); in ZTEST()
/Zephyr-latest/tests/boards/espressif/cache_coex/
DREADME.rst49 SUITE PASS - 100.00% [cache_coex]: pass = 3, fail = 0, skip = 0, total = 3 duration = 0.003 seconds
50 - PASS - [cache_coex.test_flash_integrity] duration = 0.001 seconds
51 - PASS - [cache_coex.test_ram_integrity] duration = 0.001 seconds
52 - PASS - [cache_coex.test_using_spiram] duration = 0.001 seconds
/Zephyr-latest/include/zephyr/display/
Dmb_display.h132 void mb_display_image(struct mb_display *disp, uint32_t mode, int32_t duration,
153 uint32_t mode, int32_t duration,
/Zephyr-latest/tests/boards/espressif/rtc_clk/
DREADME.rst79 SUITE PASS - 100.00% [rtc_clk]: pass = 4, fail = 0, skip = 0, total = 4 duration = 17.668 seconds
80 - PASS - [rtc_clk.test_cpu_pll_src] duration = 0.020 seconds
81 - PASS - [rtc_clk.test_cpu_xtal_src] duration = 17.645 seconds
82 - PASS - [rtc_clk.test_rtc_fast_src] duration = 0.001 seconds
83 - PASS - [rtc_clk.test_rtc_slow_src] duration = 0.002 seconds
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_scanner.c72 uint16_t duration, adv_int; in test_tx_send_ad_type_msg() local
77 duration = ADV_DURATION; in test_tx_send_ad_type_msg()
97 LOG_DBG("Advertising started. Sleeping %u ms", duration); in test_tx_send_ad_type_msg()
99 k_sleep(K_MSEC(duration)); in test_tx_send_ad_type_msg()
/Zephyr-latest/tests/boards/espressif/ethernet/
DKconfig12 Timeout duration for receiving IPv4 address from DHCP.
19 Timeout duration for pinging the network gateway.
/Zephyr-latest/lib/libc/common/source/thrd/
Dthrd.c45 int thrd_sleep(const struct timespec *duration, struct timespec *remaining) in thrd_sleep() argument
47 return nanosleep(duration, remaining); in thrd_sleep()
/Zephyr-latest/lib/posix/options/
Dtimer.c242 uint32_t duration, current; in timer_settime() local
274 duration = _ts_to_ms(&(value->it_value)); in timer_settime()
278 if (current >= duration) { in timer_settime()
279 duration = 0U; in timer_settime()
281 duration -= current; in timer_settime()
290 k_timer_start(&timer->ztimer, K_MSEC(duration), K_MSEC(timer->reload)); in timer_settime()
/Zephyr-latest/tests/boards/espressif/wifi/
DKconfig59 Timeout duration for Wi-Fi scanning.
66 Timeout duration for connecting to Wi-Fi network.
73 Timeout duration for disconnecting from Wi-Fi network.
80 Timeout duration for pinging the network gateway.
/Zephyr-latest/samples/bluetooth/mesh_demo/src/
Dmicrobit.c107 uint32_t period, duration = 0U; in board_play_tune() local
114 duration *= 10U; in board_play_tune()
115 duration += *str - '0'; in board_play_tune()
136 k_sleep(K_MSEC(duration)); in board_play_tune()
/Zephyr-latest/tests/arch/arm/arm_custom_interrupt/
DREADME.txt28 SUITE PASS - 100.00% [arm_custom_interrupt]: pass = 1, fail = 0, skip = 0, total = 1 duration = 0.0…
29 - PASS - [arm_custom_interrupt.test_arm_interrupt] duration = 0.001 seconds
/Zephyr-latest/include/zephyr/drivers/
Dlora.h181 int8_t tx_power, uint16_t duration);
315 int8_t tx_power, uint16_t duration) in lora_test_cw() argument
324 return api->test_cw(dev, frequency, tx_power, duration); in lora_test_cw()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_scan_internal.h21 #define ULL_SCAN_DURATION_TO_EVENTS(duration, interval) \ argument
22 (((uint32_t)(duration) * EXT_SCAN_DURATION_UNIT_US / \
Dull_scan.c64 static uint8_t is_scan_update(uint8_t handle, uint16_t duration,
68 uint16_t duration, uint16_t period,
143 uint8_t ll_scan_enable(uint8_t enable, uint16_t duration, uint16_t period) argument
177 is_update_1m = is_scan_update(SCAN_HANDLE_1M, duration, period,
190 duration, period, &scan_coded,
214 err = duration_period_setup(scan, duration, period,
223 err = duration_period_setup(scan_coded, duration, period,
997 static uint8_t is_scan_update(uint8_t handle, uint16_t duration, argument
1003 return duration && period && (*scan)->lll.duration_reload &&
1008 uint16_t duration, uint16_t period, argument
[all …]
/Zephyr-latest/subsys/net/lib/mqtt_sn/
Dmqtt_sn_msg.h67 uint16_t duration; member
82 uint16_t duration; member
176 uint16_t duration; member
/Zephyr-latest/subsys/bluetooth/controller/flash/
Dsoc_flash_nrf_ticker.c184 void nrf_flash_sync_set_context(uint32_t duration) in nrf_flash_sync_set_context() argument
189 _ticker_sync_context.interval = duration - FLASH_SYNC_SWITCHING_TIME; in nrf_flash_sync_set_context()
190 _ticker_sync_context.slot = duration; in nrf_flash_sync_set_context()
/Zephyr-latest/samples/boards/phytec/reel_board/mesh_badge/src/
Dboard.h17 void board_show_text(const char *text, bool center, k_timeout_t duration);

1234567