Lines Matching refs:bw_used
2285 if (bw_table->bw_used + TT_HS_OVERHEAD > HS_BW_LIMIT) in xhci_check_tt_bw_table()
2361 unsigned int bw_used; in xhci_check_bw_table() local
2413 bw_used = DIV_ROUND_UP(bw_table->interval0_esit_payload, block_size) + in xhci_check_bw_table()
2486 bw_used += bw_added; in xhci_check_bw_table()
2487 if (bw_used > max_bandwidth) { in xhci_check_bw_table()
2490 bw_used, max_bandwidth); in xhci_check_bw_table()
2501 bw_used += overhead + packet_size; in xhci_check_bw_table()
2508 bw_used += TT_HS_OVERHEAD * in xhci_check_bw_table()
2515 bw_used, max_bandwidth, bw_reserved, in xhci_check_bw_table()
2516 (max_bandwidth - bw_used - bw_reserved) * 100 / in xhci_check_bw_table()
2519 bw_used += bw_reserved; in xhci_check_bw_table()
2520 if (bw_used > max_bandwidth) { in xhci_check_bw_table()
2522 bw_used, max_bandwidth); in xhci_check_bw_table()
2526 bw_table->bw_used = bw_used; in xhci_check_bw_table()
2700 rh_bw_info->bw_table.bw_used += TT_HS_OVERHEAD; in xhci_update_tt_active_eps()
2704 rh_bw_info->bw_table.bw_used -= TT_HS_OVERHEAD; in xhci_update_tt_active_eps()