Lines Matching refs:requested_up
1034 struct tb_port *dst_port, int requested_up, in tb_configure_asym() argument
1068 if (consumed_up + requested_up >= TB_ASYM_MIN) { in tb_configure_asym()
1084 if (consumed_up + requested_up < asym_threshold) in tb_configure_asym()
2525 static int tb_alloc_dp_bandwidth(struct tb_tunnel *tunnel, int *requested_up, in tb_alloc_dp_bandwidth() argument
2574 requested_up_corrected = *requested_up; in tb_alloc_dp_bandwidth()
2588 if ((*requested_up >= 0 && requested_up_corrected > max_up_rounded) || in tb_alloc_dp_bandwidth()
2601 if ((*requested_up >= 0 && requested_up_corrected <= allocated_up) || in tb_alloc_dp_bandwidth()
2616 reserved = allocated_up - *requested_up; in tb_alloc_dp_bandwidth()
2636 ret = tb_tunnel_alloc_bandwidth(tunnel, requested_up, in tb_alloc_dp_bandwidth()
2665 if ((*requested_up >= 0 && in tb_alloc_dp_bandwidth()
2675 ret = tb_configure_asym(tb, in, out, *requested_up, in tb_alloc_dp_bandwidth()
2682 ret = tb_tunnel_alloc_bandwidth(tunnel, requested_up, in tb_alloc_dp_bandwidth()
2693 if (*requested_up > available_up) in tb_alloc_dp_bandwidth()
2694 released = *requested_up - available_up; in tb_alloc_dp_bandwidth()
2726 int requested_bw, requested_up, requested_down, ret; in tb_handle_dp_bandwidth_request() local
2796 requested_up = -1; in tb_handle_dp_bandwidth_request()
2799 requested_up = requested_bw; in tb_handle_dp_bandwidth_request()
2803 ret = tb_alloc_dp_bandwidth(tunnel, &requested_up, &requested_down); in tb_handle_dp_bandwidth_request()
2835 requested_up, requested_down); in tb_handle_dp_bandwidth_request()