Lines Matching refs:bw_reserved
2411 unsigned int bw_reserved; in xhci_check_ss_bw() local
2413 bw_reserved = DIV_ROUND_UP(SS_BW_RESERVED*SS_BW_LIMIT_IN, 100); in xhci_check_ss_bw()
2414 if (virt_dev->bw_table->ss_bw_in > (SS_BW_LIMIT_IN - bw_reserved)) in xhci_check_ss_bw()
2417 bw_reserved = DIV_ROUND_UP(SS_BW_RESERVED*SS_BW_LIMIT_OUT, 100); in xhci_check_ss_bw()
2418 if (virt_dev->bw_table->ss_bw_out > (SS_BW_LIMIT_OUT - bw_reserved)) in xhci_check_ss_bw()
2469 unsigned int bw_reserved; in xhci_check_bw_table() local
2486 bw_reserved = DIV_ROUND_UP(HS_BW_RESERVED * max_bandwidth, 100); in xhci_check_bw_table()
2489 bw_reserved = DIV_ROUND_UP(FS_BW_RESERVED * max_bandwidth, 100); in xhci_check_bw_table()
2627 bw_used, max_bandwidth, bw_reserved, in xhci_check_bw_table()
2628 (max_bandwidth - bw_used - bw_reserved) * 100 / in xhci_check_bw_table()
2631 bw_used += bw_reserved; in xhci_check_bw_table()