Lines Matching refs:cdrv
50 static const struct cpufreq_driver_info cdrv[] = { variable
81 FILE_PRINTF(cdrv[id].file, "%d", boost_value); in cleanup()
96 for (i = 0; i < ARRAY_SIZE(cdrv); ++i) { in setup()
97 fd = open(cdrv[i].file, O_RDWR); in setup()
110 cdrv[id].name, cdrv[id].file); in setup()
114 SAFE_FILE_SCANF(NULL, cdrv[i].file, "%d", &boost_value); in setup()
120 if (!strcmp(cdrv[i].name, "intel_pstate") && boost_value == cdrv[i].off) in setup()
121 check_set_turbo(cdrv[i].file, cdrv[i].off_str); in setup()
177 if (boost_value == cdrv[id].off) in test_run()
178 SAFE_FILE_PRINTF(cleanup, cdrv[id].file, "%s", cdrv[id].on_str); in test_run()
183 SAFE_FILE_PRINTF(cleanup, cdrv[id].file, "%s", cdrv[id].off_str); in test_run()