Home | History | Annotate | Download | only in gadget

Lines Matching refs:len

44 		unsigned		len = (*src)->bLength;
46 if (len > buflen)
48 memcpy(dest, *src, len);
49 buflen -= len;
50 dest += len;
84 int len;
93 len = usb_descriptor_fillbuf(USB_DT_CONFIG_SIZE + (u8 *)buf,
95 if (len < 0)
96 return len;
97 len += USB_DT_CONFIG_SIZE;
98 if (len > 0xffff)
104 put_unaligned_le16(len, &cp->wTotalLength);
106 return len;