Lines Matching refs:requested_up
1040 struct tb_port *dst_port, int requested_up, in tb_configure_asym() argument
1074 if (consumed_up + requested_up >= TB_ASYM_MIN) { in tb_configure_asym()
1090 if (consumed_up + requested_up < asym_threshold) in tb_configure_asym()
2533 static int tb_alloc_dp_bandwidth(struct tb_tunnel *tunnel, int *requested_up, in tb_alloc_dp_bandwidth() argument
2582 requested_up_corrected = *requested_up; in tb_alloc_dp_bandwidth()
2596 if ((*requested_up >= 0 && requested_up_corrected > max_up_rounded) || in tb_alloc_dp_bandwidth()
2609 if ((*requested_up >= 0 && requested_up_corrected <= allocated_up) || in tb_alloc_dp_bandwidth()
2624 reserved = allocated_up - *requested_up; in tb_alloc_dp_bandwidth()
2644 ret = tb_tunnel_alloc_bandwidth(tunnel, requested_up, in tb_alloc_dp_bandwidth()
2673 if ((*requested_up >= 0 && in tb_alloc_dp_bandwidth()
2683 ret = tb_configure_asym(tb, in, out, *requested_up, in tb_alloc_dp_bandwidth()
2690 ret = tb_tunnel_alloc_bandwidth(tunnel, requested_up, in tb_alloc_dp_bandwidth()
2701 if (*requested_up > available_up) in tb_alloc_dp_bandwidth()
2702 released = *requested_up - available_up; in tb_alloc_dp_bandwidth()
2734 int requested_bw, requested_up, requested_down, ret; in tb_handle_dp_bandwidth_request() local
2804 requested_up = -1; in tb_handle_dp_bandwidth_request()
2807 requested_up = requested_bw; in tb_handle_dp_bandwidth_request()
2811 ret = tb_alloc_dp_bandwidth(tunnel, &requested_up, &requested_down); in tb_handle_dp_bandwidth_request()
2843 requested_up, requested_down); in tb_handle_dp_bandwidth_request()