HomeSort by relevance Sort by last modified time
    Searched refs:stateEventMatrix (Results 1 - 2 of 2) sorted by null

  /hardware/ti/wlan/wl1271/utils/
fsm.c 111 (*pFsm)->stateEventMatrix = (fsm_Matrix_t)os_memoryAlloc(hOs, MaxNoOfStates * MaxNoOfEvents * sizeof(fsm_actionCell_t));
112 if ((*pFsm)->stateEventMatrix == NULL)
117 os_memoryZero(hOs, (*pFsm)->stateEventMatrix,
158 if (pFsm->stateEventMatrix != NULL)
160 os_memoryFree(hOs, pFsm->stateEventMatrix,
214 os_memoryCopy(hOs, (void *)pFsm->stateEventMatrix, (void *)pMatrix,
267 *currentState = pFsm->stateEventMatrix[(*currentState * pFsm->ActiveNoOfEvents) + event].nextState;
270 if ((*pFsm->stateEventMatrix[(oldState * pFsm->ActiveNoOfEvents) + event].actionFunc) == NULL)
274 status = (*pFsm->stateEventMatrix[(oldState * pFsm->ActiveNoOfEvents) + event].actionFunc)(pData);
310 *nextState = pFsm->stateEventMatrix[(currentState * pFsm->ActiveNoOfEvents) + event].nextState
    [all...]
fsm.h 83 fsm_Matrix_t stateEventMatrix; /**< State\Event matrix */

Completed in 107 milliseconds