Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/gadget/udc/aspeed-vhub/
H A 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()
H A Dvhub.h326 unsigned int chunk_max; member
/openbmc/u-boot/fs/yaffs2/
H A Dyaffs_verify.c308 u32 chunk_max; in yaffs_verify_obj() local
328 chunk_max = in yaffs_verify_obj()
332 ((unsigned)(obj->hdr_chunk)) <= chunk_max); in yaffs_verify_obj()
/openbmc/u-boot/drivers/usb/gadget/
H A Daspeed_udc.h34 u32 chunk_max; member
H A Daspeed_udc.c446 chunk = ep->chunk_max; in aspeed_dma_descriptor_setup()
500 max_req_size = ep->chunk_max * (AST_EP_NUM_OF_DESC - 1); in aspeed_udc_ep_dma_desc_mode()
600 ep->chunk_max = ep->ep.maxpacket; in aspeed_udc_ep_enable()
602 ep->chunk_max <<= 3; in aspeed_udc_ep_enable()
603 while (ep->chunk_max > 4095) in aspeed_udc_ep_enable()
604 ep->chunk_max -= ep->ep.maxpacket; in aspeed_udc_ep_enable()
/openbmc/linux/drivers/usb/gadget/udc/
H A 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()