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
1176 link_trb = priv_ep->trb_pool + (priv_ep->num_trbs - 1); in cdns3_ep_run_transfer()
1189 link_trb->control = cpu_to_le32(((priv_ep->pcs) ? TRB_CYCLE : 0) | in cdns3_ep_run_transfer()
1198 *trb = *link_trb; in cdns3_ep_run_transfer()
1362 if (trb + i == link_trb) { in cdns3_ep_run_transfer()
2688 struct cdns3_trb *link_trb; in cdns3_gadget_ep_dequeue() local
2724 link_trb = priv_req->trb; in cdns3_gadget_ep_dequeue()
2727 if (req_on_hw_ring && link_trb) { in cdns3_gadget_ep_dequeue()
2735 link_trb->buffer = cpu_to_le32(TRB_BUFFER(priv_ep->trb_pool_dma + in cdns3_gadget_ep_dequeue()
2737 link_trb->control = cpu_to_le32((le32_to_cpu(link_trb->control) & TRB_CYCLE) | in cdns3_gadget_ep_dequeue()