Lines Matching refs:pdend
562 const struct libusb_endpoint_descriptor *pdend; in libusb_get_endpoint_from_config() local
572 pdend = &pdinf->endpoint[k]; in libusb_get_endpoint_from_config()
573 if (pdend->bEndpointAddress == endpoint) { in libusb_get_endpoint_from_config()
574 return (pdend); in libusb_get_endpoint_from_config()
587 const struct libusb_endpoint_descriptor *pdend; in libusb_get_max_packet_size() local
598 if ((pdend = libusb_get_endpoint_from_config(pdconf, endpoint)) != NULL) in libusb_get_max_packet_size()
599 ret = pdend->wMaxPacketSize; in libusb_get_max_packet_size()
655 const struct libusb_endpoint_descriptor *pdend; in libusb_get_max_iso_packet_size() local
665 pdend = libusb_get_endpoint_from_config(pdconf, endpoint); in libusb_get_max_iso_packet_size()
666 if (pdend == NULL) { in libusb_get_max_iso_packet_size()
671 ret = libusb_calculate_ep_size(dev, pdend); in libusb_get_max_iso_packet_size()
683 const struct libusb_endpoint_descriptor *pdend = NULL; in libusb_get_max_alt_packet_size() local
709 pdend = pdend_tmp; in libusb_get_max_alt_packet_size()
713 if (pdend != NULL) in libusb_get_max_alt_packet_size()
714 ret = libusb_calculate_ep_size(dev, pdend); in libusb_get_max_alt_packet_size()