Home
last modified time | relevance | path

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

/kernel/liteos_m/kal/cmsis/
Dcmsis_liteos2.c839 PEVENT_CB_S pstEventCB; in osEventFlagsNew() local
848 pstEventCB = (PEVENT_CB_S)LOS_MemAlloc(m_aucSysMem0, sizeof(EVENT_CB_S)); in osEventFlagsNew()
849 if (pstEventCB == NULL) { in osEventFlagsNew()
853 ret = LOS_EventInit(pstEventCB); in osEventFlagsNew()
855 return (osEventFlagsId_t)pstEventCB; in osEventFlagsNew()
857 if (LOS_MemFree(m_aucSysMem0, pstEventCB) != LOS_OK) { in osEventFlagsNew()
875 PEVENT_CB_S pstEventCB = (PEVENT_CB_S)ef_id; in osEventFlagsSet() local
879 if (pstEventCB == NULL) { in osEventFlagsSet()
883 ret = LOS_EventWrite(pstEventCB, (UINT32)flags); in osEventFlagsSet()
885 rflags = pstEventCB->uwEventID; in osEventFlagsSet()
[all …]