Home
last modified time | relevance | path

Searched refs:semaphore (Results 1 – 12 of 12) sorted by relevance

/hal_nxp-3.5.0/imx/drivers/
Drdc_semaphore.c43 RDC_SEMAPHORE_Type *semaphore; in RDC_SEMAPHORE_GetGate() local
46 semaphore = RDC_SEMAPHORE1; in RDC_SEMAPHORE_GetGate()
49 semaphore = RDC_SEMAPHORE2; in RDC_SEMAPHORE_GetGate()
53 return semaphore; in RDC_SEMAPHORE_GetGate()
64 RDC_SEMAPHORE_Type *semaphore; in RDC_SEMAPHORE_TryLock() local
67 semaphore = RDC_SEMAPHORE_GetGate(&index); in RDC_SEMAPHORE_TryLock()
69 semaphore->GATE[index] = RDC_SEMAPHORE_GATE_GTFSM(RDC_SEMAPHORE_MASTER_SELF + 1); in RDC_SEMAPHORE_TryLock()
71 return ((semaphore->GATE[index] & RDC_SEMAPHORE_GATE_GTFSM_MASK) == in RDC_SEMAPHORE_TryLock()
85 RDC_SEMAPHORE_Type *semaphore; in RDC_SEMAPHORE_Lock() local
88 semaphore = RDC_SEMAPHORE_GetGate(&index); in RDC_SEMAPHORE_Lock()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/i2c/
Dfsl_i2c_freertos.c21 (void)xSemaphoreGiveFromISR(handle->semaphore, &reschedule); in I2C_RTOS_Callback()
62 handle->semaphore = xSemaphoreCreateBinaryStatic(&handle->semaphoreBuffer); in I2C_RTOS_Init()
64 handle->semaphore = xSemaphoreCreateBinary(); in I2C_RTOS_Init()
66 if (handle->semaphore == NULL) in I2C_RTOS_Init()
91 vSemaphoreDelete(handle->semaphore); in I2C_RTOS_Deinit()
124 (void)xSemaphoreTake(handle->semaphore, portMAX_DELAY); in I2C_RTOS_Transfer()
Dfsl_i2c_freertos.h42 …SemaphoreHandle_t semaphore; /*!< A semaphore to notify and unblock task when the transfer ends… member
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/ii2c/
Dfsl_i2c_freertos.c21 (void)xSemaphoreGiveFromISR(handle->semaphore, &reschedule); in I2C_RTOS_Callback()
62 handle->semaphore = xSemaphoreCreateBinaryStatic(&handle->semaphoreBuffer); in I2C_RTOS_Init()
64 handle->semaphore = xSemaphoreCreateBinary(); in I2C_RTOS_Init()
66 if (handle->semaphore == NULL) in I2C_RTOS_Init()
91 vSemaphoreDelete(handle->semaphore); in I2C_RTOS_Deinit()
124 (void)xSemaphoreTake(handle->semaphore, portMAX_DELAY); in I2C_RTOS_Transfer()
Dfsl_i2c_freertos.h42 …SemaphoreHandle_t semaphore; /*!< A semaphore to notify and unblock task when the transfer ends… member
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/flexcomm/i2c/
Dfsl_i2c_freertos.c21 (void)xSemaphoreGiveFromISR(handle->semaphore, &reschedule); in I2C_RTOS_Callback()
59 handle->semaphore = xSemaphoreCreateBinary(); in I2C_RTOS_Init()
60 if (handle->semaphore == NULL) in I2C_RTOS_Init()
85 vSemaphoreDelete(handle->semaphore); in I2C_RTOS_Deinit()
118 (void)xSemaphoreTake(handle->semaphore, portMAX_DELAY); in I2C_RTOS_Transfer()
Dfsl_i2c_freertos.h39 …SemaphoreHandle_t semaphore; /*!< A semaphore to notify and unblock task when the transfer ends… member
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/lpi2c/
Dfsl_lpi2c_freertos.c21 (void)xSemaphoreGiveFromISR(handle->semaphore, &reschedule); in LPI2C_RTOS_Callback()
59 handle->semaphore = xSemaphoreCreateBinary(); in LPI2C_RTOS_Init()
60 if (handle->semaphore == NULL) in LPI2C_RTOS_Init()
85 vSemaphoreDelete(handle->semaphore); in LPI2C_RTOS_Deinit()
118 (void)xSemaphoreTake(handle->semaphore, portMAX_DELAY); in LPI2C_RTOS_Transfer()
Dfsl_lpi2c_freertos.h42 SemaphoreHandle_t semaphore; /*!< Semaphore to notify and unblock task when transfer ends */ member
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/RTOS2/RTX/Include/
Drtx_os.h322 void (*semaphore)(osRtxSemaphore_t*); ///< Semaphore Post Processing function member
338 osRtxMpInfo_t *semaphore; ///< Semaphore Control Blocks member
454 osRtxMpInfo_t *semaphore; ///< Semaphore Control Blocks member
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/cau3/
Dfsl_cau3.h64 #error FSL_CAU3_USE_HW_SEMA requires SEMA42 semaphore.
/hal_nxp-3.5.0/mcux/mcux-sdk/components/power_manager/
DREADME.md304 … are multiple-methods to implement critical region(E.g. interrupt controller, locker, semaphore).