Lines Matching refs:devpath
49 static void print_all_attributes(const char *devpath, const char *key)
56 strlcat(path, devpath, sizeof(path));
78 attr_value = sysfs_attr_get_value(devpath, dent->d_name);
103 static int print_device_chain(const char *devpath)
107 dev = sysfs_device_get(devpath);
112 "Udevinfo starts with the device specified by the devpath and then\n"
119 printf(" looking at device '%s':\n", dev->devpath);
123 print_all_attributes(dev->devpath, "ATTR");
130 printf(" looking at parent device '%s':\n", dev->devpath);
135 print_all_attributes(dev->devpath, "ATTRS");
145 printf("P: %s\n", udev->dev->devpath);
342 " --path=<devpath> sysfs device path used for query or chain\n"
359 /* needs devpath or node/symlink name for query */
397 printf("%s\n", udev->dev->devpath);
424 if (print_device_chain(udev->dev->devpath) != 0) {