Lines Matching defs:tb
43 struct tb *tb; member
51 static void tb_queue_hotplug(struct tb *tb, u64 route, u8 port, bool unplug) in tb_queue_hotplug()
107 struct tb *tb = sw->tb; in tb_discover_tunnels() local
182 struct tb *tb = sw->tb; in tb_scan_xdomain() local
256 static struct tb_tunnel *tb_find_tunnel(struct tb *tb, enum tb_tunnel_type type, in tb_find_tunnel()
274 static struct tb_tunnel *tb_find_first_usb3_tunnel(struct tb *tb, in tb_find_first_usb3_tunnel()
301 static int tb_available_bandwidth(struct tb *tb, struct tb_port *src_port, in tb_available_bandwidth()
394 static int tb_release_unused_usb3_bandwidth(struct tb *tb, in tb_release_unused_usb3_bandwidth()
404 static void tb_reclaim_usb3_bandwidth(struct tb *tb, struct tb_port *src_port, in tb_reclaim_usb3_bandwidth()
433 static int tb_tunnel_usb3(struct tb *tb, struct tb_switch *sw) in tb_tunnel_usb3()
670 struct tb *tb; in tb_deactivate_and_free_tunnel() local
714 static void tb_free_invalid_tunnels(struct tb *tb) in tb_free_invalid_tunnels()
801 static struct tb_port *tb_find_dp_out(struct tb *tb, struct tb_port *in) in tb_find_dp_out()
838 static void tb_tunnel_dp(struct tb *tb) in tb_tunnel_dp()
939 static void tb_dp_resource_unavailable(struct tb *tb, struct tb_port *port) in tb_dp_resource_unavailable()
965 static void tb_dp_resource_available(struct tb *tb, struct tb_port *port) in tb_dp_resource_available()
986 static void tb_disconnect_and_release_dp(struct tb *tb) in tb_disconnect_and_release_dp()
1009 static int tb_tunnel_pci(struct tb *tb, struct tb_switch *sw) in tb_tunnel_pci()
1045 static int tb_approve_xdomain_paths(struct tb *tb, struct tb_xdomain *xd) in tb_approve_xdomain_paths()
1078 static void __tb_disconnect_xdomain_paths(struct tb *tb, struct tb_xdomain *xd) in __tb_disconnect_xdomain_paths()
1096 static int tb_disconnect_xdomain_paths(struct tb *tb, struct tb_xdomain *xd) in tb_disconnect_xdomain_paths()
1116 struct tb *tb = ev->tb; in tb_handle_hotplug() local
1222 static void tb_handle_event(struct tb *tb, enum tb_cfg_pkg_type type, in tb_handle_event()
1243 static void tb_stop(struct tb *tb) in tb_stop()
1286 static int tb_start(struct tb *tb) in tb_start()
1339 static int tb_suspend_noirq(struct tb *tb) in tb_suspend_noirq()
1378 static int tb_resume_noirq(struct tb *tb) in tb_resume_noirq()
1431 static int tb_freeze_noirq(struct tb *tb) in tb_freeze_noirq()
1439 static int tb_thaw_noirq(struct tb *tb) in tb_thaw_noirq()
1447 static void tb_complete(struct tb *tb) in tb_complete()
1460 static int tb_runtime_suspend(struct tb *tb) in tb_runtime_suspend()
1475 struct tb *tb = tcm_to_tb(tcm); in tb_remove_work() local
1485 static int tb_runtime_resume(struct tb *tb) in tb_runtime_resume()
1527 struct tb *tb; in tb_probe() local