| /components/drivers/usb/cherryusb/port/template/ |
| A D | usb_dc.c | 6 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 D | usb_dc_chipidea.c | 108 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 D | usb_dc_dwc2.c | 69 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 D | usb_hc_dwc2.c | 233 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 D | usb_dc_aic.c | 64 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 D | usb_dc_hpm.c | 27 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 D | usb_dc_rp2040.c | 25 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 D | usb_hc_rp2040.c | 100 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 D | usb_dc_fsdev.c | 36 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 D | usb_dc_musb.c | 162 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 D | usb_hc_ehci.c | 189 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 D | usb_dc_kinetis.c | 17 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 D | usb_dc_bl.c | 114 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()
|