Lines Matching defs:tunnel

49 #define __TB_TUNNEL_PRINT(level, tunnel, fmt, arg...)                   \  argument
61 #define tb_tunnel_WARN(tunnel, fmt, arg...) \ argument
63 #define tb_tunnel_warn(tunnel, fmt, arg...) \ argument
65 #define tb_tunnel_info(tunnel, fmt, arg...) \ argument
67 #define tb_tunnel_dbg(tunnel, fmt, arg...) \ argument
125 struct tb_tunnel *tunnel; in tb_tunnel_alloc() local
145 static int tb_pci_activate(struct tb_tunnel *tunnel, bool activate) in tb_pci_activate()
222 struct tb_tunnel *tunnel; in tb_tunnel_discover_pci() local
302 struct tb_tunnel *tunnel; in tb_tunnel_alloc_pci() local
504 static int tb_dp_xchg_caps(struct tb_tunnel *tunnel) in tb_dp_xchg_caps()
600 static int tb_dp_activate(struct tb_tunnel *tunnel, bool active) in tb_dp_activate()
637 static int tb_dp_consumed_bandwidth(struct tb_tunnel *tunnel, int *consumed_up, in tb_dp_consumed_bandwidth()
790 struct tb_tunnel *tunnel; in tb_tunnel_discover_dp() local
879 struct tb_tunnel *tunnel; in tb_tunnel_alloc_dp() local
1052 static void tb_dma_deinit(struct tb_tunnel *tunnel) in tb_dma_deinit()
1082 struct tb_tunnel *tunnel; in tb_tunnel_alloc_dma() local
1150 bool tb_tunnel_match_dma(const struct tb_tunnel *tunnel, int transmit_path, in tb_tunnel_match_dma()
1213 static int tb_usb3_init(struct tb_tunnel *tunnel) in tb_usb3_init()
1223 static int tb_usb3_activate(struct tb_tunnel *tunnel, bool activate) in tb_usb3_activate()
1237 static int tb_usb3_consumed_bandwidth(struct tb_tunnel *tunnel, in tb_usb3_consumed_bandwidth()
1251 static int tb_usb3_release_unused_bandwidth(struct tb_tunnel *tunnel) in tb_usb3_release_unused_bandwidth()
1266 static void tb_usb3_reclaim_available_bandwidth(struct tb_tunnel *tunnel, in tb_usb3_reclaim_available_bandwidth()
1374 struct tb_tunnel *tunnel; in tb_tunnel_discover_usb3() local
1480 struct tb_tunnel *tunnel; in tb_tunnel_alloc_usb3() local
1553 void tb_tunnel_free(struct tb_tunnel *tunnel) in tb_tunnel_free()
1576 bool tb_tunnel_is_invalid(struct tb_tunnel *tunnel) in tb_tunnel_is_invalid()
1595 int tb_tunnel_restart(struct tb_tunnel *tunnel) in tb_tunnel_restart()
1644 int tb_tunnel_activate(struct tb_tunnel *tunnel) in tb_tunnel_activate()
1663 void tb_tunnel_deactivate(struct tb_tunnel *tunnel) in tb_tunnel_deactivate()
1686 bool tb_tunnel_port_on_path(const struct tb_tunnel *tunnel, in tb_tunnel_port_on_path()
1702 static bool tb_tunnel_is_active(const struct tb_tunnel *tunnel) in tb_tunnel_is_active()
1728 int tb_tunnel_consumed_bandwidth(struct tb_tunnel *tunnel, int *consumed_up, in tb_tunnel_consumed_bandwidth()
1765 int tb_tunnel_release_unused_bandwidth(struct tb_tunnel *tunnel) in tb_tunnel_release_unused_bandwidth()
1792 void tb_tunnel_reclaim_available_bandwidth(struct tb_tunnel *tunnel, in tb_tunnel_reclaim_available_bandwidth()