Home
last modified time | relevance | path

Searched refs:chunk_max (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/drivers/usb/gadget/udc/aspeed-vhub/
Depn.c184 act, len, ep->epn.chunk_max, ast_vhub_count_free_descs(ep)); in ast_vhub_epn_kick_desc()
197 if (chunk <= ep->epn.chunk_max) { in ast_vhub_epn_kick_desc()
209 chunk = ep->epn.chunk_max; in ast_vhub_epn_kick_desc()
664 ep->epn.chunk_max = ep->ep.maxpacket; in ast_vhub_epn_enable()
666 ep->epn.chunk_max <<= 3; in ast_vhub_epn_enable()
667 while (ep->epn.chunk_max > 4095) in ast_vhub_epn_enable()
668 ep->epn.chunk_max -= ep->ep.maxpacket; in ast_vhub_epn_enable()
Dvhub.h326 unsigned int chunk_max; member
/Linux-v6.6/drivers/usb/gadget/udc/
Daspeed_udc.c192 u32 chunk_max; member
371 ep->chunk_max = AST_EP_DMA_DESC_MAX_LEN; in ast_udc_ep_enable()
501 if (chunk > ep->chunk_max) { in ast_dma_descriptor_setup()
502 ep->descs[ep->descs_wptr].des_1 = ep->chunk_max; in ast_dma_descriptor_setup()
508 chunk -= ep->chunk_max; in ast_dma_descriptor_setup()
524 offset = ep->chunk_max * count; in ast_dma_descriptor_setup()