Lines Matching refs:size
15 __u16 wLength, char *str, size_t size) in usb_decode_get_status() argument
19 snprintf(str, size, "Get Device Status(Length = %d)", wLength); in usb_decode_get_status()
22 snprintf(str, size, in usb_decode_get_status()
27 snprintf(str, size, "Get Endpoint Status(ep%d%s)", in usb_decode_get_status()
74 __u16 wIndex, char *str, size_t size) in usb_decode_set_clear_feature() argument
78 snprintf(str, size, "%s Device Feature(%s%s)", in usb_decode_set_clear_feature()
85 snprintf(str, size, "%s Interface Feature(%s)", in usb_decode_set_clear_feature()
91 snprintf(str, size, "%s Endpoint Feature(%s ep%d%s)", in usb_decode_set_clear_feature()
100 static void usb_decode_set_address(__u16 wValue, char *str, size_t size) in usb_decode_set_address() argument
102 snprintf(str, size, "Set Address(Addr = %02x)", wValue); in usb_decode_set_address()
107 __u16 wLength, char *str, size_t size) in usb_decode_get_set_descriptor() argument
165 snprintf(str, size, "%s %s Descriptor(Index = %d, Length = %d)", in usb_decode_get_set_descriptor()
170 static void usb_decode_get_configuration(__u16 wLength, char *str, size_t size) in usb_decode_get_configuration() argument
172 snprintf(str, size, "Get Configuration(Length = %d)", wLength); in usb_decode_get_configuration()
175 static void usb_decode_set_configuration(__u8 wValue, char *str, size_t size) in usb_decode_set_configuration() argument
177 snprintf(str, size, "Set Configuration(Config = %d)", wValue); in usb_decode_set_configuration()
181 size_t size) in usb_decode_get_intf() argument
183 snprintf(str, size, "Get Interface(Intf = %d, Length = %d)", in usb_decode_get_intf()
188 size_t size) in usb_decode_set_intf() argument
190 snprintf(str, size, "Set Interface(Intf = %d, Alt.Setting = %d)", in usb_decode_set_intf()
195 char *str, size_t size) in usb_decode_synch_frame() argument
197 snprintf(str, size, "Synch Frame(Endpoint = %d, Length = %d)", in usb_decode_synch_frame()
201 static void usb_decode_set_sel(__u16 wLength, char *str, size_t size) in usb_decode_set_sel() argument
203 snprintf(str, size, "Set SEL(Length = %d)", wLength); in usb_decode_set_sel()
206 static void usb_decode_set_isoch_delay(__u8 wValue, char *str, size_t size) in usb_decode_set_isoch_delay() argument
208 snprintf(str, size, "Set Isochronous Delay(Delay = %d ns)", wValue); in usb_decode_set_isoch_delay()
211 static void usb_decode_ctrl_generic(char *str, size_t size, __u8 bRequestType, in usb_decode_ctrl_generic() argument
218 snprintf(str, size, in usb_decode_ctrl_generic()
230 static void usb_decode_ctrl_standard(char *str, size_t size, __u8 bRequestType, in usb_decode_ctrl_standard() argument
236 usb_decode_get_status(bRequestType, wIndex, wLength, str, size); in usb_decode_ctrl_standard()
241 wIndex, str, size); in usb_decode_ctrl_standard()
244 usb_decode_set_address(wValue, str, size); in usb_decode_ctrl_standard()
249 wIndex, wLength, str, size); in usb_decode_ctrl_standard()
252 usb_decode_get_configuration(wLength, str, size); in usb_decode_ctrl_standard()
255 usb_decode_set_configuration(wValue, str, size); in usb_decode_ctrl_standard()
258 usb_decode_get_intf(wIndex, wLength, str, size); in usb_decode_ctrl_standard()
261 usb_decode_set_intf(wValue, wIndex, str, size); in usb_decode_ctrl_standard()
264 usb_decode_synch_frame(wIndex, wLength, str, size); in usb_decode_ctrl_standard()
267 usb_decode_set_sel(wLength, str, size); in usb_decode_ctrl_standard()
270 usb_decode_set_isoch_delay(wValue, str, size); in usb_decode_ctrl_standard()
273 usb_decode_ctrl_generic(str, size, bRequestType, bRequest, in usb_decode_ctrl_standard()
300 const char *usb_decode_ctrl(char *str, size_t size, __u8 bRequestType, in usb_decode_ctrl() argument
306 usb_decode_ctrl_standard(str, size, bRequestType, bRequest, in usb_decode_ctrl()
312 usb_decode_ctrl_generic(str, size, bRequestType, bRequest, in usb_decode_ctrl()