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)");
465 * tb_tunnel_reserved_pci() - Amount of bandwidth to reserve for PCIe
467 * @reserved_up: Upstream bandwidth in Mb/s to reserve
468 * @reserved_down: Downstream bandwidth in Mb/s to reserve
471 * bandwidth needs to be left in reserve for possible PCIe bulk traffic.
748 "DP IN maximum supported bandwidth %u Mb/s x%u = %u Mb/s\n", in tb_dp_xchg_caps()
752 * If the tunnel bandwidth is limited (max_bw is set) then see in tb_dp_xchg_caps()
753 * if we need to reduce bandwidth to fit there. in tb_dp_xchg_caps()
759 "DP OUT maximum supported bandwidth %u Mb/s x%u = %u Mb/s\n", in tb_dp_xchg_caps()
774 tb_tunnel_info(tunnel, "not enough bandwidth\n"); in tb_dp_xchg_caps()
780 "bandwidth reduced to %u Mb/s x%u = %u Mb/s\n", in tb_dp_xchg_caps()
848 tb_tunnel_dbg(tunnel, "non-reduced bandwidth %u Mb/s x%u = %u Mb/s\n", in tb_dp_bandwidth_alloc_mode_enable()
856 * Pick up granularity that supports maximum possible bandwidth. in tb_dp_bandwidth_alloc_mode_enable()
865 "maximum bandwidth through allocation mode %u Mb/s x%u = %u Mb/s\n", in tb_dp_bandwidth_alloc_mode_enable()
883 * Bandwidth estimation is pretty much what we have in in tb_dp_bandwidth_alloc_mode_enable()
892 tb_tunnel_dbg(tunnel, "estimated bandwidth %d Mb/s\n", estimated_bw); in tb_dp_bandwidth_alloc_mode_enable()
903 tb_tunnel_dbg(tunnel, "bandwidth allocation mode enabled\n"); in tb_dp_bandwidth_alloc_mode_enable()
924 tb_tunnel_dbg(tunnel, "bandwidth allocation mode supported\n"); in tb_dp_pre_activate()
941 tb_tunnel_dbg(tunnel, "bandwidth allocation mode disabled\n"); in tb_dp_post_deactivate()
1076 * tb_dp_bandwidth_mode_maximum_bandwidth() - Maximum possible bandwidth
1078 * @max_bw_rounded: Maximum bandwidth in Mb/s rounded up to the next granularity
1080 * Returns maximum possible bandwidth for this tunnel in Mb/s.
1092 * the maximum possible bandwidth over this link. in tb_dp_bandwidth_mode_maximum_bandwidth()
1158 * If we have already set the allocated bandwidth then use that. in tb_dp_allocated_bandwidth()
1219 /* Now we can use BW mode registers to figure out the bandwidth */ in tb_dp_alloc_bandwidth()
1305 * On USB4 routers check if the bandwidth allocation in tb_dp_consumed_bandwidth()
1306 * mode is enabled first and then read the bandwidth in tb_dp_consumed_bandwidth()
1326 /* No bandwidth management for legacy devices */ in tb_dp_consumed_bandwidth()
1441 "DP IN maximum supported bandwidth %u Mb/s x%u = %u Mb/s\n", in tb_dp_dump()
1452 "DP OUT maximum supported bandwidth %u Mb/s x%u = %u Mb/s\n", in tb_dp_dump()
1462 tb_tunnel_dbg(tunnel, "reduced bandwidth %u Mb/s x%u = %u Mb/s\n", in tb_dp_dump()
1562 * @max_up: Maximum available upstream bandwidth for the DP tunnel.
1563 * %0 if no available bandwidth.
1564 * @max_down: Maximum available downstream bandwidth for the DP tunnel.
1565 * %0 if no available bandwidth.
1934 tb_tunnel_dbg(tunnel, "allocating initial bandwidth %d/%d Mb/s\n", in tb_usb3_pre_activate()
1963 * PCIe tunneling, if enabled, affects the USB3 bandwidth so in tb_usb3_consumed_bandwidth()
1989 tb_tunnel_dbg(tunnel, "decreased bandwidth allocation to %d/%d Mb/s\n", in tb_usb3_release_unused_bandwidth()
2034 tb_tunnel_info(tunnel, "failed to allocate bandwidth\n"); in tb_usb3_reclaim_available_bandwidth()
2044 tb_tunnel_dbg(tunnel, "increased bandwidth allocation to %d/%d Mb/s\n", in tb_usb3_reclaim_available_bandwidth()
2152 * Read the initial bandwidth allocation for the first in tb_tunnel_discover_usb3()
2160 tb_tunnel_dbg(tunnel, "currently allocated bandwidth %d/%d Mb/s\n", in tb_tunnel_discover_usb3()
2187 * @max_up: Maximum available upstream bandwidth for the USB3 tunnel.
2188 * %0 if no available bandwidth.
2189 * @max_down: Maximum available downstream bandwidth for the USB3 tunnel.
2190 * %0 if no available bandwidth.
2207 * For USB3 isochronous transfers, we allow bandwidth which is in tb_tunnel_alloc_usb3()
2208 * not higher than 90% of maximum supported bandwidth by USB3 in tb_tunnel_alloc_usb3()
2216 tb_port_dbg(up, "maximum required bandwidth for USB3 tunnel %d Mb/s\n", in tb_tunnel_alloc_usb3()
2393 * tb_tunnel_maximum_bandwidth() - Return maximum possible bandwidth
2395 * @max_up: Maximum upstream bandwidth in Mb/s
2396 * @max_down: Maximum downstream bandwidth in Mb/s
2398 * Returns maximum possible bandwidth this tunnel can go if not limited
2399 * by other bandwidth clients. If the tunnel does not support this
2414 * tb_tunnel_allocated_bandwidth() - Return bandwidth allocated for the tunnel
2416 * @allocated_up: Currently allocated upstream bandwidth in Mb/s is stored here
2417 * @allocated_down: Currently allocated downstream bandwidth in Mb/s is
2420 * Returns the bandwidth allocated for the tunnel. This may be higher
2436 * tb_tunnel_alloc_bandwidth() - Change tunnel bandwidth allocation
2437 * @tunnel: Tunnel whose bandwidth allocation to change
2438 * @alloc_up: New upstream bandwidth in Mb/s
2439 * @alloc_down: New downstream bandwidth in Mb/s
2441 * Tries to change tunnel bandwidth allocation. If succeeds returns %0
2459 * tb_tunnel_consumed_bandwidth() - Return bandwidth consumed by the tunnel
2461 * @consumed_up: Consumed bandwidth in Mb/s from @dst_port to @src_port.
2463 * @consumed_down: Consumed bandwidth in Mb/s from @src_port to @dst_port.
2466 * Stores the amount of isochronous bandwidth @tunnel consumes in
2495 tb_tunnel_dbg(tunnel, "consumed bandwidth %d/%d Mb/s\n", up_bw, down_bw); in tb_tunnel_consumed_bandwidth()
2500 * tb_tunnel_release_unused_bandwidth() - Release unused bandwidth
2501 * @tunnel: Tunnel whose unused bandwidth to release
2503 * If tunnel supports dynamic bandwidth management (USB3 tunnels at the
2504 * moment) this function makes it to release all the unused bandwidth.
2525 * tb_tunnel_reclaim_available_bandwidth() - Reclaim available bandwidth
2526 * @tunnel: Tunnel reclaiming available bandwidth
2527 * @available_up: Available upstream bandwidth (in Mb/s)
2528 * @available_down: Available downstream bandwidth (in Mb/s)
2530 * Reclaims bandwidth from @available_up and @available_down and updates