Home
last modified time | relevance | path

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

/openbmc/linux/tools/usb/usbip/libsrc/
H A Dusbip_common.c199 #define READ_ATTR(object, type, dev, name, format) \ macro
211 READ_ATTR(udev, uint8_t, sdev, bDeviceClass, "%02x\n"); in read_usb_device()
212 READ_ATTR(udev, uint8_t, sdev, bDeviceSubClass, "%02x\n"); in read_usb_device()
213 READ_ATTR(udev, uint8_t, sdev, bDeviceProtocol, "%02x\n"); in read_usb_device()
215 READ_ATTR(udev, uint16_t, sdev, idVendor, "%04x\n"); in read_usb_device()
216 READ_ATTR(udev, uint16_t, sdev, idProduct, "%04x\n"); in read_usb_device()
217 READ_ATTR(udev, uint16_t, sdev, bcdDevice, "%04x\n"); in read_usb_device()
221 READ_ATTR(udev, uint8_t, sdev, bNumInterfaces, "%02x\n"); in read_usb_device()
223 READ_ATTR(udev, uint8_t, sdev, devnum, "%d\n"); in read_usb_device()
261 READ_ATTR(uinf, uint8_t, sif, bInterfaceClass, "%02x\n"); in read_usb_interface()
[all …]