Lines Matching defs:pmstate
692 pm_state_change_t pmstate;
699 pmstate.physpath = physpath;
700 pmstate.size = sizeof (physpath);
713 if (ioctl(pm_fd, PM_GET_STATE_CHANGE_WAIT, &pmstate) != 0) {
729 "pmstate event:0x%x flags:%x comp:%d "
731 pmstate.event, pmstate.flags,
732 pmstate.component, pmstate.old_level,
733 pmstate.new_level, pmstate.physpath);
736 (pmstate.flags & PSC_ALL_LOWEST) ? 1 : 0;
737 } while (ioctl(pm_fd, PM_GET_STATE_CHANGE, &pmstate) == 0);