Lines Matching defs:pmstate
2223 pm_state_change_t pmstate;
2226 pmstate.physpath = physpath;
2227 pmstate.size = sizeof (physpath);
2239 if (ioctl(pm_fd, PM_GET_STATE_CHANGE_WAIT, &pmstate) != 0) {
2255 "pmstate event:0x%x flags:%x comp:%d "
2257 pmstate.event, pmstate.flags,
2258 pmstate.component, pmstate.old_level,
2259 pmstate.new_level, pmstate.physpath);
2262 (pmstate.flags & PSC_ALL_LOWEST) ? 1 : 0;
2263 } while (ioctl(pm_fd, PM_GET_STATE_CHANGE, &pmstate) == 0);