Home
last modified time | relevance | path

Searched refs:num_trbs (Results 1 – 3 of 3) sorted by relevance

/external/u-boot/drivers/usb/host/
Dxhci-ring.c558 int num_trbs = 0; in xhci_bulk_tx() local
608 num_trbs++; in xhci_bulk_tx()
612 num_trbs++; in xhci_bulk_tx()
673 if (num_trbs > 1) in xhci_bulk_tx()
690 num_trbs - 1); in xhci_bulk_tx()
702 queue_trb(ctrl, ring, (num_trbs > 1), trb_fields); in xhci_bulk_tx()
704 --num_trbs; in xhci_bulk_tx()
753 int num_trbs; in xhci_ctrl_tx() local
793 num_trbs = 2; in xhci_ctrl_tx()
801 num_trbs++; in xhci_ctrl_tx()
/external/u-boot/drivers/usb/cdns3/
Dgadget.c203 priv_ep->num_trbs = ring_size / TRB_SIZE; in cdns3_allocate_trb_pool()
205 link_trb = (priv_ep->trb_pool + (priv_ep->num_trbs - 1)); in cdns3_allocate_trb_pool()
285 cdns3_ep_inc_trb(&priv_ep->enqueue, &priv_ep->pcs, priv_ep->num_trbs); in cdns3_ep_inc_enq()
295 cdns3_ep_inc_trb(&priv_ep->dequeue, &priv_ep->ccs, priv_ep->num_trbs); in cdns3_ep_inc_deq()
852 if ((priv_ep->enqueue + num_trb) >= (priv_ep->num_trbs - 1)) { in cdns3_ep_run_transfer()
861 if (doorbell && dma_index == priv_ep->num_trbs - 1) { in cdns3_ep_run_transfer()
867 link_trb = priv_ep->trb_pool + (priv_ep->num_trbs - 1); in cdns3_ep_run_transfer()
1107 if ((current_index == (priv_ep->num_trbs - 1)) && in cdns3_request_handled()
1861 priv_ep->free_trbs = priv_ep->num_trbs - 1; in cdns3_gadget_ep_enable()
Dgadget.h1155 int num_trbs; member