Lines Matching refs:root_switch
1252 if (!tb->root_switch) in icm_tr_xdomain_connected()
1566 tb->root_switch->uuid = kmemdup(uuid, sizeof(uuid), GFP_KERNEL); in icm_icl_set_uuid()
1601 if (tb->root_switch) { in icm_handle_notification()
1964 if (tb->root_switch) in icm_rescan_work()
1965 icm_free_unplugged_children(tb->root_switch); in icm_rescan_work()
1983 icm_unplug_children(tb->root_switch); in icm_complete()
2039 tb->root_switch = tb_switch_alloc_safe_mode(tb, &tb->dev, 0); in icm_start()
2041 tb->root_switch = tb_switch_alloc(tb, &tb->dev, 0); in icm_start()
2042 if (IS_ERR(tb->root_switch)) in icm_start()
2043 return PTR_ERR(tb->root_switch); in icm_start()
2045 tb->root_switch->no_nvm_upgrade = !icm->can_upgrade_nvm; in icm_start()
2046 tb->root_switch->rpm = icm->rpm; in icm_start()
2051 ret = tb_switch_add(tb->root_switch); in icm_start()
2053 tb_switch_put(tb->root_switch); in icm_start()
2054 tb->root_switch = NULL; in icm_start()
2065 tb_switch_remove(tb->root_switch); in icm_stop()
2066 tb->root_switch = NULL; in icm_stop()