Home
last modified time | relevance | path

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

/hal_nxp-latest/mcux/mcux-sdk/components/power_manager/core/
Dfsl_pm_core.c118 pm_notify_element_t *currElement = NULL; in PM_notifyPowerStateEntry() local
127 currElement = (pm_notify_element_t *)(void *)(s_pmHandle->notifyList[i].head); in PM_notifyPowerStateEntry()
131 callback = currElement->notifyCallback; in PM_notifyPowerStateEntry()
132 status = callback(kPM_EventEnteringSleep, powerState, currElement->data); in PM_notifyPowerStateEntry()
135 s_pmHandle->curNotifyElement = currElement; in PM_notifyPowerStateEntry()
138 currElement = (pm_notify_element_t *)(void *)currElement->link.next; in PM_notifyPowerStateEntry()
139 } while (currElement != NULL); in PM_notifyPowerStateEntry()
151 pm_notify_element_t *currElement = NULL; in PM_notifyPowerStateExit() local
168 currElement = (pm_notify_element_t *)(void *)(s_pmHandle->notifyList[i].head); in PM_notifyPowerStateExit()
172 … (void)(currElement->notifyCallback(kPM_EventExitingSleep, powerState, currElement->data)); in PM_notifyPowerStateExit()
[all …]