Lines Matching refs:root_switch
388 nhi_port = tb_switch_find_port(tb->root_switch, TB_TYPE_NHI); in icm_xdomain_activated()
1364 if (!tb->root_switch) in icm_tr_xdomain_connected()
1685 tb->root_switch->uuid = kmemdup(uuid, sizeof(uuid), GFP_KERNEL); in icm_icl_set_uuid()
1736 if (tb->root_switch) { in icm_handle_notification()
2112 if (tb->root_switch) in icm_rescan_work()
2113 icm_free_unplugged_children(tb->root_switch); in icm_rescan_work()
2131 icm_unplug_children(tb->root_switch); in icm_complete()
2187 tb->root_switch = tb_switch_alloc_safe_mode(tb, &tb->dev, 0); in icm_start()
2189 tb->root_switch = tb_switch_alloc(tb, &tb->dev, 0); in icm_start()
2190 if (IS_ERR(tb->root_switch)) in icm_start()
2191 return PTR_ERR(tb->root_switch); in icm_start()
2193 tb->root_switch->no_nvm_upgrade = !icm->can_upgrade_nvm; in icm_start()
2194 tb->root_switch->rpm = icm->rpm; in icm_start()
2199 ret = tb_switch_add(tb->root_switch); in icm_start()
2201 tb_switch_put(tb->root_switch); in icm_start()
2202 tb->root_switch = NULL; in icm_start()
2213 tb_switch_remove(tb->root_switch); in icm_stop()
2214 tb->root_switch = NULL; in icm_stop()