Lines Matching defs:d_last
160 * d_next == d_last means descriptor list empty to HW,
164 return (ep->epn.d_last + AST_VHUB_DESCS_COUNT - ep->epn.d_next - 1) &
251 unsigned int len, d_last;
261 d_last = VHUB_EP_DMA_RPTR(stat);
266 EPVDBG(ep, "ACK status=%08x is_in=%d ep->d_last=%d..%d\n",
267 stat, ep->epn.is_in, ep->epn.d_last, d_last);
270 while (ep->epn.d_last != d_last) {
276 d_num = ep->epn.d_last;
278 ep->epn.d_last = (d_num + 1) & (AST_VHUB_DESCS_COUNT - 1);
307 * d_last and ep->d_last should now be equal
309 CHECK(ep, d_last == ep->epn.d_last,
311 d_last, ep->epn.d_last);
646 ep->epn.d_next = ep->epn.d_last = 0;