Lines Matching refs:wValue
33 static const char *usb_decode_device_feature(u16 wValue)
35 switch (wValue) {
72 __u8 bRequest, __u16 wValue,
79 usb_decode_device_feature(wValue),
80 wValue == USB_DEVICE_TEST_MODE ?
86 wValue == USB_INTRF_FUNC_SUSPEND ?
92 wValue == USB_ENDPOINT_HALT ? "Halt" : "UNKNOWN",
99 static void usb_decode_set_address(__u16 wValue, char *str, size_t size)
101 snprintf(str, size, "Set Address(Addr = %02x)", wValue);
105 __u16 wValue, __u16 wIndex,
110 switch (wValue >> 8) {
166 s, wValue & 0xff, wLength);
174 static void usb_decode_set_configuration(__u8 wValue, char *str, size_t size)
176 snprintf(str, size, "Set Configuration(Config = %d)", wValue);
186 static void usb_decode_set_intf(__u8 wValue, __u16 wIndex, char *str,
190 wIndex, wValue);
205 static void usb_decode_set_isoch_delay(__u8 wValue, char *str, size_t size)
207 snprintf(str, size, "Set Isochronous Delay(Delay = %d ns)", wValue);
211 __u8 bRequest, __u16 wValue, __u16 wIndex,
218 "Type=%s Recipient=%s Dir=%s bRequest=%u wValue=%u wIndex=%u wLength=%u",
226 bRequest, wValue, wIndex, wLength);
230 __u8 bRequest, __u16 wValue, __u16 wIndex,
239 usb_decode_set_clear_feature(bRequestType, bRequest, wValue,
243 usb_decode_set_address(wValue, str, size);
247 usb_decode_get_set_descriptor(bRequestType, bRequest, wValue,
254 usb_decode_set_configuration(wValue, str, size);
260 usb_decode_set_intf(wValue, wIndex, str, size);
269 usb_decode_set_isoch_delay(wValue, str, size);
273 wValue, wIndex, wLength);
285 * @wValue: matches the USB wValue field (CPU byte order)
296 * Important: wValue, wIndex, wLength parameters before invoking this function
300 __u8 bRequest, __u16 wValue, __u16 wIndex,
306 wValue, wIndex, wLength);
312 wValue, wIndex, wLength);