Lines Matching refs:priority
81 static void PMi_InsertList(PMGenCallbackInfo **listp, PMGenCallbackInfo *info, int priority, int me…
1855 static void PMi_InsertList(PMGenCallbackInfo **listp, PMGenCallbackInfo *info, int priority, int me… in PMi_InsertList() argument
1866 info->priority = priority; in PMi_InsertList()
1875 if (method == PMi_COMPARE_GT && p->priority > priority ) in PMi_InsertList()
1879 if (method == PMi_COMPARE_GE && p->priority >= priority ) in PMi_InsertList()
2059 void PMi_InsertPreSleepCallbackEx(PMSleepCallbackInfo *info, int priority) in PMi_InsertPreSleepCallbackEx() argument
2061 SDK_ASSERT(PM_CALLBACK_PRIORITY_SYSMIN <= priority && priority <= PM_CALLBACK_PRIORITY_SYSMAX ); in PMi_InsertPreSleepCallbackEx()
2062 PMi_InsertList(&PMi_PreSleepCallbackList, info, priority, PMi_COMPARE_GT); in PMi_InsertPreSleepCallbackEx()
2064 void PM_InsertPreSleepCallback(PMSleepCallbackInfo *info, int priority) in PM_InsertPreSleepCallback() argument
2066 SDK_ASSERT(PM_CALLBACK_PRIORITY_MIN <= priority && priority <= PM_CALLBACK_PRIORITY_MAX ); in PM_InsertPreSleepCallback()
2067 PMi_InsertPreSleepCallbackEx(info, priority); in PM_InsertPreSleepCallback()
2080 void PMi_InsertPostSleepCallbackEx(PMSleepCallbackInfo *info, int priority) in PMi_InsertPostSleepCallbackEx() argument
2082 SDK_ASSERT(PM_CALLBACK_PRIORITY_SYSMIN <= priority && priority <= PM_CALLBACK_PRIORITY_SYSMAX ); in PMi_InsertPostSleepCallbackEx()
2083 PMi_InsertList(&PMi_PostSleepCallbackList, info, priority, PMi_COMPARE_GT); in PMi_InsertPostSleepCallbackEx()
2085 void PM_InsertPostSleepCallback(PMSleepCallbackInfo *info, int priority) in PM_InsertPostSleepCallback() argument
2087 SDK_ASSERT(PM_CALLBACK_PRIORITY_MIN <= priority && priority <= PM_CALLBACK_PRIORITY_MAX ); in PM_InsertPostSleepCallback()
2088 PMi_InsertPostSleepCallbackEx(info, priority); in PM_InsertPostSleepCallback()
2321 void PMi_InsertPreExitCallbackEx( PMExitCallbackInfo *info, int priority ) in PMi_InsertPreExitCallbackEx() argument
2323 SDK_ASSERT(PM_CALLBACK_PRIORITY_SYSMIN <= priority && priority <= PM_CALLBACK_PRIORITY_SYSMAX ); in PMi_InsertPreExitCallbackEx()
2324 PMi_InsertList(&PMi_PreExitCallbackList, info, priority, PMi_COMPARE_GT); in PMi_InsertPreExitCallbackEx()
2326 void PM_InsertPreExitCallback( PMExitCallbackInfo *info, int priority ) in PM_InsertPreExitCallback() argument
2328 SDK_ASSERT(PM_CALLBACK_PRIORITY_MIN <= priority && priority <= PM_CALLBACK_PRIORITY_MAX ); in PM_InsertPreExitCallback()
2329 PMi_InsertPreExitCallbackEx( info, priority ); in PM_InsertPreExitCallback()
2342 void PMi_InsertPostExitCallbackEx( PMExitCallbackInfo *info, int priority ) in PMi_InsertPostExitCallbackEx() argument
2344 SDK_ASSERT(PM_CALLBACK_PRIORITY_SYSMIN <= priority && priority <= PM_CALLBACK_PRIORITY_SYSMAX ); in PMi_InsertPostExitCallbackEx()
2345 PMi_InsertList(&PMi_PostExitCallbackList, info, priority, PMi_COMPARE_GT); in PMi_InsertPostExitCallbackEx()
2347 void PM_InsertPostExitCallback( PMExitCallbackInfo *info, int priority ) in PM_InsertPostExitCallback() argument
2349 SDK_ASSERT(PM_CALLBACK_PRIORITY_MIN <= priority && priority <= PM_CALLBACK_PRIORITY_MAX ); in PM_InsertPostExitCallback()
2350 PMi_InsertPostExitCallbackEx( info, priority ); in PM_InsertPostExitCallback()
2723 OS_TPrintf("[%08x] (prio=%d) (arg=%x)\n", p->callback, p->priority, p->arg); in PM_DumpSleepCallback()
2731 OS_TPrintf("[%08x] (prio=%d) (arg=%x)\n", p->callback, p->priority, p->arg); in PM_DumpSleepCallback()
2755 OS_TPrintf("[%08x] (prio=%d) (arg=%x)\n", p->callback, p->priority, p->arg); in PM_DumpExitCallback()
2763 OS_TPrintf("[%08x] (prio=%d) (arg=%x)\n", p->callback, p->priority, p->arg); in PM_DumpExitCallback()