Searched refs:maxPackSize (Results 1 – 5 of 5) sorted by relevance
246 uint16_t maxPackSize = g_usbDev.inBuf[0].maxPackSize; in USBD_CtrlInData() local256 if (len >= g_usbDev.inBuf[0].maxPackSize) in USBD_CtrlInData()266 … g_usbDev.inBuf[0].packNum = (g_usbDev.inBuf[0].bufLen + (maxPackSize - 1)) / maxPackSize; in USBD_CtrlInData()303 uint16_t maxPackSize = g_usbDev.outBuf[USBD_EP_0].maxPackSize; in USBD_CtrlOutData() local309 g_usbDev.outBuf[USBD_EP_0].packNum = (len + (maxPackSize - 1)) / maxPackSize; in USBD_CtrlOutData()405 uint16_t maxPackSize = g_usbDev.inBuf[ep].maxPackSize; in USBD_TxData() local407 if (len >= maxPackSize) in USBD_TxData()410 USBD_SetEPTxCnt(ep, maxPackSize); in USBD_TxData()415 g_usbDev.inBuf[ep].packNum = (g_usbDev.inBuf[ep].bufLen + (maxPackSize - 1)) / maxPackSize; in USBD_TxData()441 uint16_t maxPackSize = g_usbDev.outBuf[ep].maxPackSize; in USBD_RxData() local[all …]
188 g_usbDev.outBuf[epConfig->epNum].maxPackSize = epConfig->maxPackSize; in USBD_OpenOutEP()202 USBD_SetEPRxCnt(epConfig->epNum, epConfig->maxPackSize); in USBD_OpenOutEP()215 g_usbDev.inBuf[epConfig->epNum].maxPackSize = epConfig->maxPackSize; in USBD_OpenInEP()241 g_usbDev.outBuf[ep].maxPackSize = 0; in USBD_CloseOutEP()255 g_usbDev.inBuf[ep].maxPackSize = 0; in USBD_CloseInEP()
231 g_usbDev.inBuf[USBD_EP_0].maxPackSize = USB_EP0_PACKET_SIZE; in USBD_ResetIsrHandler()232 g_usbDev.outBuf[USBD_EP_0].maxPackSize = USB_EP0_PACKET_SIZE; in USBD_ResetIsrHandler()241 epConfig.maxPackSize = g_usbDev.inBuf[USBD_EP_0].maxPackSize; in USBD_ResetIsrHandler()247 epConfig.maxPackSize = g_usbDev.outBuf[USBD_EP_0].maxPackSize; in USBD_ResetIsrHandler()
80 uint16_t maxPackSize; /*!< max packet size for the endpoint */ member
257 uint16_t maxPackSize; /*!< Max pack size of this endpoint */ member
Completed in 14 milliseconds