Searched refs:ptask (Results 1 – 2 of 2) sorted by relevance
197 osa_freertos_task_t *ptask; in OSA_TaskGetCurrentHandle() local202 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() local238 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() local253 …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() local285 ptask->taskHandle = pxCreatedTask; in OSA_TaskCreate()[all …]
255 osa_thread_task_t *ptask = (osa_thread_task_t *)taskHandle; in OSA_TaskCreate() local257 …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() local298 if (TX_SUCCESS != tx_thread_delete(&ptask->taskHandle)) in OSA_TaskDestroy()307 if (TX_SUCCESS != tx_thread_delete(&ptask->taskHandle)) in OSA_TaskDestroy()