Home
last modified time | relevance | path

Searched refs:TRB_BUFFER (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/usb/gadget/udc/cdns2/
H A Dcdns2-ep0.c48 ring->trbs[0].buffer = cpu_to_le32(TRB_BUFFER(dma_addr)); in cdns2_ep0_enqueue()
54 ring->trbs[1].buffer = cpu_to_le32(TRB_BUFFER(dma_addr)); in cdns2_ep0_enqueue()
H A Dcdns2-gadget.h487 #define TRB_BUFFER(p) ((p) & GENMASK(31, 0)) macro
H A Dcdns2-gadget.c142 link_trb->buffer = cpu_to_le32(TRB_BUFFER(ring->dma)); in cdns2_alloc_tr_segment()
587 trb->buffer = cpu_to_le32(TRB_BUFFER(trb_dma)); in cdns2_ep_tx_isoc()
737 trb->buffer = cpu_to_le32(TRB_BUFFER(buffer)); in cdns2_prepare_first_isoc_transfer()
746 trb->buffer = cpu_to_le32(TRB_BUFFER(buffer)); in cdns2_prepare_first_isoc_transfer()
1794 buffer = cpu_to_le32(TRB_BUFFER(pep->ring.dma + in cdns2_gadget_ep_dequeue()
/openbmc/linux/drivers/usb/cdns3/
H A Dcdns3-ep0.c41 priv_ep->trb_pool[0].buffer = cpu_to_le32(TRB_BUFFER(dma_addr)); in cdns3_ep0_run_transfer()
46 priv_ep->trb_pool[1].buffer = cpu_to_le32(TRB_BUFFER(dma_addr)); in cdns3_ep0_run_transfer()
H A Dcdns3-gadget.c250 link_trb->buffer = cpu_to_le32(TRB_BUFFER(priv_ep->trb_pool_dma)); in cdns3_allocate_trb_pool()
1027 trb->buffer = cpu_to_le32(TRB_BUFFER(trb_dma)); in cdns3_ep_run_stream_transfer()
1030 trb->buffer = cpu_to_le32(TRB_BUFFER(request->sg[sg_idx].dma_address)); in cdns3_ep_run_stream_transfer()
1239 trb->buffer = cpu_to_le32(TRB_BUFFER(sg_dma_address(s))); in cdns3_ep_run_transfer()
1242 trb->buffer = cpu_to_le32(TRB_BUFFER(trb_dma)); in cdns3_ep_run_transfer()
2735 link_trb->buffer = cpu_to_le32(TRB_BUFFER(priv_ep->trb_pool_dma + in cdns3_gadget_ep_dequeue()
H A Dcdns3-gadget.h1083 #define TRB_BUFFER(p) ((p) & GENMASK(31, 0)) macro