Home
last modified time | relevance | path

Searched refs:maxpacket (Results 1 – 19 of 19) sorted by relevance

/bsp/at32/libraries/usbd_library/src/
A Dusbd_core.c55 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 Dusbd_int.c203 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 Dusbd_core.c55 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 Dusbd_int.c159 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 Dusbh_core.c148 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 Dusbh_int.c216 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 Dstm32l1xx_ll_usb.c363 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 Dstm32l1xx_hal_pcd.c180 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 Dusbd_code.c283 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 Dhal_udc.c349 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 Dudc.h97 uint32_t maxpacket; member
/bsp/allwinner/libraries/sunxi-hal/hal/source/usb/host/
A Dehci-q.c51 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 Dsunxi_hal_udc.h45 void hal_udc_ep_enable(uint8_t ep_addr, uint16_t maxpacket, uint32_t ts_type);
/bsp/hc32/libraries/hc32_drivers/
A Ddrv_usbd.c109 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 Dstm32l1xx_ll_usb.h113 uint32_t maxpacket; /*!< Endpoint Max packet size member
/bsp/at32/libraries/usbd_library/inc/
A Dusbd_core.h149 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 Dusbd_core.h160 void usbd_ept_open(usbd_core_type *udev, uint8_t ept_addr, uint8_t ept_type, uint16_t maxpacket);
A Dusbh_core.h345 uint16_t maxpacket,
/bsp/ht32/libraries/usbd_library/inc/
A Dusbd_code.h185 uint16_t maxpacket; /*!< endpoint max packet*/ member

Completed in 50 milliseconds