Home
last modified time | relevance | path

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

/linux/drivers/usb/gadget/udc/aspeed-vhub/
H A Dep0.c38 if (WARN_ON(len > AST_VHUB_EP0_MAX_PACKET)) in ast_vhub_reply()
498 usb_ep_set_maxpacket_limit(&ep->ep, AST_VHUB_EP0_MAX_PACKET); in ast_vhub_init_ep0()
512 AST_VHUB_EP0_MAX_PACKET * (dev->index + 1); in ast_vhub_init_ep0()
514 AST_VHUB_EP0_MAX_PACKET * (dev->index + 1); in ast_vhub_init_ep0()
H A Dhub.c294 BUILD_BUG_ON(USB_DT_DEVICE_SIZE >= AST_VHUB_EP0_MAX_PACKET); in ast_vhub_rep_desc()
302 BUILD_BUG_ON(AST_VHUB_CONF_DESC_SIZE >= AST_VHUB_EP0_MAX_PACKET); in ast_vhub_rep_desc()
308 BUILD_BUG_ON(AST_VHUB_HUB_DESC_SIZE >= AST_VHUB_EP0_MAX_PACKET); in ast_vhub_rep_desc()
392 if (rc < 0 || rc >= AST_VHUB_EP0_MAX_PACKET) in ast_vhub_rep_string()
H A Dvhub.h215 #define AST_VHUB_EP0_MAX_PACKET 64 /* EP0's max packet size */ macro