Home
last modified time | relevance | path

Searched refs:K_MSEC (Results 1 – 16 of 16) sorted by relevance

/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_common/include/
Dmesh_timer.h84 #define K_MSEC(ms) (ms) macro
96 #define K_SECONDS(s) K_MSEC((s) * MSEC_PER_SEC)
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/
Dtransport.c57 #define SEG_RETRANSMIT_TIMEOUT_UNICAST(tx) (K_MSEC(400) + 50 * (tx)->ttl)
62 #define SEG_RETRANSMIT_TIMEOUT_GROUP K_MSEC(50)
1131 to = K_MSEC(150 + (ttl * 50U)); in ack_timeout()
1134 to += K_MSEC(((rx->seg_n + 1) - popcount(rx->block)) * 100U); in ack_timeout()
1139 return MAX(to, K_MSEC(400)); in ack_timeout()
1363 timeout += K_MSEC(ttl * popcount(rx->block) * 100U); in incomplete_timeout()
Dlpn.c37 #define FRIEND_REQ_WAIT K_MSEC(100)
41 #define POLL_RETRY_TIMEOUT K_MSEC(100)
Dprov.c169 #define BUF_TIMEOUT K_MSEC(400)
172 #define RETRANSMIT_TIMEOUT K_MSEC(360)
176 #define RETRANSMIT_TIMEOUT K_MSEC(500)
Daccess.c70 period = K_MSEC((mod->pub->period & BIT_MASK(6)) * 100U); in bt_mesh_model_pub_period_get()
118 return K_MSEC(1); in next_period()
Dfriend.c970 return K_MSEC(100); in offer_delay()
973 return K_MSEC(delay); in offer_delay()
Dadv.c221 k_sleep(K_MSEC(duration)); in adv_send()
Dprovisioner_prov.c299 #define BUF_TIMEOUT K_MSEC(400)
302 #define RETRANSMIT_TIMEOUT K_MSEC(360)
306 #define RETRANSMIT_TIMEOUT K_MSEC(500)
/hal_espressif-latest/zephyr/esp32/src/bt/
Desp_bt_adapter.c503 ret = k_sem_take((struct k_sem *)semphr, K_MSEC(block_time_ms)); in semphr_take_wrapper()
592 res = k_msgq_put(queue, item, K_MSEC(block_time_ms)); in queue_send_wrapper()
623 ret = k_msgq_get(queue, item, K_MSEC(block_time_ms)); in queue_recv_wrapper()
/hal_espressif-latest/zephyr/esp32c3/src/bt/
Desp_bt_adapter.c556 ret = k_sem_take((struct k_sem *)semphr, K_MSEC(block_time_ms)); in semphr_take_wrapper()
645 res = k_msgq_put(queue, item, K_MSEC(block_time_ms)); in queue_send_wrapper()
676 ret = k_msgq_get(queue, item, K_MSEC(block_time_ms)); in queue_recv_wrapper()
/hal_espressif-latest/zephyr/esp32s3/src/bt/
Desp_bt_adapter.c549 ret = k_sem_take((struct k_sem *)semphr, K_MSEC(block_time_ms)); in semphr_take_wrapper()
638 res = k_msgq_put(queue, item, K_MSEC(block_time_ms)); in queue_send_wrapper()
669 ret = k_msgq_get(queue, item, K_MSEC(block_time_ms)); in queue_recv_wrapper()
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_models/client/
Dclient_common.c17 #define HCI_TIME_FOR_START_ADV K_MSEC(5) /* Three adv related hci commands may take 4 ~ 5ms */
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_models/server/
Dstate_transition.c109 k_delayed_work_submit_periodic(&transition->timer, K_MSEC(transition->quo_tt)); in transition_timer_start()
1031 k_delayed_work_submit(&transition->timer, K_MSEC(5 * transition->delay)); in bt_mesh_server_start_transition()
/hal_espressif-latest/zephyr/esp32c2/src/wifi/
Desp_wifi_adapter.c280 k_msgq_get((struct k_msgq *)queue, item, K_MSEC(block_time_tick)); in queue_recv_wrapper()
/hal_espressif-latest/zephyr/esp32c3/src/wifi/
Desp_wifi_adapter.c280 k_msgq_get((struct k_msgq *)queue, item, K_MSEC(block_time_tick)); in queue_recv_wrapper()
/hal_espressif-latest/zephyr/esp32c6/src/wifi/
Desp_wifi_adapter.c284 k_msgq_get((struct k_msgq *)queue, item, K_MSEC(block_time_tick)); in queue_recv_wrapper()