Go to the source code of this file.
Functions | |
| char * | eventName (pmEvent event) |
| void | suspend (pmEvent event, Bool undo) |
| void | resume (pmEvent event, Bool undo) |
| void | DoApmEvent (pmEvent event, Bool undo) |
| void | xf86HandlePMEvents (int fd, pointer data) |
Variables | |
| int(* | xf86PMGetEventFromOs )(int fd, pmEvent *events, int num)=NULL |
| pmWait(* | xf86PMConfirmEventToOs )(int fd, pmEvent event)=NULL |
| Bool | suspended = FALSE |
|
|
Definition at line 15 of file xf86PM.c. References event, XF86_APM_CAPABILITY_CHANGED, XF86_APM_CRITICAL_RESUME, XF86_APM_CRITICAL_SUSPEND, XF86_APM_LOW_BATTERY, XF86_APM_NORMAL_RESUME, XF86_APM_POWER_STATUS_CHANGE, XF86_APM_STANDBY_FAILED, XF86_APM_STANDBY_RESUME, XF86_APM_SUSPEND_FAILED, XF86_APM_SYS_STANDBY, XF86_APM_SYS_SUSPEND, XF86_APM_UPDATE_TIME, XF86_APM_USER_STANDBY, and XF86_APM_USER_SUSPEND. Referenced by xf86HandlePMEvents().
|
|
||||||||||||
|
||||||||||||
|
||||||||||||
|
Definition at line 104 of file xf86PM.c. References event, i, OPERATING, _ScrnInfoRec::PMEvent, resume(), SETUP, suspend(), suspended, XF86_APM_CRITICAL_RESUME, XF86_APM_CRITICAL_SUSPEND, XF86_APM_NORMAL_RESUME, XF86_APM_STANDBY_RESUME, XF86_APM_SYS_STANDBY, XF86_APM_SYS_SUSPEND, XF86_APM_USER_STANDBY, XF86_APM_USER_SUSPEND, xf86EnableAccess(), xf86EnterServerState(), xf86NumScreens, and xf86Screens. Referenced by xf86HandlePMEvents().
|
|
||||||||||||
|
Definition at line 151 of file xf86PM.c. References Bool, DoApmEvent(), eventName(), events, fd, i, n, PM_CONTINUE, PM_FAILED, PM_WAIT, pmEvent, X_INFO, xf86MsgVerb(), xf86PMConfirmEventToOs, and xf86PMGetEventFromOs. Referenced by xf86OSPMOpen().
|
|
|
Definition at line 9 of file xf86PM.c. Referenced by xf86HandlePMEvents(), and xf86OSPMOpen(). |
|
|
Definition at line 10 of file xf86PM.c. Referenced by xf86HandlePMEvents(), and xf86OSPMOpen(). |
|
|
Definition at line 12 of file xf86PM.c. Referenced by DoApmEvent(). |
1.3.7