Searched refs:allocated_up (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/thunderbolt/ |
| H A D | tunnel.c | 1234 static int tb_dp_allocated_bandwidth(struct tb_tunnel *tunnel, int *allocated_up, in tb_dp_allocated_bandwidth() argument 1259 *allocated_up = 0; in tb_dp_allocated_bandwidth() 1262 *allocated_up = allocated_bw; in tb_dp_allocated_bandwidth() 1268 return tunnel->consumed_bandwidth(tunnel, allocated_up, in tb_dp_allocated_bandwidth() 2018 tunnel->allocated_up, tunnel->allocated_down); in tb_usb3_pre_activate() 2021 &tunnel->allocated_up, in tb_usb3_pre_activate() 2049 *consumed_up = tunnel->allocated_up * in tb_usb3_consumed_bandwidth() 2067 &tunnel->allocated_up, in tb_usb3_release_unused_bandwidth() 2073 tunnel->allocated_up, tunnel->allocated_down); in tb_usb3_release_unused_bandwidth() 2096 if (tunnel->allocated_up >= max_rate && in tb_usb3_reclaim_available_bandwidth() [all …]
|
| H A D | tb.c | 2536 int allocated_up, allocated_down, available_up, available_down, ret; in tb_alloc_dp_bandwidth() local 2544 ret = tb_tunnel_allocated_bandwidth(tunnel, &allocated_up, &allocated_down); in tb_alloc_dp_bandwidth() 2552 allocated_up, allocated_down); 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() 2723 allocated_up, allocated_down); in tb_alloc_dp_bandwidth() 2724 tb_tunnel_alloc_bandwidth(tunnel, &allocated_up, &allocated_down); in tb_alloc_dp_bandwidth()
|