Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/usb/early/
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()
/kernel/linux/linux-5.10/drivers/usb/cdns3/
Dgadget.c231 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()
2610 struct cdns3_trb *link_trb; in cdns3_gadget_ep_dequeue() local
[all …]
/kernel/linux/linux-5.10/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