Home
last modified time | relevance | path

Searched refs:up_bw (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/thunderbolt/
Dtb.c370 int link_speed, link_width, up_bw, down_bw; in tb_available_bandwidth() local
385 up_bw = link_speed * link_width * 1000; /* Mb/s */ in tb_available_bandwidth()
387 up_bw -= up_bw / 10; in tb_available_bandwidth()
388 down_bw = up_bw; in tb_available_bandwidth()
390 tb_port_dbg(port, "link total bandwidth %d Mb/s\n", up_bw); in tb_available_bandwidth()
411 up_bw -= dp_consumed_up; in tb_available_bandwidth()
421 up_bw -= usb3_consumed_up; in tb_available_bandwidth()
424 if (up_bw < *available_up) in tb_available_bandwidth()
425 *available_up = up_bw; in tb_available_bandwidth()
Dtunnel.c1731 int up_bw = 0, down_bw = 0; in tb_tunnel_consumed_bandwidth() local
1739 ret = tunnel->consumed_bandwidth(tunnel, &up_bw, &down_bw); in tb_tunnel_consumed_bandwidth()
1743 tb_tunnel_dbg(tunnel, "consumed bandwidth %d/%d Mb/s\n", up_bw, in tb_tunnel_consumed_bandwidth()
1749 *consumed_up = up_bw; in tb_tunnel_consumed_bandwidth()