Home
last modified time | relevance | path

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

/Linux-v6.6/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()
/Linux-v6.6/drivers/usb/gadget/udc/cdns2/
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()
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
[all …]
/Linux-v6.6/drivers/usb/cdns3/
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()
250 link_trb->buffer = cpu_to_le32(TRB_BUFFER(priv_ep->trb_pool_dma)); in cdns3_allocate_trb_pool()
251 link_trb->control = cpu_to_le32(TRB_CYCLE | TRB_TYPE(TRB_LINK) | TRB_TOGGLE); in cdns3_allocate_trb_pool()
1118 struct cdns3_trb *link_trb = NULL; in cdns3_ep_run_transfer() local
1172 link_trb = priv_ep->trb_pool + (priv_ep->num_trbs - 1); in cdns3_ep_run_transfer()
1185 link_trb->control = cpu_to_le32(((priv_ep->pcs) ? TRB_CYCLE : 0) | in cdns3_ep_run_transfer()
1309 if (trb + i == link_trb) { in cdns3_ep_run_transfer()
2630 struct cdns3_trb *link_trb; in cdns3_gadget_ep_dequeue() local
[all …]
/Linux-v6.6/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