Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/thunderbolt/
H A Dtb.c326 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()
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()
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()