Searched refs:TRB_SIZE (Results 1 – 4 of 4) sorted by relevance
1014 #define TRB_SIZE (sizeof(struct cdns3_trb)) macro1015 #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)
122 return dma_index / TRB_SIZE; in cdns3_get_dma_pos()216 int num_trbs = ring_size / TRB_SIZE; in cdns3_allocate_trb_pool()1399 priv_req->start_trb * TRB_SIZE), in cdns3_ep_run_transfer()2739 ((priv_req->end_trb + 1) * TRB_SIZE))); in cdns3_gadget_ep_dequeue()
449 #define TRB_SIZE (sizeof(struct cdns2_trb)) macro455 #define TR_SEG_SIZE (TRB_SIZE * (TRBS_PER_SEGMENT + TRB_ISO_RESERVED))
82 return dma_index / TRB_SIZE; in cdns2_get_dma_pos()653 (ring->enqueue * TRB_SIZE)); in cdns2_ep_tx_bulk()733 buffer = pep->ring.dma + pep->ring.dequeue * TRB_SIZE; in cdns2_prepare_first_isoc_transfer()755 writel(pep->ring.dma + (TRBS_PER_SEGMENT * TRB_SIZE), in cdns2_prepare_first_isoc_transfer()1796 ((preq->end_trb + 1) * TRB_SIZE))); in cdns2_gadget_ep_dequeue()
Completed in 18 milliseconds