Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/usb/early/
Dxhci-dbc.c201 struct xdbc_trb *link_trb; in xdbc_reset_ring() local
210 link_trb = &seg->trbs[XDBC_TRBS_PER_SEGMENT - 1]; in xdbc_reset_ring()
211 link_trb->field[0] = cpu_to_le32(lower_32_bits(seg->dma)); in xdbc_reset_ring()
212 link_trb->field[1] = cpu_to_le32(upper_32_bits(seg->dma)); in xdbc_reset_ring()
213 link_trb->field[3] = cpu_to_le32(TRB_TYPE(TRB_LINK)) | cpu_to_le32(LINK_TOGGLE); in xdbc_reset_ring()
391 struct xdbc_trb *trb, *link_trb; in xdbc_queue_trb() local
401 link_trb = ring->enqueue; in xdbc_queue_trb()
403 link_trb->field[3] |= cpu_to_le32(TRB_CYCLE); in xdbc_queue_trb()
405 link_trb->field[3] &= cpu_to_le32(~TRB_CYCLE); in xdbc_queue_trb()
/Linux-v5.4/drivers/usb/cdns3/
Dgadget.c183 struct cdns3_trb *link_trb; in cdns3_allocate_trb_pool() local
201 link_trb = (priv_ep->trb_pool + (priv_ep->num_trbs - 1)); in cdns3_allocate_trb_pool()
202 link_trb->buffer = TRB_BUFFER(priv_ep->trb_pool_dma); in cdns3_allocate_trb_pool()
203 link_trb->control = TRB_CYCLE | TRB_TYPE(TRB_LINK) | TRB_TOGGLE; in cdns3_allocate_trb_pool()
859 struct cdns3_trb *link_trb; in cdns3_ep_run_transfer() local
873 link_trb = priv_ep->trb_pool + (priv_ep->num_trbs - 1); in cdns3_ep_run_transfer()
886 link_trb->control = ((priv_ep->pcs) ? TRB_CYCLE : 0) | in cdns3_ep_run_transfer()
2077 struct cdns3_trb *link_trb; in cdns3_gadget_ep_dequeue() local
2110 link_trb = priv_req->trb; in cdns3_gadget_ep_dequeue()
2114 link_trb->buffer = TRB_BUFFER(priv_ep->trb_pool_dma + in cdns3_gadget_ep_dequeue()
[all …]
/Linux-v5.4/Documentation/driver-api/usb/
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