Lines Matching defs:pmstate
1125 pm_state_change_t pmstate;
1131 pmstate.physpath = physpath;
1132 pmstate.size = sizeof (physpath);
1150 if (ioctl(pm_fd, PM_GET_STATE_CHANGE_WAIT, &pmstate) != 0) {
1159 "pmstate event:0x%x flags:%x"
1161 pmstate.event, pmstate.flags,
1162 pmstate.component,
1163 pmstate.old_level,
1164 pmstate.new_level,
1165 pmstate.physpath);
1168 (pmstate.flags & PSC_ALL_LOWEST) ? 1 : 0;
1169 } while (ioctl(pm_fd, PM_GET_STATE_CHANGE, &pmstate) == 0);
1564 pm_state_change_t pmstate;
1614 pmstate.physpath = diskp->physpath;
1615 pmstate.size = strlen(diskp->physpath);
1616 pmstate.component = 0;
1619 &pmstate)) == -1) {