Home
last modified time | relevance | path

Searched refs:xSemaphoreTake (Results 1 – 25 of 42) sorted by relevance

12

/hal_espressif-latest/components/bt/common/osi/
Dsemaphore.c60 if (xSemaphoreTake(*sem, portMAX_DELAY) != pdTRUE) { in osi_sem_take()
64 if (xSemaphoreTake(*sem, timeout / portTICK_PERIOD_MS) != pdTRUE) { in osi_sem_take()
Dmutex.c49 if (xSemaphoreTake(*mutex, portMAX_DELAY) != pdTRUE) { in osi_mutex_lock()
53 if (xSemaphoreTake(*mutex, timeout / portTICK_PERIOD_MS) != pdTRUE) { in osi_mutex_lock()
/hal_espressif-latest/components/esp_coex/esp32s2/
Desp_coex_adapter.c95 return (int32_t)xSemaphoreTake(semphr, portMAX_DELAY); in esp_coex_common_semphr_take_wrapper()
97 return (int32_t)xSemaphoreTake(semphr, block_time_tick); in esp_coex_common_semphr_take_wrapper()
209 return (int32_t)xSemaphoreTake(((modem_static_queue_t *)semphr)->handle, portMAX_DELAY); in esp_coex_internal_semphr_take_wrapper()
211 return (int32_t)xSemaphoreTake(((modem_static_queue_t *)semphr)->handle, block_time_tick); in esp_coex_internal_semphr_take_wrapper()
/hal_espressif-latest/components/esp_coex/esp32/
Desp_coex_adapter.c93 return (int32_t)xSemaphoreTake(semphr, portMAX_DELAY); in esp_coex_common_semphr_take_wrapper()
95 return (int32_t)xSemaphoreTake(semphr, block_time_tick); in esp_coex_common_semphr_take_wrapper()
199 return (int32_t)xSemaphoreTake(((modem_static_queue_t *)semphr)->handle, portMAX_DELAY); in esp_coex_internal_semphr_take_wrapper()
201 return (int32_t)xSemaphoreTake(((modem_static_queue_t *)semphr)->handle, block_time_tick); in esp_coex_internal_semphr_take_wrapper()
/hal_espressif-latest/components/esp_coex/esp32s3/
Desp_coex_adapter.c96 return (int32_t)xSemaphoreTake(semphr, portMAX_DELAY); in esp_coex_common_semphr_take_wrapper()
98 return (int32_t)xSemaphoreTake(semphr, block_time_tick); in esp_coex_common_semphr_take_wrapper()
215 return (int32_t)xSemaphoreTake(((modem_static_queue_t *)semphr)->handle, portMAX_DELAY); in esp_coex_internal_semphr_take_wrapper()
217 return (int32_t)xSemaphoreTake(((modem_static_queue_t *)semphr)->handle, block_time_tick); in esp_coex_internal_semphr_take_wrapper()
/hal_espressif-latest/components/log/
Dlog_freertos.c37 xSemaphoreTake(s_log_mutex, portMAX_DELAY); in esp_log_impl_lock()
48 return xSemaphoreTake(s_log_mutex, MAX_MUTEX_WAIT_TICKS) == pdTRUE; in esp_log_impl_lock_timeout()
/hal_espressif-latest/components/bt/esp_ble_mesh/api/core/
Desp_ble_mesh_common_api.c57 xSemaphoreTake(semaphore, portMAX_DELAY); in esp_ble_mesh_init()
99 …__ASSERT(xSemaphoreTake(semaphore, 3000 / portTICK_PERIOD_MS) == pdTRUE, "BLE Mesh deinit take sem… in esp_ble_mesh_deinit()
/hal_espressif-latest/components/esp_system/
Desp_ipc.c146 xSemaphoreTake(s_ipc_mutex[cpu_id], portMAX_DELAY); in esp_ipc_call_and_wait()
149 xSemaphoreTake(s_ipc_mutex[0], portMAX_DELAY); in esp_ipc_call_and_wait()
157 xSemaphoreTake(s_ipc_ack[cpu_id], portMAX_DELAY); in esp_ipc_call_and_wait()
/hal_espressif-latest/components/driver/touch_sensor/esp32/
Dtouch_sensor.c336 xSemaphoreTake(rtc_touch_mux, portMAX_DELAY); in touch_pad_deinit()
389 xSemaphoreTake(rtc_touch_mux, portMAX_DELAY); in touch_pad_read()
428 xSemaphoreTake(rtc_touch_mux, portMAX_DELAY); in touch_pad_set_filter_period()
444 xSemaphoreTake(rtc_touch_mux, portMAX_DELAY); in touch_pad_get_filter_period()
461 xSemaphoreTake(rtc_touch_mux, portMAX_DELAY); in touch_pad_filter_start()
499 xSemaphoreTake(rtc_touch_mux, portMAX_DELAY); in touch_pad_filter_stop()
513 xSemaphoreTake(rtc_touch_mux, portMAX_DELAY); in touch_pad_filter_delete()
/hal_espressif-latest/components/esp_coex/esp32h2/
Desp_coex_adapter.c90 return (int32_t)xSemaphoreTake(semphr, portMAX_DELAY); in esp_coex_common_semphr_take_wrapper()
92 return (int32_t)xSemaphoreTake(semphr, block_time_tick); in esp_coex_common_semphr_take_wrapper()
/hal_espressif-latest/components/spi_flash/sim/stubs/freertos/include/freertos/
Dsemphr.h18 #define xSemaphoreTake( xSemaphore, xBlockTime ) pdTRUE macro
/hal_espressif-latest/components/bt/host/nimble/esp-hci/src/
Desp_nimble_hci.c86 if (xSemaphoreTake(vhci_send_sem, NIMBLE_VHCI_TIMEOUT_MS / portTICK_PERIOD_MS) == pdTRUE) { in ble_hci_trans_hs_cmd_tx()
123 if (xSemaphoreTake(vhci_send_sem, NIMBLE_VHCI_TIMEOUT_MS / portTICK_PERIOD_MS) == pdTRUE) { in ble_hci_trans_hs_acl_tx()
325 xSemaphoreTake(vhci_send_sem, portMAX_DELAY); in esp_nimble_hci_deinit()
/hal_espressif-latest/components/esp_coex/esp32c2/
Desp_coex_adapter.c90 return (int32_t)xSemaphoreTake(semphr, portMAX_DELAY); in esp_coex_common_semphr_take_wrapper()
92 return (int32_t)xSemaphoreTake(semphr, block_time_tick); in esp_coex_common_semphr_take_wrapper()
/hal_espressif-latest/components/esp_coex/esp32c3/
Desp_coex_adapter.c91 return (int32_t)xSemaphoreTake(semphr, portMAX_DELAY); in esp_coex_common_semphr_take_wrapper()
93 return (int32_t)xSemaphoreTake(semphr, block_time_tick); in esp_coex_common_semphr_take_wrapper()
/hal_espressif-latest/components/esp_coex/esp32c6/
Desp_coex_adapter.c90 return (int32_t)xSemaphoreTake(semphr, portMAX_DELAY); in esp_coex_common_semphr_take_wrapper()
92 return (int32_t)xSemaphoreTake(semphr, block_time_tick); in esp_coex_common_semphr_take_wrapper()
/hal_espressif-latest/components/esp_system/port/arch/xtensa/
Dexpression_with_stack.c53 xSemaphoreTake(lock, portMAX_DELAY); in esp_execute_shared_stack_function()
/hal_espressif-latest/components/esp_system/port/arch/riscv/
Dexpression_with_stack.c49 xSemaphoreTake(lock, portMAX_DELAY); in esp_execute_shared_stack_function()
/hal_espressif-latest/components/mbedtls/port/sha/parallel_engine/
Dsha.c142 BaseType_t result = xSemaphoreTake(engine_state, ticks_to_wait); in esp_sha_lock_engine_common()
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_common/
Dmesh_mutex.c61 xSemaphoreTake(mutex->mutex, portMAX_DELAY); in bt_mesh_mutex_lock()
/hal_espressif-latest/components/bt/host/bluedroid/btc/core/
Dbtc_main.c76 xSemaphoreTake(deinit_semaphore, BTA_DISABLE_DELAY / portTICK_PERIOD_MS); in btc_deinit_bluetooth()
/hal_espressif-latest/components/esp_netif/
Desp_netif_objects.c43 xSemaphoreTake(s_list_lock, portMAX_DELAY); in esp_netif_list_lock()
/hal_espressif-latest/components/bt/host/bluedroid/stack/l2cap/
Dl2c_api.c2354 xSemaphoreTake(buff_semaphore, portMAX_DELAY); in l2ble_update_att_acl_pkt_num()
2360 xSemaphoreTake(buff_semaphore, portMAX_DELAY); in l2ble_update_att_acl_pkt_num()
2366 xSemaphoreTake(buff_semaphore, portMAX_DELAY); in l2ble_update_att_acl_pkt_num()
2372 xSemaphoreTake(buff_semaphore, portMAX_DELAY); in l2ble_update_att_acl_pkt_num()
2378 xSemaphoreTake(buff_semaphore, portMAX_DELAY); in l2ble_update_att_acl_pkt_num()
2438 xSemaphoreTake(buff_semaphore, portMAX_DELAY); in l2ble_update_att_acl_pkt_num()
2447 xSemaphoreTake(buff_semaphore, portMAX_DELAY); in l2ble_update_att_acl_pkt_num()
/hal_espressif-latest/components/driver/deprecated/
Drmt_legacy.c934 xSemaphoreTake(p_rmt_obj[channel]->tx_sem, portMAX_DELAY); in rmt_driver_uninstall()
1104 xSemaphoreTake(p_rmt->tx_sem, portMAX_DELAY); in rmt_write_items()
1131 xSemaphoreTake(p_rmt->tx_sem, portMAX_DELAY); in rmt_write_items()
1136 xSemaphoreTake(p_rmt->tx_sem, portMAX_DELAY); in rmt_write_items()
1147 if (xSemaphoreTake(p_rmt_obj[channel]->tx_sem, wait_time) == pdTRUE) { in rmt_wait_tx_done()
1248 xSemaphoreTake(p_rmt->tx_sem, portMAX_DELAY); in rmt_write_sample()
1273 xSemaphoreTake(p_rmt->tx_sem, portMAX_DELAY); in rmt_write_sample()
1286 if (xSemaphoreTake(p_rmt_obj[i]->tx_sem, (TickType_t)0) == pdTRUE) { in rmt_get_channel_status()
/hal_espressif-latest/components/bt/porting/transport/driver/uart/
Dhci_driver_uart.c79 xSemaphoreTake(s_hci_driver_uart_env.tx_sem, portMAX_DELAY); in hci_driver_uart_tx_task()
/hal_espressif-latest/components/driver/uart/
Duart.c1083 res = xSemaphoreTake(p_uart_obj[uart_num]->tx_mux, (TickType_t)ticks_to_wait); in uart_wait_tx_done()
1104 xSemaphoreTake(p_uart_obj[uart_num]->tx_done_sem, 0); in uart_wait_tx_done()
1125 res = xSemaphoreTake(p_uart_obj[uart_num]->tx_done_sem, (TickType_t)ticks_to_wait); in uart_wait_tx_done()
1144 xSemaphoreTake(p_uart_obj[uart_num]->tx_mux, (TickType_t)portMAX_DELAY); in uart_tx_chars()
1158 xSemaphoreTake(p_uart_obj[uart_num]->tx_mux, (TickType_t)portMAX_DELAY); in uart_tx_all()
1182 … if (pdTRUE == xSemaphoreTake(p_uart_obj[uart_num]->tx_fifo_sem, (TickType_t)portMAX_DELAY)) { in uart_tx_all()
1198 xSemaphoreTake(p_uart_obj[uart_num]->tx_brk_sem, (TickType_t)portMAX_DELAY); in uart_tx_all()
1251 if (xSemaphoreTake(p_uart_obj[uart_num]->rx_mux, (TickType_t)ticks_to_wait) != pdTRUE) { in uart_read_bytes()
1331 xSemaphoreTake(p_uart->rx_mux, (TickType_t)portMAX_DELAY); in uart_flush_input()

12