Searched refs:xfer_len (Results 1 – 8 of 8) sorted by relevance
563 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 …]
216 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 …]
484 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()
172 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 …]
165 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 …]
168 …uint32_t xfer_len; /*!< Current transfer length … member205 …uint32_t xfer_len; /*!< Current transfer length. … member293 …uint32_t xfer_len; /*!< Current transfer length … member
159 …uint32_t xfer_len; /*!< Current transfer length … member
168 …uint32_t xfer_len; /*!< Current transfer length … member