Lines Matching refs:tb_switch
72 static void tb_add_dp_resources(struct tb_switch *sw) in tb_add_dp_resources()
89 static void tb_remove_dp_resources(struct tb_switch *sw) in tb_remove_dp_resources()
108 static void tb_discover_tunnels(struct tb_switch *sw) in tb_discover_tunnels()
138 struct tb_switch *parent = tunnel->dst_port->sw; in tb_discover_tunnels()
184 struct tb_switch *sw = port->sw; in tb_scan_xdomain()
208 static int tb_enable_tmu(struct tb_switch *sw) in tb_enable_tmu()
232 static struct tb_port *tb_find_unused_port(struct tb_switch *sw, in tb_find_unused_port()
251 static struct tb_port *tb_find_usb3_down(struct tb_switch *sw, in tb_find_usb3_down()
285 struct tb_switch *sw; in tb_find_first_usb3_tunnel()
439 static int tb_tunnel_usb3(struct tb *tb, struct tb_switch *sw) in tb_tunnel_usb3()
441 struct tb_switch *parent = tb_switch_parent(sw); in tb_tunnel_usb3()
522 static int tb_create_usb3_tunnels(struct tb_switch *sw) in tb_create_usb3_tunnels()
552 static void tb_scan_switch(struct tb_switch *sw) in tb_scan_switch()
572 struct tb_switch *sw; in tb_scan_port()
743 static void tb_free_unplugged_children(struct tb_switch *sw) in tb_free_unplugged_children()
766 static struct tb_port *tb_find_pcie_down(struct tb_switch *sw, in tb_find_pcie_down()
1028 static int tb_disconnect_pci(struct tb *tb, struct tb_switch *sw) in tb_disconnect_pci()
1047 static int tb_tunnel_pci(struct tb *tb, struct tb_switch *sw) in tb_tunnel_pci()
1051 struct tb_switch *parent_sw; in tb_tunnel_pci()
1090 struct tb_switch *sw; in tb_approve_xdomain_paths()
1124 struct tb_switch *sw; in __tb_disconnect_xdomain_paths()
1168 struct tb_switch *sw; in tb_handle_hotplug()
1318 struct tb_switch *sw = tb_to_switch(dev); in tb_scan_finalize_switch()
1402 static void tb_restore_children(struct tb_switch *sw) in tb_restore_children()
1459 static int tb_free_unplugged_xdomains(struct tb_switch *sw) in tb_free_unplugged_xdomains()