Lines Matching refs:src
39 const struct usb_descriptor_header **src) in usb_descriptor_fillbuf() argument
43 if (!src) in usb_descriptor_fillbuf()
47 for (; NULL != *src; src++) { in usb_descriptor_fillbuf()
48 unsigned len = (*src)->bLength; in usb_descriptor_fillbuf()
52 memcpy(dest, *src, len); in usb_descriptor_fillbuf()
126 usb_copy_descriptors(struct usb_descriptor_header **src) in usb_copy_descriptors() argument
135 for (bytes = 0, n_desc = 0, tmp = src; *tmp; tmp++, n_desc++) in usb_copy_descriptors()
150 while (*src) { in usb_copy_descriptors()
151 memcpy(mem, *src, (*src)->bLength); in usb_copy_descriptors()
154 mem += (*src)->bLength; in usb_copy_descriptors()
155 src++; in usb_copy_descriptors()