Lines Matching defs:pmstate
1452 pm_state_change_t pmstate;
1456 pmstate.physpath = physpath;
1457 pmstate.size = sizeof (physpath);
1475 if (ioctl(pm_fd, PM_GET_STATE_CHANGE_WAIT, &pmstate) != 0) {
1483 "pmstate event:0x%x flags:%x"
1485 pmstate.event, pmstate.flags,
1486 pmstate.component,
1487 pmstate.old_level,
1488 pmstate.new_level,
1489 pmstate.physpath);
1492 (pmstate.flags & PSC_ALL_LOWEST) ? 1 : 0;
1493 } while (ioctl(pm_fd, PM_GET_STATE_CHANGE, &pmstate) == 0);
2050 pm_state_change_t pmstate;
2097 pmstate.physpath = diskp->physpath;
2098 pmstate.size = strlen(diskp->physpath);
2099 pmstate.component = 0;
2102 PM_GET_TIME_IDLE, &pmstate)) == -1) {