/hal_espressif-3.6.0/examples/peripherals/twai/twai_network/twai_network_slave/main/ |
D | twai_network_example_slave_main.c | 151 if (xSemaphoreTake(stop_data_sem, 0) == pdTRUE) { in twai_transmit_task() 169 xSemaphoreTake(ctrl_task_sem, portMAX_DELAY); in twai_control_task() 180 xSemaphoreTake(ctrl_task_sem, portMAX_DELAY); in twai_control_task() 185 xSemaphoreTake(ctrl_task_sem, portMAX_DELAY); in twai_control_task() 190 xSemaphoreTake(ctrl_task_sem, portMAX_DELAY); in twai_control_task() 197 xSemaphoreTake(ctrl_task_sem, portMAX_DELAY); in twai_control_task() 202 xSemaphoreTake(ctrl_task_sem, portMAX_DELAY); in twai_control_task() 252 xSemaphoreTake(done_sem, portMAX_DELAY); //Wait for tasks to complete in app_main()
|
/hal_espressif-3.6.0/components/vfs/test/ |
D | test_vfs_fd.c | 200 TEST_ASSERT_EQUAL(xSemaphoreTake(param1.done, CONCURRENT_TEST_MAX_WAIT), pdTRUE); 201 TEST_ASSERT_EQUAL(xSemaphoreTake(param2.done, CONCURRENT_TEST_MAX_WAIT), pdTRUE); 202 TEST_ASSERT_EQUAL(xSemaphoreTake(param3.done, CONCURRENT_TEST_MAX_WAIT), pdTRUE); 203 TEST_ASSERT_EQUAL(xSemaphoreTake(param4.done, CONCURRENT_TEST_MAX_WAIT), pdTRUE); 204 TEST_ASSERT_EQUAL(xSemaphoreTake(param5.done, CONCURRENT_TEST_MAX_WAIT), pdTRUE); 205 TEST_ASSERT_EQUAL(xSemaphoreTake(param6.done, CONCURRENT_TEST_MAX_WAIT), pdTRUE); 206 TEST_ASSERT_EQUAL(xSemaphoreTake(param7.done, CONCURRENT_TEST_MAX_WAIT), pdTRUE); 207 TEST_ASSERT_EQUAL(xSemaphoreTake(param8.done, CONCURRENT_TEST_MAX_WAIT), pdTRUE);
|
D | test_vfs_select.c | 186 TEST_ASSERT_EQUAL(xSemaphoreTake(test_task_param.sem, 1000 / portTICK_PERIOD_MS), pdTRUE); 203 TEST_ASSERT_EQUAL(xSemaphoreTake(test_task_param.sem, 1000 / portTICK_PERIOD_MS), pdTRUE); 246 TEST_ASSERT_EQUAL(xSemaphoreTake(test_task_param.sem, 1000 / portTICK_PERIOD_MS), pdTRUE); 264 TEST_ASSERT_EQUAL(xSemaphoreTake(test_task_param.sem, 1000 / portTICK_PERIOD_MS), pdTRUE); 307 TEST_ASSERT_EQUAL(xSemaphoreTake(test_task_param.sem, 1000 / portTICK_PERIOD_MS), pdTRUE); 359 TEST_ASSERT_EQUAL(xSemaphoreTake(test_task_param.sem, 1000 / portTICK_PERIOD_MS), pdTRUE); 494 TEST_ASSERT_EQUAL(pdTRUE, xSemaphoreTake(param.sem, 1000 / portTICK_PERIOD_MS)); 544 TEST_ASSERT_EQUAL(pdTRUE, xSemaphoreTake(param.sem, 1000 / portTICK_PERIOD_MS)); 547 TEST_ASSERT_EQUAL(pdTRUE, xSemaphoreTake(send_param.sem, 1000 / portTICK_PERIOD_MS)); 596 TEST_ASSERT_EQUAL(pdTRUE, xSemaphoreTake(param.sem, 1500 / portTICK_PERIOD_MS)); [all …]
|
/hal_espressif-3.6.0/examples/peripherals/twai/twai_self_test/main/ |
D | twai_self_test_example_main.c | 62 xSemaphoreTake(tx_sem, portMAX_DELAY); in twai_transmit_task() 78 xSemaphoreTake(rx_sem, portMAX_DELAY); in twai_receive_task() 92 xSemaphoreTake(ctrl_sem, portMAX_DELAY); in twai_control_task() 101 xSemaphoreTake(ctrl_sem, portMAX_DELAY); //Wait for TX and RX tasks to finish iteration in twai_control_task() 130 xSemaphoreTake(done_sem, portMAX_DELAY); in app_main()
|
/hal_espressif-3.6.0/components/cxx/ |
D | cxx_guards.cpp | 83 result = xSemaphoreTake(s_static_init_wait_sem, portMAX_DELAY); in wait_for_guard_obj() 89 result = xSemaphoreTake(s_static_init_mutex, portMAX_DELAY); in wait_for_guard_obj() 134 auto result = xSemaphoreTake(s_static_init_mutex, portMAX_DELAY); in __cxa_guard_acquire() 175 auto result = xSemaphoreTake(s_static_init_mutex, portMAX_DELAY); in __cxa_guard_release() 197 auto result = xSemaphoreTake(s_static_init_mutex, portMAX_DELAY); in __cxa_guard_abort()
|
/hal_espressif-3.6.0/examples/peripherals/twai/twai_network/twai_network_master/main/ |
D | twai_network_example_master_main.c | 143 while (xSemaphoreTake(stop_ping_sem, 0) != pdTRUE) { in twai_transmit_task() 164 xSemaphoreTake(ctrl_task_sem, portMAX_DELAY); in twai_control_task() 179 xSemaphoreTake(ctrl_task_sem, portMAX_DELAY); in twai_control_task() 186 xSemaphoreTake(ctrl_task_sem, portMAX_DELAY); in twai_control_task() 192 xSemaphoreTake(ctrl_task_sem, portMAX_DELAY); in twai_control_task() 225 xSemaphoreTake(done_sem, portMAX_DELAY); //Wait for completion in app_main()
|
/hal_espressif-3.6.0/components/esp_system/test/ |
D | test_delay.c | 51 TEST_ASSERT(xSemaphoreTake(args.done, delay_ms * 2 / portTICK_PERIOD_MS)); 56 TEST_ASSERT(xSemaphoreTake(args.done, delay_ms * 2 / portTICK_PERIOD_MS)); 74 TEST_ASSERT(xSemaphoreTake(args.done, delay_ms * 2 / portTICK_PERIOD_MS)); 79 TEST_ASSERT(xSemaphoreTake(args.done, delay_ms * 2 / portTICK_PERIOD_MS));
|
/hal_espressif-3.6.0/components/freertos/test/ |
D | test_freertos_task_notify.c | 48 xSemaphoreTake(trigger_send_semphr, portMAX_DELAY); in sender_task() 53 xSemaphoreTake(trigger_send_semphr, portMAX_DELAY); in sender_task() 58 xSemaphoreTake(trigger_send_semphr, portMAX_DELAY); in sender_task() 63 xSemaphoreTake(trigger_send_semphr, portMAX_DELAY); in sender_task() 192 TEST_ASSERT( xSemaphoreTake(task_delete_semphr, 1000 / portTICK_PERIOD_MS) );
|
D | test_freertos_debug_functions.c | 38 xSemaphoreTake(start_sem[core], portMAX_DELAY); //Wait for start vQueueAddToRegistry() in test_queue_registry_task() 46 xSemaphoreTake(start_sem[core], portMAX_DELAY); //Wait to start vQueueUnregisterQueue() in test_queue_registry_task() 70 xSemaphoreTake(done_sem, portMAX_DELAY); //Wait for tasks to complete vQueueAddToRegistry 83 … xSemaphoreTake(done_sem, portMAX_DELAY); //Wait for tasks to complete vQueueUnregisterQueue
|
D | test_freertos_task_utilities.c | 63 TEST_ASSERT_EQUAL(pdFALSE, xSemaphoreTake(test_objs->sem, portMAX_DELAY)); in test_task_abort_delay() 65 TEST_ASSERT_EQUAL(pdFALSE, xSemaphoreTake(test_objs->mux, portMAX_DELAY)); in test_task_abort_delay() 89 TEST_ASSERT_EQUAL(pdTRUE, xSemaphoreTake(test_objs.mux, 0));
|
D | test_isr_latency.c | 66 xSemaphoreTake(sync, portMAX_DELAY); in test_task() 89 BaseType_t result = xSemaphoreTake(end_sema, portMAX_DELAY); 108 BaseType_t result = xSemaphoreTake(end_sema, portMAX_DELAY);
|
/hal_espressif-3.6.0/components/esp_ipc/test/ |
D | test_ipc.c | 68 xSemaphoreTake(sema_ipc_done, 4000 / portTICK_PERIOD_MS); 71 xSemaphoreTake(sema_ipc_done, portMAX_DELAY); 90 xSemaphoreTake(*(xSemaphoreHandle *)sema, portMAX_DELAY); in task() 121 xSemaphoreTake(sema_ipc_done[task_num * 2 + cpu_num], portMAX_DELAY);
|
/hal_espressif-3.6.0/components/touch_element/ |
D | touch_button.c | 60 xSemaphoreTake(s_te_btn_obj->mutex, portMAX_DELAY); in touch_button_install() 85 xSemaphoreTake(s_te_btn_obj->mutex, portMAX_DELAY); in touch_button_uninstall() 165 xSemaphoreTake(s_te_btn_obj->mutex, portMAX_DELAY); in touch_button_set_dispatch_method() 185 xSemaphoreTake(s_te_btn_obj->mutex, portMAX_DELAY); in touch_button_subscribe_event() 199 xSemaphoreTake(s_te_btn_obj->mutex, portMAX_DELAY); in touch_button_set_callback() 213 xSemaphoreTake(s_te_btn_obj->mutex, portMAX_DELAY); in touch_button_set_longpress() 281 xSemaphoreTake(s_te_btn_obj->mutex, portMAX_DELAY); in button_object_add_instance() 293 xSemaphoreTake(s_te_btn_obj->mutex, portMAX_DELAY); in button_object_remove_instance() 370 BaseType_t mux_ret = xSemaphoreTake(s_te_btn_obj->mutex, 0); in button_proc_state()
|
D | touch_element.c | 156 xSemaphoreTake(s_te_obj->mutex, portMAX_DELAY); in touch_element_install() 185 xSemaphoreTake(s_te_obj->mutex, portMAX_DELAY); in touch_element_start() 223 xSemaphoreTake(s_te_obj->mutex, portMAX_DELAY); in touch_element_stop() 244 xSemaphoreTake(s_te_obj->mutex, portMAX_DELAY); in touch_element_uninstall() 387 BaseType_t ret = xSemaphoreTake(s_te_obj->mutex, 0); in te_proc_timer_cb() 424 xSemaphoreTake(s_te_obj->mutex, portMAX_DELAY); in te_object_method_register() 435 xSemaphoreTake(s_te_obj->mutex, portMAX_DELAY); in te_object_method_unregister() 732 xSemaphoreTake(s_te_obj->mutex, portMAX_DELAY); in touch_element_waterproof_add() 749 xSemaphoreTake(s_te_obj->mutex, portMAX_DELAY); in touch_element_waterproof_remove() 763 xSemaphoreTake(s_te_obj->mutex, portMAX_DELAY); in touch_element_waterproof_uninstall()
|
D | touch_matrix.c | 64 xSemaphoreTake(s_te_mat_obj->mutex, portMAX_DELAY); in touch_matrix_install() 89 xSemaphoreTake(s_te_mat_obj->mutex, portMAX_DELAY); in touch_matrix_uninstall() 204 xSemaphoreTake(s_te_mat_obj->mutex, portMAX_DELAY); in touch_matrix_set_dispatch_method() 224 xSemaphoreTake(s_te_mat_obj->mutex, portMAX_DELAY); in touch_matrix_subscribe_event() 238 xSemaphoreTake(s_te_mat_obj->mutex, portMAX_DELAY); in touch_matrix_set_callback() 252 xSemaphoreTake(s_te_mat_obj->mutex, portMAX_DELAY); in touch_matrix_set_longpress() 320 xSemaphoreTake(s_te_mat_obj->mutex, portMAX_DELAY); in matrix_object_add_instance() 332 xSemaphoreTake(s_te_mat_obj->mutex, portMAX_DELAY); in matrix_object_remove_instance() 554 BaseType_t mux_ret = xSemaphoreTake(s_te_mat_obj->mutex, 0); in matrix_proc_state()
|
/hal_espressif-3.6.0/components/driver/esp32/ |
D | touch_sensor.c | 107 xSemaphoreTake(rtc_touch_mux, portMAX_DELAY); in touch_pad_filter_cb() 309 xSemaphoreTake(rtc_touch_mux, portMAX_DELAY); in touch_pad_deinit() 350 xSemaphoreTake(rtc_touch_mux, portMAX_DELAY); in touch_pad_read() 389 xSemaphoreTake(rtc_touch_mux, portMAX_DELAY); in touch_pad_set_filter_period() 408 xSemaphoreTake(rtc_touch_mux, portMAX_DELAY); in touch_pad_get_filter_period() 424 xSemaphoreTake(rtc_touch_mux, portMAX_DELAY); in touch_pad_filter_start() 455 xSemaphoreTake(rtc_touch_mux, portMAX_DELAY); in touch_pad_filter_stop() 470 xSemaphoreTake(rtc_touch_mux, portMAX_DELAY); in touch_pad_filter_delete()
|
/hal_espressif-3.6.0/components/esp_ipc/src/ |
D | esp_ipc.c | 54 if (xSemaphoreTake(s_ipc_sem[cpuid], portMAX_DELAY) != pdTRUE) { in ipc_task() 134 xSemaphoreTake(s_ipc_mutex[cpu_id], portMAX_DELAY); in esp_ipc_call_and_wait() 137 xSemaphoreTake(s_ipc_mutex[0], portMAX_DELAY); in esp_ipc_call_and_wait() 144 xSemaphoreTake(s_ipc_ack[cpu_id], portMAX_DELAY); in esp_ipc_call_and_wait()
|
/hal_espressif-3.6.0/components/esp_timer/test/ |
D | test_esp_timer.c | 148 TEST_ASSERT(xSemaphoreTake(done, test_time_sec * 2 * 1000 / portTICK_PERIOD_MS)); 150 TEST_ASSERT(xSemaphoreTake(done, test_time_sec * 2 * 1000 / portTICK_PERIOD_MS)); 245 TEST_ASSERT(xSemaphoreTake(args.done, delay_ms * NUM_INTERVALS * 2)); 366 int result = xSemaphoreTake(done, 1000 / portTICK_PERIOD_MS); 414 TEST_ASSERT_EQUAL(pdPASS, xSemaphoreTake(semaphore, timeout_ms * 2)); 415 TEST_ASSERT_EQUAL(pdPASS, xSemaphoreTake(semaphore, timeout_ms * 2)); 512 TEST_ASSERT_TRUE( xSemaphoreTake(done, portMAX_DELAY) ); 560 TEST_ASSERT_TRUE(xSemaphoreTake(args.notify_from_timer_cb, 1000 / portTICK_PERIOD_MS)); 578 xSemaphoreTake(args->delete_start, portMAX_DELAY); in timer_delete_task() 591 xSemaphoreTake(args->delete_done, portMAX_DELAY); in timer_delete_test_callback() [all …]
|
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/classic_bt/bt_hid_mouse_device/main/ |
D | main.c | 34 xSemaphoreTake(s_local_param.mouse_mutex, portMAX_DELAY); in check_report_id_type() 66 xSemaphoreTake(s_local_param.mouse_mutex, portMAX_DELAY); in send_mouse() 91 xSemaphoreTake(s_local_param.mouse_mutex, portMAX_DELAY); in mouse_move_task() 303 xSemaphoreTake(s_local_param.mouse_mutex, portMAX_DELAY); in esp_bt_hidd_cb() 321 xSemaphoreTake(s_local_param.mouse_mutex, portMAX_DELAY); in esp_bt_hidd_cb() 327 xSemaphoreTake(s_local_param.mouse_mutex, portMAX_DELAY); in esp_bt_hidd_cb()
|
/hal_espressif-3.6.0/components/wear_levelling/test/ |
D | test_wl.c | 152 xSemaphoreTake(args1.done, portMAX_DELAY); 155 xSemaphoreTake(args2.done, portMAX_DELAY); 170 xSemaphoreTake(args1.done, portMAX_DELAY); 173 xSemaphoreTake(args2.done, portMAX_DELAY); 176 xSemaphoreTake(args3.done, portMAX_DELAY); 179 xSemaphoreTake(args4.done, portMAX_DELAY);
|
/hal_espressif-3.6.0/examples/peripherals/twai/twai_alert_and_recovery/main/ |
D | twai_alert_and_recovery_example_main.c | 67 xSemaphoreTake(tx_task_sem, portMAX_DELAY); in tx_task() 86 xSemaphoreTake(ctrl_task_sem, portMAX_DELAY); in ctrl_task() 146 xSemaphoreTake(ctrl_task_sem, portMAX_DELAY); //Wait for completion in app_main()
|
/hal_espressif-3.6.0/components/mbedtls/test/ |
D | test_aes_sha_rsa.c | 140 if (!xSemaphoreTake(exit_sema[i], 2000/portTICK_PERIOD_MS)) { 185 if (!xSemaphoreTake(exit_sema[i], 2000/portTICK_PERIOD_MS)) { 219 if (!xSemaphoreTake(exit_sema[i], 2000/portTICK_PERIOD_MS)) { 253 if (!xSemaphoreTake(exit_sema[i], 2000/portTICK_PERIOD_MS)) { 289 if (!xSemaphoreTake(exit_sema[i], 2000/portTICK_PERIOD_MS)) {
|
/hal_espressif-3.6.0/examples/bluetooth/esp_ble_mesh/ble_mesh_console/main/ |
D | ble_mesh_adapter.h | 79 xSemaphoreTake(ble_mesh_node_sema, portMAX_DELAY); \ 90 xSemaphoreTake(ble_mesh_node_sema, portMAX_DELAY); \ 97 xSemaphoreTake(ble_mesh_node_sema, portMAX_DELAY); \
|
/hal_espressif-3.6.0/components/bt/common/osi/ |
D | semaphore.c | 60 if (xSemaphoreTake(*sem, portMAX_DELAY) != pdTRUE) { in osi_sem_take() 64 if (xSemaphoreTake(*sem, timeout / portTICK_PERIOD_MS) != pdTRUE) { in osi_sem_take()
|
D | mutex.c | 49 if (xSemaphoreTake(*mutex, portMAX_DELAY) != pdTRUE) { in osi_mutex_lock() 53 if (xSemaphoreTake(*mutex, timeout / portTICK_PERIOD_MS) != pdTRUE) { in osi_mutex_lock()
|