Searched refs:ep_mps (Results 1 – 7 of 7) sorted by relevance
| /bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/lhal/src/ |
| A D | bflb_usb_v1.c | 59 uint16_t ep_mps; /* Endpoint max packet size */ member 138 static void bflb_usb_ep0_size(uint8_t ep_mps) in bflb_usb_ep0_size() argument 144 regval |= (ep_mps << USB_CR_USB_EP0_SW_SIZE_SHIFT); in bflb_usb_ep0_size() 156 regval |= (ep_mps << USB_CR_EP1_SIZE_SHIFT); in bflb_usb_ep_config() 344 g_bl_udc.out_ep[ep_idx].ep_mps = ep_cfg->ep_mps; in usbd_ep_open() 349 g_bl_udc.in_ep[ep_idx].ep_mps = ep_cfg->ep_mps; in usbd_ep_open() 371 bflb_usb_ep_config(ep_idx, ep_type, dir, ep_cfg->ep_mps); in usbd_ep_open() 447 data_len = MIN(data_len, g_bl_udc.in_ep[ep_idx].ep_mps); in usbd_ep_start_write() 453 bflb_usb_ep0_size(g_bl_udc.in_ep[ep_idx].ep_mps); in usbd_ep_start_write() 519 if ((rx_count < g_bl_udc.out_ep[ep_idx].ep_mps) || in USBD_IRQHandler() [all …]
|
| A D | bflb_usb_v2.c | 154 uint16_t ep_mps; /* Endpoint max packet size */ member 236 regval |= ep_mps; in bflb_usb_set_outep_mps() 240 static void bflb_usb_set_inep_mps(uint8_t ep_idx, uint16_t ep_mps) in bflb_usb_set_inep_mps() argument 246 regval |= ep_mps; in bflb_usb_set_inep_mps() 456 if ((g_bl_udc.out_ep[ep_idx].ep_mps > 512) || (g_bl_udc.in_ep[ep_idx].ep_mps > 512)) { in usb_get_transfer_fifo() 659 g_bl_udc.out_ep[ep_idx].ep_mps = ep_cfg->ep_mps; in usbd_ep_open() 662 bflb_usb_set_outep_mps(ep_idx, ep_cfg->ep_mps); in usbd_ep_open() 664 g_bl_udc.in_ep[ep_idx].ep_mps = ep_cfg->ep_mps; in usbd_ep_open() 667 bflb_usb_set_inep_mps(ep_idx, ep_cfg->ep_mps); in usbd_ep_open() 673 if (ep_cfg->ep_mps > 512) { in usbd_ep_open() [all …]
|
| /bsp/stm32/libraries/templates/stm32l1xx/board/CubeMX_Config/Src/ |
| A D | usbd_conf.c | 398 …TypeDef USBD_LL_OpenEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr, uint8_t ep_type, uint16_t ep_mps) 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/hc32/libraries/hc32_drivers/ |
| A D | drv_usbd.c | 90 static void usb_opendevep(usb_core_instance *pdev, uint8_t ep_addr, uint16_t ep_mps, uint8_t ep_typ… in usb_opendevep() argument 109 ep->maxpacket = ep_mps; in usb_opendevep()
|
| /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 1218 ep->maxpacket = ep_mps; in HAL_PCD_EP_Open()
|
| /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/hpmicro/libraries/hpm_sdk/ |
| A D | CHANGELOG.md | 718 - samples: cherryusb: host: hid: use ep_mps to fill urb
|
Completed in 37 milliseconds