Lines Matching defs:bufptr
154 unsigned char* bufptr = devdesc;
178 bufend = bufptr + desclength;
187 device = (struct usb_device_descriptor*)bufptr;
188 bufptr += USB_DT_DEVICE_SIZE;
200 config = (struct usb_config_descriptor *)bufptr;
201 bufptr += USB_DT_CONFIG_SIZE;
209 while (bufptr < bufend) {
210 unsigned char length = bufptr[0];
211 unsigned char type = bufptr[1];
214 interface = (struct usb_interface_descriptor *)bufptr;
215 bufptr += length;
238 ep1 = (struct usb_endpoint_descriptor *)bufptr;
239 bufptr += USB_DT_ENDPOINT_SIZE;
240 ep2 = (struct usb_endpoint_descriptor *)bufptr;
241 bufptr += USB_DT_ENDPOINT_SIZE;
243 if (bufptr > devdesc + desclength ||
296 bufptr += length;