Lines Matching full:size
14 __u16 wLength, char *str, size_t size) in usb_decode_get_status() argument
18 snprintf(str, size, "Get Device Status(Length = %d)", wLength); in usb_decode_get_status()
21 snprintf(str, size, in usb_decode_get_status()
26 snprintf(str, size, "Get Endpoint Status(ep%d%s)", in usb_decode_get_status()
73 __u16 wIndex, char *str, size_t size) in usb_decode_set_clear_feature() argument
77 snprintf(str, size, "%s Device Feature(%s%s)", in usb_decode_set_clear_feature()
84 snprintf(str, size, "%s Interface Feature(%s)", in usb_decode_set_clear_feature()
90 snprintf(str, size, "%s Endpoint Feature(%s ep%d%s)", 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()
106 __u16 wLength, char *str, size_t size) in usb_decode_get_set_descriptor() argument
164 snprintf(str, size, "%s %s Descriptor(Index = %d, Length = %d)", in usb_decode_get_set_descriptor()
169 static void usb_decode_get_configuration(__u16 wLength, char *str, size_t size) in usb_decode_get_configuration() argument
171 snprintf(str, size, "Get Configuration(Length = %d)", wLength); in usb_decode_get_configuration()
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()
180 size_t size) in usb_decode_get_intf() argument
182 snprintf(str, size, "Get Interface(Intf = %d, Length = %d)", in usb_decode_get_intf()
187 size_t size) in usb_decode_set_intf() argument
189 snprintf(str, size, "Set Interface(Intf = %d, Alt.Setting = %d)", in usb_decode_set_intf()
194 char *str, size_t size) in usb_decode_synch_frame() argument
196 snprintf(str, size, "Synch Frame(Endpoint = %d, Length = %d)", in usb_decode_synch_frame()
200 static void usb_decode_set_sel(__u16 wLength, char *str, size_t size) in usb_decode_set_sel() argument
202 snprintf(str, size, "Set SEL(Length = %d)", wLength); in usb_decode_set_sel()
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()
213 const char *usb_decode_ctrl(char *str, size_t size, __u8 bRequestType, in usb_decode_ctrl() argument
219 usb_decode_get_status(bRequestType, wIndex, wLength, str, size); in usb_decode_ctrl()
224 wIndex, str, size); in usb_decode_ctrl()
227 usb_decode_set_address(wValue, str, size); in usb_decode_ctrl()
232 wIndex, wLength, str, size); in usb_decode_ctrl()
235 usb_decode_get_configuration(wLength, str, size); in usb_decode_ctrl()
238 usb_decode_set_configuration(wValue, str, size); in usb_decode_ctrl()
241 usb_decode_get_intf(wIndex, wLength, str, size); in usb_decode_ctrl()
244 usb_decode_set_intf(wValue, wIndex, str, size); in usb_decode_ctrl()
247 usb_decode_synch_frame(wIndex, wLength, str, size); in usb_decode_ctrl()
250 usb_decode_set_sel(wLength, str, size); in usb_decode_ctrl()
253 usb_decode_set_isoch_delay(wValue, str, size); in usb_decode_ctrl()
256 snprintf(str, size, "%02x %02x %02x %02x %02x %02x %02x %02x", in usb_decode_ctrl()