Home
last modified time | relevance | path

Searched refs:maxp (Results 1 – 4 of 4) sorted by relevance

/openbmc/u-boot/drivers/usb/dwc3/
H A Dep0.c774 unsigned maxp; in dwc3_ep0_complete_data() local
809 maxp = ep0->endpoint.maxpacket; in dwc3_ep0_complete_data()
817 transfer_size = (ur->length / maxp) * maxp; in dwc3_ep0_complete_data()
830 maxp); in dwc3_ep0_complete_data()
/openbmc/u-boot/include/linux/usb/
H A Dch9.h643 int maxp = __le16_to_cpu(epd->wMaxPacketSize); in usb_endpoint_maxp_mult() local
645 return USB_EP_MAXP_MULT(maxp) + 1; in usb_endpoint_maxp_mult()
/openbmc/qemu/hw/usb/
H A Dredirect.c688 const int maxp = dev->endpoint[EP2I(ep)].max_packet_size; in usbredir_buffered_bulk_in_complete_ftdi() local
701 if ((p->actual_length % maxp) == 0) { in usbredir_buffered_bulk_in_complete_ftdi()
715 if (count > (maxp - (p->actual_length % maxp))) { in usbredir_buffered_bulk_in_complete_ftdi()
716 count = maxp - (p->actual_length % maxp); in usbredir_buffered_bulk_in_complete_ftdi()
788 const int maxp = dev->endpoint[EP2I(ep)].max_packet_size; in usbredir_handle_bulk_data() local
796 if (size != 0 && (size % maxp) == 0) { in usbredir_handle_bulk_data()
/openbmc/qemu/libdecnumber/
H A DdecNumber.c2962 Int maxp; /* largest working precision */ in decNumberSquareRoot() local
3048 maxp=workp+2; /* largest working precision */ in decNumberSquareRoot()
3059 needbytes=sizeof(decNumber)+(D2U(maxp)-1)*sizeof(Unit); in decNumberSquareRoot()
3131 if (workset.digits>maxp) workset.digits=maxp; in decNumberSquareRoot()
3137 if (a->digits==maxp) break; /* have required digits */ in decNumberSquareRoot()