root_switch 1252 drivers/thunderbolt/icm.c if (!tb->root_switch) root_switch 1566 drivers/thunderbolt/icm.c tb->root_switch->uuid = kmemdup(uuid, sizeof(uuid), GFP_KERNEL); root_switch 1601 drivers/thunderbolt/icm.c if (tb->root_switch) { root_switch 1964 drivers/thunderbolt/icm.c if (tb->root_switch) root_switch 1965 drivers/thunderbolt/icm.c icm_free_unplugged_children(tb->root_switch); root_switch 1983 drivers/thunderbolt/icm.c icm_unplug_children(tb->root_switch); root_switch 2039 drivers/thunderbolt/icm.c tb->root_switch = tb_switch_alloc_safe_mode(tb, &tb->dev, 0); root_switch 2041 drivers/thunderbolt/icm.c tb->root_switch = tb_switch_alloc(tb, &tb->dev, 0); root_switch 2042 drivers/thunderbolt/icm.c if (IS_ERR(tb->root_switch)) root_switch 2043 drivers/thunderbolt/icm.c return PTR_ERR(tb->root_switch); root_switch 2045 drivers/thunderbolt/icm.c tb->root_switch->no_nvm_upgrade = !icm->can_upgrade_nvm; root_switch 2046 drivers/thunderbolt/icm.c tb->root_switch->rpm = icm->rpm; root_switch 2051 drivers/thunderbolt/icm.c ret = tb_switch_add(tb->root_switch); root_switch 2053 drivers/thunderbolt/icm.c tb_switch_put(tb->root_switch); root_switch 2054 drivers/thunderbolt/icm.c tb->root_switch = NULL; root_switch 2065 drivers/thunderbolt/icm.c tb_switch_remove(tb->root_switch); root_switch 2066 drivers/thunderbolt/icm.c tb->root_switch = NULL; root_switch 30 drivers/thunderbolt/nhi_ops.c ret = device_for_each_child(&tb->root_switch->dev, NULL, root_switch 1917 drivers/thunderbolt/switch.c if (sw == sw->tb->root_switch) { root_switch 2120 drivers/thunderbolt/switch.c return tb_switch_get(tb->root_switch); root_switch 118 drivers/thunderbolt/tb.c xd = tb_xdomain_alloc(tb, &sw->dev, route, tb->root_switch->uuid, root_switch 444 drivers/thunderbolt/tb.c nhi_port = tb_find_port(tb->root_switch, TB_TYPE_NHI); root_switch 626 drivers/thunderbolt/tb.c tb_switch_remove(tb->root_switch); root_switch 656 drivers/thunderbolt/tb.c tb->root_switch = tb_switch_alloc(tb, &tb->dev, 0); root_switch 657 drivers/thunderbolt/tb.c if (IS_ERR(tb->root_switch)) root_switch 658 drivers/thunderbolt/tb.c return PTR_ERR(tb->root_switch); root_switch 665 drivers/thunderbolt/tb.c tb->root_switch->no_nvm_upgrade = true; root_switch 667 drivers/thunderbolt/tb.c ret = tb_switch_configure(tb->root_switch); root_switch 669 drivers/thunderbolt/tb.c tb_switch_put(tb->root_switch); root_switch 674 drivers/thunderbolt/tb.c ret = tb_switch_add(tb->root_switch); root_switch 676 drivers/thunderbolt/tb.c tb_switch_put(tb->root_switch); root_switch 681 drivers/thunderbolt/tb.c tb_scan_switch(tb->root_switch); root_switch 683 drivers/thunderbolt/tb.c tb_discover_tunnels(tb->root_switch); root_switch 685 drivers/thunderbolt/tb.c device_for_each_child(&tb->root_switch->dev, NULL, root_switch 698 drivers/thunderbolt/tb.c tb_switch_suspend(tb->root_switch); root_switch 715 drivers/thunderbolt/tb.c tb_switch_resume(tb->root_switch); root_switch 717 drivers/thunderbolt/tb.c tb_free_unplugged_children(tb->root_switch); root_switch 764 drivers/thunderbolt/tb.c if (tb_free_unplugged_xdomains(tb->root_switch)) root_switch 765 drivers/thunderbolt/tb.c tb_scan_switch(tb->root_switch); root_switch 521 drivers/thunderbolt/xdomain.c if (tb->root_switch) root_switch 522 drivers/thunderbolt/xdomain.c uuid = tb->root_switch->uuid; root_switch 1461 drivers/thunderbolt/xdomain.c xd = switch_find_xdomain(tb->root_switch, &lookup); root_switch 1492 drivers/thunderbolt/xdomain.c xd = switch_find_xdomain(tb->root_switch, &lookup); root_switch 1519 drivers/thunderbolt/xdomain.c xd = switch_find_xdomain(tb->root_switch, &lookup); root_switch 78 include/linux/thunderbolt.h struct tb_switch *root_switch;