Searched refs:up_bw (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-6.6/drivers/thunderbolt/ |
H A D | tb.c | 604 int link_speed, link_width, up_bw, down_bw; in tb_available_bandwidth() local 617 up_bw = link_speed * 3 * 1000; in tb_available_bandwidth() 620 up_bw = link_speed * 1 * 1000; in tb_available_bandwidth() 623 up_bw = link_speed * port->sw->link_width * 1000; in tb_available_bandwidth() 624 down_bw = up_bw; in tb_available_bandwidth() 636 up_bw = link_speed * 1 * 1000; in tb_available_bandwidth() 639 up_bw = link_speed * 3 * 1000; in tb_available_bandwidth() 642 up_bw = link_speed * link_width * 1000; in tb_available_bandwidth() 643 down_bw = up_bw; in tb_available_bandwidth() 648 up_bw in tb_available_bandwidth() [all...] |
H A D | tunnel.c | 2318 int up_bw = 0, down_bw = 0; in tb_tunnel_consumed_bandwidth() local 2326 ret = tunnel->consumed_bandwidth(tunnel, &up_bw, &down_bw); in tb_tunnel_consumed_bandwidth() 2330 tb_tunnel_dbg(tunnel, "consumed bandwidth %d/%d Mb/s\n", up_bw, in tb_tunnel_consumed_bandwidth() 2336 *consumed_up = up_bw; in tb_tunnel_consumed_bandwidth()
|
/kernel/linux/linux-5.10/drivers/thunderbolt/ |
H A D | tb.c | 326 int link_speed, link_width, up_bw, down_bw; in tb_available_bandwidth() local 341 up_bw = link_speed * link_width * 1000; /* Mb/s */ in tb_available_bandwidth() 343 up_bw -= up_bw / 10; in tb_available_bandwidth() 344 down_bw = up_bw; in tb_available_bandwidth() 346 tb_port_dbg(port, "link total bandwidth %d Mb/s\n", up_bw); in tb_available_bandwidth() 367 up_bw -= dp_consumed_up; in tb_available_bandwidth() 377 up_bw -= usb3_consumed_up; in tb_available_bandwidth() 380 if (up_bw < *available_up) in tb_available_bandwidth() 381 *available_up = up_bw; in tb_available_bandwidth() [all...] |
H A 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()
|
Completed in 8 milliseconds