Lines Matching defs:pmstate
1084 pm_state_change_t pmstate;
1088 pmstate.physpath = physpath;
1089 pmstate.size = sizeof (physpath);
1107 if (ioctl(pm_fd, PM_GET_STATE_CHANGE_WAIT, &pmstate) != 0) {
1115 "pmstate event:0x%x flags:%x comp:%d "
1117 pmstate.event, pmstate.flags,
1118 pmstate.component,
1119 pmstate.old_level,
1120 pmstate.new_level,
1121 pmstate.physpath);
1124 (pmstate.flags & PSC_ALL_LOWEST) ? 1 : 0;
1125 } while (ioctl(pm_fd, PM_GET_STATE_CHANGE, &pmstate) == 0);