Searched refs:maxpacket (Results 1 – 10 of 10) sorted by relevance
377 > ep->ep.maxpacket)) \378 : (req->req.length > ep->ep.maxpacket))651 count = sunxi_udc_write_packet(fifo_reg, req, ep->ep.maxpacket); in pio_write_fifo()656 if (count != ep->ep.maxpacket) in pio_write_fifo()726 left_len = left_len - (left_len % ep->ep.maxpacket); in dma_write_fifo()832 if (fifo_count > ep->ep.maxpacket) in pio_read_fifo()833 avail = ep->ep.maxpacket; in pio_read_fifo()843 if (idx != 0 && fifo_count < ep->ep.maxpacket) { in pio_read_fifo()914 left_len = left_len - (left_len % ep->ep.maxpacket); in dma_read_fifo()1002 if (fifo_count > 0 && fifo_count < ep->ep.maxpacket) { in dma_got_short_pkt()[all …]
191 packet_size = ep->ep.maxpacket; in sunxi_udc_dma_set_config()
578 USBx_INEP(epnum)->DIEPCTL |= (ep->maxpacket & USB_OTG_DIEPCTL_MPSIZ) | in USB_ActivateEndpoint()590 USBx_OUTEP(epnum)->DOEPCTL |= (ep->maxpacket & USB_OTG_DOEPCTL_MPSIZ) | in USB_ActivateEndpoint()615 USBx_INEP(epnum)->DIEPCTL |= (ep->maxpacket & USB_OTG_DIEPCTL_MPSIZ) | in USB_ActivateDedicatedEndpoint()627 USBx_OUTEP(epnum)->DOEPCTL |= (ep->maxpacket & USB_OTG_DOEPCTL_MPSIZ) | in USB_ActivateDedicatedEndpoint()759 (((ep->xfer_len + ep->maxpacket - 1U) / ep->maxpacket) << 19)); in USB_EPStartXfer()831 USBx_OUTEP(epnum)->DOEPTSIZ |= (USB_OTG_DOEPTSIZ_XFRSIZ & ep->maxpacket); in USB_EPStartXfer()836 pktcnt = (uint16_t)((ep->xfer_len + ep->maxpacket - 1U) / ep->maxpacket); in USB_EPStartXfer()838 USBx_OUTEP(epnum)->DOEPTSIZ |= USB_OTG_DOEPTSIZ_XFRSIZ & (ep->maxpacket * pktcnt); in USB_EPStartXfer()902 if (ep->xfer_len > ep->maxpacket) in USB_EP0StartXfer()904 ep->xfer_len = ep->maxpacket; in USB_EP0StartXfer()[all …]
202 hpcd->IN_ep[i].maxpacket = 0U; in HAL_PCD_Init()213 hpcd->OUT_ep[i].maxpacket = 0U; in HAL_PCD_Init()1183 hpcd->IN_ep[epnum].xfer_buff += hpcd->IN_ep[epnum].maxpacket; in HAL_PCD_IRQHandler()1742 ep->maxpacket = ep_mps; in HAL_PCD_EP_Open()2067 if (len > ep->maxpacket) in PCD_WriteEmptyTxFifo()2069 len = ep->maxpacket; in PCD_WriteEmptyTxFifo()2080 if (len > ep->maxpacket) in PCD_WriteEmptyTxFifo()2082 len = ep->maxpacket; in PCD_WriteEmptyTxFifo()2143 hpcd->OUT_ep[epnum].maxpacket - in PCD_EP_OutXfrComplete_int()2146 hpcd->OUT_ep[epnum].xfer_buff += hpcd->OUT_ep[epnum].maxpacket; in PCD_EP_OutXfrComplete_int()
44 unsigned maxpacket; member
228 unsigned maxpacket : 16; member
146 uint32_t maxpacket; /*!< Endpoint Max packet size member
241 unsigned maxpacket:16; member
577 unsigned maxpacket; member874 if ((ll_mtu % dev->maxpacket) == 0) { in hw_change_mtu()1765 if ((length % dev->maxpacket) == 0) { in hw_start_xmit()2731 dev->maxpacket = usb_maxpacket(dev->udev, dev->out, 1);
60735 /* ep0 maxpacket size may change; let the HCD know about it.64076 dwc->gadget->ep0->maxpacket = 512;64088 dwc->gadget->ep0->maxpacket = 512;65664 + * bulk maxpacket. So we need to set hs bulk maxpacket66869 - req_size = video->ep->maxpacket66873 + req_size = video->ep->maxpacket66877 + req_size = video->ep->maxpacket