Lines Matching refs:READ_ATTR
199 #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()
219 READ_ATTR(udev, uint8_t, sdev, bConfigurationValue, "%02x\n"); in read_usb_device()
220 READ_ATTR(udev, uint8_t, sdev, bNumConfigurations, "%02x\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()
262 READ_ATTR(uinf, uint8_t, sif, bInterfaceSubClass, "%02x\n"); in read_usb_interface()
263 READ_ATTR(uinf, uint8_t, sif, bInterfaceProtocol, "%02x\n"); in read_usb_interface()