Lines Matching full:bandwidth
32 * @groups: Bandwidth groups used in this domain.
77 tb_port_dbg(in, "attached to bandwidth group %d\n", group->index); in tb_bandwidth_group_attach_port()
126 tb_port_warn(in, "no available bandwidth groups\n"); in tb_attach_bandwidth_group()
157 tb_port_dbg(in, "detached from bandwidth group %d\n", group->index); in tb_detach_bandwidth_group()
583 tb_dbg(tb, "calculating available bandwidth between %llx:%u <-> %llx:%u\n", in tb_available_bandwidth()
599 /* Maximum possible bandwidth asymmetric Gen 4 link is 120 Gb/s */ in tb_available_bandwidth()
602 /* Find the minimum available bandwidth over all links */ in tb_available_bandwidth()
651 tb_port_dbg(port, "link total bandwidth %d/%d Mb/s\n", up_bw, in tb_available_bandwidth()
656 * their consumed bandwidth from the available. in tb_available_bandwidth()
673 * may be re-calculating estimated bandwidth. in tb_available_bandwidth()
692 * bandwidth into account regardless whether it actually in tb_available_bandwidth()
732 tb_dbg(tb, "reclaiming unused bandwidth for USB3\n"); in tb_reclaim_usb3_bandwidth()
735 * Calculate available bandwidth for the first hop USB3 tunnel. in tb_reclaim_usb3_bandwidth()
736 * That determines the whole USB3 bandwidth for this branch. in tb_reclaim_usb3_bandwidth()
741 tb_warn(tb, "failed to calculate available bandwidth\n"); in tb_reclaim_usb3_bandwidth()
745 tb_dbg(tb, "available bandwidth for USB3 %d/%d Mb/s\n", in tb_reclaim_usb3_bandwidth()
791 /* Make all unused bandwidth available for the new tunnel */ in tb_tunnel_usb3()
802 tb_port_dbg(up, "available bandwidth for new USB3 tunnel %d/%d Mb/s\n", in tb_tunnel_usb3()
1057 * bandwidth. in tb_deactivate_and_free_tunnel()
1163 tb_dbg(tb, "re-calculating bandwidth estimation for group %u\n", in tb_recalc_estimated_bandwidth_for_group()
1181 * Since USB3 bandwidth is shared by all DP in tb_recalc_estimated_bandwidth_for_group()
1184 * can release USB3 bandwidth just once and not in tb_recalc_estimated_bandwidth_for_group()
1192 "failed to release unused bandwidth\n"); in tb_recalc_estimated_bandwidth_for_group()
1202 "failed to re-calculate estimated bandwidth\n"); in tb_recalc_estimated_bandwidth_for_group()
1207 * Estimated bandwidth includes: in tb_recalc_estimated_bandwidth_for_group()
1208 * - already allocated bandwidth for the DP tunnel in tb_recalc_estimated_bandwidth_for_group()
1209 * - available bandwidth along the path in tb_recalc_estimated_bandwidth_for_group()
1210 * - bandwidth allocated for USB 3.x but not used. in tb_recalc_estimated_bandwidth_for_group()
1212 tb_port_dbg(in, "re-calculated estimated bandwidth %u/%u Mb/s\n", in tb_recalc_estimated_bandwidth_for_group()
1221 tb_port_warn(in, "failed to update estimated bandwidth\n"); in tb_recalc_estimated_bandwidth_for_group()
1228 tb_dbg(tb, "bandwidth estimation for group %u done\n", group->index); in tb_recalc_estimated_bandwidth_for_group()
1236 tb_dbg(tb, "bandwidth consumption changed, re-calculating estimated bandwidth\n"); in tb_recalc_estimated_bandwidth()
1245 tb_dbg(tb, "bandwidth re-calculation done\n"); in tb_recalc_estimated_bandwidth()
1335 * topology). For these try to share the DP bandwidth between in tb_tunnel_dp()
1365 /* Make all unused USB3 bandwidth available for the new DP tunnel */ in tb_tunnel_dp()
1368 tb_warn(tb, "failed to release unused bandwidth\n"); in tb_tunnel_dp()
1376 tb_dbg(tb, "available bandwidth for new DP tunnel %u/%u Mb/s\n", in tb_tunnel_dp()
1394 /* Update the domain with the new bandwidth estimation */ in tb_tunnel_dp()
1784 tb_port_dbg(in, "bandwidth allocated currently %d/%d Mb/s\n", in tb_alloc_dp_bandwidth()
1826 tb_port_dbg(in, "corrected bandwidth request %d/%d Mb/s\n", in tb_alloc_dp_bandwidth()
1831 tb_port_dbg(in, "bandwidth request too high (%d/%d Mb/s > %d/%d Mb/s)\n", in tb_alloc_dp_bandwidth()
1840 * If requested bandwidth is less or equal than what is in tb_alloc_dp_bandwidth()
1844 * group the released bandwidth will be taken into in tb_alloc_dp_bandwidth()
1852 * More bandwidth is requested. Release all the potential in tb_alloc_dp_bandwidth()
1853 * bandwidth from USB3 first. in tb_alloc_dp_bandwidth()
1862 * that we use with the normal bandwidth allocation). in tb_alloc_dp_bandwidth()
1868 tb_port_dbg(in, "bandwidth available for allocation %d/%d Mb/s\n", in tb_alloc_dp_bandwidth()
1902 tb_warn(tb, "bandwidth request from non-existent router %llx\n", in tb_handle_dp_bandwidth_request()
1909 tb_port_warn(in, "bandwidth request to non-DP IN adapter\n"); in tb_handle_dp_bandwidth_request()
1913 tb_port_dbg(in, "handling bandwidth allocation request\n"); in tb_handle_dp_bandwidth_request()
1916 tb_port_warn(in, "bandwidth allocation mode not enabled\n"); in tb_handle_dp_bandwidth_request()
1923 tb_port_dbg(in, "no bandwidth request active\n"); in tb_handle_dp_bandwidth_request()
1925 tb_port_warn(in, "failed to read requested bandwidth\n"); in tb_handle_dp_bandwidth_request()
1930 tb_port_dbg(in, "requested bandwidth %d Mb/s\n", requested_bw); in tb_handle_dp_bandwidth_request()
1951 tb_port_warn(in, "not enough bandwidth available\n"); in tb_handle_dp_bandwidth_request()
1953 tb_port_warn(in, "failed to change bandwidth allocation\n"); in tb_handle_dp_bandwidth_request()
1955 tb_port_dbg(in, "bandwidth allocation changed to %d/%d Mb/s\n", in tb_handle_dp_bandwidth_request()