Home
last modified time | relevance | path

Searched refs:link_trb (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/usb/early/
H A Dxhci-dbc.c202 struct xdbc_trb *link_trb; in xdbc_reset_ring() local
211 link_trb = &seg->trbs[XDBC_TRBS_PER_SEGMENT - 1]; in xdbc_reset_ring()
212 link_trb->field[0] = cpu_to_le32(lower_32_bits(seg->dma)); in xdbc_reset_ring()
213 link_trb->field[1] = cpu_to_le32(upper_32_bits(seg->dma)); in xdbc_reset_ring()
214 link_trb->field[3] = cpu_to_le32(TRB_TYPE(TRB_LINK)) | cpu_to_le32(LINK_TOGGLE); in xdbc_reset_ring()
392 struct xdbc_trb *trb, *link_trb; in xdbc_queue_trb() local
402 link_trb = ring->enqueue; in xdbc_queue_trb()
404 link_trb->field[3] |= cpu_to_le32(TRB_CYCLE); in xdbc_queue_trb()
406 link_trb->field[3] &= cpu_to_le32(~TRB_CYCLE); in xdbc_queue_trb()
/openbmc/linux/drivers/usb/gadget/udc/cdns2/
H A Dcdns2-gadget.c122 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()
319 struct cdns2_trb *link_trb = NULL; in cdns2_prepare_ring() 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()
[all …]
/openbmc/linux/drivers/usb/cdns3/
H A Dcdns3-gadget.c217 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()
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()
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()
[all …]
/openbmc/linux/Documentation/driver-api/usb/
H A Ddwc3.rst104 with the last TRB being a Link TRB [#link_trb]_ pointing back to the
704 .. [#link_trb] Transfer Request Block pointing to another Transfer