Lines Matching refs:src
38 const struct usb_descriptor_header **src) in usb_descriptor_fillbuf() argument
42 if (!src) in usb_descriptor_fillbuf()
46 for (; NULL != *src; src++) { in usb_descriptor_fillbuf()
47 unsigned len = (*src)->bLength; in usb_descriptor_fillbuf()
51 memcpy(dest, *src, len); in usb_descriptor_fillbuf()
125 usb_copy_descriptors(struct usb_descriptor_header **src) in usb_copy_descriptors() argument
134 for (bytes = 0, n_desc = 0, tmp = src; *tmp; tmp++, n_desc++) in usb_copy_descriptors()
149 while (*src) { in usb_copy_descriptors()
150 memcpy(mem, *src, (*src)->bLength); in usb_copy_descriptors()
153 mem += (*src)->bLength; in usb_copy_descriptors()
154 src++; in usb_copy_descriptors()