Searched refs:root_switch (Results 1 – 3 of 3) sorted by relevance
153 for (i = 1; i <= tb->root_switch->config.max_port_number; i++) { in tb_activate_pcie_devices()154 if (tb_is_upstream_port(&tb->root_switch->ports[i])) in tb_activate_pcie_devices()156 if (tb->root_switch->ports[i].config.type != TB_TYPE_PORT) in tb_activate_pcie_devices()158 if (!tb->root_switch->ports[i].remote) in tb_activate_pcie_devices()160 sw = tb->root_switch->ports[i].remote->sw; in tb_activate_pcie_devices()179 down_port = tb_find_unused_down_port(tb->root_switch); in tb_activate_pcie_devices()226 sw = get_switch_at_route(tb->root_switch, ev->route); in tb_handle_hotplug()319 if (tb->root_switch) in thunderbolt_shutdown_and_free()320 tb_switch_free(tb->root_switch); in thunderbolt_shutdown_and_free()321 tb->root_switch = NULL; in thunderbolt_shutdown_and_free()[all …]
107 struct tb_switch *root_switch; member
433 if (sw == sw->tb->root_switch) { in tb_sw_set_unpplugged()