Home
last modified time | relevance | path

Searched refs:xSemaphore (Results 1 – 5 of 5) sorted by relevance

/device/soc/esp/esp32/components/osal/include/esp_osal/
Dsemphr.h99 #define vSemaphoreCreateBinary( xSemaphore ) \ argument
101 …( xSemaphore ) = xQueueGenericCreate( ( UBaseType_t ) 1, semSEMAPHORE_QUEUE_ITEM_LENGTH, queueQUEU…
102 if( ( xSemaphore ) != NULL ) \
104 ( void ) xSemaphoreGive( ( xSemaphore ) ); \
281 #define xSemaphoreTake( xSemaphore, xBlockTime ) xQueueSemaphoreTake( ( xSemaphore ), ( xBlockTime… argument
382 #define xSemaphoreAltTake( xSemaphore, xBlockTime ) xQueueAltGenericReceive( ( QueueHandle_t ) ( x… argument
442 #define xSemaphoreGive( xSemaphore ) xQueueGenericSend( ( QueueHandle_t ) ( xSemaphore ), NULL, se… argument
540 #define xSemaphoreAltGive( xSemaphore ) xQueueAltGenericSend( ( QueueHandle_t ) ( xSemaphore ), NU… argument
625 #define xSemaphoreGiveFromISR( xSemaphore, pxHigherPriorityTaskWoken ) xQueueGiveFromISR( ( QueueHa… argument
652 …define xSemaphoreTakeFromISR( xSemaphore, pxHigherPriorityTaskWoken ) xQueueReceiveFromISR( ( Queu… argument
[all …]
Dqueue.h1240 TaskHandle_t xQueueGetMutexHolder( QueueHandle_t xSemaphore ) PRIVILEGED_FUNCTION;
1241 TaskHandle_t xQueueGetMutexHolderFromISR( QueueHandle_t xSemaphore ) PRIVILEGED_FUNCTION;
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/app_drivers/src/
Dapp_rtos_cfg.c52 SemaphoreHandle_t *xSemaphore = (SemaphoreHandle_t *)sem; in app_driver_sem_init() local
57 *xSemaphore = xSemaphoreCreateBinary(); in app_driver_sem_init()
58 if (*xSemaphore == NULL) { in app_driver_sem_init()
73 SemaphoreHandle_t xSemaphore = (SemaphoreHandle_t)sem; in app_driver_sem_pend() local
85 ret = xSemaphoreTakeFromISR(xSemaphore, &xHigherPriorityTaskWoken); in app_driver_sem_pend()
90 ret = xSemaphoreTake(xSemaphore, xTicks); in app_driver_sem_pend()
102 SemaphoreHandle_t xSemaphore = (SemaphoreHandle_t)sem; in app_driver_sem_post() local
108 ret = xSemaphoreGiveFromISR(xSemaphore, &xHigherPriorityTaskWoken); in app_driver_sem_post()
113 ret = xSemaphoreGive(xSemaphore); in app_driver_sem_post()
125 SemaphoreHandle_t xSemaphore = (SemaphoreHandle_t)sem; in app_driver_sem_post_from_isr() local
[all …]
/device/soc/esp/esp32/components/spi_flash/sim/stubs/freertos/include/freertos/
Dsemphr.h7 #define vSemaphoreDelete( xSemaphore ) argument
9 #define xSemaphoreGive( xSemaphore ) argument
10 #define xSemaphoreTake( xSemaphore, xBlockTime ) pdTRUE argument
/device/soc/esp/esp32/components/osal/
Dqueue.c105 …SemaphoreData_t xSemaphore; /*< Data required exclusively when this structure is used as a semapho… member
549 pxNewQueue->u.xSemaphore.xMutexHolder = NULL; in prvInitialiseMutex()
553 pxNewQueue->u.xSemaphore.uxRecursiveCallCount = 0; in prvInitialiseMutex()
621 if( pxMutex->u.xSemaphore.xMutexHolder == xTaskGetCurrentTaskHandle() ) in xQueueGiveMutexRecursive()
630 ( pxMutex->u.xSemaphore.uxRecursiveCallCount )--; in xQueueGiveMutexRecursive()
633 if( pxMutex->u.xSemaphore.uxRecursiveCallCount == ( UBaseType_t ) 0 ) in xQueueGiveMutexRecursive()
671 if( pxMutex->u.xSemaphore.xMutexHolder == xTaskGetCurrentTaskHandle() ) in xQueueTakeMutexRecursive()
673 ( pxMutex->u.xSemaphore.uxRecursiveCallCount )++; in xQueueTakeMutexRecursive()
685 ( pxMutex->u.xSemaphore.uxRecursiveCallCount )++; in xQueueTakeMutexRecursive()
772 || pxQueue->u.xSemaphore.xMutexHolder == NULL in xQueueGenericSend()
[all …]