• Home
  • Raw
  • Download

Lines Matching refs:sysfs

1287 	int fd, sysfs;  in test_frequency()  local
1289 sysfs = igt_sysfs_open(gem_fd); in test_frequency()
1290 igt_require(sysfs >= 0); in test_frequency()
1292 min_freq = igt_sysfs_get_u32(sysfs, "gt_RPn_freq_mhz"); in test_frequency()
1293 max_freq = igt_sysfs_get_u32(sysfs, "gt_RP0_freq_mhz"); in test_frequency()
1294 boost_freq = igt_sysfs_get_u32(sysfs, "gt_boost_freq_mhz"); in test_frequency()
1307 igt_require(igt_sysfs_set_u32(sysfs, "gt_min_freq_mhz", min_freq)); in test_frequency()
1308 igt_require(igt_sysfs_get_u32(sysfs, "gt_min_freq_mhz") == min_freq); in test_frequency()
1309 igt_require(igt_sysfs_set_u32(sysfs, "gt_max_freq_mhz", min_freq)); in test_frequency()
1310 igt_require(igt_sysfs_get_u32(sysfs, "gt_max_freq_mhz") == min_freq); in test_frequency()
1311 igt_require(igt_sysfs_set_u32(sysfs, "gt_boost_freq_mhz", min_freq)); in test_frequency()
1312 igt_require(igt_sysfs_get_u32(sysfs, "gt_boost_freq_mhz") == min_freq); in test_frequency()
1332 igt_require(igt_sysfs_set_u32(sysfs, "gt_max_freq_mhz", max_freq)); in test_frequency()
1333 igt_require(igt_sysfs_get_u32(sysfs, "gt_max_freq_mhz") == max_freq); in test_frequency()
1334 igt_require(igt_sysfs_set_u32(sysfs, "gt_boost_freq_mhz", boost_freq)); in test_frequency()
1335 igt_require(igt_sysfs_get_u32(sysfs, "gt_boost_freq_mhz") == boost_freq); in test_frequency()
1337 igt_require(igt_sysfs_set_u32(sysfs, "gt_min_freq_mhz", max_freq)); in test_frequency()
1338 igt_require(igt_sysfs_get_u32(sysfs, "gt_min_freq_mhz") == max_freq); in test_frequency()
1356 igt_sysfs_set_u32(sysfs, "gt_min_freq_mhz", min_freq); in test_frequency()
1357 if (igt_sysfs_get_u32(sysfs, "gt_min_freq_mhz") != min_freq) in test_frequency()
1359 min_freq, igt_sysfs_get_u32(sysfs, "gt_min_freq_mhz")); in test_frequency()