Home
last modified time | relevance | path

Searched refs:sysfs_path (Results 1 – 6 of 6) sorted by relevance

/linux/samples/hid/
H A Dhid_mouse.c81 const char *sysfs_path; in main() local
97 sysfs_path = argv[optind]; in main()
98 if (!sysfs_path) { in main()
109 hid_id = get_hid_id(sysfs_path); in main()
H A Dhid_surface_dial.c120 const char *sysfs_path; in main() local
157 sysfs_path = argv[optind]; in main()
158 if (!sysfs_path) { in main()
169 hid_id = get_hid_id(sysfs_path); in main()
/linux/tools/testing/selftests/devices/probe/
H A Dtest_discoverable_devices.py172 sysfs_path = os.path.join(parent_sysfs, pathdir)
174 sysfs_path = parent_sysfs
177 return find_controller_in_sysfs(device, sysfs_path)
179 return [sysfs_path]
/linux/tools/hv/
H A Dlsvmbus79 d.sysfs_path = '%s/%s' % (vmbus_sys_path, f)
110 d.device_id, d.sysfs_path, d.chn_vp_mapping
/linux/tools/testing/selftests/hid/tests/
H A Dbase.py219 sysfs_path = Path("/sys/bus/hid/drivers")
221 sysfs_path /= kernel_driver
225 sysfs_path = Path("/sys/module") / kernel_module.replace("-", "_")
226 if not sysfs_path.exists():
/linux/tools/power/x86/turbostat/
H A Dturbostat.c123 struct sysfs_path { struct
126 struct sysfs_path *next; argument
132 struct sysfs_path *sp;
4284 char *find_sysfs_path_by_id(struct sysfs_path *sp, int id) in find_sysfs_path_by_id()
9363 struct sysfs_path *sp; in add_counter()
9365 sp = calloc(1, sizeof(struct sysfs_path)); in add_counter()