Lines Matching refs:pinf
99 struct libusb20_interface *pinf;
130 pinf = pconf->interface + i;
131 nextra += N_ALIGN(pinf->extra.len);
132 nep += pinf->num_endpoints;
133 k = pinf->num_endpoints;
134 pend = pinf->endpoints;
140 j = pinf->num_altsetting;
141 nalt += pinf->num_altsetting;
142 pinf = pinf->altsetting;
144 nextra += N_ALIGN(pinf->extra.len);
145 nep += pinf->num_endpoints;
146 k = pinf->num_endpoints;
147 pend = pinf->endpoints;
152 pinf++;
215 pinf = &pconf->interface[i];
216 pconfd->interface[i].num_altsetting = pinf->num_altsetting + 1;
219 pinf = &pconf->interface[i].altsetting[j - 1];
221 ifd->bLength = pinf->desc.bLength;
222 ifd->bDescriptorType = pinf->desc.bDescriptorType;
223 ifd->bInterfaceNumber = pinf->desc.bInterfaceNumber;
224 ifd->bAlternateSetting = pinf->desc.bAlternateSetting;
225 ifd->bNumEndpoints = pinf->desc.bNumEndpoints;
226 ifd->bInterfaceClass = pinf->desc.bInterfaceClass;
227 ifd->bInterfaceSubClass = pinf->desc.bInterfaceSubClass;
228 ifd->bInterfaceProtocol = pinf->desc.bInterfaceProtocol;
229 ifd->iInterface = pinf->desc.iInterface;
230 if (pinf->extra.len != 0) {
231 ifd->extra_length = pinf->extra.len;
233 memcpy(pextra, pinf->extra.ptr, pinf->extra.len);
234 pextra += N_ALIGN(pinf->extra.len);
236 for (k = 0; k < pinf->num_endpoints; k++) {
237 pend = &pinf->endpoints[k];