Searched refs:delay_fd (Results 1 – 1 of 1) sorted by relevance
888 int delay_fd; in igt_restore_autoresume_delay() local891 igt_require((delay_fd = open("/sys/module/suspend/parameters/pm_test_delay", in igt_restore_autoresume_delay()895 igt_require(write(delay_fd, delay_str, strlen(delay_str))); in igt_restore_autoresume_delay()897 close(delay_fd); in igt_restore_autoresume_delay()910 int delay_fd; in igt_set_autoresume_delay() local915 delay_fd = open("/sys/module/suspend/parameters/pm_test_delay", O_RDWR); in igt_set_autoresume_delay()917 if (delay_fd >= 0) { in igt_set_autoresume_delay()919 igt_require(read(delay_fd, delay_str, in igt_set_autoresume_delay()926 igt_require(write(delay_fd, delay_str, strlen(delay_str))); in igt_set_autoresume_delay()928 close(delay_fd); in igt_set_autoresume_delay()