Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/usb/cdns3/
Dcdns3-gadget.h1014 #define TRB_SIZE (sizeof(struct cdns3_trb)) macro
1015 #define TRB_RING_SIZE (TRB_SIZE * TRBS_PER_SEGMENT)
1016 #define TRB_STREAM_RING_SIZE (TRB_SIZE * TRBS_PER_STREAM_SEGMENT)
1017 #define TRB_ISO_RING_SIZE (TRB_SIZE * TRBS_PER_ISOC_SEGMENT)
1018 #define TRB_CTRL_RING_SIZE (TRB_SIZE * 2)
Dcdns3-gadget.c122 return dma_index / TRB_SIZE; in cdns3_get_dma_pos()
216 int num_trbs = ring_size / TRB_SIZE; in cdns3_allocate_trb_pool()
1345 priv_req->start_trb * TRB_SIZE), in cdns3_ep_run_transfer()
2678 ((priv_req->end_trb + 1) * TRB_SIZE))); in cdns3_gadget_ep_dequeue()
/Linux-v6.6/drivers/usb/gadget/udc/cdns2/
Dcdns2-gadget.h440 #define TRB_SIZE (sizeof(struct cdns2_trb)) macro
446 #define TR_SEG_SIZE (TRB_SIZE * (TRBS_PER_SEGMENT + TRB_ISO_RESERVED))
Dcdns2-gadget.c81 return dma_index / TRB_SIZE; in cdns2_get_dma_pos()
652 (ring->enqueue * TRB_SIZE)); in cdns2_ep_tx_bulk()
732 buffer = pep->ring.dma + pep->ring.dequeue * TRB_SIZE; in cdns2_prepare_first_isoc_transfer()
754 writel(pep->ring.dma + (TRBS_PER_SEGMENT * TRB_SIZE), in cdns2_prepare_first_isoc_transfer()
1795 ((preq->end_trb + 1) * TRB_SIZE))); in cdns2_gadget_ep_dequeue()