Lines Matching refs:trb_pool
188 u32 offset = (char *)trb - (char *)priv_ep->trb_pool; in cdns3_trb_virt_to_dma()
212 if (priv_ep->trb_pool) { in cdns3_free_trb_pool()
215 priv_ep->trb_pool, priv_ep->trb_pool_dma); in cdns3_free_trb_pool()
216 priv_ep->trb_pool = NULL; in cdns3_free_trb_pool()
233 if (priv_ep->trb_pool && priv_ep->alloc_ring_size < ring_size) in cdns3_allocate_trb_pool()
236 if (!priv_ep->trb_pool) { in cdns3_allocate_trb_pool()
237 priv_ep->trb_pool = dma_alloc_coherent(priv_dev->sysdev, in cdns3_allocate_trb_pool()
241 if (!priv_ep->trb_pool) in cdns3_allocate_trb_pool()
247 memset(priv_ep->trb_pool, 0, ring_size); in cdns3_allocate_trb_pool()
255 link_trb = (priv_ep->trb_pool + (priv_ep->num_trbs - 1)); in cdns3_allocate_trb_pool()
1024 trb = priv_ep->trb_pool + priv_ep->enqueue; in cdns3_ep_run_stream_transfer()
1150 trb = priv_ep->trb_pool + priv_ep->enqueue; in cdns3_ep_run_transfer()
1171 link_trb = priv_ep->trb_pool + (priv_ep->num_trbs - 1); in cdns3_ep_run_transfer()
1262 trb = priv_ep->trb_pool + priv_ep->enqueue; in cdns3_ep_run_transfer()
1309 trb = priv_ep->trb_pool; in cdns3_ep_run_transfer()
1459 trb = &priv_ep->trb_pool[priv_ep->dequeue]; in cdns3_trb_handled()
1505 trb = priv_ep->trb_pool + priv_ep->dequeue; in cdns3_transfer_completed()
1524 trb = priv_ep->trb_pool + priv_ep->dequeue; in cdns3_transfer_completed()
1555 trb = priv_ep->trb_pool; in cdns3_transfer_completed()