Searched refs:dev_interface (Results 1 – 1 of 1) sorted by relevance
/third_party/eudev/src/udev/ |
D | udev-builtin-usb_id.c | 247 struct udev_device *dev_interface = NULL; in builtin_usb_id() local 263 dev_interface = udev_device_get_parent_with_subsystem_devtype(dev, "usb", "usb_interface"); in builtin_usb_id() 264 if (dev_interface == NULL) { in builtin_usb_id() 270 ifnum = udev_device_get_sysattr_value(dev_interface, "bInterfaceNumber"); in builtin_usb_id() 271 driver = udev_device_get_sysattr_value(dev_interface, "driver"); in builtin_usb_id() 273 if_class = udev_device_get_sysattr_value(dev_interface, "bInterfaceClass"); in builtin_usb_id() 283 if_subclass = udev_device_get_sysattr_value(dev_interface, "bInterfaceSubClass"); in builtin_usb_id() 291 udev_device_get_syspath(dev_interface), if_class_num, protocol); in builtin_usb_id() 294 dev_usb = udev_device_get_parent_with_subsystem_devtype(dev_interface, "usb", "usb_device"); in builtin_usb_id()
|