Lines Matching full:bandwidth
65 * Reserve additional bandwidth for USB 3.x and PCIe bulk traffic
81 "enable bandwidth allocation mode if supported (default: true)");
383 * tb_tunnel_reserved_pci() - Amount of bandwidth to reserve for PCIe
385 * @reserved_up: Upstream bandwidth in Mb/s to reserve
386 * @reserved_down: Downstream bandwidth in Mb/s to reserve
389 * bandwidth needs to be left in reserve for possible PCIe bulk traffic.
666 "DP IN maximum supported bandwidth %u Mb/s x%u = %u Mb/s\n", in tb_dp_xchg_caps()
670 * If the tunnel bandwidth is limited (max_bw is set) then see in tb_dp_xchg_caps()
671 * if we need to reduce bandwidth to fit there. in tb_dp_xchg_caps()
677 "DP OUT maximum supported bandwidth %u Mb/s x%u = %u Mb/s\n", in tb_dp_xchg_caps()
692 tb_tunnel_info(tunnel, "not enough bandwidth\n"); in tb_dp_xchg_caps()
698 "bandwidth reduced to %u Mb/s x%u = %u Mb/s\n", in tb_dp_xchg_caps()
766 tb_tunnel_dbg(tunnel, "non-reduced bandwidth %u Mb/s x%u = %u Mb/s\n", in tb_dp_bandwidth_alloc_mode_enable()
774 * Pick up granularity that supports maximum possible bandwidth. in tb_dp_bandwidth_alloc_mode_enable()
783 "maximum bandwidth through allocation mode %u Mb/s x%u = %u Mb/s\n", in tb_dp_bandwidth_alloc_mode_enable()
801 * Bandwidth estimation is pretty much what we have in in tb_dp_bandwidth_alloc_mode_enable()
810 tb_tunnel_dbg(tunnel, "estimated bandwidth %d Mb/s\n", estimated_bw); in tb_dp_bandwidth_alloc_mode_enable()
821 tb_tunnel_dbg(tunnel, "bandwidth allocation mode enabled\n"); in tb_dp_bandwidth_alloc_mode_enable()
842 tb_tunnel_dbg(tunnel, "bandwidth allocation mode supported\n"); in tb_dp_init()
859 tb_tunnel_dbg(tunnel, "bandwidth allocation mode disabled\n"); in tb_dp_deinit()
911 * the maximum possible bandwidth over this link. in tb_dp_bandwidth_mode_maximum_bandwidth()
993 * If we have already set the allocated bandwidth then use that. in tb_dp_allocated_bandwidth()
1054 /* Now we can use BW mode registers to figure out the bandwidth */ in tb_dp_alloc_bandwidth()
1157 * On USB4 routers check if the bandwidth allocation in tb_dp_consumed_bandwidth()
1158 * mode is enabled first and then read the bandwidth in tb_dp_consumed_bandwidth()
1171 * return that bandwidth (it may be smaller than the in tb_dp_consumed_bandwidth()
1188 /* No bandwidth management for legacy devices */ in tb_dp_consumed_bandwidth()
1298 "DP IN maximum supported bandwidth %u Mb/s x%u = %u Mb/s\n", in tb_dp_dump()
1311 "DP OUT maximum supported bandwidth %u Mb/s x%u = %u Mb/s\n", in tb_dp_dump()
1321 tb_tunnel_dbg(tunnel, "reduced bandwidth %u Mb/s x%u = %u Mb/s\n", in tb_dp_dump()
1421 * @max_up: Maximum available upstream bandwidth for the DP tunnel (%0
1423 * @max_down: Maximum available downstream bandwidth for the DP tunnel
1779 tb_tunnel_dbg(tunnel, "allocating initial bandwidth %d/%d Mb/s\n", in tb_usb3_init()
1808 * PCIe tunneling, if enabled, affects the USB3 bandwidth so in tb_usb3_consumed_bandwidth()
1834 tb_tunnel_dbg(tunnel, "decreased bandwidth allocation to %d/%d Mb/s\n", in tb_usb3_release_unused_bandwidth()
1886 tb_tunnel_info(tunnel, "failed to allocate bandwidth\n"); in tb_usb3_reclaim_available_bandwidth()
1896 tb_tunnel_dbg(tunnel, "increased bandwidth allocation to %d/%d Mb/s\n", in tb_usb3_reclaim_available_bandwidth()
2004 * Read the initial bandwidth allocation for the first in tb_tunnel_discover_usb3()
2012 tb_tunnel_dbg(tunnel, "currently allocated bandwidth %d/%d Mb/s\n", in tb_tunnel_discover_usb3()
2039 * @max_up: Maximum available upstream bandwidth for the USB3 tunnel (%0
2041 * @max_down: Maximum available downstream bandwidth for the USB3 tunnel
2058 * Check that we have enough bandwidth available for the new in tb_tunnel_alloc_usb3()
2068 tb_port_dbg(up, "required bandwidth for USB3 tunnel %d Mb/s\n", in tb_tunnel_alloc_usb3()
2072 tb_port_warn(up, "not enough bandwidth for USB3 tunnel\n"); in tb_tunnel_alloc_usb3()
2290 * tb_tunnel_maximum_bandwidth() - Return maximum possible bandwidth
2292 * @max_up: Maximum upstream bandwidth in Mb/s
2293 * @max_down: Maximum downstream bandwidth in Mb/s
2295 * Returns maximum possible bandwidth this tunnel can go if not limited
2296 * by other bandwidth clients. If the tunnel does not support this
2311 * tb_tunnel_allocated_bandwidth() - Return bandwidth allocated for the tunnel
2313 * @allocated_up: Currently allocated upstream bandwidth in Mb/s is stored here
2314 * @allocated_down: Currently allocated downstream bandwidth in Mb/s is
2317 * Returns the bandwidth allocated for the tunnel. This may be higher
2333 * tb_tunnel_alloc_bandwidth() - Change tunnel bandwidth allocation
2334 * @tunnel: Tunnel whose bandwidth allocation to change
2335 * @alloc_up: New upstream bandwidth in Mb/s
2336 * @alloc_down: New downstream bandwidth in Mb/s
2338 * Tries to change tunnel bandwidth allocation. If succeeds returns %0
2356 * tb_tunnel_consumed_bandwidth() - Return bandwidth consumed by the tunnel
2358 * @consumed_up: Consumed bandwidth in Mb/s from @dst_port to @src_port.
2360 * @consumed_down: Consumed bandwidth in Mb/s from @src_port to @dst_port.
2363 * Stores the amount of isochronous bandwidth @tunnel consumes in
2382 tb_tunnel_dbg(tunnel, "consumed bandwidth %d/%d Mb/s\n", up_bw, in tb_tunnel_consumed_bandwidth()
2396 * tb_tunnel_release_unused_bandwidth() - Release unused bandwidth
2397 * @tunnel: Tunnel whose unused bandwidth to release
2399 * If tunnel supports dynamic bandwidth management (USB3 tunnels at the
2400 * moment) this function makes it to release all the unused bandwidth.
2421 * tb_tunnel_reclaim_available_bandwidth() - Reclaim available bandwidth
2422 * @tunnel: Tunnel reclaiming available bandwidth
2423 * @available_up: Available upstream bandwidth (in Mb/s)
2424 * @available_down: Available downstream bandwidth (in Mb/s)
2426 * Reclaims bandwidth from @available_up and @available_down and updates