Lines Matching refs:bw_table

2337 	struct xhci_interval_bw_table *bw_table;  in xhci_check_tt_bw_table()  local
2341 bw_table = &xhci->rh_bw[virt_dev->real_port - 1].bw_table; in xhci_check_tt_bw_table()
2350 if (bw_table->bw_used + TT_HS_OVERHEAD > HS_BW_LIMIT) in xhci_check_tt_bw_table()
2369 if (virt_dev->bw_table->ss_bw_in > (SS_BW_LIMIT_IN - bw_reserved)) in xhci_check_ss_bw()
2373 if (virt_dev->bw_table->ss_bw_out > (SS_BW_LIMIT_OUT - bw_reserved)) in xhci_check_ss_bw()
2428 struct xhci_interval_bw_table *bw_table; in xhci_check_bw_table() local
2447 bw_table = virt_dev->bw_table; in xhci_check_bw_table()
2478 bw_used = DIV_ROUND_UP(bw_table->interval0_esit_payload, block_size) + in xhci_check_bw_table()
2479 bw_table->interval_bw[0].num_packets * in xhci_check_bw_table()
2480 xhci_get_largest_overhead(&bw_table->interval_bw[0]); in xhci_check_bw_table()
2493 bw_table->interval_bw[i].num_packets; in xhci_check_bw_table()
2498 if (list_empty(&bw_table->interval_bw[i].endpoints)) in xhci_check_bw_table()
2504 ep_entry = bw_table->interval_bw[i].endpoints.next; in xhci_check_bw_table()
2517 &bw_table->interval_bw[i]); in xhci_check_bw_table()
2593 bw_table->bw_used = bw_used; in xhci_check_bw_table()
2625 struct xhci_interval_bw_table *bw_table, in xhci_drop_ep_from_interval_table() argument
2638 xhci->devs[udev->slot_id]->bw_table->ss_bw_in -= in xhci_drop_ep_from_interval_table()
2641 xhci->devs[udev->slot_id]->bw_table->ss_bw_out -= in xhci_drop_ep_from_interval_table()
2660 bw_table->interval0_esit_payload -= ep_bw->max_esit_payload; in xhci_drop_ep_from_interval_table()
2661 interval_bw = &bw_table->interval_bw[normalized_interval]; in xhci_drop_ep_from_interval_table()
2689 struct xhci_interval_bw_table *bw_table, in xhci_add_ep_to_interval_table() argument
2703 xhci->devs[udev->slot_id]->bw_table->ss_bw_in += in xhci_add_ep_to_interval_table()
2706 xhci->devs[udev->slot_id]->bw_table->ss_bw_out += in xhci_add_ep_to_interval_table()
2720 bw_table->interval0_esit_payload += ep_bw->max_esit_payload; in xhci_add_ep_to_interval_table()
2721 interval_bw = &bw_table->interval_bw[normalized_interval]; in xhci_add_ep_to_interval_table()
2773 rh_bw_info->bw_table.bw_used += TT_HS_OVERHEAD; in xhci_update_tt_active_eps()
2777 rh_bw_info->bw_table.bw_used -= TT_HS_OVERHEAD; in xhci_update_tt_active_eps()
2813 virt_dev->bw_table, in xhci_reserve_bandwidth()
2825 virt_dev->bw_table, in xhci_reserve_bandwidth()
2850 virt_dev->bw_table, in xhci_reserve_bandwidth()
2862 virt_dev->bw_table, in xhci_reserve_bandwidth()
3910 virt_dev->bw_table, in xhci_discover_or_reset_device()