Lines Matching refs:root_switch
1333 if (!tb->root_switch) in icm_tr_xdomain_connected()
1654 tb->root_switch->uuid = kmemdup(uuid, sizeof(uuid), GFP_KERNEL); in icm_icl_set_uuid()
1705 if (tb->root_switch) { in icm_handle_notification()
2078 if (tb->root_switch) in icm_rescan_work()
2079 icm_free_unplugged_children(tb->root_switch); in icm_rescan_work()
2097 icm_unplug_children(tb->root_switch); in icm_complete()
2153 tb->root_switch = tb_switch_alloc_safe_mode(tb, &tb->dev, 0); in icm_start()
2155 tb->root_switch = tb_switch_alloc(tb, &tb->dev, 0); in icm_start()
2156 if (IS_ERR(tb->root_switch)) in icm_start()
2157 return PTR_ERR(tb->root_switch); in icm_start()
2159 tb->root_switch->no_nvm_upgrade = !icm->can_upgrade_nvm; in icm_start()
2160 tb->root_switch->rpm = icm->rpm; in icm_start()
2165 ret = tb_switch_add(tb->root_switch); in icm_start()
2167 tb_switch_put(tb->root_switch); in icm_start()
2168 tb->root_switch = NULL; in icm_start()
2179 tb_switch_remove(tb->root_switch); in icm_stop()
2180 tb->root_switch = NULL; in icm_stop()