HomeSort by relevance Sort by last modified time
    Searched refs:sysfs_path (Results 1 - 7 of 7) sorted by null

  /external/ltp/testcases/kernel/device-drivers/acpi/
ltp_acpi.c 58 char descr[4096], sysfs_path[4096]; local
80 strcpy(sysfs_path, "/sys");
81 if (read_sysfs_file(dev_path, sysfs_path + 4, 4092)) {
102 strcat(sysfs_path, "/description");
103 if (access(sysfs_path, R_OK)) {
105 sysfs_path);
108 tst_resm(TINFO, "found description file '%s'", sysfs_path);
111 if (read_sysfs_file(sysfs_path, sysfs_descr, 4096))
ltp_acpi_cmds.c 71 static char *sysfs_path; variable
129 kfree(sysfs_path);
130 sysfs_path = NULL;
134 sysfs_path = kobject_get_path(&device->dev.kobj, GFP_KERNEL);
192 (sysfs_path) ? sysfs_path : "no path");
199 (sysfs_path) ? sysfs_path : "no path");
556 if (sysfs_path)
557 return scnprintf(buf, PAGE_SIZE, "%s", sysfs_path);
    [all...]
  /external/autotest/client/site_tests/kernel_CrosECSysfs/
kernel_CrosECSysfs.py 16 sysfs_path = '/sys/devices/virtual/chromeos/cros_ec' variable in class:kernel_CrosECSysfs
19 sysfs_path = '/sys/class/chromeos/cros_ec' variable in class:kernel_CrosECSysfs
39 fullpath = os.path.join(self.sysfs_path, filename)
49 fullpath = os.path.join(self.sysfs_path, filename)
  /external/chromium-trace/catapult/third_party/pyserial/serial/tools/
list_ports_linux.py 65 def usb_sysfs_hw_string(sysfs_path):
67 bus, dev = os.path.basename(os.path.realpath(sysfs_path)).split('-')
68 snr = read_line(sysfs_path+'/serial')
74 read_line(sysfs_path+'/idVendor'),
75 read_line(sysfs_path+'/idProduct'),
79 def usb_lsusb_string(sysfs_path):
80 base = os.path.basename(os.path.realpath(sysfs_path))
83 dev = int(read_line(os.path.join(sysfs_path, 'devnum')))
  /external/autotest/client/site_tests/hardware_SsdDetection/
hardware_SsdDetection.py 39 sysfs_path = '/sys/block/%s/removable' % dev
40 return (os.path.exists(sysfs_path) and
41 open(sysfs_path).read().strip() == '0')
  /external/autotest/client/site_tests/power_WakeupRTC/
power_WakeupRTC.py 17 sysfs_path = '/sys/class/rtc/%s/device/power/wakeup' % rtc_device
18 return file(sysfs_path).read().strip()
  /external/autotest/client/deps/fakegudev/src/
fakegudev.c 148 static const char *k_prop_sysfs_path = "sysfs_path";
425 const gchar *sysfs_path)
433 if (g_hash_table_lookup_extended (devices_by_syspath, sysfs_path, NULL,
442 return realfunc (client, sysfs_path);

Completed in 816 milliseconds