Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/thunderbolt/
Dtb.c332 int link_speed, link_width, up_bw, down_bw; in tb_available_bandwidth() local
347 up_bw = link_speed * link_width * 1000; /* Mb/s */ in tb_available_bandwidth()
349 up_bw -= up_bw / 10; in tb_available_bandwidth()
350 down_bw = up_bw; in tb_available_bandwidth()
352 tb_port_dbg(port, "link total bandwidth %d Mb/s\n", up_bw); in tb_available_bandwidth()
373 up_bw -= dp_consumed_up; in tb_available_bandwidth()
383 up_bw -= usb3_consumed_up; in tb_available_bandwidth()
386 if (up_bw < *available_up) in tb_available_bandwidth()
387 *available_up = up_bw; in tb_available_bandwidth()
Dtunnel.c1710 int up_bw = 0, down_bw = 0; in tb_tunnel_consumed_bandwidth() local
1718 ret = tunnel->consumed_bandwidth(tunnel, &up_bw, &down_bw); in tb_tunnel_consumed_bandwidth()
1722 tb_tunnel_dbg(tunnel, "consumed bandwidth %d/%d Mb/s\n", up_bw, in tb_tunnel_consumed_bandwidth()
1728 *consumed_up = up_bw; in tb_tunnel_consumed_bandwidth()