Searched refs:allocated_up (Results 1 - 5 of 5) sorted by relevance
/kernel/linux/linux-6.6/drivers/thunderbolt/ |
H A D | tunnel.h | 44 * @allocated_up: Allocated upstream bandwidth (only for USB3) 60 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,
|
H A D | tunnel.c | 938 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 > in tb_usb3_reclaim_available_bandwidth() 2268 tb_tunnel_allocated_bandwidth(struct tb_tunnel *tunnel, int *allocated_up, int *allocated_down) tb_tunnel_allocated_bandwidth() argument [all...] |
H A D | tb.c | 1771 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()
|
/kernel/linux/linux-5.10/drivers/thunderbolt/ |
H A D | tunnel.c | 899 tunnel->allocated_up, tunnel->allocated_down); in tb_usb3_init() 902 &tunnel->allocated_up, in tb_usb3_init() 927 *consumed_up = tunnel->allocated_up * (3 + 1) / 3; in tb_usb3_consumed_bandwidth() 937 &tunnel->allocated_up, in tb_usb3_release_unused_bandwidth() 943 tunnel->allocated_up, tunnel->allocated_down); in tb_usb3_release_unused_bandwidth() 973 if (tunnel->allocated_up >= max_rate && in tb_usb3_reclaim_available_bandwidth() 979 if (allocate_up < tunnel->allocated_up) in tb_usb3_reclaim_available_bandwidth() 980 allocate_up = tunnel->allocated_up; in tb_usb3_reclaim_available_bandwidth() 987 if (allocate_up == tunnel->allocated_up && in tb_usb3_reclaim_available_bandwidth() 998 tunnel->allocated_up in tb_usb3_reclaim_available_bandwidth() [all...] |
H A D | tunnel.h | 40 * @allocated_up: Allocated upstream bandwidth (only for USB3) 61 int allocated_up; member
|
Completed in 9 milliseconds