Searched refs:power_state_fd (Results 1 – 1 of 1) sorted by relevance
140 int power_state_fd; in suspend() local149 power_state_fd = open("/sys/power/state", O_RDWR); in suspend()150 if (power_state_fd < 0) in suspend()164 if (write(power_state_fd, "mem", strlen("mem")) != strlen("mem")) in suspend()168 close(power_state_fd); in suspend()