Lines Matching refs:available_up
346 struct tb_port *dst_port, int *available_up, int *available_down) in tb_available_bandwidth() argument
366 *available_up = *available_down = 40000; in tb_available_bandwidth()
424 if (up_bw < *available_up) in tb_available_bandwidth()
425 *available_up = up_bw; in tb_available_bandwidth()
430 if (*available_up < 0) in tb_available_bandwidth()
431 *available_up = 0; in tb_available_bandwidth()
451 int ret, available_up, available_down; in tb_reclaim_usb3_bandwidth() local
465 &available_up, &available_down); in tb_reclaim_usb3_bandwidth()
472 available_up, available_down); in tb_reclaim_usb3_bandwidth()
474 tb_tunnel_reclaim_available_bandwidth(tunnel, &available_up, &available_down); in tb_reclaim_usb3_bandwidth()
480 int ret, available_up, available_down; in tb_tunnel_usb3() local
523 ret = tb_available_bandwidth(tb, down, up, &available_up, in tb_tunnel_usb3()
529 available_up, available_down); in tb_tunnel_usb3()
531 tunnel = tb_tunnel_alloc_usb3(tb, up, down, available_up, in tb_tunnel_usb3()
921 int available_up, available_down, ret, link_nr; in tb_tunnel_dp() local
1003 ret = tb_available_bandwidth(tb, in, out, &available_up, in tb_tunnel_dp()
1009 available_up, available_down); in tb_tunnel_dp()
1011 tunnel = tb_tunnel_alloc_dp(tb, in, out, link_nr, available_up, in tb_tunnel_dp()