Home
last modified time | relevance | path

Searched refs:xfer_len (Results 1 – 8 of 8) sorted by relevance

/loramac-node-latest/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_ll_usb.c563 if (ep->xfer_len == 0U) in USB_EPStartXfer()
578 …USBx_INEP(epnum)->DIEPTSIZ |= (USB_OTG_DIEPTSIZ_PKTCNT & (((ep->xfer_len + ep->maxpacket - 1U) / e… in USB_EPStartXfer()
579 USBx_INEP(epnum)->DIEPTSIZ |= (USB_OTG_DIEPTSIZ_XFRSIZ & ep->xfer_len); in USB_EPStartXfer()
591 if (ep->xfer_len > 0U) in USB_EPStartXfer()
614 (void)USB_WritePacket(USBx, ep->xfer_buff, ep->num, (uint16_t)ep->xfer_len); in USB_EPStartXfer()
626 if (ep->xfer_len == 0U) in USB_EPStartXfer()
633 pktcnt = (uint16_t)((ep->xfer_len + ep->maxpacket - 1U) / ep->maxpacket); in USB_EPStartXfer()
671 if (ep->xfer_len == 0U) in USB_EP0StartXfer()
687 if (ep->xfer_len > ep->maxpacket) in USB_EP0StartXfer()
689 ep->xfer_len = ep->maxpacket; in USB_EP0StartXfer()
[all …]
Dstm32l4xx_hal_pcd.c216 hpcd->IN_ep[i].xfer_len = 0U; in HAL_PCD_Init()
227 hpcd->OUT_ep[i].xfer_len = 0U; in HAL_PCD_Init()
1935 ep->xfer_len = len; in HAL_PCD_EP_Receive()
1978 ep->xfer_len = len; in HAL_PCD_EP_Transmit()
2175 if (ep->xfer_count > ep->xfer_len) in PCD_WriteEmptyTxFifo()
2180 len = ep->xfer_len - ep->xfer_count; in PCD_WriteEmptyTxFifo()
2190 (ep->xfer_count < ep->xfer_len) && (ep->xfer_len != 0U)) in PCD_WriteEmptyTxFifo()
2193 len = ep->xfer_len - ep->xfer_count; in PCD_WriteEmptyTxFifo()
2207 if (ep->xfer_len <= ep->xfer_count) in PCD_WriteEmptyTxFifo()
2262 if ((hpcd->USB_Address > 0U) && (ep->xfer_len == 0U)) in PCD_EP_ISR_Handler()
[all …]
Dstm32l4xx_hal_hcd.c484 hhcd->hc[ch_num].xfer_len = length; in HAL_HCD_HC_SubmitRequest()
1211 hhcd->hc[ch_num].xfer_count = hhcd->hc[ch_num].xfer_len - \ in HCD_HC_IN_IRQHandler()
/loramac-node-latest/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/
Dstm32l1xx_hal_pcd.c172 hpcd->IN_ep[i].xfer_len = 0; in HAL_PCD_Init()
183 hpcd->OUT_ep[i].xfer_len = 0; in HAL_PCD_Init()
371 if((hpcd->USB_Address > 0)&& ( ep->xfer_len == 0)) in PCD_EP_ISR_Handler()
467 if ((ep->xfer_len == 0) || (count < ep->maxpacket)) in PCD_EP_ISR_Handler()
474 HAL_PCD_EP_Receive(hpcd, ep->num, ep->xfer_buff, ep->xfer_len); in PCD_EP_ISR_Handler()
522 if (ep->xfer_len == 0) in PCD_EP_ISR_Handler()
529 HAL_PCD_EP_Transmit(hpcd, ep->num, ep->xfer_buff, ep->xfer_len); in PCD_EP_ISR_Handler()
1120 ep->xfer_len = len; in HAL_PCD_EP_Receive()
1126 if (ep->xfer_len > ep->maxpacket) in HAL_PCD_EP_Receive()
1129 ep->xfer_len-=len; in HAL_PCD_EP_Receive()
[all …]
/loramac-node-latest/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/
Dstm32l0xx_hal_pcd.c165 hpcd->IN_ep[i].xfer_len = 0U; in HAL_PCD_Init()
176 hpcd->OUT_ep[i].xfer_len = 0U; in HAL_PCD_Init()
879 ep->xfer_len = len; in HAL_PCD_EP_Receive()
885 if (ep->xfer_len > ep->maxpacket) in HAL_PCD_EP_Receive()
888 ep->xfer_len-=len; in HAL_PCD_EP_Receive()
892 len=ep->xfer_len; in HAL_PCD_EP_Receive()
893 ep->xfer_len =0U; in HAL_PCD_EP_Receive()
940 ep->xfer_len = len; in HAL_PCD_EP_Transmit()
946 if (ep->xfer_len > ep->maxpacket) in HAL_PCD_EP_Transmit()
949 ep->xfer_len-=len; in HAL_PCD_EP_Transmit()
[all …]
/loramac-node-latest/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_ll_usb.h168 …uint32_t xfer_len; /*!< Current transfer length … member
205 …uint32_t xfer_len; /*!< Current transfer length. … member
293 …uint32_t xfer_len; /*!< Current transfer length … member
/loramac-node-latest/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc/
Dstm32l1xx_hal_pcd.h159 …uint32_t xfer_len; /*!< Current transfer length … member
/loramac-node-latest/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Inc/
Dstm32l0xx_hal_pcd.h168 …uint32_t xfer_len; /*!< Current transfer length … member