num_trbs 199 drivers/usb/cdns3/gadget.c priv_ep->num_trbs = ring_size / TRB_SIZE; num_trbs 201 drivers/usb/cdns3/gadget.c link_trb = (priv_ep->trb_pool + (priv_ep->num_trbs - 1)); num_trbs 285 drivers/usb/cdns3/gadget.c cdns3_ep_inc_trb(&priv_ep->enqueue, &priv_ep->pcs, priv_ep->num_trbs); num_trbs 295 drivers/usb/cdns3/gadget.c cdns3_ep_inc_trb(&priv_ep->dequeue, &priv_ep->ccs, priv_ep->num_trbs); num_trbs 858 drivers/usb/cdns3/gadget.c if ((priv_ep->enqueue + num_trb) >= (priv_ep->num_trbs - 1)) { num_trbs 867 drivers/usb/cdns3/gadget.c if (doorbell && dma_index == priv_ep->num_trbs - 1) { num_trbs 873 drivers/usb/cdns3/gadget.c link_trb = priv_ep->trb_pool + (priv_ep->num_trbs - 1); num_trbs 1118 drivers/usb/cdns3/gadget.c if ((current_index == (priv_ep->num_trbs - 1)) && num_trbs 1870 drivers/usb/cdns3/gadget.c priv_ep->free_trbs = priv_ep->num_trbs - 1; num_trbs 1155 drivers/usb/cdns3/gadget.h int num_trbs; num_trbs 901 drivers/usb/dwc3/core.h unsigned num_trbs; num_trbs 1049 drivers/usb/dwc3/gadget.c req->num_trbs++; num_trbs 1092 drivers/usb/dwc3/gadget.c req->num_trbs++; num_trbs 1137 drivers/usb/dwc3/gadget.c req->num_trbs++; num_trbs 1154 drivers/usb/dwc3/gadget.c req->num_trbs++; num_trbs 1518 drivers/usb/dwc3/gadget.c for (i = 0; i < req->num_trbs; i++) { num_trbs 1526 drivers/usb/dwc3/gadget.c req->num_trbs = 0; num_trbs 2414 drivers/usb/dwc3/gadget.c req->num_trbs--; num_trbs 244 drivers/usb/host/xhci-dbgcap.c unsigned int num_trbs; num_trbs 249 drivers/usb/host/xhci-dbgcap.c num_trbs = count_trbs(req->dma, req->length); num_trbs 250 drivers/usb/host/xhci-dbgcap.c WARN_ON(num_trbs != 1); num_trbs 251 drivers/usb/host/xhci-dbgcap.c if (ring->num_trbs_free < num_trbs) num_trbs 415 drivers/usb/host/xhci-mem.c unsigned int num_trbs, gfp_t flags) num_trbs 423 drivers/usb/host/xhci-mem.c num_segs_needed = (num_trbs + (TRBS_PER_SEGMENT - 1) - 1) / num_trbs 260 drivers/usb/host/xhci-ring.c unsigned int num_trbs) num_trbs 264 drivers/usb/host/xhci-ring.c if (ring->num_trbs_free < num_trbs) num_trbs 269 drivers/usb/host/xhci-ring.c if (ring->num_trbs_free < num_trbs + num_trbs_in_deq_seg) num_trbs 2933 drivers/usb/host/xhci-ring.c u32 ep_state, unsigned int num_trbs, gfp_t mem_flags) num_trbs 2966 drivers/usb/host/xhci-ring.c if (room_on_ring(xhci, ep_ring, num_trbs)) num_trbs 2976 drivers/usb/host/xhci-ring.c num_trbs_needed = num_trbs - ep_ring->num_trbs_free; num_trbs 3014 drivers/usb/host/xhci-ring.c unsigned int num_trbs, num_trbs 3033 drivers/usb/host/xhci-ring.c num_trbs, mem_flags); num_trbs 3060 drivers/usb/host/xhci-ring.c unsigned int num_trbs; num_trbs 3062 drivers/usb/host/xhci-ring.c num_trbs = DIV_ROUND_UP(len + (addr & (TRB_MAX_BUFF_SIZE - 1)), num_trbs 3064 drivers/usb/host/xhci-ring.c if (num_trbs == 0) num_trbs 3065 drivers/usb/host/xhci-ring.c num_trbs++; num_trbs 3067 drivers/usb/host/xhci-ring.c return num_trbs; num_trbs 3078 drivers/usb/host/xhci-ring.c unsigned int i, len, full_len, num_trbs = 0; num_trbs 3084 drivers/usb/host/xhci-ring.c num_trbs += count_trbs(sg_dma_address(sg), len); num_trbs 3091 drivers/usb/host/xhci-ring.c return num_trbs; num_trbs 3303 drivers/usb/host/xhci-ring.c unsigned int num_trbs; num_trbs 3321 drivers/usb/host/xhci-ring.c num_trbs = count_sg_trbs_needed(urb); num_trbs 3323 drivers/usb/host/xhci-ring.c num_trbs = count_trbs_needed(urb); num_trbs 3329 drivers/usb/host/xhci-ring.c num_trbs, urb, 0, mem_flags); num_trbs 3455 drivers/usb/host/xhci-ring.c int num_trbs; num_trbs 3476 drivers/usb/host/xhci-ring.c num_trbs = 2; num_trbs 3483 drivers/usb/host/xhci-ring.c num_trbs++; num_trbs 3486 drivers/usb/host/xhci-ring.c num_trbs, urb, 0, mem_flags); num_trbs 3930 drivers/usb/host/xhci-ring.c int num_tds, num_trbs, i; num_trbs 3940 drivers/usb/host/xhci-ring.c num_trbs = 0; num_trbs 3943 drivers/usb/host/xhci-ring.c num_trbs += count_isoc_trbs_needed(urb, i); num_trbs 3949 drivers/usb/host/xhci-ring.c num_trbs, mem_flags); num_trbs 2012 drivers/usb/host/xhci.h unsigned int num_trbs, gfp_t flags);