Searched refs:pm_status_fd (Results 1 – 1 of 1) sorted by relevance
427 int pm_status_fd = -1; variable436 if (pm_status_fd < 0) in __igt_restore_runtime_pm()465 close(pm_status_fd); in __igt_restore_runtime_pm()466 pm_status_fd = -1; in __igt_restore_runtime_pm()481 if (pm_status_fd < 0) in igt_restore_runtime_pm()515 if (pm_status_fd >= 0) in igt_setup_runtime_pm()581 pm_status_fd = open(POWER_DIR "/runtime_status", O_RDONLY); in igt_setup_runtime_pm()582 igt_assert_f(pm_status_fd >= 0, in igt_setup_runtime_pm()598 lseek(pm_status_fd, 0, SEEK_SET); in igt_get_runtime_pm_status()599 n_read = read(pm_status_fd, buf, ARRAY_SIZE(buf) - 1); in igt_get_runtime_pm_status()