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)");
412 * tb_tunnel_reserved_pci() - Amount of bandwidth to reserve for PCIe
414 * @reserved_up: Upstream bandwidth in Mb/s to reserve
415 * @reserved_down: Downstream bandwidth in Mb/s to reserve
418 * bandwidth needs to be left in reserve for possible PCIe bulk traffic.
695 "DP IN maximum supported bandwidth %u Mb/s x%u = %u Mb/s\n", in tb_dp_xchg_caps()
699 * If the tunnel bandwidth is limited (max_bw is set) then see in tb_dp_xchg_caps()
700 * if we need to reduce bandwidth to fit there. in tb_dp_xchg_caps()
706 "DP OUT maximum supported bandwidth %u Mb/s x%u = %u Mb/s\n", in tb_dp_xchg_caps()
721 tb_tunnel_info(tunnel, "not enough bandwidth\n"); in tb_dp_xchg_caps()
727 "bandwidth reduced to %u Mb/s x%u = %u Mb/s\n", in tb_dp_xchg_caps()
795 tb_tunnel_dbg(tunnel, "non-reduced bandwidth %u Mb/s x%u = %u Mb/s\n", in tb_dp_bandwidth_alloc_mode_enable()
803 * Pick up granularity that supports maximum possible bandwidth. in tb_dp_bandwidth_alloc_mode_enable()
812 "maximum bandwidth through allocation mode %u Mb/s x%u = %u Mb/s\n", in tb_dp_bandwidth_alloc_mode_enable()
830 * Bandwidth estimation is pretty much what we have in in tb_dp_bandwidth_alloc_mode_enable()
839 tb_tunnel_dbg(tunnel, "estimated bandwidth %d Mb/s\n", estimated_bw); in tb_dp_bandwidth_alloc_mode_enable()
850 tb_tunnel_dbg(tunnel, "bandwidth allocation mode enabled\n"); in tb_dp_bandwidth_alloc_mode_enable()
871 tb_tunnel_dbg(tunnel, "bandwidth allocation mode supported\n"); in tb_dp_init()
888 tb_tunnel_dbg(tunnel, "bandwidth allocation mode disabled\n"); in tb_dp_deinit()
940 * the maximum possible bandwidth over this link. in tb_dp_bandwidth_mode_maximum_bandwidth()
1022 * If we have already set the allocated bandwidth then use that. in tb_dp_allocated_bandwidth()
1083 /* Now we can use BW mode registers to figure out the bandwidth */ in tb_dp_alloc_bandwidth()
1184 * On USB4 routers check if the bandwidth allocation in tb_dp_consumed_bandwidth()
1185 * mode is enabled first and then read the bandwidth in tb_dp_consumed_bandwidth()
1198 * return that bandwidth (it may be smaller than the in tb_dp_consumed_bandwidth()
1218 /* No bandwidth management for legacy devices */ in tb_dp_consumed_bandwidth()
1333 "DP IN maximum supported bandwidth %u Mb/s x%u = %u Mb/s\n", in tb_dp_dump()
1344 "DP OUT maximum supported bandwidth %u Mb/s x%u = %u Mb/s\n", in tb_dp_dump()
1354 tb_tunnel_dbg(tunnel, "reduced bandwidth %u Mb/s x%u = %u Mb/s\n", in tb_dp_dump()
1454 * @max_up: Maximum available upstream bandwidth for the DP tunnel (%0
1456 * @max_down: Maximum available downstream bandwidth for the DP tunnel
1814 tb_tunnel_dbg(tunnel, "allocating initial bandwidth %d/%d Mb/s\n", in tb_usb3_init()
1843 * PCIe tunneling, if enabled, affects the USB3 bandwidth so in tb_usb3_consumed_bandwidth()
1869 tb_tunnel_dbg(tunnel, "decreased bandwidth allocation to %d/%d Mb/s\n", in tb_usb3_release_unused_bandwidth()
1914 tb_tunnel_info(tunnel, "failed to allocate bandwidth\n"); in tb_usb3_reclaim_available_bandwidth()
1924 tb_tunnel_dbg(tunnel, "increased bandwidth allocation to %d/%d Mb/s\n", in tb_usb3_reclaim_available_bandwidth()
2032 * Read the initial bandwidth allocation for the first in tb_tunnel_discover_usb3()
2040 tb_tunnel_dbg(tunnel, "currently allocated bandwidth %d/%d Mb/s\n", in tb_tunnel_discover_usb3()
2067 * @max_up: Maximum available upstream bandwidth for the USB3 tunnel (%0
2069 * @max_down: Maximum available downstream bandwidth for the USB3 tunnel
2086 * Check that we have enough bandwidth available for the new in tb_tunnel_alloc_usb3()
2096 tb_port_dbg(up, "required bandwidth for USB3 tunnel %d Mb/s\n", in tb_tunnel_alloc_usb3()
2100 tb_port_warn(up, "not enough bandwidth for USB3 tunnel\n"); in tb_tunnel_alloc_usb3()
2318 * tb_tunnel_maximum_bandwidth() - Return maximum possible bandwidth
2320 * @max_up: Maximum upstream bandwidth in Mb/s
2321 * @max_down: Maximum downstream bandwidth in Mb/s
2323 * Returns maximum possible bandwidth this tunnel can go if not limited
2324 * by other bandwidth clients. If the tunnel does not support this
2339 * tb_tunnel_allocated_bandwidth() - Return bandwidth allocated for the tunnel
2341 * @allocated_up: Currently allocated upstream bandwidth in Mb/s is stored here
2342 * @allocated_down: Currently allocated downstream bandwidth in Mb/s is
2345 * Returns the bandwidth allocated for the tunnel. This may be higher
2361 * tb_tunnel_alloc_bandwidth() - Change tunnel bandwidth allocation
2362 * @tunnel: Tunnel whose bandwidth allocation to change
2363 * @alloc_up: New upstream bandwidth in Mb/s
2364 * @alloc_down: New downstream bandwidth in Mb/s
2366 * Tries to change tunnel bandwidth allocation. If succeeds returns %0
2384 * tb_tunnel_consumed_bandwidth() - Return bandwidth consumed by the tunnel
2386 * @consumed_up: Consumed bandwidth in Mb/s from @dst_port to @src_port.
2388 * @consumed_down: Consumed bandwidth in Mb/s from @src_port to @dst_port.
2391 * Stores the amount of isochronous bandwidth @tunnel consumes in
2410 tb_tunnel_dbg(tunnel, "consumed bandwidth %d/%d Mb/s\n", up_bw, in tb_tunnel_consumed_bandwidth()
2424 * tb_tunnel_release_unused_bandwidth() - Release unused bandwidth
2425 * @tunnel: Tunnel whose unused bandwidth to release
2427 * If tunnel supports dynamic bandwidth management (USB3 tunnels at the
2428 * moment) this function makes it to release all the unused bandwidth.
2449 * tb_tunnel_reclaim_available_bandwidth() - Reclaim available bandwidth
2450 * @tunnel: Tunnel reclaiming available bandwidth
2451 * @available_up: Available upstream bandwidth (in Mb/s)
2452 * @available_down: Available downstream bandwidth (in Mb/s)
2454 * Reclaims bandwidth from @available_up and @available_down and updates