Home
last modified time | relevance | path

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

/bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/lhal/src/
A Dbflb_usb_v1.c60 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 Dbflb_usb_v2.c155 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 Ddrv_usb_dev.c207 …*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 Ddrv_usbh_int.c278 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 Ddrv_usb_host.c374 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 Ddrv_usbd_int.c362 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 DSWM341_usbd.c45 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 DSWM341_usbd.h120 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 Dusbd_core.c40 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 Dusbh_pipe.c53 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 Ddrv_usbh.c697 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 Ddrv_usbd.c90 …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 Dusbh_pipe.h85 uint8_t ep_type,
/bsp/samd21/sam_d2x_asflib/sam0/drivers/usb/stack_interface/
A Dusb_device_udd.c497 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 Dusb_host_uhd.c1527 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 Dusbd_conf.c398 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 Ddrv_usb_dev.h88 uint8_t ep_type; /*!< USB endpoint type */ member
/bsp/stm32/libraries/STM32L1xx_HAL/STM32L1xx_HAL_Driver/Src/
A Dstm32l1xx_hal_pcd.c1201 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 Dusb.h325 enum usb_device_endpoint_type ep_type; member
/bsp/microchip/samd51-adafruit-metro-m4/bsp/hpl/usb/
A Dhpl_usb.c1633 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 Dhpl_usb.c1633 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 Dstm32l1xx_hal_pcd.h331 uint16_t ep_mps, uint8_t ep_type);
/bsp/allwinner/libraries/sunxi-hal/hal/source/usb/udc/
A Dhal_udc.c146 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 Dusb.c1370 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 Dusb.c1370 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()

Completed in 82 milliseconds