Lines Matching refs:allocated_up
938 static int tb_dp_allocated_bandwidth(struct tb_tunnel *tunnel, int *allocated_up, in tb_dp_allocated_bandwidth() argument
963 *allocated_up = 0; in tb_dp_allocated_bandwidth()
966 *allocated_up = allocated_bw; in tb_dp_allocated_bandwidth()
972 return tunnel->consumed_bandwidth(tunnel, allocated_up, in tb_dp_allocated_bandwidth()
1737 tunnel->allocated_up, tunnel->allocated_down); in tb_usb3_init()
1740 &tunnel->allocated_up, in tb_usb3_init()
1767 *consumed_up = tunnel->allocated_up * (3 + pcie_enabled) / 3; in tb_usb3_consumed_bandwidth()
1777 &tunnel->allocated_up, in tb_usb3_release_unused_bandwidth()
1783 tunnel->allocated_up, tunnel->allocated_down); in tb_usb3_release_unused_bandwidth()
1813 if (tunnel->allocated_up >= max_rate && in tb_usb3_reclaim_available_bandwidth()
1819 if (allocate_up < tunnel->allocated_up) in tb_usb3_reclaim_available_bandwidth()
1820 allocate_up = tunnel->allocated_up; in tb_usb3_reclaim_available_bandwidth()
1827 if (allocate_up == tunnel->allocated_up && in tb_usb3_reclaim_available_bandwidth()
1838 tunnel->allocated_up = allocate_up; in tb_usb3_reclaim_available_bandwidth()
1839 *available_up -= tunnel->allocated_up; in tb_usb3_reclaim_available_bandwidth()
1845 tunnel->allocated_up, tunnel->allocated_down); in tb_usb3_reclaim_available_bandwidth()
1956 &tunnel->allocated_up, &tunnel->allocated_down); in tb_tunnel_discover_usb3()
1961 tunnel->allocated_up, tunnel->allocated_down); in tb_tunnel_discover_usb3()
2054 tunnel->allocated_up = max_rate; in tb_tunnel_alloc_usb3()
2268 int tb_tunnel_allocated_bandwidth(struct tb_tunnel *tunnel, int *allocated_up, in tb_tunnel_allocated_bandwidth() argument
2275 return tunnel->allocated_bandwidth(tunnel, allocated_up, in tb_tunnel_allocated_bandwidth()