Lines Matching refs:trb_pool
190 u32 offset = (char *)trb - (char *)priv_ep->trb_pool; in cdns3_trb_virt_to_dma()
199 if (priv_ep->trb_pool) { in cdns3_free_trb_pool()
201 priv_ep->trb_pool, priv_ep->trb_pool_dma); in cdns3_free_trb_pool()
202 priv_ep->trb_pool = NULL; in cdns3_free_trb_pool()
219 if (priv_ep->trb_pool && priv_ep->alloc_ring_size < ring_size) in cdns3_allocate_trb_pool()
222 if (!priv_ep->trb_pool) { in cdns3_allocate_trb_pool()
223 priv_ep->trb_pool = dma_pool_alloc(priv_dev->eps_dma_pool, in cdns3_allocate_trb_pool()
227 if (!priv_ep->trb_pool) in cdns3_allocate_trb_pool()
233 memset(priv_ep->trb_pool, 0, ring_size); in cdns3_allocate_trb_pool()
241 link_trb = (priv_ep->trb_pool + (priv_ep->num_trbs - 1)); in cdns3_allocate_trb_pool()
1012 trb = priv_ep->trb_pool + priv_ep->enqueue; in cdns3_ep_run_stream_transfer()
1151 trb = priv_ep->trb_pool + priv_ep->enqueue; in cdns3_ep_run_transfer()
1172 link_trb = priv_ep->trb_pool + (priv_ep->num_trbs - 1); in cdns3_ep_run_transfer()
1263 trb = priv_ep->trb_pool + priv_ep->enqueue; in cdns3_ep_run_transfer()
1310 trb = priv_ep->trb_pool; in cdns3_ep_run_transfer()
1461 trb = &priv_ep->trb_pool[priv_ep->dequeue]; in cdns3_trb_handled()
1507 trb = priv_ep->trb_pool + priv_ep->dequeue; in cdns3_transfer_completed()
1513 trb = priv_ep->trb_pool + priv_ep->dequeue; in cdns3_transfer_completed()
1527 trb = priv_ep->trb_pool + priv_ep->dequeue; in cdns3_transfer_completed()
1559 trb = priv_ep->trb_pool; in cdns3_transfer_completed()