Home
last modified time | relevance | path

Searched refs:down_bw (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-6.6/drivers/thunderbolt/
H A Dtb.c604 int link_speed, link_width, up_bw, down_bw; in tb_available_bandwidth() local
618 down_bw = link_speed * 1 * 1000; in tb_available_bandwidth()
621 down_bw = link_speed * 3 * 1000; in tb_available_bandwidth()
624 down_bw = up_bw; in tb_available_bandwidth()
637 down_bw = link_speed * 3 * 1000; in tb_available_bandwidth()
640 down_bw = link_speed * 1 * 1000; in tb_available_bandwidth()
643 down_bw = up_bw; in tb_available_bandwidth()
649 down_bw -= down_bw / 10; in tb_available_bandwidth()
652 down_bw); in tb_available_bandwidth()
[all...]
H A Dtunnel.c2318 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()
2331 down_bw); in tb_tunnel_consumed_bandwidth()
2338 *consumed_down = down_bw; in tb_tunnel_consumed_bandwidth()
/kernel/linux/linux-5.10/drivers/thunderbolt/
H A Dtb.c326 int link_speed, link_width, up_bw, down_bw; in tb_available_bandwidth() local
344 down_bw = up_bw; in tb_available_bandwidth()
368 down_bw -= dp_consumed_down; in tb_available_bandwidth()
378 down_bw -= usb3_consumed_down; in tb_available_bandwidth()
382 if (down_bw < *available_down) in tb_available_bandwidth()
383 *available_down = down_bw; in tb_available_bandwidth()
H A Dtunnel.c1389 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()
1402 down_bw); in tb_tunnel_consumed_bandwidth()
1409 *consumed_down = down_bw; in tb_tunnel_consumed_bandwidth()

Completed in 8 milliseconds