Lines Matching refs:root_switch
799 sw = get_switch_at_route(tb->root_switch, route); in icm_fr_xdomain_connected()
1115 if (!tb->root_switch) in icm_tr_xdomain_connected()
1144 sw = get_switch_at_route(tb->root_switch, route); in icm_tr_xdomain_connected()
1400 if (tb->root_switch) { in icm_handle_notification()
1806 if (tb->root_switch) in icm_rescan_work()
1807 icm_free_unplugged_children(tb->root_switch); in icm_rescan_work()
1818 icm_unplug_children(tb->root_switch); in icm_complete()
1856 tb->root_switch = tb_switch_alloc_safe_mode(tb, &tb->dev, 0); in icm_start()
1858 tb->root_switch = tb_switch_alloc(tb, &tb->dev, 0); in icm_start()
1859 if (!tb->root_switch) in icm_start()
1867 tb->root_switch->no_nvm_upgrade = x86_apple_machine; in icm_start()
1868 tb->root_switch->rpm = icm->rpm; in icm_start()
1870 ret = tb_switch_add(tb->root_switch); in icm_start()
1872 tb_switch_put(tb->root_switch); in icm_start()
1873 tb->root_switch = NULL; in icm_start()
1884 tb_switch_remove(tb->root_switch); in icm_stop()
1885 tb->root_switch = NULL; in icm_stop()