Searched refs:consumed_up (Results 1 – 3 of 3) sorted by relevance
/linux-5.19.10/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 | 1956 int ret, consumed_up, consumed_down, allocate_up, allocate_down; in usb4_usb3_port_allocate_bandwidth() local 1962 ret = usb4_usb3_port_read_consumed_bandwidth(port, &consumed_up, in usb4_usb3_port_allocate_bandwidth() 1968 allocate_up = max(*upstream_bw, consumed_up); in usb4_usb3_port_allocate_bandwidth() 1998 int ret, consumed_up, consumed_down; in usb4_usb3_port_release_bandwidth() local 2004 ret = usb4_usb3_port_read_consumed_bandwidth(port, &consumed_up, in usb4_usb3_port_release_bandwidth() 2013 if (consumed_up < 1000) in usb4_usb3_port_release_bandwidth() 2014 consumed_up = 1000; in usb4_usb3_port_release_bandwidth() 2018 ret = usb4_usb3_port_write_allocated_bandwidth(port, consumed_up, in usb4_usb3_port_release_bandwidth() 2023 *upstream_bw = consumed_up; in usb4_usb3_port_release_bandwidth()
|