Home
last modified time | relevance | path

Searched refs:d_last (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/usb/gadget/udc/aspeed-vhub/
Depn.c162 return (ep->epn.d_last + AST_VHUB_DESCS_COUNT - ep->epn.d_next - 1) & in ast_vhub_count_free_descs()
249 unsigned int len, d_last; in ast_vhub_epn_handle_ack_desc() local
259 d_last = VHUB_EP_DMA_RPTR(stat); in ast_vhub_epn_handle_ack_desc()
265 stat, ep->epn.is_in, ep->epn.d_last, d_last); in ast_vhub_epn_handle_ack_desc()
268 while (ep->epn.d_last != d_last) { in ast_vhub_epn_handle_ack_desc()
274 d_num = ep->epn.d_last; in ast_vhub_epn_handle_ack_desc()
276 ep->epn.d_last = (d_num + 1) & (AST_VHUB_DESCS_COUNT - 1); in ast_vhub_epn_handle_ack_desc()
307 CHECK(ep, d_last == ep->epn.d_last, in ast_vhub_epn_handle_ack_desc()
309 d_last, ep->epn.d_last); in ast_vhub_epn_handle_ack_desc()
639 ep->epn.d_next = ep->epn.d_last = 0; in ast_vhub_epn_enable()
Dvhub.h322 unsigned int d_last; member