Lines Matching refs:interval_bw
2255 xhci_get_largest_overhead(struct xhci_interval_bw *interval_bw) in xhci_get_largest_overhead() argument
2257 if (interval_bw->overhead[LS_OVERHEAD_TYPE]) in xhci_get_largest_overhead()
2259 if (interval_bw->overhead[FS_OVERHEAD_TYPE]) in xhci_get_largest_overhead()
2414 bw_table->interval_bw[0].num_packets * in xhci_check_bw_table()
2415 xhci_get_largest_overhead(&bw_table->interval_bw[0]); in xhci_check_bw_table()
2428 bw_table->interval_bw[i].num_packets; in xhci_check_bw_table()
2433 if (list_empty(&bw_table->interval_bw[i].endpoints)) in xhci_check_bw_table()
2439 ep_entry = bw_table->interval_bw[i].endpoints.next; in xhci_check_bw_table()
2452 &bw_table->interval_bw[i]); in xhci_check_bw_table()
2563 struct xhci_interval_bw *interval_bw; in xhci_drop_ep_from_interval_table() local
2594 interval_bw = &bw_table->interval_bw[normalized_interval]; in xhci_drop_ep_from_interval_table()
2595 interval_bw->num_packets -= ep_bw->num_packets; in xhci_drop_ep_from_interval_table()
2598 interval_bw->overhead[LS_OVERHEAD_TYPE] -= 1; in xhci_drop_ep_from_interval_table()
2601 interval_bw->overhead[FS_OVERHEAD_TYPE] -= 1; in xhci_drop_ep_from_interval_table()
2604 interval_bw->overhead[HS_OVERHEAD_TYPE] -= 1; in xhci_drop_ep_from_interval_table()
2624 struct xhci_interval_bw *interval_bw; in xhci_add_ep_to_interval_table() local
2651 interval_bw = &bw_table->interval_bw[normalized_interval]; in xhci_add_ep_to_interval_table()
2652 interval_bw->num_packets += ep_bw->num_packets; in xhci_add_ep_to_interval_table()
2655 interval_bw->overhead[LS_OVERHEAD_TYPE] += 1; in xhci_add_ep_to_interval_table()
2658 interval_bw->overhead[FS_OVERHEAD_TYPE] += 1; in xhci_add_ep_to_interval_table()
2661 interval_bw->overhead[HS_OVERHEAD_TYPE] += 1; in xhci_add_ep_to_interval_table()
2673 list_for_each_entry(smaller_ep, &interval_bw->endpoints, in xhci_add_ep_to_interval_table()
2685 &interval_bw->endpoints); in xhci_add_ep_to_interval_table()