Lines Matching defs:tunnel

42 #define __TB_TUNNEL_PRINT(level, tunnel, fmt, arg...)                   \  argument
54 #define tb_tunnel_WARN(tunnel, fmt, arg...) \ argument
56 #define tb_tunnel_warn(tunnel, fmt, arg...) \ argument
58 #define tb_tunnel_info(tunnel, fmt, arg...) \ argument
60 #define tb_tunnel_dbg(tunnel, fmt, arg...) \ argument
66 struct tb_tunnel *tunnel; in tb_tunnel_alloc() local
86 static int tb_pci_activate(struct tb_tunnel *tunnel, bool activate) in tb_pci_activate()
143 struct tb_tunnel *tunnel; in tb_tunnel_discover_pci() local
221 struct tb_tunnel *tunnel; in tb_tunnel_alloc_pci() local
421 static int tb_dp_xchg_caps(struct tb_tunnel *tunnel) in tb_dp_xchg_caps()
507 static int tb_dp_activate(struct tb_tunnel *tunnel, bool active) in tb_dp_activate()
544 static int tb_dp_consumed_bandwidth(struct tb_tunnel *tunnel, int *consumed_up, in tb_dp_consumed_bandwidth()
656 struct tb_tunnel *tunnel; in tb_tunnel_discover_dp() local
742 struct tb_tunnel *tunnel; in tb_tunnel_alloc_dp() local
800 static int tb_dma_activate(struct tb_tunnel *tunnel, bool active) in tb_dma_activate()
845 struct tb_tunnel *tunnel; in tb_tunnel_alloc_dma() local
896 static int tb_usb3_init(struct tb_tunnel *tunnel) in tb_usb3_init()
906 static int tb_usb3_activate(struct tb_tunnel *tunnel, bool activate) in tb_usb3_activate()
920 static int tb_usb3_consumed_bandwidth(struct tb_tunnel *tunnel, in tb_usb3_consumed_bandwidth()
932 static int tb_usb3_release_unused_bandwidth(struct tb_tunnel *tunnel) in tb_usb3_release_unused_bandwidth()
947 static void tb_usb3_reclaim_available_bandwidth(struct tb_tunnel *tunnel, in tb_usb3_reclaim_available_bandwidth()
1035 struct tb_tunnel *tunnel; in tb_tunnel_discover_usb3() local
1141 struct tb_tunnel *tunnel; in tb_tunnel_alloc_usb3() local
1214 void tb_tunnel_free(struct tb_tunnel *tunnel) in tb_tunnel_free()
1234 bool tb_tunnel_is_invalid(struct tb_tunnel *tunnel) in tb_tunnel_is_invalid()
1253 int tb_tunnel_restart(struct tb_tunnel *tunnel) in tb_tunnel_restart()
1302 int tb_tunnel_activate(struct tb_tunnel *tunnel) in tb_tunnel_activate()
1321 void tb_tunnel_deactivate(struct tb_tunnel *tunnel) in tb_tunnel_deactivate()
1344 bool tb_tunnel_port_on_path(const struct tb_tunnel *tunnel, in tb_tunnel_port_on_path()
1360 static bool tb_tunnel_is_active(const struct tb_tunnel *tunnel) in tb_tunnel_is_active()
1386 int tb_tunnel_consumed_bandwidth(struct tb_tunnel *tunnel, int *consumed_up, in tb_tunnel_consumed_bandwidth()
1423 int tb_tunnel_release_unused_bandwidth(struct tb_tunnel *tunnel) in tb_tunnel_release_unused_bandwidth()
1450 void tb_tunnel_reclaim_available_bandwidth(struct tb_tunnel *tunnel, in tb_tunnel_reclaim_available_bandwidth()