Lines Matching refs:num_trbs
230 int num_trbs = ring_size / TRB_SIZE;
249 priv_ep->num_trbs = num_trbs;
255 link_trb = (priv_ep->trb_pool + (priv_ep->num_trbs - 1));
342 cdns3_ep_inc_trb(&priv_ep->enqueue, &priv_ep->pcs, priv_ep->num_trbs);
352 cdns3_ep_inc_trb(&priv_ep->dequeue, &priv_ep->ccs, priv_ep->num_trbs);
1157 if ((priv_ep->enqueue + num_trb) >= (priv_ep->num_trbs - 1)) {
1165 if (doorbell && dma_index == priv_ep->num_trbs - 1) {
1171 link_trb = priv_ep->trb_pool + (priv_ep->num_trbs - 1);
1527 if ((current_index == (priv_ep->num_trbs - 1)) &&
2470 priv_ep->free_trbs = priv_ep->num_trbs - 1;