Home
last modified time | relevance | path

Searched refs:pdTRUE (Results 1 – 25 of 31) 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()
Dthread.c103 if (pdTRUE == xQueueReceive(wq->queue, item, 0)) { in osi_thead_work_queue_get()
118 if (xQueueSend(wq->queue, item, portMAX_DELAY) != pdTRUE) { in osi_thead_work_queue_put()
122 if (xQueueSend(wq->queue, item, timeout / portTICK_PERIOD_MS) != pdTRUE) { in osi_thead_work_queue_put()
/hal_espressif-latest/components/driver/spi/gpspi/
Dspi_slave_hd.c320 assert(ret == pdTRUE); in spi_slave_hd_intr_segment()
339 assert(ret == pdTRUE); in spi_slave_hd_intr_segment()
348 if (ret == pdTRUE) { in spi_slave_hd_intr_segment()
364 if (ret == pdTRUE) { in spi_slave_hd_intr_segment()
388 if (awoken == pdTRUE) portYIELD_FROM_ISR(); in spi_slave_hd_intr_segment()
420 assert(ret == pdTRUE); in spi_slave_hd_append_tx_isr()
423 assert(ret == pdTRUE); in spi_slave_hd_append_tx_isr()
426 if (awoken==pdTRUE) portYIELD_FROM_ISR(); in spi_slave_hd_append_tx_isr()
460 assert(ret == pdTRUE); in spi_slave_hd_append_rx_isr()
463 assert(ret == pdTRUE); in spi_slave_hd_append_rx_isr()
[all …]
/hal_espressif-latest/components/esp_event/host_test/
Dfixtures.hpp131 xTaskCreatePinnedToCore_IgnoreAndReturn(pdTRUE); in MockTask()
135 xTaskCreatePinnedToCore_ExpectAnyArgsAndReturn(pdTRUE); in MockTask()
/hal_espressif-latest/components/spi_flash/sim/stubs/freertos/include/freertos/
Dprojdefs.h15 #define pdTRUE 1 macro
Dsemphr.h18 #define xSemaphoreTake( xSemaphore, xBlockTime ) pdTRUE
/hal_espressif-latest/components/bt/common/osi/include/osi/
Dsemaphore.h31 #define osi_sem_valid( x ) ( ( ( *x ) == NULL) ? pdFALSE : pdTRUE )
Dmutex.h30 #define osi_mutex_valid( x ) ( ( ( *x ) == NULL) ? pdFALSE : pdTRUE )
/hal_espressif-latest/components/bt/porting/npl/freertos/src/
Dnpl_os_freertos.c205 if( woken == pdTRUE ) { in npl_freertos_eventq_get()
239 if( woken == pdTRUE ) { in npl_freertos_eventq_put()
265 if( woken == pdTRUE ) { in npl_freertos_eventq_put_to_front()
316 if( woken == pdTRUE ) { in npl_freertos_eventq_remove()
552 if( woken == pdTRUE ) { in npl_freertos_sem_pend()
577 if( woken == pdTRUE ) { in npl_freertos_sem_release()
799 if( woken1 == pdTRUE || woken2 == pdTRUE || woken3 == pdTRUE) { in npl_freertos_callout_reset()
835 return xTimerIsTimerActive(callout->handle) == pdTRUE; in npl_freertos_callout_is_active()
/hal_espressif-latest/components/esp_system/
Desp_ipc.c61 ulTaskNotifyTake(pdTRUE, portMAX_DELAY); in ipc_task()
121 assert(res == pdTRUE); in esp_ipc_init()
/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()
/hal_espressif-latest/components/log/
Dlog_freertos.c48 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.c99 …__ASSERT(xSemaphoreTake(semaphore, 3000 / portTICK_PERIOD_MS) == pdTRUE, "BLE Mesh deinit take sem… in esp_ble_mesh_deinit()
/hal_espressif-latest/components/esp_system/task_wdt/
Dtask_wdt.c374 assert(ret == pdTRUE); in task_wdt_timeout_handling()
406 if (ret == pdTRUE) { in task_wdt_timeout_handling()
432 BaseType_t ret = pdTRUE; in task_wdt_timeout_abort_xtensa()
437 assert(ret == pdTRUE); in task_wdt_timeout_abort_xtensa()
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/
Dadv.c449 if (xQueueSendToFront(adv_queue.handle, msg, timeout) != pdTRUE) { in bt_mesh_task_post()
454 if (xQueueSend(adv_queue.handle, msg, timeout) != pdTRUE) { in bt_mesh_task_post()
532 if (xQueueSend(relay_queue.handle, msg, timeout) == pdTRUE) { in ble_mesh_relay_task_post()
544 if (xQueueReceive(relay_queue.handle, &old_msg, K_NO_WAIT) != pdTRUE) { in ble_mesh_relay_task_post()
552 if (xQueueSend(relay_queue.handle, msg, K_NO_WAIT) != pdTRUE) { in ble_mesh_relay_task_post()
653 __ASSERT(ret == pdTRUE, "Failed to create adv thread"); in bt_mesh_adv_init()
/hal_espressif-latest/components/esp_netif/vfs_l2tap/
Desp_vfs_l2tap.c101 if (xQueueSend(l2tap_socket->rx_queue, &frame_info, 0) != pdTRUE) { in push_rx_queue()
115 if (xQueueReceive(l2tap_socket->rx_queue, &frame_info, timeout) == pdTRUE) { in pop_rx_queue()
145 while (xQueueReceive(l2tap_socket->rx_queue, &frame_info, 0) == pdTRUE) { in flush_rx_queue()
/hal_espressif-latest/components/esp_event/
Desp_event.c569 while(xQueueReceive(loop->queue, &post, ticks_to_run) == pdTRUE) { in esp_event_loop_run()
677 while(xQueueReceive(loop->queue, &post, 0) == pdTRUE) { in esp_event_loop_delete()
869 if (result == pdTRUE) { in esp_event_post_to()
887 if (result != pdTRUE) { in esp_event_post_to()
935 if (result != pdTRUE) { in esp_event_isr_post_to()
/hal_espressif-latest/components/esp_netif/lwip/
Desp_netif_sntp.c159 if (xQueueSemaphoreTake(s_storage->sync_sem, tout) != pdTRUE) { in esp_netif_sntp_sync_wait()
/hal_espressif-latest/components/mbedtls/port/mbedtls_rom/
Dmbedtls_rom_osi.c54 if (xSemaphoreTake(mutex->mutex, portMAX_DELAY) != pdTRUE) { in mbedtls_rom_mutex_lock()
70 if (xSemaphoreGive(mutex->mutex) != pdTRUE) { in mbedtls_rom_mutex_unlock()
/hal_espressif-latest/components/mbedtls/port/esp_ds/
Desp_rsa_sign_alt.c69 if ((xSemaphoreTake(s_ds_lock, s_timeout_ms / portTICK_PERIOD_MS) != pdTRUE)) { in esp_ds_init_data_ctx()
/hal_espressif-latest/components/newlib/
Dlocks.c150 return (success == pdTRUE) ? 0 : -1; in lock_acquire_generic()
/hal_espressif-latest/components/driver/uart/
Duart.c1070 if (HPTaskAwoken == pdTRUE) { in uart_rx_intr_handler_default()
1182 … if (pdTRUE == xSemaphoreTake(p_uart_obj[uart_num]->tx_fifo_sem, (TickType_t)portMAX_DELAY)) { in uart_tx_all()
1228 if (res == pdTRUE) { in uart_check_buf_full()
1251 if (xSemaphoreTake(p_uart_obj[uart_num]->rx_mux, (TickType_t)ticks_to_wait) != pdTRUE) { in uart_read_bytes()
1370 if (res == pdTRUE) { in uart_flush_input()
/hal_espressif-latest/components/wpa_supplicant/esp_supplicant/src/
Desp_hostap.c253 WPA3_HOSTAP_AUTH_API_LOCK() == pdTRUE) { in hostap_deinit()
/hal_espressif-latest/components/driver/deprecated/
Dadc_dma_legacy.c389 return (taskAwoken == pdTRUE); in s_adc_dma_intr()

12