| /tools/testing/selftests/powerpc/eeh/ |
| A D | eeh-basic.sh | 14 devices="" 17 for dev in `ls -1 /sys/bus/pci/devices/ | grep '\.0$'` ; do 31 devices="$devices $dev" 34 dev_count="$(echo $devices | wc -w)" 38 for dev in $devices ; do
|
| A D | eeh-functions.sh | 100 if ! test -e /sys/bus/pci/devices/$dev/ ; then 139 test -e /sys/bus/pci/devices/$1/driver; 152 devices="" 165 for dev in `ls -1 /sys/bus/pci/devices/` ; do 183 devices="$devices $dev" 186 if [ -z "$devices" ] ; then 190 echo $devices
|
| A D | eeh-vf-unaware.sh | 22 echo "$vf" > /sys/bus/pci/devices/$vf/driver/unbind
|
| /tools/testing/selftests/cpu-hotplug/ |
| A D | cpu-on-off-test.sh | 27 if ! ls $SYSFS/devices/system/cpu/cpu* > /dev/null 2>&1; then 33 online_cpus=`cat $SYSFS/devices/system/cpu/online` 41 present_cpus=`cat $SYSFS/devices/system/cpu/present` 47 offline_cpus=`cat $SYSFS/devices/system/cpu/offline` 63 for cpu in $SYSFS/devices/system/cpu/cpu*; do 82 grep -q 1 $SYSFS/devices/system/cpu/cpu$1/online 87 grep -q 0 $SYSFS/devices/system/cpu/cpu$1/online 92 echo 1 > $SYSFS/devices/system/cpu/cpu$1/online 97 echo 0 > $SYSFS/devices/system/cpu/cpu$1/online
|
| /tools/power/cpupower/bench/ |
| A D | cpufreq-bench_script.sh | 30 echo $up_threshold >/sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold 31 echo $sampling_rate >/sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate 32 up_threshold_set=$(cat /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold) 33 sampling_rate_set=$(cat /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate)
|
| /tools/testing/selftests/devices/probe/boards/ |
| A D | google,spherion.yaml | 23 # The 'devices' key defines a list of devices that are accessible under that 28 # define how to reach this device from the parent controller. For USB devices it 30 # the USB topology. For PCI devices it follows the format \d.\d(/\d.\d)* 34 # The 'name' key is used in the leaf devices to name the device for clarity in 37 # For USB leaf devices, the 'interfaces' key should contain a list of the 43 devices: 52 devices:
|
| A D | Dell Inc.,XPS 13 9300.yaml | 6 # /sys/devices/virtual/dmi/id/sys_vendor, and Product comes from 7 # /sys/devices/virtual/dmi/id/product_name. 16 devices: 20 devices:
|
| /tools/testing/selftests/drivers/net/mlxsw/ |
| A D | pci_reset.sh | 30 if [ ! -f /sys/bus/pci/devices/$bdf/reset_method ]; then 36 [[ $(cat /sys/bus/pci/devices/$bdf/reset_method) == "bus" ]] 41 echo 1 > /sys/bus/pci/devices/$bdf/reset
|
| /tools/testing/selftests/memory-hotplug/ |
| A D | mem-on-off-test.sh | 25 if ! ls $SYSFS/devices/system/memory/memory* > /dev/null 2>&1; then 30 if ! grep -q 1 $SYSFS/devices/system/memory/memory*/removable; then 43 for memory in $SYSFS/devices/system/memory/memory*; do 63 grep -q online $SYSFS/devices/system/memory/memory$1/state 68 grep -q offline $SYSFS/devices/system/memory/memory$1/state 73 echo online > $SYSFS/devices/system/memory/memory$1/state 78 echo offline > $SYSFS/devices/system/memory/memory$1/state
|
| /tools/testing/selftests/net/forwarding/ |
| A D | tsn_lib.sh | 116 if ! [ -d /sys/bus/cpu/devices/cpu${cpu}/cpufreq ]; then 125 cat /sys/bus/cpu/devices/cpu${cpu}/cpufreq/scaling_max_freq > \ 126 /sys/bus/cpu/devices/cpu${cpu}/cpufreq/scaling_min_freq 128 /sys/bus/cpu/devices/cpu${cpu}/cpufreq/scaling_governor 137 if ! [ -d /sys/bus/cpu/devices/cpu${cpu}/cpufreq ]; then 141 echo "${!freq}" > /sys/bus/cpu/devices/cpu${cpu}/cpufreq/scaling_min_freq 143 /sys/bus/cpu/devices/cpu${cpu}/cpufreq/scaling_governor
|
| /tools/usb/usbip/ |
| A D | README | 75 - List driver assignments for USB devices. 110 - List exported USB devices on the <host>. 128 Physically attach your USB devices to this host. 134 In another terminal, let's look up what USB devices are physically 138 Local USB devices 178 Local USB devices 189 First, let's list available remote devices that are marked as 196 Exportable USB devices 200 : /sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1 215 : /sys/devices/pci0000:00/0000:00:1e.0/0000:02:0a.0/usb3/3-1 [all …]
|
| /tools/testing/selftests/ftrace/test.d/ftrace/ |
| A D | func_hotplug.tc | 8 ls -d /sys/devices/system/cpu/cpu[0-9]* | wc -l 20 for i in /sys/devices/system/cpu/cpu[1-9]*; do
|
| A D | func_cpumask.tc | 8 ls -d /sys/devices/system/cpu/cpu[0-9]* | wc -l
|
| /tools/testing/selftests/cgroup/ |
| A D | test_cpuset_v1_hp.sh | 36 echo 0 > /sys/devices/system/cpu/cpu1/online 38 echo 1 > /sys/devices/system/cpu/cpu1/online
|
| /tools/testing/selftests/zram/ |
| A D | README | 1 zram: Compressed RAM based block devices 5 The zram module creates RAM based block devices named /dev/zram<id> 11 Statistics for individual zram devices are exported through sysfs nodes at
|
| /tools/testing/selftests/drivers/net/netdevsim/ |
| A D | ethtool-common.sh | 5 NSIM_DEV_SYS=/sys/bus/netdevsim/devices/netdevsim$NSIM_ID 56 ls /sys/bus/netdevsim/devices/netdevsim${NSIM_ID}/net/
|
| /tools/usb/usbip/src/ |
| A D | usbip_list.c | 171 struct udev_list_entry *devices, *dev_list_entry; in list_devices() local 197 devices = udev_enumerate_get_list_entry(enumerate); in list_devices() 200 udev_list_entry_foreach(dev_list_entry, devices) { in list_devices() 254 struct udev_list_entry *devices, *dev_list_entry; in list_gadget_devices() local 275 devices = udev_enumerate_get_list_entry(enumerate); in list_gadget_devices() 277 udev_list_entry_foreach(dev_list_entry, devices) { in list_gadget_devices()
|
| /tools/perf/tests/shell/ |
| A D | amd-ibs-swfilt.sh | 7 if [ ! -d /sys/bus/event_source/devices/ibs_op ]; then 13 if [ ! -f /sys/bus/event_source/devices/ibs_op/format/swfilt ]; then
|
| A D | record_lbr.sh | 7 if [ ! -f /sys/bus/event_source/devices/cpu/caps/branches ] && 8 [ ! -f /sys/bus/event_source/devices/cpu_core/caps/branches ]
|
| /tools/perf/Documentation/ |
| A D | perf-iostat.txt | 18 - Inbound Read - I/O devices below root port read from the host memory, in MB 20 - Inbound Write - I/O devices below root port write to the host memory, in MB 22 - Outbound Read - CPU reads from I/O devices below root port, in MB 24 - Outbound Write - CPU writes to I/O devices below root port, in MB
|
| A D | intel-hybrid.txt | 11 /sys/bus/event_source/devices/cpu_core 12 /sys/bus/event_source/devices/cpu_atom 16 cat /sys/bus/event_source/devices/cpu_core/cpus 19 cat /sys/bus/event_source/devices/cpu_atom/cpus 63 /sys/bus/event_source/devices/cpu_atom/type 64 /sys/bus/event_source/devices/cpu_core/type
|
| /tools/testing/selftests/rcutorture/bin/ |
| A D | jitter.sh | 31 for i in /sys/devices/system/cpu/cpu[0-9]* 58 if cpus=`grep 1 /sys/devices/system/cpu/*/online 2>&1 |
|
| /tools/testing/selftests/pcie_bwctrl/ |
| A D | set_pcie_cooling_state.sh | 29 echo $skipmsg thermal cooling devices missing >&2 35 echo $skipmsg pcie cooling devices missing >&2
|
| /tools/power/cpupower/ |
| A D | cpupower-completion.sh | 24 if [ -d /sys/devices/system/cpu/cpufreq/ ] ; then 28 if [ -d /sys/devices/system/cpu/cpufreq/ ] ; then
|
| /tools/usb/usbip/libsrc/ |
| A D | usbip_host_common.c | 122 struct udev_list_entry *devices, *dev_list_entry; in refresh_exported_devices() local 130 devices = udev_enumerate_get_list_entry(enumerate); in refresh_exported_devices() 132 udev_list_entry_foreach(dev_list_entry, devices) { in refresh_exported_devices()
|