Lines Matching full:bandwidth

65  * Reserve additional bandwidth for USB 3.x and PCIe bulk traffic
99 "enable bandwidth allocation mode if supported (default: true)");
107 [TB_TUNNEL_LOW_BANDWIDTH] = "low bandwidth",
108 [TB_TUNNEL_NO_BANDWIDTH] = "insufficient bandwidth",
243 * there is not enough bandwidth). If the @src_port and @dst_port are
542 * tb_tunnel_reserved_pci() - Amount of bandwidth to reserve for PCIe
544 * @reserved_up: Upstream bandwidth in Mb/s to reserve
545 * @reserved_down: Downstream bandwidth in Mb/s to reserve
548 * bandwidth needs to be left in reserve for possible PCIe bulk traffic.
828 "DP IN maximum supported bandwidth %u Mb/s x%u = %u Mb/s\n", in tb_dp_xchg_caps()
832 * If the tunnel bandwidth is limited (max_bw is set) then see in tb_dp_xchg_caps()
833 * if we need to reduce bandwidth to fit there. in tb_dp_xchg_caps()
839 "DP OUT maximum supported bandwidth %u Mb/s x%u = %u Mb/s\n", in tb_dp_xchg_caps()
854 tb_tunnel_info(tunnel, "not enough bandwidth\n"); in tb_dp_xchg_caps()
860 "bandwidth reduced to %u Mb/s x%u = %u Mb/s\n", in tb_dp_xchg_caps()
928 tb_tunnel_dbg(tunnel, "non-reduced bandwidth %u Mb/s x%u = %u Mb/s\n", in tb_dp_bandwidth_alloc_mode_enable()
936 * Pick up granularity that supports maximum possible bandwidth. in tb_dp_bandwidth_alloc_mode_enable()
945 "maximum bandwidth through allocation mode %u Mb/s x%u = %u Mb/s\n", in tb_dp_bandwidth_alloc_mode_enable()
963 * Bandwidth estimation is pretty much what we have in in tb_dp_bandwidth_alloc_mode_enable()
972 tb_tunnel_dbg(tunnel, "estimated bandwidth %d Mb/s\n", estimated_bw); in tb_dp_bandwidth_alloc_mode_enable()
983 tb_tunnel_dbg(tunnel, "bandwidth allocation mode enabled\n"); in tb_dp_bandwidth_alloc_mode_enable()
1004 tb_tunnel_dbg(tunnel, "bandwidth allocation mode supported\n"); in tb_dp_pre_activate()
1021 tb_tunnel_dbg(tunnel, "bandwidth allocation mode disabled\n"); in tb_dp_post_deactivate()
1157 * tb_dp_bandwidth_mode_maximum_bandwidth() - Maximum possible bandwidth
1159 * @max_bw_rounded: Maximum bandwidth in Mb/s rounded up to the next granularity
1161 * Return: Maximum possible bandwidth for this tunnel in Mb/s, negative errno
1174 * maximum possible bandwidth over this link. in tb_dp_bandwidth_mode_maximum_bandwidth()
1240 * If we have already set the allocated bandwidth then use that. in tb_dp_allocated_bandwidth()
1301 /* Now we can use BW mode registers to figure out the bandwidth */ in tb_dp_alloc_bandwidth()
1387 * On USB4 routers check if the bandwidth allocation in tb_dp_consumed_bandwidth()
1388 * mode is enabled first and then read the bandwidth in tb_dp_consumed_bandwidth()
1408 /* No bandwidth management for legacy devices */ in tb_dp_consumed_bandwidth()
1523 "DP IN maximum supported bandwidth %u Mb/s x%u = %u Mb/s\n", in tb_dp_dump()
1534 "DP OUT maximum supported bandwidth %u Mb/s x%u = %u Mb/s\n", in tb_dp_dump()
1544 tb_tunnel_dbg(tunnel, "reduced bandwidth %u Mb/s x%u = %u Mb/s\n", in tb_dp_dump()
1644 * @max_up: Maximum available upstream bandwidth for the DP tunnel.
1645 * %0 if no available bandwidth.
1646 * @max_down: Maximum available downstream bandwidth for the DP tunnel.
1647 * %0 if no available bandwidth.
2017 tb_tunnel_dbg(tunnel, "allocating initial bandwidth %d/%d Mb/s\n", in tb_usb3_pre_activate()
2046 * PCIe tunneling, if enabled, affects the USB3 bandwidth so in tb_usb3_consumed_bandwidth()
2072 tb_tunnel_dbg(tunnel, "decreased bandwidth allocation to %d/%d Mb/s\n", in tb_usb3_release_unused_bandwidth()
2117 tb_tunnel_info(tunnel, "failed to allocate bandwidth\n"); in tb_usb3_reclaim_available_bandwidth()
2127 tb_tunnel_dbg(tunnel, "increased bandwidth allocation to %d/%d Mb/s\n", in tb_usb3_reclaim_available_bandwidth()
2236 * Read the initial bandwidth allocation for the first in tb_tunnel_discover_usb3()
2244 tb_tunnel_dbg(tunnel, "currently allocated bandwidth %d/%d Mb/s\n", in tb_tunnel_discover_usb3()
2271 * @max_up: Maximum available upstream bandwidth for the USB3 tunnel.
2272 * %0 if no available bandwidth.
2273 * @max_down: Maximum available downstream bandwidth for the USB3 tunnel.
2274 * %0 if no available bandwidth.
2291 * For USB3 isochronous transfers, we allow bandwidth which is in tb_tunnel_alloc_usb3()
2292 * not higher than 90% of maximum supported bandwidth by USB3 in tb_tunnel_alloc_usb3()
2300 tb_port_dbg(up, "maximum required bandwidth for USB3 tunnel %d Mb/s\n", in tb_tunnel_alloc_usb3()
2480 * tb_tunnel_maximum_bandwidth() - Return maximum possible bandwidth
2482 * @max_up: Maximum upstream bandwidth in Mb/s
2483 * @max_down: Maximum downstream bandwidth in Mb/s
2486 * * Maximum possible bandwidth this tunnel can support if not
2487 * limited by other bandwidth clients.
2503 * tb_tunnel_allocated_bandwidth() - Return bandwidth allocated for the tunnel
2505 * @allocated_up: Currently allocated upstream bandwidth in Mb/s is stored here
2506 * @allocated_down: Currently allocated downstream bandwidth in Mb/s is
2510 * * Bandwidth allocated for the tunnel. This may be higher than what the
2529 * tb_tunnel_alloc_bandwidth() - Change tunnel bandwidth allocation
2530 * @tunnel: Tunnel whose bandwidth allocation to change
2531 * @alloc_up: New upstream bandwidth in Mb/s
2532 * @alloc_down: New downstream bandwidth in Mb/s
2534 * Tries to change tunnel bandwidth allocation.
2562 * tb_tunnel_consumed_bandwidth() - Return bandwidth consumed by the tunnel
2564 * @consumed_up: Consumed bandwidth in Mb/s from @dst_port to @src_port.
2566 * @consumed_down: Consumed bandwidth in Mb/s from @src_port to @dst_port.
2569 * Stores the amount of isochronous bandwidth @tunnel consumes in
2599 tb_tunnel_dbg(tunnel, "consumed bandwidth %d/%d Mb/s\n", up_bw, down_bw); in tb_tunnel_consumed_bandwidth()
2604 * tb_tunnel_release_unused_bandwidth() - Release unused bandwidth
2605 * @tunnel: Tunnel whose unused bandwidth to release
2607 * If tunnel supports dynamic bandwidth management (USB3 tunnels at the
2608 * moment) this function makes it release all the unused bandwidth.
2629 * tb_tunnel_reclaim_available_bandwidth() - Reclaim available bandwidth
2630 * @tunnel: Tunnel reclaiming available bandwidth
2631 * @available_up: Available upstream bandwidth (in Mb/s)
2632 * @available_down: Available downstream bandwidth (in Mb/s)
2634 * Reclaims bandwidth from @available_up and @available_down and updates