Home
last modified time | relevance | path

Searched refs:sysfs (Results 1 – 25 of 156) sorted by relevance

1234567

/external/igt-gpu-tools/tests/i915/
Dgem_exec_blt.c265 static void set_auto_freq(int sysfs) in set_auto_freq() argument
267 int min = igt_sysfs_get_u32(sysfs, "gt_RPn_freq_mhz"); in set_auto_freq()
268 int max = igt_sysfs_get_u32(sysfs, "gt_RP0_freq_mhz"); in set_auto_freq()
273 igt_sysfs_set_u32(sysfs, "gt_min_freq_mhz", min); in set_auto_freq()
274 igt_sysfs_set_u32(sysfs, "gt_max_freq_mhz", max); in set_auto_freq()
277 static void set_min_freq(int sysfs) in set_min_freq() argument
279 int min = igt_sysfs_get_u32(sysfs, "gt_RPn_freq_mhz"); in set_min_freq()
282 igt_require(igt_sysfs_set_u32(sysfs, "gt_min_freq_mhz", min) && in set_min_freq()
283 igt_sysfs_set_u32(sysfs, "gt_max_freq_mhz", min)); in set_min_freq()
286 static void set_max_freq(int sysfs) in set_max_freq() argument
[all …]
Di915_hangman.c43 static int sysfs = -1; variable
67 error = igt_sysfs_get(sysfs, "error"); in assert_entry()
89 igt_sysfs_write(sysfs, "error", "", 1); in clear_error_state()
114 fd = openat(sysfs, "error", O_RDONLY); in open_error()
270 sysfs = igt_sysfs_open(device);
271 igt_assert(sysfs != -1);
273 igt_require(has_error_state(sysfs));
Di915_pm_rc6_residency.c44 static int sysfs; variable
59 igt_sysfs_scanf(sysfs, "power/rc6_enable", "%lu", &enabled); in get_rc6_enabled_mask()
69 return igt_sysfs_scanf(sysfs, path, "%lu", &residency) == 1; in has_rc6_residency()
79 igt_assert(igt_sysfs_scanf(sysfs, path, "%lu", &residency) == 1); in read_rc6_residency()
211 sysfs = igt_sysfs_open(fd);
/external/linux-kselftest/tools/testing/selftests/cgroup/
Dwith_stress.sh19 echo $verb$subsys_ctrl >$sysfs/cgroup.subtree_control
28 sysfs=`mount -t cgroup2 | head -1 | awk '{ print $3 }'`
29 if [ ! -d "$sysfs" ]; then
34 if ! echo +$subsys_ctrl >$sysfs/cgroup.subtree_control ; then
35 echo "Skipping: cannot enable $subsys_ctrl in $sysfs" >&2
39 if ! echo -$subsys_ctrl >$sysfs/cgroup.subtree_control ; then
40 echo "Skipping: cannot disable $subsys_ctrl in $sysfs" >&2
50 sysfs=
/external/linux-kselftest/tools/testing/selftests/powerpc/dscr/
Ddscr_sysfs_test.c42 DIR *sysfs; in check_all_cpu_dscr_defaults() local
46 sysfs = opendir(CPU_PATH); in check_all_cpu_dscr_defaults()
47 if (!sysfs) { in check_all_cpu_dscr_defaults()
52 while ((dp = readdir(sysfs))) { in check_all_cpu_dscr_defaults()
71 closedir(sysfs); in check_all_cpu_dscr_defaults()
/external/linux-kselftest/tools/testing/selftests/cpufreq/
Dmain.sh49 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`
52 echo $msg sysfs is not mounted >&2
60 echo $msg cpus not available in sysfs >&2
65 echo $msg cpufreq directory not available in sysfs >&2
/external/autotest/client/site_tests/graphics_KernelMemory/
Dcontrol7 PURPOSE = 'Verify that kernel exports graphics memory info through sysfs.'
10 - Unable to read memory sysfs field.
11 - Unable to read gem objects sysfs field.
25 Verifies kernel gem objects and memory info values can be read from sysfs.
/external/autotest/client/site_tests/kernel_CrosECSysfsAccel/
Dcontrol7 PURPOSE = 'Test cros_ec_accel driver and sysfs interface'
8 CRITERIA = 'Fails if sysfs accel interface is not present or data is invalid'
16 DOC = 'Checks that the sysfs interface to the EC accels is present and working.'
/external/linux-kselftest/tools/testing/selftests/gpio/
Dgpio-mockup.sh43 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`
45 echo $msg sysfs is not mounted >&2
56 source gpio-mockup-sysfs.sh
/external/iputils/
Darping.c71 struct sysfs_devattr_values *sysfs; member
729 if (!device.sysfs) { in find_device_by_sysfs()
730 device.sysfs = malloc(sizeof(*device.sysfs)); in find_device_by_sysfs()
731 sysfs_devattr_values_init(device.sysfs, 0); in find_device_by_sysfs()
786 if (device.sysfs->value[SYSFS_DEVATTR_IFINDEX].ulong) { in find_device_by_sysfs()
787 if (device.sysfs->value[SYSFS_DEVATTR_FLAGS].ulong & IFF_RUNNING) in find_device_by_sysfs()
797 sysfs_devattr_values_init(device.sysfs, 1); in find_device_by_sysfs()
798 memcpy(device.sysfs, &sysfs_devattr_values, sizeof(*device.sysfs)); in find_device_by_sysfs()
810 device.ifindex = device.sysfs->value[SYSFS_DEVATTR_IFINDEX].ulong; in find_device_by_sysfs()
811 device.name = device.sysfs->ifname; in find_device_by_sysfs()
[all …]
/external/iptables/extensions/
Dlibxt_IDLETIMER.man6 each timer is created in sysfs. This attribute contains the timer remaining
12 When the timer expires, the target module sends a sysfs notification to the
23 Send netlink messages in addition to sysfs notifications and show remaining
/external/ltp/testscripts/
Dsysfs.sh85 mount -t sysfs sysfs $MNT_POINT
/external/igt-gpu-tools/tests/
Dperf_pmu.c1287 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()
[all …]
/external/rust/crates/num_cpus/fixtures/cgroups/proc/cgroups/
Dmountinfo4 4 1 0:3 / /sys rw,nosuid,nodev,noexec,relatime shared:4 - sysfs sysfs rw
/external/ltp/testcases/kernel/firmware/fw_load_kernel/
DREADME11 should be written to sysfs file 'fwnum' (the maximum number is 32). This write
13 'result' device sysfs file. Also, some information regarding module loading,
/external/autotest/server/site_tests/firmware_SysfsVPD/
Dcontrol9 PURPOSE = "Servo based test for reading VPD data through sysfs"
21 and verifies that they can be read through sysfs after a reboot. The test case
/external/cpuinfo/test/dmesg/
Dmoto-g-gen5.log554 [ 1.697613,1] SELinux: initialized (dev sysfs, type sysfs), uses genfs_contexts
1371 …:22): avc: denied { write } for uid=0 pid=2294 comm="sh" name="cpu0" dev="sysfs" ino=10012 scontex…
1372 …:23): avc: denied { write } for uid=0 pid=2294 comm="sh" name="cpu1" dev="sysfs" ino=10025 scontex…
1373 …:24): avc: denied { write } for uid=0 pid=2294 comm="sh" name="cpu2" dev="sysfs" ino=10038 scontex…
1374 …:25): avc: denied { write } for uid=0 pid=2294 comm="sh" name="cpu3" dev="sysfs" ino=10051 scontex…
1375 …:26): avc: denied { write } for uid=0 pid=2294 comm="sh" name="cpu4" dev="sysfs" ino=10064 scontex…
1376 …:27): avc: denied { write } for uid=0 pid=2294 comm="sh" name="cpu5" dev="sysfs" ino=10077 scontex…
1379 …:28): avc: denied { write } for uid=0 pid=2294 comm="sh" name="cpu6" dev="sysfs" ino=10090 scontex…
1380 …:29): avc: denied { write } for uid=0 pid=2294 comm="sh" name="cpu7" dev="sysfs" ino=10103 scontex…
1381 …:30): avc: denied { write } for uid=0 pid=2294 comm="sh" name="cpu0" dev="sysfs" ino=10012 scontex…
[all …]
/external/linux-kselftest/tools/testing/selftests/rcutorture/doc/
Drcu-test-image.txt25 sysfs /sys sysfs defaults 0 0
/external/strace/linux/arc/
Dsyscallent.h7 [247] = { 3, 0, SEN(sysfs), "sysfs" },
/external/libcap/kdebug/
Dtest-init.sh7 mount -t sysfs sys /sys
/external/linux-kselftest/tools/testing/selftests/memory-hotplug/
Dmem-on-off-test.sh18 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`
21 echo $msg sysfs is not mounted >&2
/external/linux-kselftest/tools/testing/selftests/cpu-hotplug/
Dcpu-on-off-test.sh19 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`
22 echo $msg sysfs is not mounted >&2
/external/virglrenderer/perf-testing/Docker/
Dinit.sh6 mount -t sysfs none /sys
/external/mesa3d/.gitlab-ci/bare-metal/
Dinit.sh6 mount -t sysfs none /sys
/external/autotest/client/site_tests/power_NoConsoleSuspend/
Dcontrol14 Sets the no_console_suspend kernel option via sysfs, then suspends the system.

1234567