Lines Matching defs:tunnel

61 #define __TB_TUNNEL_PRINT(level, tunnel, fmt, arg...)                   \  argument
73 #define tb_tunnel_WARN(tunnel, fmt, arg...) \ argument
75 #define tb_tunnel_warn(tunnel, fmt, arg...) \ argument
77 #define tb_tunnel_info(tunnel, fmt, arg...) \ argument
79 #define tb_tunnel_dbg(tunnel, fmt, arg...) \ argument
137 struct tb_tunnel *tunnel; in tb_tunnel_alloc() local
157 static int tb_pci_set_ext_encapsulation(struct tb_tunnel *tunnel, bool enable) in tb_pci_set_ext_encapsulation()
179 static int tb_pci_activate(struct tb_tunnel *tunnel, bool activate) in tb_pci_activate()
265 struct tb_tunnel *tunnel; in tb_tunnel_discover_pci() local
345 struct tb_tunnel *tunnel; in tb_tunnel_alloc_pci() local
576 static int tb_dp_xchg_caps(struct tb_tunnel *tunnel) in tb_dp_xchg_caps()
672 static int tb_dp_bandwidth_alloc_mode_enable(struct tb_tunnel *tunnel) in tb_dp_bandwidth_alloc_mode_enable()
774 static int tb_dp_init(struct tb_tunnel *tunnel) in tb_dp_init()
800 static void tb_dp_deinit(struct tb_tunnel *tunnel) in tb_dp_deinit()
812 static int tb_dp_activate(struct tb_tunnel *tunnel, bool active) in tb_dp_activate()
850 static int tb_dp_bandwidth_mode_maximum_bandwidth(struct tb_tunnel *tunnel, in tb_dp_bandwidth_mode_maximum_bandwidth()
898 static int tb_dp_bandwidth_mode_consumed_bandwidth(struct tb_tunnel *tunnel, in tb_dp_bandwidth_mode_consumed_bandwidth()
938 static int tb_dp_allocated_bandwidth(struct tb_tunnel *tunnel, int *allocated_up, in tb_dp_allocated_bandwidth()
976 static int tb_dp_alloc_bandwidth(struct tb_tunnel *tunnel, int *alloc_up, in tb_dp_alloc_bandwidth()
1015 static int tb_dp_read_dprx(struct tb_tunnel *tunnel, u32 *rate, u32 *lanes, in tb_dp_read_dprx()
1049 static int tb_dp_read_cap(struct tb_tunnel *tunnel, unsigned int cap, u32 *rate, in tb_dp_read_cap()
1082 static int tb_dp_maximum_bandwidth(struct tb_tunnel *tunnel, int *max_up, in tb_dp_maximum_bandwidth()
1106 static int tb_dp_consumed_bandwidth(struct tb_tunnel *tunnel, int *consumed_up, in tb_dp_consumed_bandwidth()
1241 static void tb_dp_dump(struct tb_tunnel *tunnel) in tb_dp_dump()
1297 struct tb_tunnel *tunnel; in tb_tunnel_discover_dp() local
1392 struct tb_tunnel *tunnel; in tb_tunnel_alloc_dp() local
1569 static void tb_dma_deinit(struct tb_tunnel *tunnel) in tb_dma_deinit()
1599 struct tb_tunnel *tunnel; in tb_tunnel_alloc_dma() local
1671 bool tb_tunnel_match_dma(const struct tb_tunnel *tunnel, int transmit_path, in tb_tunnel_match_dma()
1734 static int tb_usb3_init(struct tb_tunnel *tunnel) in tb_usb3_init()
1744 static int tb_usb3_activate(struct tb_tunnel *tunnel, bool activate) in tb_usb3_activate()
1758 static int tb_usb3_consumed_bandwidth(struct tb_tunnel *tunnel, in tb_usb3_consumed_bandwidth()
1772 static int tb_usb3_release_unused_bandwidth(struct tb_tunnel *tunnel) in tb_usb3_release_unused_bandwidth()
1787 static void tb_usb3_reclaim_available_bandwidth(struct tb_tunnel *tunnel, in tb_usb3_reclaim_available_bandwidth()
1895 struct tb_tunnel *tunnel; in tb_tunnel_discover_usb3() local
2001 struct tb_tunnel *tunnel; in tb_tunnel_alloc_usb3() local
2074 void tb_tunnel_free(struct tb_tunnel *tunnel) in tb_tunnel_free()
2097 bool tb_tunnel_is_invalid(struct tb_tunnel *tunnel) in tb_tunnel_is_invalid()
2116 int tb_tunnel_restart(struct tb_tunnel *tunnel) in tb_tunnel_restart()
2165 int tb_tunnel_activate(struct tb_tunnel *tunnel) in tb_tunnel_activate()
2184 void tb_tunnel_deactivate(struct tb_tunnel *tunnel) in tb_tunnel_deactivate()
2207 bool tb_tunnel_port_on_path(const struct tb_tunnel *tunnel, in tb_tunnel_port_on_path()
2223 static bool tb_tunnel_is_active(const struct tb_tunnel *tunnel) in tb_tunnel_is_active()
2247 int tb_tunnel_maximum_bandwidth(struct tb_tunnel *tunnel, int *max_up, in tb_tunnel_maximum_bandwidth()
2268 int tb_tunnel_allocated_bandwidth(struct tb_tunnel *tunnel, int *allocated_up, in tb_tunnel_allocated_bandwidth()
2291 int tb_tunnel_alloc_bandwidth(struct tb_tunnel *tunnel, int *alloc_up, in tb_tunnel_alloc_bandwidth()
2315 int tb_tunnel_consumed_bandwidth(struct tb_tunnel *tunnel, int *consumed_up, in tb_tunnel_consumed_bandwidth()
2352 int tb_tunnel_release_unused_bandwidth(struct tb_tunnel *tunnel) in tb_tunnel_release_unused_bandwidth()
2379 void tb_tunnel_reclaim_available_bandwidth(struct tb_tunnel *tunnel, in tb_tunnel_reclaim_available_bandwidth()