Home
last modified time | relevance | path

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

/openbmc/linux/drivers/thunderbolt/
H A Dtunnel.c986 static int tb_dp_allocated_bandwidth(struct tb_tunnel *tunnel, int *allocated_up, in tb_dp_allocated_bandwidth() argument
1011 *allocated_up = 0; in tb_dp_allocated_bandwidth()
1014 *allocated_up = allocated_bw; in tb_dp_allocated_bandwidth()
1020 return tunnel->consumed_bandwidth(tunnel, allocated_up, in tb_dp_allocated_bandwidth()
1780 tunnel->allocated_up, tunnel->allocated_down); in tb_usb3_init()
1783 &tunnel->allocated_up, in tb_usb3_init()
1811 *consumed_up = tunnel->allocated_up * in tb_usb3_consumed_bandwidth()
1829 &tunnel->allocated_up, in tb_usb3_release_unused_bandwidth()
1835 tunnel->allocated_up, tunnel->allocated_down); in tb_usb3_release_unused_bandwidth()
1865 if (tunnel->allocated_up >= max_rate && in tb_usb3_reclaim_available_bandwidth()
[all …]
H A Dtunnel.h60 int (*allocated_bandwidth)(struct tb_tunnel *tunnel, int *allocated_up,
74 int allocated_up; member
111 int tb_tunnel_allocated_bandwidth(struct tb_tunnel *tunnel, int *allocated_up,
H A Dtb.c2321 int allocated_up, allocated_down, available_up, available_down, ret; in tb_alloc_dp_bandwidth() local
2327 ret = tb_tunnel_allocated_bandwidth(tunnel, &allocated_up, &allocated_down); in tb_alloc_dp_bandwidth()
2335 allocated_up, allocated_down); in tb_alloc_dp_bandwidth()
2387 if ((*requested_up >= 0 && requested_up_corrected <= allocated_up) || in tb_alloc_dp_bandwidth()