Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/drivers/usb/cdns3/
Dcdns3-gadget.c216 struct cdns3_trb *link_trb; in cdns3_allocate_trb_pool() local
240 link_trb = (priv_ep->trb_pool + (priv_ep->num_trbs - 1)); in cdns3_allocate_trb_pool()
247 link_trb->control = 0; in cdns3_allocate_trb_pool()
249 link_trb->buffer = cpu_to_le32(TRB_BUFFER(priv_ep->trb_pool_dma)); in cdns3_allocate_trb_pool()
250 link_trb->control = cpu_to_le32(TRB_CYCLE | TRB_TYPE(TRB_LINK) | TRB_TOGGLE); in cdns3_allocate_trb_pool()
1116 struct cdns3_trb *link_trb = NULL; in cdns3_ep_run_transfer() local
1170 link_trb = priv_ep->trb_pool + (priv_ep->num_trbs - 1); in cdns3_ep_run_transfer()
1183 link_trb->control = cpu_to_le32(((priv_ep->pcs) ? TRB_CYCLE : 0) | in cdns3_ep_run_transfer()
1307 if (trb + i == link_trb) { in cdns3_ep_run_transfer()
2613 struct cdns3_trb *link_trb; in cdns3_gadget_ep_dequeue() local
[all …]
/linux-6.1.9/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