Searched refs:ep_bw (Results 1 – 2 of 2) sorted by relevance
2372 static unsigned int xhci_get_ss_bw_consumed(struct xhci_bw_info *ep_bw) in xhci_get_ss_bw_consumed() argument2374 unsigned int mps = DIV_ROUND_UP(ep_bw->max_packet_size, SS_BLOCK); in xhci_get_ss_bw_consumed()2376 if (ep_bw->ep_interval == 0) in xhci_get_ss_bw_consumed()2378 (ep_bw->mult * ep_bw->num_packets * in xhci_get_ss_bw_consumed()2380 return DIV_ROUND_UP(ep_bw->mult * ep_bw->num_packets * in xhci_get_ss_bw_consumed()2382 1 << ep_bw->ep_interval); in xhci_get_ss_bw_consumed()2387 struct xhci_bw_info *ep_bw, in xhci_drop_ep_from_interval_table() argument2396 if (xhci_is_async_ep(ep_bw->type)) in xhci_drop_ep_from_interval_table()2400 if (xhci_is_sync_in_ep(ep_bw->type)) in xhci_drop_ep_from_interval_table()2402 xhci_get_ss_bw_consumed(ep_bw); in xhci_drop_ep_from_interval_table()[all …]
1761 struct xhci_bw_info *ep_bw,