Searched refs:trb_pool (Results 1 – 5 of 5) sorted by relevance
41 priv_ep->trb_pool[0].buffer = cpu_to_le32(TRB_BUFFER(dma_addr)); in cdns3_ep0_run_transfer()42 priv_ep->trb_pool[0].length = cpu_to_le32(TRB_LEN(length)); in cdns3_ep0_run_transfer()45 priv_ep->trb_pool[0].control = cpu_to_le32(TRB_CYCLE | TRB_TYPE(TRB_NORMAL)); in cdns3_ep0_run_transfer()46 priv_ep->trb_pool[1].buffer = cpu_to_le32(TRB_BUFFER(dma_addr)); in cdns3_ep0_run_transfer()47 priv_ep->trb_pool[1].length = cpu_to_le32(TRB_LEN(0)); in cdns3_ep0_run_transfer()48 priv_ep->trb_pool[1].control = cpu_to_le32(TRB_CYCLE | TRB_IOC | in cdns3_ep0_run_transfer()51 priv_ep->trb_pool[0].control = cpu_to_le32(TRB_CYCLE | TRB_IOC | in cdns3_ep0_run_transfer()53 priv_ep->trb_pool[1].control = 0; in cdns3_ep0_run_transfer()56 trace_cdns3_prepare_trb(priv_ep, priv_ep->trb_pool); in cdns3_ep0_run_transfer()576 trace_cdns3_complete_trb(priv_ep, priv_ep->trb_pool); in cdns3_transfer_completed()[all …]
120 trb = &priv_ep->trb_pool[priv_ep->dequeue]; in cdns3_dbg_ring()128 trb = &priv_ep->trb_pool[priv_ep->enqueue]; in cdns3_dbg_ring()145 trb = &priv_ep->trb_pool[i]; in cdns3_dbg_ring()
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()[all …]
1142 struct cdns3_trb *trb_pool; member
904 struct dwc3_trb *trb = &dep->trb_pool[i]; in dwc3_trb_ring_show()