Home
last modified time | relevance | path

Searched refs:maxpacket (Results 1 – 10 of 10) sorted by relevance

/device/board/isoftstone/zhiyuan/kernel/driver/drivers/usb/sunxi_usb/udc/
Dsunxi_udc.c377 > 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 …]
Dsunxi_udc_dma.c191 packet_size = ep->ep.maxpacket; in sunxi_udc_dma_set_config()
/device/soc/st/stm32f4xx/sdk/Drivers/STM32F4xx_HAL_Driver/Src/
Dstm32f4xx_ll_usb.c578 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 …]
Dstm32f4xx_hal_pcd.c202 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()
/device/soc/rockchip/common/sdk_linux/include/linux/usb/
Dusbnet.h44 unsigned maxpacket; member
Dgadget.h228 unsigned maxpacket : 16; member
/device/soc/st/stm32f4xx/sdk/Drivers/STM32F4xx_HAL_Driver/Inc/
Dstm32f4xx_ll_usb.h146 uint32_t maxpacket; /*!< Endpoint Max packet size member
/device/soc/rockchip/rk3588/kernel/include/linux/usb/
Dgadget.h241 unsigned maxpacket:16; member
/device/soc/rockchip/common/vendor/drivers/net/usb/
Dmeig_cdc_driver.c577 unsigned maxpacket; member
874 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);
/device/board/hihope/dayu210/kernel/kernel_patch/linux-5.10/dayu210_patch/
Dkernel.patch60735 /* 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 maxpacket
66869 - req_size = video->ep->maxpacket
66873 + req_size = video->ep->maxpacket
66877 + req_size = video->ep->maxpacket