Searched refs:up_bw (Results 1 – 2 of 2) sorted by relevance
| /Linux-v5.10/drivers/thunderbolt/ |
| D | tb.c | 322 int link_speed, link_width, up_bw, down_bw; in tb_available_bandwidth() local 337 up_bw = link_speed * link_width * 1000; /* Mb/s */ in tb_available_bandwidth() 339 up_bw -= up_bw / 10; in tb_available_bandwidth() 340 down_bw = up_bw; in tb_available_bandwidth() 342 tb_port_dbg(port, "link total bandwidth %d Mb/s\n", up_bw); in tb_available_bandwidth() 363 up_bw -= dp_consumed_up; in tb_available_bandwidth() 373 up_bw -= usb3_consumed_up; in tb_available_bandwidth() 376 if (up_bw < *available_up) in tb_available_bandwidth() 377 *available_up = up_bw; in tb_available_bandwidth()
|
| D | tunnel.c | 1389 int up_bw = 0, down_bw = 0; in tb_tunnel_consumed_bandwidth() local 1397 ret = tunnel->consumed_bandwidth(tunnel, &up_bw, &down_bw); in tb_tunnel_consumed_bandwidth() 1401 tb_tunnel_dbg(tunnel, "consumed bandwidth %d/%d Mb/s\n", up_bw, in tb_tunnel_consumed_bandwidth() 1407 *consumed_up = up_bw; in tb_tunnel_consumed_bandwidth()
|