Lines Matching refs:priority
89 static void PMi_InsertList(PMGenCallbackInfo **listp, PMGenCallbackInfo *info, int priority, int me…
1846 static void PMi_InsertList(PMGenCallbackInfo **listp, PMGenCallbackInfo *info, int priority, int me… in PMi_InsertList() argument
1857 info->priority = priority; in PMi_InsertList()
1866 if (method == PMi_COMPARE_GT && p->priority > priority ) in PMi_InsertList()
1870 if (method == PMi_COMPARE_GE && p->priority >= priority ) in PMi_InsertList()
2050 void PMi_InsertPreSleepCallbackEx(PMSleepCallbackInfo *info, int priority) in PMi_InsertPreSleepCallbackEx() argument
2052 SDK_ASSERT(PM_CALLBACK_PRIORITY_SYSMIN <= priority && priority <= PM_CALLBACK_PRIORITY_SYSMAX ); in PMi_InsertPreSleepCallbackEx()
2053 PMi_InsertList(&PMi_PreSleepCallbackList, info, priority, PMi_COMPARE_GT); in PMi_InsertPreSleepCallbackEx()
2055 void PM_InsertPreSleepCallback(PMSleepCallbackInfo *info, int priority) in PM_InsertPreSleepCallback() argument
2057 SDK_ASSERT(PM_CALLBACK_PRIORITY_MIN <= priority && priority <= PM_CALLBACK_PRIORITY_MAX ); in PM_InsertPreSleepCallback()
2058 PMi_InsertPreSleepCallbackEx(info, priority); in PM_InsertPreSleepCallback()
2071 void PMi_InsertPostSleepCallbackEx(PMSleepCallbackInfo *info, int priority) in PMi_InsertPostSleepCallbackEx() argument
2073 SDK_ASSERT(PM_CALLBACK_PRIORITY_SYSMIN <= priority && priority <= PM_CALLBACK_PRIORITY_SYSMAX ); in PMi_InsertPostSleepCallbackEx()
2074 PMi_InsertList(&PMi_PostSleepCallbackList, info, priority, PMi_COMPARE_GT); in PMi_InsertPostSleepCallbackEx()
2076 void PM_InsertPostSleepCallback(PMSleepCallbackInfo *info, int priority) in PM_InsertPostSleepCallback() argument
2078 SDK_ASSERT(PM_CALLBACK_PRIORITY_MIN <= priority && priority <= PM_CALLBACK_PRIORITY_MAX ); in PM_InsertPostSleepCallback()
2079 PMi_InsertPostSleepCallbackEx(info, priority); in PM_InsertPostSleepCallback()
2312 void PMi_InsertPreExitCallbackEx( PMExitCallbackInfo *info, int priority ) in PMi_InsertPreExitCallbackEx() argument
2314 SDK_ASSERT(PM_CALLBACK_PRIORITY_SYSMIN <= priority && priority <= PM_CALLBACK_PRIORITY_SYSMAX ); in PMi_InsertPreExitCallbackEx()
2315 PMi_InsertList(&PMi_PreExitCallbackList, info, priority, PMi_COMPARE_GT); in PMi_InsertPreExitCallbackEx()
2317 void PM_InsertPreExitCallback( PMExitCallbackInfo *info, int priority ) in PM_InsertPreExitCallback() argument
2319 SDK_ASSERT(PM_CALLBACK_PRIORITY_MIN <= priority && priority <= PM_CALLBACK_PRIORITY_MAX ); in PM_InsertPreExitCallback()
2320 PMi_InsertPreExitCallbackEx( info, priority ); in PM_InsertPreExitCallback()
2333 void PMi_InsertPostExitCallbackEx( PMExitCallbackInfo *info, int priority ) in PMi_InsertPostExitCallbackEx() argument
2335 SDK_ASSERT(PM_CALLBACK_PRIORITY_SYSMIN <= priority && priority <= PM_CALLBACK_PRIORITY_SYSMAX ); in PMi_InsertPostExitCallbackEx()
2336 PMi_InsertList(&PMi_PostExitCallbackList, info, priority, PMi_COMPARE_GT); in PMi_InsertPostExitCallbackEx()
2338 void PM_InsertPostExitCallback( PMExitCallbackInfo *info, int priority ) in PM_InsertPostExitCallback() argument
2340 SDK_ASSERT(PM_CALLBACK_PRIORITY_MIN <= priority && priority <= PM_CALLBACK_PRIORITY_MAX ); in PM_InsertPostExitCallback()
2341 PMi_InsertPostExitCallbackEx( info, priority ); in PM_InsertPostExitCallback()
2710 OS_TPrintf("[%08x] (prio=%d) (arg=%x)\n", p->callback, p->priority, p->arg); in PM_DumpSleepCallback()
2718 OS_TPrintf("[%08x] (prio=%d) (arg=%x)\n", p->callback, p->priority, p->arg); in PM_DumpSleepCallback()
2742 OS_TPrintf("[%08x] (prio=%d) (arg=%x)\n", p->callback, p->priority, p->arg); in PM_DumpExitCallback()
2750 OS_TPrintf("[%08x] (prio=%d) (arg=%x)\n", p->callback, p->priority, p->arg); in PM_DumpExitCallback()