Lines Matching refs:link_trb
217 struct cdns3_trb *link_trb; in cdns3_allocate_trb_pool() local
241 link_trb = (priv_ep->trb_pool + (priv_ep->num_trbs - 1)); in cdns3_allocate_trb_pool()
248 link_trb->control = 0; in cdns3_allocate_trb_pool()
250 link_trb->buffer = cpu_to_le32(TRB_BUFFER(priv_ep->trb_pool_dma)); in cdns3_allocate_trb_pool()
251 link_trb->control = cpu_to_le32(TRB_CYCLE | TRB_TYPE(TRB_LINK) | TRB_TOGGLE); in cdns3_allocate_trb_pool()
1122 struct cdns3_trb *link_trb = NULL; in cdns3_ep_run_transfer() local
1177 link_trb = priv_ep->trb_pool + (priv_ep->num_trbs - 1); in cdns3_ep_run_transfer()
1190 link_trb->control = cpu_to_le32(((priv_ep->pcs) ? TRB_CYCLE : 0) | in cdns3_ep_run_transfer()
1199 *trb = *link_trb; in cdns3_ep_run_transfer()
1363 if (trb + i == link_trb) { in cdns3_ep_run_transfer()
2689 struct cdns3_trb *link_trb; in cdns3_gadget_ep_dequeue() local
2725 link_trb = priv_req->trb; in cdns3_gadget_ep_dequeue()
2728 if (req_on_hw_ring && link_trb) { in cdns3_gadget_ep_dequeue()
2736 link_trb->buffer = cpu_to_le32(TRB_BUFFER(priv_ep->trb_pool_dma + in cdns3_gadget_ep_dequeue()
2738 link_trb->control = cpu_to_le32((le32_to_cpu(link_trb->control) & TRB_CYCLE) | in cdns3_gadget_ep_dequeue()