| /bsp/at32/libraries/usbd_library/src/ |
| A D | usbd_core.c | 55 if(ept_info->rem0_len > ept_info->maxpacket) in usbd_core_in_handler() 57 ept_info->rem0_len -= ept_info->maxpacket; in usbd_core_in_handler() 103 if(ept_info->rem0_len > ept_info->maxpacket) in usbd_core_out_handler() 105 ept_info->rem0_len -= ept_info->maxpacket; in usbd_core_out_handler() 302 if(ept_info->total_len > ept_info->maxpacket) in usbd_ept_send() 304 trs_len = ept_info->maxpacket; in usbd_ept_send() 361 if(ept_info->total_len > ept_info->maxpacket) in usbd_ept_recv() 363 trs_len = ept_info->maxpacket; in usbd_ept_recv() 511 ept_info->maxpacket = (maxpacket + 1) & 0xFFFE; in usbd_ept_open() 631 udev->ept_in[i_index].maxpacket = 0; in usbd_ept_defaut_init() [all …]
|
| A D | usbd_int.c | 203 if(ept_info->total_len == 0 || length < ept_info->maxpacket || ept_num == USB_EPT0) in usbd_eptn_handler()
|
| /bsp/at32/libraries/usbotg_library/src/ |
| A D | usbd_core.c | 55 if(ept_info->rem0_len > ept_info->maxpacket) in usbd_core_in_handler() 57 ept_info->rem0_len -= ept_info->maxpacket; in usbd_core_in_handler() 63 && ept_info->ept0_slen >= ept_info->maxpacket in usbd_core_in_handler() 107 if(ept_info->rem0_len > ept_info->maxpacket) in usbd_core_out_handler() 109 ept_info->rem0_len -= ept_info->maxpacket; in usbd_core_out_handler() 348 ept_info->maxpacket = maxpacket; in usbd_ept_open() 439 udev->ept_in[i_index].maxpacket = 0; in usb_ept_default_init() 450 udev->ept_out[i_index].maxpacket = 0; in usb_ept_default_init() 507 pktcnt = (ept_info->total_len + ept_info->maxpacket - 1) / ept_info->maxpacket; in usbd_ept_send() 597 ept_info->total_len = ept_info->maxpacket; in usbd_ept_recv() [all …]
|
| A D | usbd_int.c | 159 if(length > ept_info->maxpacket) in usb_write_empty_txfifo() 161 length = ept_info->maxpacket; in usb_write_empty_txfifo() 169 if(length > ept_info->maxpacket) in usb_write_empty_txfifo() 171 length = ept_info->maxpacket; in usb_write_empty_txfifo() 218 ept_info->trans_buf += ept_info->maxpacket; in usbd_inept_handler() 317 if(ept_info->total_len > ept_info->maxpacket) in usbd_outept_handler() 323 … ept_info->trans_len = ept_info->maxpacket - USB_OUTEPT(usbx, ept_num)->doeptsiz_bit.xfersize; in usbd_outept_handler()
|
| A D | usbh_core.c | 148 uhost->hch[hc_num].maxpacket - 1) / \ in usbh_in_out_request() 149 uhost->hch[hc_num].maxpacket; in usbh_in_out_request() 155 uhost->hch[hc_num].trans_len = n_packet * uhost->hch[hc_num].maxpacket; in usbh_in_out_request() 167 uhost->hch[hc_num].trans_len = n_packet * uhost->hch[hc_num].maxpacket; in usbh_in_out_request() 546 uhost->hch[0].maxpacket = 8; in usbh_core_init() 680 uint16_t maxpacket, in usbh_hc_open() argument 693 uhost->hch[chn].maxpacket = maxpacket; in usbh_hc_open() 707 type, maxpacket, speed in usbh_hc_open()
|
| A D | usbh_int.c | 216 if(((uhost->hch[chn].trans_len / uhost->hch[chn].maxpacket) & 1) != 0) in usbh_hch_in_handler()
|
| /bsp/stm32/libraries/STM32L1xx_HAL/STM32L1xx_HAL_Driver/Src/ |
| A D | stm32l1xx_ll_usb.c | 363 if (ep->xfer_len > ep->maxpacket) in USB_EPStartXfer() 365 len = ep->maxpacket; in USB_EPStartXfer() 383 if (ep->xfer_len_db > ep->maxpacket) in USB_EPStartXfer() 402 if (ep->xfer_len_db > ep->maxpacket) in USB_EPStartXfer() 429 if (ep->xfer_len_db > ep->maxpacket) in USB_EPStartXfer() 484 if (ep->xfer_len_db > ep->maxpacket) in USB_EPStartXfer() 514 if (ep->xfer_len_db > ep->maxpacket) in USB_EPStartXfer() 544 if (ep->xfer_len > ep->maxpacket) in USB_EPStartXfer() 546 len = ep->maxpacket; in USB_EPStartXfer() 583 if (ep->xfer_len > ep->maxpacket) in USB_EPStartXfer() [all …]
|
| A D | stm32l1xx_hal_pcd.c | 180 hpcd->IN_ep[i].maxpacket = 0U; in HAL_PCD_Init() 191 hpcd->OUT_ep[i].maxpacket = 0U; in HAL_PCD_Init() 1218 ep->maxpacket = ep_mps; in HAL_PCD_EP_Open() 1598 PCD_SET_EP_RX_CNT(hpcd->Instance, PCD_ENDP0, ep->maxpacket); in PCD_EP_ISR_Handler() 1664 if ((ep->xfer_len == 0U) || (count < ep->maxpacket)) in PCD_EP_ISR_Handler() 1875 if (ep->xfer_len_db >= ep->maxpacket) in HAL_PCD_EP_DB_Transmit() 1877 len = ep->maxpacket; in HAL_PCD_EP_DB_Transmit() 1949 if (ep->xfer_len_db >= ep->maxpacket) in HAL_PCD_EP_DB_Transmit() 1951 len = ep->maxpacket; in HAL_PCD_EP_DB_Transmit()
|
| /bsp/ht32/libraries/usbd_library/src/ |
| A D | usbd_code.c | 283 ept_info->maxpacket = 64; in usbd_ept_init() 311 if (ept_info->total_len > ept_info->maxpacket) in usbd_ept_recv() 313 trs_len = ept_info->maxpacket; in usbd_ept_recv()
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/usb/udc/ |
| A D | hal_udc.c | 349 static void usbc_ep_config(uint32_t ts_type, uint16_t maxpacket, in usbc_ep_config() argument 366 temp = maxpacket & USB_TXMAXP_MAXPAYLOAD_MASK; in usbc_ep_config() 392 temp = maxpacket & USB_RXMAXP_MAXPAYLOAD_MASK; in usbc_ep_config() 551 if (fifo_count > ep->maxpacket) in pio_read_fifo() 552 avail = ep->maxpacket; in pio_read_fifo() 648 count = min(ep->data_len - ep->data_actual, ep->maxpacket); in pio_write_fifo() 656 if (count != ep->maxpacket || ep->data_len == ep->data_actual) in pio_write_fifo() 1194 g_udc.ep0.maxpacket = UDC_MAX_PACKET_SIZE_EP0; in ep_info_init() 1199 g_udc.epin[i].maxpacket = UDC_MAX_PACKET_SIZE_EP_BULK; in ep_info_init() 1205 g_udc.epout[i].maxpacket = UDC_MAX_PACKET_SIZE_EP_BULK; in ep_info_init() [all …]
|
| A D | udc.h | 97 uint32_t maxpacket; member
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/usb/host/ |
| A D | ehci-q.c | 51 size_t len, int token, int maxpacket) in qtd_fill() argument 81 count -= (count % maxpacket); in qtd_fill() 663 int len, this_sg_len, maxpacket; in qh_urb_transaction() local 732 maxpacket = max_packet(usb_maxpacket(urb->dev, urb->pipe, !is_input)); in qh_urb_transaction() 743 maxpacket); in qh_urb_transaction() 757 if ((maxpacket & (this_qtd_len + (maxpacket - 1))) == 0) in qh_urb_transaction() 803 && !(urb->transfer_buffer_length % maxpacket)) { in qh_urb_transaction()
|
| /bsp/allwinner/libraries/sunxi-hal/include/hal/usb/ |
| A D | sunxi_hal_udc.h | 45 void hal_udc_ep_enable(uint8_t ep_addr, uint16_t maxpacket, uint32_t ts_type);
|
| /bsp/hc32/libraries/hc32_drivers/ |
| A D | drv_usbd.c | 109 ep->maxpacket = ep_mps; in usb_opendevep() 374 if (u32Len > ep->maxpacket) in usb_wrblanktxfifo() 376 u32Len = ep->maxpacket; in usb_wrblanktxfifo() 384 if (u32Len > ep->maxpacket) in usb_wrblanktxfifo() 386 u32Len = ep->maxpacket; in usb_wrblanktxfifo() 523 … u8Xfer = LL_MIN(pdev->dev.out_ep[u8epnum].maxpacket, pdev->dev.out_ep[u8epnum].xfer_len); in usb_outep_isr()
|
| /bsp/stm32/libraries/STM32L1xx_HAL/STM32L1xx_HAL_Driver/Inc/ |
| A D | stm32l1xx_ll_usb.h | 113 uint32_t maxpacket; /*!< Endpoint Max packet size member
|
| /bsp/at32/libraries/usbd_library/inc/ |
| A D | usbd_core.h | 149 void usbd_ept_open(usbd_core_type *udev, uint8_t ept_addr, uint8_t ept_type, uint16_t maxpacket);
|
| /bsp/at32/libraries/usbotg_library/inc/ |
| A D | usbd_core.h | 160 void usbd_ept_open(usbd_core_type *udev, uint8_t ept_addr, uint8_t ept_type, uint16_t maxpacket);
|
| A D | usbh_core.h | 345 uint16_t maxpacket,
|
| /bsp/ht32/libraries/usbd_library/inc/ |
| A D | usbd_code.h | 185 uint16_t maxpacket; /*!< endpoint max packet*/ member
|