Home
last modified time | relevance | path

Searched refs:ptask (Results 1 – 2 of 2) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/components/osa/
Dfsl_os_abstraction_free_rtos.c197 osa_freertos_task_t *ptask; in OSA_TaskGetCurrentHandle() local
202 ptask = (osa_freertos_task_t *)(void *)list_element; in OSA_TaskGetCurrentHandle()
203 if (ptask->taskHandle == xTaskGetCurrentTaskHandle()) in OSA_TaskGetCurrentHandle()
205 return (osa_task_handle_t)ptask; in OSA_TaskGetCurrentHandle()
237 osa_freertos_task_t *ptask = (osa_freertos_task_t *)taskHandle; in OSA_TaskGetPriority() local
238 return (osa_task_priority_t)(PRIORITY_RTOS_TO_OSA((uxTaskPriorityGet(ptask->taskHandle)))); in OSA_TaskGetPriority()
252 osa_freertos_task_t *ptask = (osa_freertos_task_t *)taskHandle; in OSA_TaskSetPriority() local
253 …vTaskPrioritySet((task_handler_t)ptask->taskHandle, PRIORITY_OSA_TO_RTOS(((uint32_t)taskPriority))… in OSA_TaskSetPriority()
274 osa_freertos_task_t *ptask = (osa_freertos_task_t *)taskHandle; in OSA_TaskCreate() local
285 ptask->taskHandle = pxCreatedTask; in OSA_TaskCreate()
[all …]
Dfsl_os_abstraction_threadx.c255 osa_thread_task_t *ptask = (osa_thread_task_t *)taskHandle; in OSA_TaskCreate() local
257 …if (tx_thread_create(&ptask->taskHandle, /* task handle, allocated by a… in OSA_TaskCreate()
270 (void)LIST_AddTail(&s_osaState.taskList, (list_element_handle_t) & (ptask->link)); in OSA_TaskCreate()
290 osa_thread_task_t *ptask = (osa_thread_task_t *)taskHandle; in OSA_TaskDestroy() local
298 if (TX_SUCCESS != tx_thread_delete(&ptask->taskHandle)) in OSA_TaskDestroy()
307 if (TX_SUCCESS != tx_thread_delete(&ptask->taskHandle)) in OSA_TaskDestroy()