Home
last modified time | relevance | path

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

/drivers/usb/cdns3/
A 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)
A 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()
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()
/drivers/usb/gadget/udc/cdns2/
A Dcdns2-gadget.h449 #define TRB_SIZE (sizeof(struct cdns2_trb)) macro
455 #define TR_SEG_SIZE (TRB_SIZE * (TRBS_PER_SEGMENT + TRB_ISO_RESERVED))
A Dcdns2-gadget.c82 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