Lines Matching refs:num_trbs
216 int num_trbs = ring_size / TRB_SIZE;
235 priv_ep->num_trbs = num_trbs;
241 link_trb = (priv_ep->trb_pool + (priv_ep->num_trbs - 1));
328 cdns3_ep_inc_trb(&priv_ep->enqueue, &priv_ep->pcs, priv_ep->num_trbs);
338 cdns3_ep_inc_trb(&priv_ep->dequeue, &priv_ep->ccs, priv_ep->num_trbs);
1162 if ((priv_ep->enqueue + num_trb) >= (priv_ep->num_trbs - 1)) {
1170 if (doorbell && dma_index == priv_ep->num_trbs - 1) {
1176 link_trb = priv_ep->trb_pool + (priv_ep->num_trbs - 1);
1532 if ((current_index == (priv_ep->num_trbs - 1)) &&
2475 priv_ep->free_trbs = priv_ep->num_trbs - 1;