Lines Matching refs:event
51 int event; member
412 #define PMSG_INVALID ((struct pm_message){ .event = PM_EVENT_INVALID, })
413 #define PMSG_ON ((struct pm_message){ .event = PM_EVENT_ON, })
414 #define PMSG_FREEZE ((struct pm_message){ .event = PM_EVENT_FREEZE, })
415 #define PMSG_QUIESCE ((struct pm_message){ .event = PM_EVENT_QUIESCE, })
416 #define PMSG_SUSPEND ((struct pm_message){ .event = PM_EVENT_SUSPEND, })
417 #define PMSG_HIBERNATE ((struct pm_message){ .event = PM_EVENT_HIBERNATE, })
418 #define PMSG_RESUME ((struct pm_message){ .event = PM_EVENT_RESUME, })
419 #define PMSG_THAW ((struct pm_message){ .event = PM_EVENT_THAW, })
420 #define PMSG_RESTORE ((struct pm_message){ .event = PM_EVENT_RESTORE, })
421 #define PMSG_RECOVER ((struct pm_message){ .event = PM_EVENT_RECOVER, })
423 { .event = PM_EVENT_USER_SUSPEND, })
425 { .event = PM_EVENT_USER_RESUME, })
427 { .event = PM_EVENT_REMOTE_RESUME, })
429 { .event = PM_EVENT_AUTO_SUSPEND, })
431 { .event = PM_EVENT_AUTO_RESUME, })
433 #define PMSG_IS_AUTO(msg) (((msg).event & PM_EVENT_AUTO) != 0)