Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/thunderbolt/
Dtunnel.h60 int (*allocated_bandwidth)(struct tb_tunnel *tunnel, int *allocated_up,
74 int allocated_up; member
109 int tb_tunnel_allocated_bandwidth(struct tb_tunnel *tunnel, int *allocated_up,
Dtunnel.c938 static int tb_dp_allocated_bandwidth(struct tb_tunnel *tunnel, int *allocated_up, in tb_dp_allocated_bandwidth() argument
963 *allocated_up = 0; in tb_dp_allocated_bandwidth()
966 *allocated_up = allocated_bw; in tb_dp_allocated_bandwidth()
972 return tunnel->consumed_bandwidth(tunnel, allocated_up, in tb_dp_allocated_bandwidth()
1737 tunnel->allocated_up, tunnel->allocated_down); in tb_usb3_init()
1740 &tunnel->allocated_up, in tb_usb3_init()
1767 *consumed_up = tunnel->allocated_up * (3 + pcie_enabled) / 3; in tb_usb3_consumed_bandwidth()
1777 &tunnel->allocated_up, in tb_usb3_release_unused_bandwidth()
1783 tunnel->allocated_up, tunnel->allocated_down); in tb_usb3_release_unused_bandwidth()
1813 if (tunnel->allocated_up >= max_rate && in tb_usb3_reclaim_available_bandwidth()
[all …]
Dtb.c1771 int allocated_up, allocated_down, available_up, available_down, ret; in tb_alloc_dp_bandwidth() local
1777 ret = tb_tunnel_allocated_bandwidth(tunnel, &allocated_up, &allocated_down); in tb_alloc_dp_bandwidth()
1785 allocated_up, allocated_down); in tb_alloc_dp_bandwidth()
1837 if ((*requested_up >= 0 && requested_up_corrected <= allocated_up) || in tb_alloc_dp_bandwidth()