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()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()
440 #define TRB_SIZE (sizeof(struct cdns2_trb)) macro446 #define TR_SEG_SIZE (TRB_SIZE * (TRBS_PER_SEGMENT + TRB_ISO_RESERVED))
81 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()