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