Searched refs:maxpacket (Results 1 – 9 of 9) sorted by relevance
/loramac-node-3.7.0/src/boards/mcu/stm32/STM32_USB_Device_Library/Core/Src/ |
D | usbd_core.c | 309 if(pep->rem_length > pep->maxpacket) in USBD_LL_DataOutStage() 311 pep->rem_length -= pep->maxpacket; in USBD_LL_DataOutStage() 315 MIN(pep->rem_length ,pep->maxpacket)); in USBD_LL_DataOutStage() 353 if(pep->rem_length > pep->maxpacket) in USBD_LL_DataInStage() 355 pep->rem_length -= pep->maxpacket; in USBD_LL_DataInStage() 369 if((pep->total_length % pep->maxpacket == 0) && in USBD_LL_DataInStage() 370 (pep->total_length >= pep->maxpacket) && in USBD_LL_DataInStage() 423 pdev->ep_out[0].maxpacket = USB_MAX_EP0_SIZE; in USBD_LL_Reset() 431 pdev->ep_in[0].maxpacket = USB_MAX_EP0_SIZE; in USBD_LL_Reset()
|
/loramac-node-3.7.0/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/ |
D | stm32l4xx_ll_usb.c | 426 USBx_INEP(epnum)->DIEPCTL |= (ep->maxpacket & USB_OTG_DIEPCTL_MPSIZ) | in USB_ActivateEndpoint() 438 USBx_OUTEP(epnum)->DOEPCTL |= (ep->maxpacket & USB_OTG_DOEPCTL_MPSIZ) | in USB_ActivateEndpoint() 463 USBx_INEP(epnum)->DIEPCTL |= (ep->maxpacket & USB_OTG_DIEPCTL_MPSIZ) | in USB_ActivateDedicatedEndpoint() 475 USBx_OUTEP(epnum)->DOEPCTL |= (ep->maxpacket & USB_OTG_DOEPCTL_MPSIZ) | in USB_ActivateDedicatedEndpoint() 578 …DIEPTSIZ |= (USB_OTG_DIEPTSIZ_PKTCNT & (((ep->xfer_len + ep->maxpacket - 1U) / ep->maxpacket) << 1… in USB_EPStartXfer() 628 USBx_OUTEP(epnum)->DOEPTSIZ |= (USB_OTG_DOEPTSIZ_XFRSIZ & ep->maxpacket); in USB_EPStartXfer() 633 pktcnt = (uint16_t)((ep->xfer_len + ep->maxpacket - 1U) / ep->maxpacket); in USB_EPStartXfer() 635 USBx_OUTEP(epnum)->DOEPTSIZ |= USB_OTG_DOEPTSIZ_XFRSIZ & (ep->maxpacket * pktcnt); in USB_EPStartXfer() 687 if (ep->xfer_len > ep->maxpacket) in USB_EP0StartXfer() 689 ep->xfer_len = ep->maxpacket; in USB_EP0StartXfer() [all …]
|
D | stm32l4xx_hal_pcd.c | 214 hpcd->IN_ep[i].maxpacket = 0U; in HAL_PCD_Init() 225 hpcd->OUT_ep[i].maxpacket = 0U; in HAL_PCD_Init() 1869 ep->maxpacket = ep_mps; in HAL_PCD_EP_Open() 2182 if (len > ep->maxpacket) in PCD_WriteEmptyTxFifo() 2184 len = ep->maxpacket; in PCD_WriteEmptyTxFifo() 2195 if (len > ep->maxpacket) in PCD_WriteEmptyTxFifo() 2197 len = ep->maxpacket; in PCD_WriteEmptyTxFifo() 2312 PCD_SET_EP_RX_CNT(hpcd->Instance, PCD_ENDP0, ep->maxpacket); in PCD_EP_ISR_Handler() 2364 if ((ep->xfer_len == 0U) || (count < ep->maxpacket)) in PCD_EP_ISR_Handler()
|
/loramac-node-3.7.0/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/ |
D | stm32l1xx_hal_pcd.c | 170 hpcd->IN_ep[i].maxpacket = 0; in HAL_PCD_Init() 181 hpcd->OUT_ep[i].maxpacket = 0; in HAL_PCD_Init() 414 PCD_SET_EP_RX_CNT(hpcd->Instance, PCD_ENDP0, ep->maxpacket) in PCD_EP_ISR_Handler() 467 if ((ep->xfer_len == 0) || (count < ep->maxpacket)) in PCD_EP_ISR_Handler() 948 ep->maxpacket = ep_mps; in HAL_PCD_EP_Open() 989 PCD_SET_EP_RX_CNT(hpcd->Instance, ep->num, ep->maxpacket) in HAL_PCD_EP_Open() 1126 if (ep->xfer_len > ep->maxpacket) in HAL_PCD_EP_Receive() 1128 len=ep->maxpacket; in HAL_PCD_EP_Receive() 1187 if (ep->xfer_len > ep->maxpacket) in HAL_PCD_EP_Transmit() 1189 len=ep->maxpacket; in HAL_PCD_EP_Transmit()
|
/loramac-node-3.7.0/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/ |
D | stm32l0xx_hal_pcd.c | 163 hpcd->IN_ep[i].maxpacket = 0U; in HAL_PCD_Init() 174 hpcd->OUT_ep[i].maxpacket = 0U; in HAL_PCD_Init() 709 ep->maxpacket = ep_mps; in HAL_PCD_EP_Open() 748 PCD_SET_EP_RX_CNT(hpcd->Instance, ep->num, ep->maxpacket); in HAL_PCD_EP_Open() 885 if (ep->xfer_len > ep->maxpacket) in HAL_PCD_EP_Receive() 887 len=ep->maxpacket; in HAL_PCD_EP_Receive() 946 if (ep->xfer_len > ep->maxpacket) in HAL_PCD_EP_Transmit() 948 len=ep->maxpacket; in HAL_PCD_EP_Transmit() 1294 PCD_SET_EP_RX_CNT(hpcd->Instance, PCD_ENDP0, ep->maxpacket); in PCD_EP_ISR_Handler() 1347 if ((ep->xfer_len == 0U) || (count < ep->maxpacket)) in PCD_EP_ISR_Handler()
|
/loramac-node-3.7.0/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/ |
D | stm32l4xx_ll_usb.h | 161 uint32_t maxpacket; /*!< Endpoint Max packet size member 288 uint32_t maxpacket; /*!< Endpoint Max packet size member
|
/loramac-node-3.7.0/src/boards/mcu/stm32/STM32_USB_Device_Library/Core/Inc/ |
D | usbd_def.h | 221 uint32_t maxpacket; member
|
/loramac-node-3.7.0/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc/ |
D | stm32l1xx_hal_pcd.h | 153 uint32_t maxpacket; /*!< Endpoint Max packet size member
|
/loramac-node-3.7.0/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Inc/ |
D | stm32l0xx_hal_pcd.h | 162 uint32_t maxpacket; /*!< Endpoint Max packet size member
|