Home
last modified time | relevance | path

Searched refs:ep_type (Results 1 – 13 of 13) sorted by relevance

/components/drivers/usb/cherryusb/port/template/
A Dusb_dc.c6 uint8_t ep_type; /* Endpoint type */ member
62 g_xxx_udc.out_ep[ep_idx].ep_type = USB_GET_ENDPOINT_TYPE(ep->bmAttributes); in usbd_ep_open()
66 g_xxx_udc.in_ep[ep_idx].ep_type = USB_GET_ENDPOINT_TYPE(ep->bmAttributes); in usbd_ep_open()
/components/drivers/usb/cherryusb/port/chipidea/
A Dusb_dc_chipidea.c108 uint8_t ep_type; /* Endpoint type */ member
226 static void __chipidea_edpt_open(CHIPIDEA_TypeDef *ptr, uint8_t ep_addr, uint8_t ep_type) in __chipidea_edpt_open() argument
234 temp |= ((ep_type << 2) | ENDPTCTRL_ENABLE | ENDPTCTRL_TOGGLE_RESET) << (dir ? 16 : 0); in __chipidea_edpt_open()
351 static void chipidea_edpt_open(uint8_t busid, uint8_t ep_addr, uint8_t ep_type, uint16_t ep_mps) in chipidea_edpt_open() argument
367 if (ep_type == USB_ENDPOINT_TYPE_ISOCHRONOUS) { in chipidea_edpt_open()
371 __chipidea_edpt_open(USB_OTG_DEV, ep_addr, ep_type); in chipidea_edpt_open()
542 g_chipidea_udc[busid].out_ep[ep_idx].ep_type = USB_GET_ENDPOINT_TYPE(ep->bmAttributes); in usbd_ep_open()
546 g_chipidea_udc[busid].in_ep[ep_idx].ep_type = USB_GET_ENDPOINT_TYPE(ep->bmAttributes); in usbd_ep_open()
/components/drivers/usb/cherryusb/port/dwc2/
A Dusb_dc_dwc2.c69 uint8_t ep_type; /* Endpoint type */ member
387 if (g_dwc2_udc[busid].in_ep[ep_idx].ep_type == USB_ENDPOINT_TYPE_ISOCHRONOUS) { in dwc2_tx_fifo_empty_procecss()
704 g_dwc2_udc[busid].in_ep[ep_idx].ep_type = USB_GET_ENDPOINT_TYPE(ep->bmAttributes); in usbd_ep_open()
798 if ((g_dwc2_udc[busid].out_ep[ep_idx].ep_type == USB_ENDPOINT_TYPE_INTERRUPT) || in usbd_ep_clear_stall()
799 (g_dwc2_udc[busid].out_ep[ep_idx].ep_type == USB_ENDPOINT_TYPE_BULK)) { in usbd_ep_clear_stall()
804 if ((g_dwc2_udc[busid].in_ep[ep_idx].ep_type == USB_ENDPOINT_TYPE_INTERRUPT) || in usbd_ep_clear_stall()
805 (g_dwc2_udc[busid].in_ep[ep_idx].ep_type == USB_ENDPOINT_TYPE_BULK)) { in usbd_ep_clear_stall()
878 if (g_dwc2_udc[busid].in_ep[ep_idx].ep_type == USB_ENDPOINT_TYPE_ISOCHRONOUS) { in usbd_ep_start_write()
888 if (g_dwc2_udc[busid].in_ep[ep_idx].ep_type == USB_ENDPOINT_TYPE_ISOCHRONOUS || in usbd_ep_start_write()
889 g_dwc2_udc[busid].in_ep[ep_idx].ep_type == USB_ENDPOINT_TYPE_INTERRUPT) { in usbd_ep_start_write()
[all …]
A Dusb_hc_dwc2.c233 uint8_t ep_type, in dwc2_chan_char_init() argument
243 (((uint32_t)ep_type << USB_OTG_HCCHAR_EPTYP_Pos) & USB_OTG_HCCHAR_EPTYP) | in dwc2_chan_char_init()
256 if (ep_type == USB_ENDPOINT_TYPE_INTERRUPT) { in dwc2_chan_char_init()
291 uint8_t ep_type, in dwc2_chan_init() argument
305 dwc2_chan_char_init(bus, ch_num, dev_addr, ep_addr, ep_type, ep_mps, ep_mult, speed); in dwc2_chan_init()
/components/drivers/usb/cherryusb/port/aic/
A Dusb_dc_aic.c64 uint8_t ep_type; /* Endpoint type */ member
802 g_aic_udc.out_ep[ep_idx].ep_type = USB_GET_ENDPOINT_TYPE(ep->bmAttributes); in usbd_ep_open()
815 g_aic_udc.in_ep[ep_idx].ep_type = USB_GET_ENDPOINT_TYPE(ep->bmAttributes); in usbd_ep_open()
1164 if ((g_aic_udc.out_ep[ep_idx].ep_type == USB_ENDPOINT_TYPE_INTERRUPT) || in usbd_ep_clear_stall()
1165 (g_aic_udc.out_ep[ep_idx].ep_type == USB_ENDPOINT_TYPE_BULK)) { in usbd_ep_clear_stall()
1172 if ((g_aic_udc.in_ep[ep_idx].ep_type == USB_ENDPOINT_TYPE_INTERRUPT) || in usbd_ep_clear_stall()
1173 (g_aic_udc.in_ep[ep_idx].ep_type == USB_ENDPOINT_TYPE_BULK)) { in usbd_ep_clear_stall()
1265 if (g_aic_udc.in_ep[ep_idx].ep_type == USB_ENDPOINT_TYPE_ISOCHRONOUS) { in usbd_ep_start_write_raw()
1276 } else if (g_aic_udc.in_ep[ep_idx].ep_type == USB_ENDPOINT_TYPE_INTERRUPT) { in usbd_ep_start_write_raw()
1392 if (g_aic_udc.out_ep[ep_idx].ep_type == USB_ENDPOINT_TYPE_ISOCHRONOUS) { in usbd_ep_start_read_raw()
[all …]
/components/drivers/usb/cherryusb/port/hpmicro/
A Dusb_dc_hpm.c27 uint8_t ep_type; /* Endpoint type */ member
180 g_hpm_udc[busid].out_ep[ep_idx].ep_type = USB_GET_ENDPOINT_TYPE(ep->bmAttributes); in usbd_ep_open()
184 g_hpm_udc[busid].in_ep[ep_idx].ep_type = USB_GET_ENDPOINT_TYPE(ep->bmAttributes); in usbd_ep_open()
/components/drivers/usb/cherryusb/port/rp2040/
A Dusb_dc_rp2040.c25 uint8_t ep_type; /* Endpoint type */ member
76 (ep->ep_type << EP_CTRL_BUFFER_TYPE_LSB) | in usb_setup_endpoint()
225 g_rp2040_udc.out_ep[ep_idx].ep_type = USB_GET_ENDPOINT_TYPE(ep->bmAttributes); in usbd_ep_open()
234 g_rp2040_udc.in_ep[ep_idx].ep_type = USB_GET_ENDPOINT_TYPE(ep->bmAttributes); in usbd_ep_open()
A Dusb_hc_rp2040.c100 uint8_t ep_type, in rp2040_init_endpoint() argument
113 (ep_type << EP_CTRL_BUFFER_TYPE_LSB) | in rp2040_init_endpoint()
/components/drivers/usb/cherryusb/port/fsdev/
A Dusb_dc_fsdev.c36 uint8_t ep_type; /* Endpoint type */ member
172 g_fsdev_udc.out_ep[ep_idx].ep_type = USB_GET_ENDPOINT_TYPE(ep->bmAttributes); in usbd_ep_open()
189 g_fsdev_udc.in_ep[ep_idx].ep_type = USB_GET_ENDPOINT_TYPE(ep->bmAttributes); in usbd_ep_open()
255 if (g_fsdev_udc.in_ep[ep_idx].ep_type != USB_ENDPOINT_TYPE_ISOCHRONOUS) { in usbd_ep_clear_stall()
/components/drivers/usb/cherryusb/port/musb/
A Dusb_dc_musb.c162 uint8_t ep_type; /* Endpoint type */ member
405 g_musb_udc.out_ep[0].ep_type = 0x00; in usbd_ep_open()
408 g_musb_udc.in_ep[0].ep_type = 0x00; in usbd_ep_open()
420 g_musb_udc.out_ep[ep_idx].ep_type = USB_GET_ENDPOINT_TYPE(ep->bmAttributes); in usbd_ep_open()
471 g_musb_udc.in_ep[ep_idx].ep_type = USB_GET_ENDPOINT_TYPE(ep->bmAttributes); in usbd_ep_open()
/components/drivers/usb/cherryusb/port/ehci/
A Dusb_hc_ehci.c189 uint8_t ep_type, in ehci_qh_fill() argument
229 if (ep_type == USB_ENDPOINT_TYPE_CONTROL) { in ehci_qh_fill()
238 if (ep_type == USB_ENDPOINT_TYPE_CONTROL) { in ehci_qh_fill()
242 if (ep_type != USB_ENDPOINT_TYPE_INTERRUPT) { in ehci_qh_fill()
251 if (ep_type == USB_ENDPOINT_TYPE_INTERRUPT) { in ehci_qh_fill()
259 if (ep_type == USB_ENDPOINT_TYPE_CONTROL) { in ehci_qh_fill()
263 } else if (ep_type == USB_ENDPOINT_TYPE_BULK) { in ehci_qh_fill()
/components/drivers/usb/cherryusb/port/kinetis/
A Dusb_dc_kinetis.c17 uint8_t ep_type; /* Endpoint type */ member
170 g_kinetis_udc[busid].out_ep[ep_idx].ep_type = USB_GET_ENDPOINT_TYPE(ep->bmAttributes); in usbd_ep_open()
177 g_kinetis_udc[busid].in_ep[ep_idx].ep_type = USB_GET_ENDPOINT_TYPE(ep->bmAttributes); in usbd_ep_open()
/components/drivers/usb/cherryusb/port/bouffalolab/
A Dusb_dc_bl.c114 uint8_t ep_type; /* Endpoint type */ member
220 static void bflb_usb_fifo_config(uint8_t fifo, uint8_t ep_type, uint16_t block_size, uint8_t block_… in bflb_usb_fifo_config() argument
227 regval |= (ep_type << (fifo * 8 + 0)); in bflb_usb_fifo_config()
674 g_bl_udc.out_ep[ep_idx].ep_type = USB_GET_ENDPOINT_TYPE(ep->bmAttributes); in usbd_ep_open()
679 g_bl_udc.in_ep[ep_idx].ep_type = USB_GET_ENDPOINT_TYPE(ep->bmAttributes); in usbd_ep_open()

Completed in 27 milliseconds