Home
last modified time | relevance | path

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

/openbmc/linux/drivers/thunderbolt/
H A Dtunnel.h58 int (*maximum_bandwidth)(struct tb_tunnel *tunnel, int *max_up,
72 int max_up; member
89 int max_up, int max_down);
99 struct tb_port *down, int max_up,
109 int tb_tunnel_maximum_bandwidth(struct tb_tunnel *tunnel, int *max_up,
H A Dtunnel.c683 max_bw = tunnel->max_up; in tb_dp_xchg_caps()
808 estimated_bw = tunnel->max_up; in tb_dp_bandwidth_alloc_mode_enable()
1123 static int tb_dp_maximum_bandwidth(struct tb_tunnel *tunnel, int *max_up, in tb_dp_maximum_bandwidth() argument
1137 *max_up = 0; in tb_dp_maximum_bandwidth()
1140 *max_up = ret; in tb_dp_maximum_bandwidth()
1433 int max_up, int max_down) in tb_tunnel_alloc_dp() argument
1455 tunnel->max_up = max_up; in tb_tunnel_alloc_dp()
2050 struct tb_port *down, int max_up, in tb_tunnel_alloc_usb3() argument
2061 if (max_up > 0 || max_down > 0) { in tb_tunnel_alloc_usb3()
2071 if (max_rate > max_up || max_rate > max_down) { in tb_tunnel_alloc_usb3()
[all …]
H A Dtb.c795 int *max_up, int *max_down, bool include_asym) in tb_maximum_bandwidth() argument
873 *max_up = up_bw - up_bw / 10; in tb_maximum_bandwidth()
876 tb_port_dbg(port, "link maximum bandwidth %d/%d Mb/s\n", *max_up, *max_down); in tb_maximum_bandwidth()
911 int max_up, max_down, consumed_up, consumed_down; in tb_available_bandwidth() local
917 &max_up, &max_down, include_asym); in tb_available_bandwidth()
926 max_up -= consumed_up; in tb_available_bandwidth()
933 max_up -= consumed_up; in tb_available_bandwidth()
936 if (max_up < *available_up) in tb_available_bandwidth()
937 *available_up = max_up; in tb_available_bandwidth()
2323 int max_up, max_down, max_up_rounded, max_down_rounded; in tb_alloc_dp_bandwidth() local
[all …]