Searched refs:consumed_up (Results 1 – 3 of 3) sorted by relevance
/drivers/thunderbolt/ |
D | tunnel.h | 53 int (*consumed_bandwidth)(struct tb_tunnel *tunnel, int *consumed_up, 95 int tb_tunnel_consumed_bandwidth(struct tb_tunnel *tunnel, int *consumed_up,
|
D | tunnel.c | 637 static int tb_dp_consumed_bandwidth(struct tb_tunnel *tunnel, int *consumed_up, in tb_dp_consumed_bandwidth() argument 682 *consumed_up = 0; in tb_dp_consumed_bandwidth() 688 *consumed_up = 0; in tb_dp_consumed_bandwidth() 691 *consumed_up = tb_dp_bandwidth(rate, lanes); in tb_dp_consumed_bandwidth() 1238 int *consumed_up, int *consumed_down) in tb_usb3_consumed_bandwidth() argument 1246 *consumed_up = tunnel->allocated_up * (3 + pcie_enabled) / 3; in tb_usb3_consumed_bandwidth() 1728 int tb_tunnel_consumed_bandwidth(struct tb_tunnel *tunnel, int *consumed_up, in tb_tunnel_consumed_bandwidth() argument 1748 if (consumed_up) in tb_tunnel_consumed_bandwidth() 1749 *consumed_up = up_bw; in tb_tunnel_consumed_bandwidth()
|
D | usb4.c | 2137 int ret, consumed_up, consumed_down, allocate_up, allocate_down; in usb4_usb3_port_allocate_bandwidth() local 2143 ret = usb4_usb3_port_read_consumed_bandwidth(port, &consumed_up, in usb4_usb3_port_allocate_bandwidth() 2149 allocate_up = max(*upstream_bw, consumed_up); in usb4_usb3_port_allocate_bandwidth() 2179 int ret, consumed_up, consumed_down; in usb4_usb3_port_release_bandwidth() local 2185 ret = usb4_usb3_port_read_consumed_bandwidth(port, &consumed_up, in usb4_usb3_port_release_bandwidth() 2194 if (consumed_up < 1000) in usb4_usb3_port_release_bandwidth() 2195 consumed_up = 1000; in usb4_usb3_port_release_bandwidth() 2199 ret = usb4_usb3_port_write_allocated_bandwidth(port, consumed_up, in usb4_usb3_port_release_bandwidth() 2204 *upstream_bw = consumed_up; in usb4_usb3_port_release_bandwidth()
|