Lines Matching refs:size

14 				  __u16 wLength, char *str, size_t size)
18 snprintf(str, size, "Get Device Status(Length = %d)", wLength);
21 snprintf(str, size,
26 snprintf(str, size, "Get Endpoint Status(ep%d%s)",
73 __u16 wIndex, char *str, size_t size)
77 snprintf(str, size, "%s Device Feature(%s%s)",
84 snprintf(str, size, "%s Interface Feature(%s)",
90 snprintf(str, size, "%s Endpoint Feature(%s ep%d%s)",
99 static void usb_decode_set_address(__u16 wValue, char *str, size_t size)
101 snprintf(str, size, "Set Address(Addr = %02x)", wValue);
106 __u16 wLength, char *str, size_t size)
164 snprintf(str, size, "%s %s Descriptor(Index = %d, Length = %d)",
169 static void usb_decode_get_configuration(__u16 wLength, char *str, size_t size)
171 snprintf(str, size, "Get Configuration(Length = %d)", wLength);
174 static void usb_decode_set_configuration(__u8 wValue, char *str, size_t size)
176 snprintf(str, size, "Set Configuration(Config = %d)", wValue);
180 size_t size)
182 snprintf(str, size, "Get Interface(Intf = %d, Length = %d)",
187 size_t size)
189 snprintf(str, size, "Set Interface(Intf = %d, Alt.Setting = %d)",
194 char *str, size_t size)
196 snprintf(str, size, "Synch Frame(Endpoint = %d, Length = %d)",
200 static void usb_decode_set_sel(__u16 wLength, char *str, size_t size)
202 snprintf(str, size, "Set SEL(Length = %d)", wLength);
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);
210 static void usb_decode_ctrl_generic(char *str, size_t size, __u8 bRequestType,
217 snprintf(str, size,
229 static void usb_decode_ctrl_standard(char *str, size_t size, __u8 bRequestType,
235 usb_decode_get_status(bRequestType, wIndex, wLength, str, size);
240 wIndex, str, size);
243 usb_decode_set_address(wValue, str, size);
248 wIndex, wLength, str, size);
251 usb_decode_get_configuration(wLength, str, size);
254 usb_decode_set_configuration(wValue, str, size);
257 usb_decode_get_intf(wIndex, wLength, str, size);
260 usb_decode_set_intf(wValue, wIndex, str, size);
263 usb_decode_synch_frame(wIndex, wLength, str, size);
266 usb_decode_set_sel(wLength, str, size);
269 usb_decode_set_isoch_delay(wValue, str, size);
272 usb_decode_ctrl_generic(str, size, bRequestType, bRequest,
282 * @size: size of str buffer.
299 const char *usb_decode_ctrl(char *str, size_t size, __u8 bRequestType,
305 usb_decode_ctrl_standard(str, size, bRequestType, bRequest,
311 usb_decode_ctrl_generic(str, size, bRequestType, bRequest,