Lines Matching refs:link_trb
122 struct cdns2_trb *link_trb; in cdns2_alloc_tr_segment() local
141 link_trb = (ring->trbs + (TRBS_PER_SEGMENT - 1)); in cdns2_alloc_tr_segment()
142 link_trb->buffer = cpu_to_le32(TRB_BUFFER(ring->dma)); in cdns2_alloc_tr_segment()
143 link_trb->control = cpu_to_le32(TRB_CYCLE | TRB_TYPE(TRB_LINK) | in cdns2_alloc_tr_segment()
319 struct cdns2_trb *link_trb = NULL; in cdns2_prepare_ring() local
343 link_trb = ring->trbs + (TRBS_PER_SEGMENT - 1); in cdns2_prepare_ring()
356 link_trb->control = cpu_to_le32(((ring->pcs) ? TRB_CYCLE : 0) | in cdns2_prepare_ring()
366 struct cdns2_trb *link_trb = pep->ring.trbs + (TRBS_PER_SEGMENT - 1); in cdns2_dbg_request_trbs() local
373 if (trb + i == link_trb) { in cdns2_dbg_request_trbs()
1743 struct cdns2_trb *link_trb; in cdns2_gadget_ep_dequeue() local
1783 link_trb = preq->trb; in cdns2_gadget_ep_dequeue()
1786 if (req_on_hw_ring && link_trb) { in cdns2_gadget_ep_dequeue()
1798 link_trb->buffer = buffer; in cdns2_gadget_ep_dequeue()
1799 link_trb->control = cpu_to_le32((le32_to_cpu(link_trb->control) in cdns2_gadget_ep_dequeue()
1803 trace_cdns2_queue_trb(pep, link_trb); in cdns2_gadget_ep_dequeue()
1804 link_trb = cdns2_next_trb(pep, link_trb); in cdns2_gadget_ep_dequeue()