Lines Matching refs:trb_pool
162 u32 offset = (char *)trb - (char *)priv_ep->trb_pool; in cdns3_trb_virt_to_dma()
190 if (!priv_ep->trb_pool) { in cdns3_allocate_trb_pool()
191 priv_ep->trb_pool = in cdns3_allocate_trb_pool()
194 if (!priv_ep->trb_pool) in cdns3_allocate_trb_pool()
197 memset(priv_ep->trb_pool, 0, ring_size); in cdns3_allocate_trb_pool()
205 link_trb = (priv_ep->trb_pool + (priv_ep->num_trbs - 1)); in cdns3_allocate_trb_pool()
214 if (priv_ep->trb_pool) { in cdns3_free_trb_pool()
215 dma_free_coherent(priv_ep->trb_pool); in cdns3_free_trb_pool()
216 priv_ep->trb_pool = NULL; in cdns3_free_trb_pool()
845 trb = priv_ep->trb_pool + priv_ep->enqueue; in cdns3_ep_run_transfer()
867 link_trb = priv_ep->trb_pool + (priv_ep->num_trbs - 1); in cdns3_ep_run_transfer()
937 trb = priv_ep->trb_pool + priv_ep->enqueue; in cdns3_ep_run_transfer()
1089 trb = &priv_ep->trb_pool[priv_req->start_trb]; in cdns3_request_handled()
1150 trb = priv_ep->trb_pool + priv_ep->dequeue; in cdns3_transfer_completed()