Lines Matching defs:tb
72 struct tb *tb; member
186 static void tb_queue_hotplug(struct tb *tb, u64 route, u8 port, bool unplug) in tb_queue_hotplug()
250 static void tb_discover_dp_resource(struct tb *tb, struct tb_port *port) in tb_discover_dp_resource()
265 static void tb_discover_dp_resources(struct tb *tb) in tb_discover_dp_resources()
439 struct tb *tb = sw->tb; in tb_switch_discover_tunnels() local
475 static void tb_discover_tunnels(struct tb *tb) in tb_discover_tunnels()
521 struct tb *tb = sw->tb; in tb_scan_xdomain() local
579 static struct tb_tunnel *tb_find_tunnel(struct tb *tb, enum tb_tunnel_type type, in tb_find_tunnel()
597 static struct tb_tunnel *tb_find_first_usb3_tunnel(struct tb *tb, in tb_find_first_usb3_tunnel()
637 static int tb_consumed_usb3_pcie_bandwidth(struct tb *tb, in tb_consumed_usb3_pcie_bandwidth()
685 static int tb_consumed_dp_bandwidth(struct tb *tb, in tb_consumed_dp_bandwidth()
765 static int tb_maximum_bandwidth(struct tb *tb, struct tb_port *src_port, in tb_maximum_bandwidth()
871 static int tb_available_bandwidth(struct tb *tb, struct tb_port *src_port, in tb_available_bandwidth()
922 static int tb_release_unused_usb3_bandwidth(struct tb *tb, in tb_release_unused_usb3_bandwidth()
932 static void tb_reclaim_usb3_bandwidth(struct tb *tb, struct tb_port *src_port, in tb_reclaim_usb3_bandwidth()
961 static int tb_tunnel_usb3(struct tb *tb, struct tb_switch *sw) in tb_tunnel_usb3()
1084 static int tb_configure_asym(struct tb *tb, struct tb_port *src_port, in tb_configure_asym()
1192 static int tb_configure_sym(struct tb *tb, struct tb_port *src_port, in tb_configure_sym()
1281 struct tb *tb = sw->tb; in tb_configure_link() local
1470 struct tb *tb; in tb_deactivate_and_free_tunnel() local
1520 static void tb_free_invalid_tunnels(struct tb *tb) in tb_free_invalid_tunnels()
1612 struct tb *tb = group->tb; in tb_recalc_estimated_bandwidth_for_group() local
1686 static void tb_recalc_estimated_bandwidth(struct tb *tb) in tb_recalc_estimated_bandwidth()
1703 static struct tb_port *tb_find_dp_out(struct tb *tb, struct tb_port *in) in tb_find_dp_out()
1740 static bool tb_tunnel_one_dp(struct tb *tb) in tb_tunnel_one_dp()
1879 static void tb_tunnel_dp(struct tb *tb) in tb_tunnel_dp()
1890 static void tb_dp_resource_unavailable(struct tb *tb, struct tb_port *port) in tb_dp_resource_unavailable()
1917 static void tb_dp_resource_available(struct tb *tb, struct tb_port *port) in tb_dp_resource_available()
1938 static void tb_disconnect_and_release_dp(struct tb *tb) in tb_disconnect_and_release_dp()
1961 static int tb_disconnect_pci(struct tb *tb, struct tb_switch *sw) in tb_disconnect_pci()
1982 static int tb_tunnel_pci(struct tb *tb, struct tb_switch *sw) in tb_tunnel_pci()
2026 static int tb_approve_xdomain_paths(struct tb *tb, struct tb_xdomain *xd, in tb_approve_xdomain_paths()
2075 static void __tb_disconnect_xdomain_paths(struct tb *tb, struct tb_xdomain *xd, in __tb_disconnect_xdomain_paths()
2107 static int tb_disconnect_xdomain_paths(struct tb *tb, struct tb_xdomain *xd, in tb_disconnect_xdomain_paths()
2131 struct tb *tb = ev->tb; in tb_handle_hotplug() local
2246 struct tb *tb = tunnel->tb; in tb_alloc_dp_bandwidth() local
2384 struct tb *tb = ev->tb; in tb_handle_dp_bandwidth_request() local
2470 static void tb_queue_dp_bandwidth_request(struct tb *tb, u64 route, u8 port) in tb_queue_dp_bandwidth_request()
2485 static void tb_handle_notification(struct tb *tb, u64 route, in tb_handle_notification()
2516 static void tb_handle_event(struct tb *tb, enum tb_cfg_pkg_type type, in tb_handle_event()
2541 static void tb_stop(struct tb *tb) in tb_stop()
2584 static int tb_start(struct tb *tb) in tb_start()
2647 static int tb_suspend_noirq(struct tb *tb) in tb_suspend_noirq()
2692 static int tb_resume_noirq(struct tb *tb) in tb_resume_noirq()
2770 static int tb_freeze_noirq(struct tb *tb) in tb_freeze_noirq()
2778 static int tb_thaw_noirq(struct tb *tb) in tb_thaw_noirq()
2786 static void tb_complete(struct tb *tb) in tb_complete()
2799 static int tb_runtime_suspend(struct tb *tb) in tb_runtime_suspend()
2814 struct tb *tb = tcm_to_tb(tcm); in tb_remove_work() local
2824 static int tb_runtime_resume(struct tb *tb) in tb_runtime_resume()
2935 struct tb *tb; in tb_probe() local