Home
last modified time | relevance | path

Searched refs:ep (Results 1 – 25 of 106) sorted by relevance

12345

/bsp/stm32/libraries/STM32L1xx_HAL/STM32L1xx_HAL_Driver/Src/
A Dstm32l1xx_ll_usb.c215 PCD_SET_EP_ADDRESS(USBx, ep->num, ep->num); in USB_ActivateEndpoint()
256 PCD_SET_EP_DBUF_ADDR(USBx, ep->num, ep->pmaaddr0, ep->pmaaddr1); in USB_ActivateEndpoint()
363 if (ep->xfer_len > ep->maxpacket) in USB_EPStartXfer()
383 if (ep->xfer_len_db > ep->maxpacket) in USB_EPStartXfer()
402 if (ep->xfer_len_db > ep->maxpacket) in USB_EPStartXfer()
429 if (ep->xfer_len_db > ep->maxpacket) in USB_EPStartXfer()
484 if (ep->xfer_len_db > ep->maxpacket) in USB_EPStartXfer()
514 if (ep->xfer_len_db > ep->maxpacket) in USB_EPStartXfer()
544 if (ep->xfer_len > ep->maxpacket) in USB_EPStartXfer()
563 PCD_SET_EP_DBUF_CNT(USBx, ep->num, ep->is_in, ep->maxpacket); in USB_EPStartXfer()
[all …]
A Dstm32l1xx_hal_pcd.c1224 ep->tx_fifo_num = ep->num; in HAL_PCD_EP_Open()
1286 ep->is_in = 0U; in HAL_PCD_EP_Receive()
1331 ep->is_in = 1U; in HAL_PCD_EP_Transmit()
1532 ep->xfer_buff += ep->xfer_count; in PCD_EP_ISR_Handler()
1562 ep->pmaadress, (uint16_t)ep->xfer_count); in PCD_EP_ISR_Handler()
1581 if ((ep->xfer_count != 0U) && (ep->xfer_buff != 0U)) in PCD_EP_ISR_Handler()
1584 ep->pmaadress, (uint16_t)ep->xfer_count); in PCD_EP_ISR_Handler()
1586 ep->xfer_buff += ep->xfer_count; in PCD_EP_ISR_Handler()
1664 if ((ep->xfer_len == 0U) || (count < ep->maxpacket)) in PCD_EP_ISR_Handler()
1875 if (ep->xfer_len_db >= ep->maxpacket) in HAL_PCD_EP_DB_Transmit()
[all …]
A Dstm32l1xx_hal_pcd_ex.c84 PCD_EPTypeDef *ep; in HAL_PCDEx_PMAConfig() local
89 ep = &hpcd->IN_ep[ep_addr & EP_ADDR_MSK]; in HAL_PCDEx_PMAConfig()
93 ep = &hpcd->OUT_ep[ep_addr]; in HAL_PCDEx_PMAConfig()
100 ep->doublebuffer = 0U; in HAL_PCDEx_PMAConfig()
102 ep->pmaadress = (uint16_t)pmaadress; in HAL_PCDEx_PMAConfig()
107 ep->doublebuffer = 1U; in HAL_PCDEx_PMAConfig()
109 ep->pmaaddr0 = (uint16_t)(pmaadress & 0xFFFFU); in HAL_PCDEx_PMAConfig()
110 ep->pmaaddr1 = (uint16_t)((pmaadress & 0xFFFF0000U) >> 16); in HAL_PCDEx_PMAConfig()
/bsp/apm32/libraries/APM32F0xx_Library/USB_Device_Lib/Driver/inc/
A Ddrv_usb_device.h265 #define USBD_ReadEPType(ep) (USBD->EP[ep].EP_B.TYPE) argument
274 #define USBD_ReadEPTxStatus(ep) ((USBD_EP_STATUS_T)(USBD->EP[ep].EP_B.TXSTS)) argument
292 #define USBD_ReadEPSetup(ep) (USBD->EP[ep].EP_B.SETUP) argument
319 #define USBD_ReadEPRxFlag(ep) (USBD->EP[ep].EP_B.CTFR) argument
328 #define USBD_ReadEPTxFlag(ep) (USBD->EP[ep].EP_B.CTFT) argument
477 #define USBD_ReadEPTxAddr(ep) ((uint16_t)*USBD_ReadEPTxAddrPointer(ep)) argument
486 #define USBD_ReadEPRxAddr(ep) ((uint16_t)*USBD_ReadEPRxAddrPointer(ep)) argument
515 #define USBD_SetEPTxCnt(ep, cnt) (*USBD_ReadEPTxCntPointer(ep) = cnt) argument
781 #define USBD_ReadEPTxAddr(ep) ((uint16_t)*USBD_ReadEPTxAddrPointer(ep))
790 #define USBD_ReadEPRxAddr(ep) ((uint16_t)*USBD_ReadEPRxAddrPointer(ep))
[all …]
/bsp/apm32/libraries/APM32E10x_Library/APM32E10x_StdPeriphDriver/inc/
A Dapm32e10x_usb.h247 #define USBD_ReadEPType(ep) (USBD->EP[ep].EP_B.TYPE) argument
256 #define USBD_ReadEPTxStatus(ep) ((USBD_EP_STATUS_T)(USBD->EP[ep].EP_B.TXSTS)) argument
265 #define USBD_ReadEPRxStatus(ep) ((USBD_EP_STATUS_T)(USBD->EP[ep].EP_B.RXSTS)) argument
333 #define USBD_ReadEPTxAddr(ep) ((uint16_t)*USBD_ReadEPTxAddrPointer(ep)) argument
342 #define USBD_ReadEPRxAddr(ep) ((uint16_t)*USBD_ReadEPRxAddrPointer(ep)) argument
353 #define USBD_SetEPTxCnt(ep, cnt) (*USBD_ReadEPTxCntPointer(ep) = cnt) argument
362 #define USBD_ReadEPTxCnt(ep) ((uint16_t)*USBD_ReadEPTxCntPointer(ep) & 0x3ff) argument
371 #define USBD_ReadEPRxCnt(ep) ((uint16_t)*USBD_ReadEPRxCntPointer(ep) & 0x3ff) argument
380 #define USBD_ReadEPSetup(ep) (USBD->EP[ep].EP_B.SETUP) argument
407 #define USBD_ReadEPRxFlag(ep) (USBD->EP[ep].EP_B.CTFR) argument
[all …]
/bsp/microchip/samd51-adafruit-metro-m4/bsp/hal/src/
A Dhal_usb_device.c69 uint8_t ep; member
121 if (usb_d_inst.ep[i].xfer.hdr.ep == ep) { in _usb_d_find_ep()
125 && (ep & USB_EP_N_MASK) == usb_d_inst.ep[i].xfer.hdr.ep) { in _usb_d_find_ep()
283 usb_d_inst.ep[i].xfer.hdr.ep = 0xFF; in usb_d_init()
374 ept->xfer.hdr.ep = ep; in usb_d_ep_init()
386 _usb_d_dev_ep_deinit(ep); in usb_d_ep_deinit()
387 ept->xfer.hdr.ep = 0xFF; in usb_d_ep_deinit()
413 _usb_d_dev_ep_disable(ep); in usb_d_ep_disable()
493 _usb_d_dev_ep_abort(ep); in usb_d_ep_abort()
510 stat->ep = ep; in usb_d_ep_get_status()
[all …]
/bsp/microchip/samd51-seeed-wio-terminal/bsp/hal/src/
A Dhal_usb_device.c69 uint8_t ep; member
121 if (usb_d_inst.ep[i].xfer.hdr.ep == ep) { in _usb_d_find_ep()
125 && (ep & USB_EP_N_MASK) == usb_d_inst.ep[i].xfer.hdr.ep) { in _usb_d_find_ep()
283 usb_d_inst.ep[i].xfer.hdr.ep = 0xFF; in usb_d_init()
374 ept->xfer.hdr.ep = ep; in usb_d_ep_init()
386 _usb_d_dev_ep_deinit(ep); in usb_d_ep_deinit()
387 ept->xfer.hdr.ep = 0xFF; in usb_d_ep_deinit()
413 _usb_d_dev_ep_disable(ep); in usb_d_ep_disable()
493 _usb_d_dev_ep_abort(ep); in usb_d_ep_abort()
510 stat->ep = ep; in usb_d_ep_get_status()
[all …]
/bsp/apm32/libraries/APM32E10x_Library/APM32E10x_StdPeriphDriver/src/
A Dapm32e10x_usb.c54 reg = USBD->EP[ep].EP; in USBD_SetEPType()
60 USBD->EP[ep].EP = reg; in USBD_SetEPType()
74 reg = USBD->EP[ep].EP; in USBD_SetEPKind()
79 USBD->EP[ep].EP = reg; in USBD_SetEPKind()
93 reg = USBD->EP[ep].EP; in USBD_ResetEPKind()
98 USBD->EP[ep].EP = reg; in USBD_ResetEPKind()
113 reg = USBD->EP[ep].EP; in USBD_ResetEPRxFlag()
118 USBD->EP[ep].EP = reg; in USBD_ResetEPRxFlag()
132 reg = USBD->EP[ep].EP; in USBD_ResetEPTxFlag()
137 USBD->EP[ep].EP = reg; in USBD_ResetEPTxFlag()
[all …]
/bsp/apm32/libraries/APM32F0xx_Library/USB_Device_Lib/Driver/src/
A Ddrv_usb_device.c66 reg = USBD->EP[ep].EP; in USBD_SetEPType()
72 USBD->EP[ep].EP = reg; in USBD_SetEPType()
86 reg = USBD->EP[ep].EP; in USBD_SetEPKind()
91 USBD->EP[ep].EP = reg; in USBD_SetEPKind()
105 reg = USBD->EP[ep].EP; in USBD_ResetEPKind()
110 USBD->EP[ep].EP = reg; in USBD_ResetEPKind()
125 reg = USBD->EP[ep].EP; in USBD_ResetEPRxFlag()
130 USBD->EP[ep].EP = reg; in USBD_ResetEPRxFlag()
144 reg = USBD->EP[ep].EP; in USBD_ResetEPTxFlag()
149 USBD->EP[ep].EP = reg; in USBD_ResetEPTxFlag()
[all …]
/bsp/apm32/libraries/APM32F0xx_Library/USB_Device_Lib/Core_Device/Standard/src/
A Dusbd_core.c338 len = g_usbDev.inBuf[ep].bufLen > g_usbDev.inBuf[ep].maxPackSize ? \ in USBD_DataInProcess()
339 g_usbDev.inBuf[ep].maxPackSize : g_usbDev.inBuf[ep].bufLen; in USBD_DataInProcess()
342 USBD_WriteDataToEP(ep, g_usbDev.inBuf[ep].pBuf, len); in USBD_DataInProcess()
343 USBD_SetEPTxCnt(ep, len); in USBD_DataInProcess()
370 g_usbDev.outBuf[ep].xferCnt = USBD_ReadEPRxCnt(ep); in USBD_DataOutProcess()
372 if ((g_usbDev.outBuf[ep].xferCnt != 0) && (g_usbDev.outBuf[ep].pBuf != NULL)) in USBD_DataOutProcess()
374 USBD_ReadDataFromEP(ep, g_usbDev.outBuf[ep].pBuf, g_usbDev.outBuf[ep].xferCnt); in USBD_DataOutProcess()
376 g_usbDev.outBuf[ep].bufLen -= g_usbDev.outBuf[ep].xferCnt; in USBD_DataOutProcess()
377 g_usbDev.outBuf[ep].pBuf += g_usbDev.outBuf[ep].xferCnt; in USBD_DataOutProcess()
388 g_usbDev.outEpHandler(ep); in USBD_DataOutProcess()
[all …]
A Dusbd_interrupt.c160 USBD_EP_T ep; in USBD_LowPriorityProc() local
164 ep = (USBD_EP_T)USBD_ReadEP(); in USBD_LowPriorityProc()
167 if (ep == 0) in USBD_LowPriorityProc()
196 if (USBD_ReadEPRxFlag(ep)) in USBD_LowPriorityProc()
202 if (USBD_ReadEPTxFlag(ep)) in USBD_LowPriorityProc()
354 USBD_EP_T ep; in USBD_HighPriorityProc() local
360 ep = USBD_ReadEP(); in USBD_HighPriorityProc()
362 if (USBD_ReadEPRxFlag(ep)) in USBD_HighPriorityProc()
364 USBD_ResetEPRxFlag(ep); in USBD_HighPriorityProc()
369 if (USBD_ReadEPTxFlag(ep)) in USBD_HighPriorityProc()
[all …]
/bsp/hc32/libraries/hc32_drivers/
A Ddrv_usbd.c92 USB_DEV_EP *ep; in usb_opendevep() local
126 USB_DEV_EP *ep; in usb_shutdevep() local
146 USB_DEV_EP *ep; in usb_readytorx() local
155 ep->ep_dir = 0U; in usb_readytorx()
175 USB_DEV_EP *ep; in usb_deveptx() local
182 ep->ep_dir = 1U; in usb_deveptx()
201 USB_DEV_EP *ep; in usb_stalldevep() local
232 USB_DEV_EP *ep; in usb_clrstall() local
366 USB_DEV_EP *ep; in usb_wrblanktxfifo() local
373 u32Len = ep->xfer_len - ep->xfer_count; in usb_wrblanktxfifo()
[all …]
/bsp/microchip/samd51-adafruit-metro-m4/bsp/hal/include/
A Dhal_usb_device.h52 uint8_t ep; member
84 typedef bool (*usb_d_ep_cb_setup_t)(const uint8_t ep, const uint8_t *req);
90 typedef bool (*usb_d_ep_cb_more_t)(const uint8_t ep, const uint32_t count);
195 int32_t usb_d_ep_init(const uint8_t ep, const uint8_t attr, const uint16_t max_pkt_size);
201 void usb_d_ep_deinit(const uint8_t ep);
222 int32_t usb_d_ep_enable(const uint8_t ep);
228 void usb_d_ep_disable(const uint8_t ep);
236 uint8_t *usb_d_ep_get_req(const uint8_t ep);
258 void usb_d_ep_abort(const uint8_t ep);
271 int32_t usb_d_ep_get_status(const uint8_t ep, struct usb_d_ep_status *stat);
[all …]
A Dhpl_usb_device.h91 uint8_t ep; member
103 uint8_t ep; member
147 typedef void (*_usb_d_dev_ep_cb_setup_t)(const uint8_t ep);
151 typedef bool (*_usb_d_dev_ep_cb_more_t)(const uint8_t ep, const uint32_t transfered);
298 void _usb_d_dev_ep_deinit(const uint8_t ep);
307 int32_t _usb_d_dev_ep_enable(const uint8_t ep);
313 void _usb_d_dev_ep_disable(const uint8_t ep);
324 int32_t _usb_d_dev_ep_stall(const uint8_t ep, const enum usb_ep_stall_ctrl ctrl);
336 int32_t _usb_d_dev_ep_read_req(const uint8_t ep, uint8_t *req_buf);
359 void _usb_d_dev_ep_abort(const uint8_t ep);
[all …]
/bsp/microchip/samd51-seeed-wio-terminal/bsp/hal/include/
A Dhal_usb_device.h52 uint8_t ep; member
84 typedef bool (*usb_d_ep_cb_setup_t)(const uint8_t ep, const uint8_t *req);
90 typedef bool (*usb_d_ep_cb_more_t)(const uint8_t ep, const uint32_t count);
195 int32_t usb_d_ep_init(const uint8_t ep, const uint8_t attr, const uint16_t max_pkt_size);
201 void usb_d_ep_deinit(const uint8_t ep);
222 int32_t usb_d_ep_enable(const uint8_t ep);
228 void usb_d_ep_disable(const uint8_t ep);
236 uint8_t *usb_d_ep_get_req(const uint8_t ep);
258 void usb_d_ep_abort(const uint8_t ep);
271 int32_t usb_d_ep_get_status(const uint8_t ep, struct usb_d_ep_status *stat);
[all …]
A Dhpl_usb_device.h91 uint8_t ep; member
103 uint8_t ep; member
147 typedef void (*_usb_d_dev_ep_cb_setup_t)(const uint8_t ep);
151 typedef bool (*_usb_d_dev_ep_cb_more_t)(const uint8_t ep, const uint32_t transfered);
298 void _usb_d_dev_ep_deinit(const uint8_t ep);
307 int32_t _usb_d_dev_ep_enable(const uint8_t ep);
313 void _usb_d_dev_ep_disable(const uint8_t ep);
324 int32_t _usb_d_dev_ep_stall(const uint8_t ep, const enum usb_ep_stall_ctrl ctrl);
336 int32_t _usb_d_dev_ep_read_req(const uint8_t ep, uint8_t *req_buf);
359 void _usb_d_dev_ep_abort(const uint8_t ep);
[all …]
/bsp/microchip/samd51-adafruit-metro-m4/bsp/usb/device/
A Dusbdc.c289 return usbdc_get_dev_desc(ep, req); in usbdc_get_desc_req()
291 return usbdc_get_cfg_desc(ep, req); in usbdc_get_desc_req()
317 (void)ep; in usbdc_get_status_req()
406 (void)ep; in usbdc_clear_ftr_req()
413 usbdc_xfer(ep, NULL, 0, true); in usbdc_clear_ftr_req()
430 (void)ep; in usbdc_set_ftr_req()
437 usbdc_xfer(ep, NULL, 0, true); in usbdc_set_ftr_req()
647 rc = h->cb(ep, req, stage); in usbdc_request_handler()
689 return usbdc_set_req(ep, req); in usbdc_cb_ctl_req()
691 return usbdc_get_req(ep, req); in usbdc_cb_ctl_req()
[all …]
/bsp/microchip/samd51-seeed-wio-terminal/bsp/usb/device/
A Dusbdc.c289 return usbdc_get_dev_desc(ep, req); in usbdc_get_desc_req()
291 return usbdc_get_cfg_desc(ep, req); in usbdc_get_desc_req()
317 (void)ep; in usbdc_get_status_req()
406 (void)ep; in usbdc_clear_ftr_req()
413 usbdc_xfer(ep, NULL, 0, true); in usbdc_clear_ftr_req()
430 (void)ep; in usbdc_set_ftr_req()
437 usbdc_xfer(ep, NULL, 0, true); in usbdc_set_ftr_req()
647 rc = h->cb(ep, req, stage); in usbdc_request_handler()
689 return usbdc_set_req(ep, req); in usbdc_cb_ctl_req()
691 return usbdc_get_req(ep, req); in usbdc_cb_ctl_req()
[all …]
/bsp/samd21/sam_d2x_asflib/sam0/drivers/usb/stack_interface/
A Dusb_device_udd.c319 if ((ep == 0) || (ep == 0x80)) { in udd_ep_get_job()
322 return &udd_ep_job[(2 * (ep & USB_EP_ADDR_MASK) + ((ep & USB_EP_DIR_IN) ? 1 : 0)) - 2]; in udd_ep_get_job()
339 ptr_job = udd_ep_get_job(ep); in udd_ep_trans_in_next()
389 ptr_job = udd_ep_get_job(ep); in udd_ep_trans_out_next()
446 if (ep & USB_EP_DIR_IN) { in udd_ep_transfer_process()
460 ptr_job = udd_ep_get_job(ep); in udd_ep_abort()
494 udd_ep_abort(ep); in udd_ep_free()
496 config_ep.ep_address = ep; in udd_ep_free()
508 config_ep.ep_address = ep; in udd_ep_alloc()
572 udd_ep_abort(ep); in udd_ep_set_halt()
[all …]
/bsp/stm32/libraries/HAL_Drivers/drivers/
A Ddrv_usbh.c78 pipe->ep.bmAttributes, in drv_pipe_xfer()
88 if (pipe->ep.bmAttributes == USB_EP_ATTR_INT) in drv_pipe_xfer()
90 …rt_thread_delay((pipe->ep.bInterval * RT_TICK_PER_SECOND / 1000) > 0 ? (pipe->ep.bInterval * RT_TI… in drv_pipe_xfer()
95 pipe->ep.bEndpointAddress, in drv_pipe_xfer()
98 pipe->ep.bmAttributes, in drv_pipe_xfer()
99 pipe->ep.wMaxPacketSize); in drv_pipe_xfer()
131 if (pipe->ep.bEndpointAddress & 0x80) in drv_pipe_xfer()
135 else if (pipe->ep.bEndpointAddress & 0x00) in drv_pipe_xfer()
171 pipe->ep.bEndpointAddress, in drv_open_pipe()
174 pipe->ep.bmAttributes, in drv_open_pipe()
[all …]
/bsp/microchip/samd51-adafruit-metro-m4/bsp/usb/class/cdc/device/
A Dcdcdf_acm.c71 uint8_t * ifc, *ep; in cdcdf_acm_enable() local
96 ep = usb_find_desc(ifc, desc->eod, USB_DT_ENDPOINT); in cdcdf_acm_enable()
97 while (NULL != ep) { in cdcdf_acm_enable()
98 ep_desc.bEndpointAddress = ep[2]; in cdcdf_acm_enable()
99 ep_desc.bmAttributes = ep[3]; in cdcdf_acm_enable()
100 ep_desc.wMaxPacketSize = usb_get_u16(ep + 4); in cdcdf_acm_enable()
111 desc->sod = ep; in cdcdf_acm_enable()
112 ep = usb_find_ep_desc(usb_desc_next(desc->sod), desc->eod); in cdcdf_acm_enable()
205 return usbdc_xfer(ep, ctrl_buf, len, false); in cdcdf_acm_set_req()
262 return cdcdf_acm_get_req(ep, req, stage); in cdcdf_acm_req()
[all …]
/bsp/microchip/samd51-seeed-wio-terminal/bsp/usb/class/cdc/device/
A Dcdcdf_acm.c71 uint8_t * ifc, *ep; in cdcdf_acm_enable() local
96 ep = usb_find_desc(ifc, desc->eod, USB_DT_ENDPOINT); in cdcdf_acm_enable()
97 while (NULL != ep) { in cdcdf_acm_enable()
98 ep_desc.bEndpointAddress = ep[2]; in cdcdf_acm_enable()
99 ep_desc.bmAttributes = ep[3]; in cdcdf_acm_enable()
100 ep_desc.wMaxPacketSize = usb_get_u16(ep + 4); in cdcdf_acm_enable()
111 desc->sod = ep; in cdcdf_acm_enable()
112 ep = usb_find_ep_desc(usb_desc_next(desc->sod), desc->eod); in cdcdf_acm_enable()
205 return usbdc_xfer(ep, ctrl_buf, len, false); in cdcdf_acm_set_req()
262 return cdcdf_acm_get_req(ep, req, stage); in cdcdf_acm_req()
[all …]
/bsp/microchip/samd51-adafruit-metro-m4/bsp/hpl/usb/
A Dhpl_usb.c512 uint8_t ep; member
901 return &dev_inst.ep[ep_index]; in _usb_d_dev_ept()
1422 if (ept->ep == 0xFF) { in _usb_d_dev_handler()
1437 dev_inst.ep[i].ep = 0xFF; in _usb_d_dev_reset_epts()
1438 dev_inst.ep[i].flags.u8 = 0; in _usb_d_dev_reset_epts()
1639 if (ept->ep != 0xFF) { in _usb_d_dev_ep_init()
1644 if (ept_in->ep != 0xFF) { in _usb_d_dev_ep_init()
1659 ept->ep = ep; in _usb_d_dev_ep_init()
1681 } else if (USB_EP_GET_DIR(ep)) { in _usb_d_dev_ep_deinit()
1687 ept->ep = 0xFF; in _usb_d_dev_ep_deinit()
[all …]
/bsp/microchip/samd51-seeed-wio-terminal/bsp/hpl/usb/
A Dhpl_usb.c512 uint8_t ep; member
901 return &dev_inst.ep[ep_index]; in _usb_d_dev_ept()
1422 if (ept->ep == 0xFF) { in _usb_d_dev_handler()
1437 dev_inst.ep[i].ep = 0xFF; in _usb_d_dev_reset_epts()
1438 dev_inst.ep[i].flags.u8 = 0; in _usb_d_dev_reset_epts()
1639 if (ept->ep != 0xFF) { in _usb_d_dev_ep_init()
1644 if (ept_in->ep != 0xFF) { in _usb_d_dev_ep_init()
1659 ept->ep = ep; in _usb_d_dev_ep_init()
1681 } else if (USB_EP_GET_DIR(ep)) { in _usb_d_dev_ep_deinit()
1687 ept->ep = 0xFF; in _usb_d_dev_ep_deinit()
[all …]
/bsp/allwinner/libraries/sunxi-hal/hal/source/usb/udc/
A Dhal_udc.c542 buf = ep->pdata + ep->data_actual; in pio_read_fifo()
543 bufferspace = ep->data_len - ep->data_actual; in pio_read_fifo()
564 if (idx != 0 && (fifo_count < ep->maxpacket || ep->data_len == ep->data_actual)) in pio_read_fifo()
567 is_last = (ep->data_len <= ep->data_actual) ? 1 : 0; in pio_read_fifo()
577 ep->pdata, ep->data_actual); in pio_read_fifo()
590 ep->pdata, ep->data_actual); in pio_read_fifo()
648 count = min(ep->data_len - ep->data_actual, ep->maxpacket); in pio_write_fifo()
649 buf = ep->pdata + ep->data_actual; in pio_write_fifo()
656 if (count != ep->maxpacket || ep->data_len == ep->data_actual) in pio_write_fifo()
1312 udc_ep_t *ep; in hal_udc_ep_read() local
[all …]

Completed in 90 milliseconds

12345