Home
last modified time | relevance | path

Searched refs:allocated_up (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/thunderbolt/
H A Dtunnel.c1274 static int tb_dp_allocated_bandwidth(struct tb_tunnel *tunnel, int *allocated_up, in tb_dp_allocated_bandwidth() argument
1299 *allocated_up = 0; in tb_dp_allocated_bandwidth()
1302 *allocated_up = allocated_bw; in tb_dp_allocated_bandwidth()
1308 return tunnel->consumed_bandwidth(tunnel, allocated_up, in tb_dp_allocated_bandwidth()
2074 tunnel->allocated_up, tunnel->allocated_down); in tb_usb3_pre_activate()
2077 &tunnel->allocated_up, in tb_usb3_pre_activate()
2105 *consumed_up = tunnel->allocated_up * in tb_usb3_consumed_bandwidth()
2123 &tunnel->allocated_up, in tb_usb3_release_unused_bandwidth()
2129 tunnel->allocated_up, tunnel->allocated_down); in tb_usb3_release_unused_bandwidth()
2152 if (tunnel->allocated_up >= max_rate && in tb_usb3_reclaim_available_bandwidth()
[all …]
H A Dtunnel.h85 int (*allocated_bandwidth)(struct tb_tunnel *tunnel, int *allocated_up,
100 int allocated_up; member
164 int tb_tunnel_allocated_bandwidth(struct tb_tunnel *tunnel, int *allocated_up,
H A Dtb.c2551 int allocated_up, allocated_down, available_up, available_down, ret; in tb_alloc_dp_bandwidth() local
2559 ret = tb_tunnel_allocated_bandwidth(tunnel, &allocated_up, &allocated_down); in tb_alloc_dp_bandwidth()
2567 allocated_up, allocated_down); in tb_alloc_dp_bandwidth()
2624 if ((*requested_up >= 0 && requested_up_corrected <= allocated_up) || in tb_alloc_dp_bandwidth()
2639 reserved = allocated_up - *requested_up; in tb_alloc_dp_bandwidth()
2738 allocated_up, allocated_down); in tb_alloc_dp_bandwidth()
2739 tb_tunnel_alloc_bandwidth(tunnel, &allocated_up, &allocated_down); in tb_alloc_dp_bandwidth()