Lines Matching refs:wValue

33 static const char *usb_decode_device_feature(u16 wValue)  in usb_decode_device_feature()  argument
35 switch (wValue) { in usb_decode_device_feature()
72 __u8 bRequest, __u16 wValue, in usb_decode_set_clear_feature() argument
79 usb_decode_device_feature(wValue), in usb_decode_set_clear_feature()
80 wValue == USB_DEVICE_TEST_MODE ? in usb_decode_set_clear_feature()
86 wValue == USB_INTRF_FUNC_SUSPEND ? in usb_decode_set_clear_feature()
92 wValue == USB_ENDPOINT_HALT ? "Halt" : "UNKNOWN", in usb_decode_set_clear_feature()
99 static void usb_decode_set_address(__u16 wValue, char *str, size_t size) in usb_decode_set_address() argument
101 snprintf(str, size, "Set Address(Addr = %02x)", wValue); in usb_decode_set_address()
105 __u16 wValue, __u16 wIndex, in usb_decode_get_set_descriptor() argument
110 switch (wValue >> 8) { in usb_decode_get_set_descriptor()
166 s, wValue & 0xff, wLength); in usb_decode_get_set_descriptor()
174 static void usb_decode_set_configuration(__u8 wValue, char *str, size_t size) in usb_decode_set_configuration() argument
176 snprintf(str, size, "Set Configuration(Config = %d)", wValue); in usb_decode_set_configuration()
186 static void usb_decode_set_intf(__u8 wValue, __u16 wIndex, char *str, in usb_decode_set_intf() argument
190 wIndex, wValue); in usb_decode_set_intf()
205 static void usb_decode_set_isoch_delay(__u8 wValue, char *str, size_t size) in usb_decode_set_isoch_delay() argument
207 snprintf(str, size, "Set Isochronous Delay(Delay = %d ns)", wValue); in usb_decode_set_isoch_delay()
232 __u8 bRequest, __u16 wValue, __u16 wIndex, in usb_decode_ctrl() argument
241 usb_decode_set_clear_feature(bRequestType, bRequest, wValue, in usb_decode_ctrl()
245 usb_decode_set_address(wValue, str, size); in usb_decode_ctrl()
249 usb_decode_get_set_descriptor(bRequestType, bRequest, wValue, in usb_decode_ctrl()
256 usb_decode_set_configuration(wValue, str, size); in usb_decode_ctrl()
262 usb_decode_set_intf(wValue, wIndex, str, size); in usb_decode_ctrl()
271 usb_decode_set_isoch_delay(wValue, str, size); in usb_decode_ctrl()
276 (u8)(cpu_to_le16(wValue) & 0xff), in usb_decode_ctrl()
277 (u8)(cpu_to_le16(wValue) >> 8), in usb_decode_ctrl()