Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/host/
H A Dxhci.c2526 static unsigned int xhci_get_ss_bw_consumed(struct xhci_bw_info *ep_bw) in xhci_get_ss_bw_consumed() argument
2528 unsigned int mps = DIV_ROUND_UP(ep_bw->max_packet_size, SS_BLOCK); in xhci_get_ss_bw_consumed()
2530 if (ep_bw->ep_interval == 0) in xhci_get_ss_bw_consumed()
2532 (ep_bw->mult * ep_bw->num_packets * in xhci_get_ss_bw_consumed()
2534 return DIV_ROUND_UP(ep_bw->mult * ep_bw->num_packets * in xhci_get_ss_bw_consumed()
2536 1 << ep_bw->ep_interval); in xhci_get_ss_bw_consumed()
2541 struct xhci_bw_info *ep_bw, in xhci_drop_ep_from_interval_table() argument
2550 if (xhci_is_async_ep(ep_bw->type)) in xhci_drop_ep_from_interval_table()
2554 if (xhci_is_sync_in_ep(ep_bw->type)) in xhci_drop_ep_from_interval_table()
2556 xhci_get_ss_bw_consumed(ep_bw); in xhci_drop_ep_from_interval_table()
[all …]