Home
last modified time | relevance | path

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

/linux-6.15/tools/testing/selftests/ublk/
H A Dtest_generic_03.sh14 sysfs_path=/sys/block/ublkb"${dev_id}"
15 dma_align=$(cat "$sysfs_path"/queue/dma_alignment)
16 max_segments=$(cat "$sysfs_path"/queue/max_segments)
17 max_segment_size=$(cat "$sysfs_path"/queue/max_segment_size)
/linux-6.15/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-6.15/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-6.15/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-6.15/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-6.15/tools/power/x86/turbostat/
H A Dturbostat.c125 struct sysfs_path { struct
128 struct sysfs_path *next; argument
134 struct sysfs_path *sp;
4493 char *find_sysfs_path_by_id(struct sysfs_path *sp, int id) in find_sysfs_path_by_id()
9721 struct sysfs_path *sp; in add_counter()
9723 sp = calloc(1, sizeof(struct sysfs_path)); in add_counter()