Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/usb/gadget/udc/aspeed-vhub/
Depn.c164 return (ep->epn.d_last + AST_VHUB_DESCS_COUNT - ep->epn.d_next - 1) & in ast_vhub_count_free_descs()
165 (AST_VHUB_DESCS_COUNT - 1); in ast_vhub_count_free_descs()
193 ep->epn.d_next = (d_num + 1) & (AST_VHUB_DESCS_COUNT - 1); in ast_vhub_epn_kick_desc()
278 ep->epn.d_last = (d_num + 1) & (AST_VHUB_DESCS_COUNT - 1); in ast_vhub_epn_handle_ack_desc()
658 memset(ep->epn.descs, 0, 8 * AST_VHUB_DESCS_COUNT); in ast_vhub_epn_enable()
780 8 * AST_VHUB_DESCS_COUNT, in ast_vhub_epn_dispose()
835 8 * AST_VHUB_DESCS_COUNT, in ast_vhub_alloc_epn()
Dcore.c202 if (AST_VHUB_DESCS_COUNT == 256) { in ast_vhub_init_hw()
206 BUILD_BUG_ON(AST_VHUB_DESCS_COUNT != 32); in ast_vhub_init_hw()
Dvhub.h217 #define AST_VHUB_DESCS_COUNT 256 /* Use 256 descriptor mode (valid macro