Lines Matching refs:link_trb
231 struct cdns3_trb *link_trb; in cdns3_allocate_trb_pool() local
255 link_trb = (priv_ep->trb_pool + (priv_ep->num_trbs - 1)); in cdns3_allocate_trb_pool()
262 link_trb->control = 0; in cdns3_allocate_trb_pool()
264 link_trb->buffer = cpu_to_le32(TRB_BUFFER(priv_ep->trb_pool_dma)); in cdns3_allocate_trb_pool()
265 link_trb->control = cpu_to_le32(TRB_CYCLE | TRB_TYPE(TRB_LINK) | TRB_TOGGLE); in cdns3_allocate_trb_pool()
1117 struct cdns3_trb *link_trb = NULL; in cdns3_ep_run_transfer() local
1171 link_trb = priv_ep->trb_pool + (priv_ep->num_trbs - 1); in cdns3_ep_run_transfer()
1184 link_trb->control = cpu_to_le32(((priv_ep->pcs) ? TRB_CYCLE : 0) | in cdns3_ep_run_transfer()
1308 if (trb + i == link_trb) { in cdns3_ep_run_transfer()
2603 struct cdns3_trb *link_trb; in cdns3_gadget_ep_dequeue() local
2636 link_trb = priv_req->trb; in cdns3_gadget_ep_dequeue()
2639 if (req_on_hw_ring && link_trb) { in cdns3_gadget_ep_dequeue()
2640 link_trb->buffer = cpu_to_le32(TRB_BUFFER(priv_ep->trb_pool_dma + in cdns3_gadget_ep_dequeue()
2642 link_trb->control = cpu_to_le32((le32_to_cpu(link_trb->control) & TRB_CYCLE) | in cdns3_gadget_ep_dequeue()