Searched refs:consumed_up (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/drivers/thunderbolt/ |
D | tunnel.h | 64 int (*consumed_bandwidth)(struct tb_tunnel *tunnel, int *consumed_up, 113 int tb_tunnel_consumed_bandwidth(struct tb_tunnel *tunnel, int *consumed_up,
|
D | tunnel.c | 899 int *consumed_up, in tb_dp_bandwidth_mode_consumed_bandwidth() argument 928 *consumed_up = 0; in tb_dp_bandwidth_mode_consumed_bandwidth() 931 *consumed_up = allocated_bw; in tb_dp_bandwidth_mode_consumed_bandwidth() 1106 static int tb_dp_consumed_bandwidth(struct tb_tunnel *tunnel, int *consumed_up, in tb_dp_consumed_bandwidth() argument 1120 ret = tb_dp_bandwidth_mode_consumed_bandwidth(tunnel, consumed_up, in tb_dp_consumed_bandwidth() 1148 *consumed_up = 0; in tb_dp_consumed_bandwidth() 1154 *consumed_up = 0; in tb_dp_consumed_bandwidth() 1157 *consumed_up = tb_dp_bandwidth(rate, lanes); in tb_dp_consumed_bandwidth() 1759 int *consumed_up, int *consumed_down) in tb_usb3_consumed_bandwidth() argument 1767 *consumed_up = tunnel->allocated_up * (3 + pcie_enabled) / 3; in tb_usb3_consumed_bandwidth() [all …]
|
D | usb4.c | 2183 int ret, consumed_up, consumed_down, allocate_up, allocate_down; in usb4_usb3_port_allocate_bandwidth() local 2189 ret = usb4_usb3_port_read_consumed_bandwidth(port, &consumed_up, in usb4_usb3_port_allocate_bandwidth() 2195 allocate_up = max(*upstream_bw, consumed_up); in usb4_usb3_port_allocate_bandwidth() 2225 int ret, consumed_up, consumed_down; in usb4_usb3_port_release_bandwidth() local 2231 ret = usb4_usb3_port_read_consumed_bandwidth(port, &consumed_up, in usb4_usb3_port_release_bandwidth() 2240 if (consumed_up < 1000) in usb4_usb3_port_release_bandwidth() 2241 consumed_up = 1000; in usb4_usb3_port_release_bandwidth() 2245 ret = usb4_usb3_port_write_allocated_bandwidth(port, consumed_up, in usb4_usb3_port_release_bandwidth() 2250 *upstream_bw = consumed_up; in usb4_usb3_port_release_bandwidth()
|