| /bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/lhal/src/ |
| A D | bflb_usb_v1.c | 60 uint8_t ep_type; /* Endpoint type */ member 158 regval |= (ep_type << USB_CR_EP1_TYPE_SHIFT); in bflb_usb_ep_config() 331 uint8_t ep_type; in usbd_ep_open() local 345 g_bl_udc.out_ep[ep_idx].ep_type = ep_cfg->ep_type; in usbd_ep_open() 350 g_bl_udc.in_ep[ep_idx].ep_type = ep_cfg->ep_type; in usbd_ep_open() 356 switch (ep_cfg->ep_type) { in usbd_ep_open() 358 ep_type = 2; in usbd_ep_open() 361 ep_type = 4; in usbd_ep_open() 364 ep_type = 0; in usbd_ep_open() 368 ep_type = 4; in usbd_ep_open() [all …]
|
| A D | bflb_usb_v2.c | 155 uint8_t ep_type; /* Endpoint type */ member 266 regval |= (ep_type << (fifo * 8 + 0)); in bflb_usb_fifo_config() 660 g_bl_udc.out_ep[ep_idx].ep_type = ep_cfg->ep_type; in usbd_ep_open() 665 g_bl_udc.in_ep[ep_idx].ep_type = ep_cfg->ep_type; in usbd_ep_open() 683 bflb_usb_fifo_config(USB_FIFO_F0, ep_cfg->ep_type, 1024, 1, true); in usbd_ep_open() 703 bflb_usb_fifo_config(USB_FIFO_F0, ep_cfg->ep_type, 512, 1, true); in usbd_ep_open() 705 bflb_usb_fifo_config(USB_FIFO_F1, ep_cfg->ep_type, 512, 1, true); in usbd_ep_open() 707 bflb_usb_fifo_config(USB_FIFO_F2, ep_cfg->ep_type, 512, 1, true); in usbd_ep_open() 709 bflb_usb_fifo_config(USB_FIFO_F3, ep_cfg->ep_type, 512, 1, true); in usbd_ep_open() 741 bflb_usb_fifo_config(USB_FIFO_F0, ep_cfg->ep_type, 512, 2, true); in usbd_ep_open() [all …]
|
| /bsp/gd32/risc-v/libraries/GD32VF103_Firmware_Library/GD32VF103_usbfs_library/driver/Source/ |
| A D | drv_usb_dev.c | 207 …*reg_addr |= ((uint32_t)transc->ep_type << 18U) | ((uint32_t)ep_num << 22U) | DEPCTL_SD0PID | DEPC… in usb_transc0_active() 250 …*reg_addr |= ((uint32_t)transc->ep_type << 18U) | ((uint32_t)ep_num << 22U) | DEPCTL_SD0PID | DEPC… in usb_transc_active() 326 if (transc->ep_type == (uint8_t)USB_EPTYPE_ISOC) { in usb_transc_inxfer() 333 if (transc->ep_type == (uint8_t)USB_EPTYPE_ISOC) { in usb_transc_inxfer() 353 if (transc->ep_type != (uint8_t)USB_EPTYPE_ISOC) { in usb_transc_inxfer() 408 if (transc->ep_type == (uint8_t)USB_EPTYPE_ISOC) { in usb_transc_outxfer() 478 …if ((transc->ep_type == (uint8_t)USB_EPTYPE_INTR) || (transc->ep_type == (uint8_t)USB_EPTYPE_BULK)… in usb_transc_clrstall()
|
| A D | drv_usbh_int.c | 278 uint8_t ep_type = (uint8_t)((pp_reg->HCHCTL & HCHCTL_EPTYPE) >> 18U); in usbh_int_pipe_in() local 309 switch (ep_type) { in usbh_int_pipe_in() 353 if((uint8_t)USB_EPTYPE_INTR == ep_type) { in usbh_int_pipe_in() 364 switch (ep_type) { in usbh_int_pipe_in()
|
| A D | drv_usb_host.c | 374 uint8_t ep_type = (uint8_t)((pp_ctl & HCHCTL_EPTYPE) >> 18U); in usb_pipe_halt() local 378 switch (ep_type) { in usb_pipe_halt()
|
| A D | drv_usbd_int.c | 362 udev->dev.transc_out[0].ep_type = USB_EPTYPE_CTRL; in usbd_int_reset() 368 udev->dev.transc_in[0].ep_type = USB_EPTYPE_CTRL; in usbd_int_reset()
|
| /bsp/synwit/libraries/SWM341_CSL/SWM341_StdPeriph_Driver/ |
| A D | SWM341_usbd.c | 45 uint8_t ep_reg = 0, ep_nbr, ep_dir, ep_type, cfg, intf, alt; in USBD_Init() local 83 ep_type = pCfg[3] & 0x03; in USBD_Init() 86 USBD_EPConfig(ep_reg++, ep_nbr, ep_dir, ep_type, ep_pksz, cfg, intf, alt); in USBD_Init() 126 void USBD_EPConfig(uint8_t ep_reg, uint8_t ep_nbr, uint8_t ep_dir, uint8_t ep_type, uint16_t ep_pks… in USBD_EPConfig() argument 132 (ep_type << USBD_EPCFG_TYPE_Pos) | in USBD_EPConfig()
|
| A D | SWM341_usbd.h | 120 void USBD_EPConfig(uint8_t ep_reg, uint8_t ep_nbr, uint8_t ep_dir, uint8_t ep_type, uint16_t ep_pks…
|
| /bsp/gd32/risc-v/libraries/GD32VF103_Firmware_Library/GD32VF103_usbfs_library/device/core/Source/ |
| A D | usbd_core.c | 40 const uint32_t ep_type[] = { variable 119 transc->ep_type = (uint8_t)ep_type[ep_desc->bmAttributes & (uint8_t)USB_EPTYPE_MASK]; in usbd_ep_setup()
|
| /bsp/gd32/risc-v/libraries/GD32VF103_Firmware_Library/GD32VF103_usbfs_library/host/core/Source/ |
| A D | usbh_pipe.c | 53 uint8_t ep_type, in usbh_pipe_create() argument 60 pp->ep.type = ep_type; in usbh_pipe_create()
|
| /bsp/hc32/libraries/hc32_drivers/ |
| A D | drv_usbh.c | 697 uint8_t ep_type, in usb_host_chopen() argument 704 pdev->host.hc[hc_num].ep_type = ep_type; in usb_host_chopen() 718 uint8_t ep_type, in usb_host_ch_init() argument 725 pdev->host.hc[hc_num].ep_type = ep_type; in usb_host_ch_init() 735 uint8_t ep_type, in usb_host_submitrequest() argument 742 pdev->host.hc[ch_num].ep_type = ep_type; in usb_host_submitrequest() 755 switch (ep_type) in usb_host_submitrequest()
|
| A D | drv_usbd.c | 90 …atic void usb_opendevep(usb_core_instance *pdev, uint8_t ep_addr, uint16_t ep_mps, uint8_t ep_type) in usb_opendevep() argument 110 ep->trans_type = ep_type; in usb_opendevep() 117 if (ep_type == EP_TYPE_BULK) in usb_opendevep()
|
| /bsp/gd32/risc-v/libraries/GD32VF103_Firmware_Library/GD32VF103_usbfs_library/host/core/Include/ |
| A D | usbh_pipe.h | 85 uint8_t ep_type,
|
| /bsp/samd21/sam_d2x_asflib/sam0/drivers/usb/stack_interface/ |
| A D | usb_device_udd.c | 497 config_ep.ep_type = USB_DEVICE_ENDPOINT_TYPE_DISABLE; in udd_ep_free() 536 config_ep.ep_type = USB_DEVICE_ENDPOINT_TYPE_ISOCHRONOUS; in udd_ep_alloc() 538 config_ep.ep_type = USB_DEVICE_ENDPOINT_TYPE_BULK; in udd_ep_alloc() 540 config_ep.ep_type = USB_DEVICE_ENDPOINT_TYPE_INTERRUPT; in udd_ep_alloc()
|
| A D | usb_host_uhd.c | 1527 uint8_t ep_type; in uhd_ep_alloc() local 1537 ep_type = (ep_desc->bmAttributes & USB_EP_TYPE_MASK) + 1; in uhd_ep_alloc() 1538 if (ep_type == USB_HOST_PIPE_TYPE_BULK) { in uhd_ep_alloc() 1545 cfg.pipe_type = (enum usb_host_pipe_type)ep_type; in uhd_ep_alloc()
|
| /bsp/stm32/libraries/templates/stm32l1xx/board/CubeMX_Config/Src/ |
| A D | usbd_conf.c | 398 USBD_StatusTypeDef USBD_LL_OpenEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr, uint8_t ep_type, uint1… in USBD_LL_OpenEP() argument 403 hal_status = HAL_PCD_EP_Open(pdev->pData, ep_addr, ep_mps, ep_type); in USBD_LL_OpenEP()
|
| /bsp/gd32/risc-v/libraries/GD32VF103_Firmware_Library/GD32VF103_usbfs_library/driver/Include/ |
| A D | drv_usb_dev.h | 88 uint8_t ep_type; /*!< USB endpoint type */ member
|
| /bsp/stm32/libraries/STM32L1xx_HAL/STM32L1xx_HAL_Driver/Src/ |
| A D | stm32l1xx_hal_pcd.c | 1201 uint16_t ep_mps, uint8_t ep_type) in HAL_PCD_EP_Open() argument 1219 ep->type = ep_type; in HAL_PCD_EP_Open() 1227 if (ep_type == EP_TYPE_BULK) in HAL_PCD_EP_Open()
|
| /bsp/samd21/sam_d2x_asflib/sam0/drivers/usb/ |
| A D | usb.h | 325 enum usb_device_endpoint_type ep_type; member
|
| /bsp/microchip/samd51-adafruit-metro-m4/bsp/hpl/usb/ |
| A D | hpl_usb.c | 1633 uint8_t ep_type = attr & USB_EP_XTYPE_MASK; in _usb_d_dev_ep_init() local 1642 if (ep_type == USB_EP_XTYPE_CTRL) { in _usb_d_dev_ep_init() 1658 ept->flags.u8 = (ep_type + 1); in _usb_d_dev_ep_init()
|
| /bsp/microchip/samd51-seeed-wio-terminal/bsp/hpl/usb/ |
| A D | hpl_usb.c | 1633 uint8_t ep_type = attr & USB_EP_XTYPE_MASK; in _usb_d_dev_ep_init() local 1642 if (ep_type == USB_EP_XTYPE_CTRL) { in _usb_d_dev_ep_init() 1658 ept->flags.u8 = (ep_type + 1); in _usb_d_dev_ep_init()
|
| /bsp/stm32/libraries/STM32L1xx_HAL/STM32L1xx_HAL_Driver/Inc/ |
| A D | stm32l1xx_hal_pcd.h | 331 uint16_t ep_mps, uint8_t ep_type);
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/usb/udc/ |
| A D | hal_udc.c | 146 static void usbc_select_bus(udc_io_type_t io_type, udc_ep_type_t ep_type, uint32_t ep_index) in usbc_select_bus() argument 153 if (ep_type == UDC_EP_TYPE_TX) { in usbc_select_bus()
|
| /bsp/samd21/sam_d2x_asflib/sam0/drivers/usb/usb_sam_d_r/ |
| A D | usb.c | 1370 ep_config->ep_type = USB_DEVICE_ENDPOINT_TYPE_CONTROL; in usb_device_endpoint_get_config_defaults() 1397 switch (ep_config->ep_type) { in usb_device_endpoint_set_config()
|
| /bsp/samd21/sam_d2x_asflib/sam0/drivers/usb/usb_sam_l/ |
| A D | usb.c | 1370 ep_config->ep_type = USB_DEVICE_ENDPOINT_TYPE_CONTROL; in usb_device_endpoint_get_config_defaults() 1397 switch (ep_config->ep_type) { in usb_device_endpoint_set_config()
|