Searched refs:root_switch (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/drivers/thunderbolt/ |
D | tb.c | 185 for (i = 1; i <= tb->root_switch->config.max_port_number; i++) { in tb_activate_pcie_devices() 186 if (tb_is_upstream_port(&tb->root_switch->ports[i])) in tb_activate_pcie_devices() 188 if (tb->root_switch->ports[i].config.type != TB_TYPE_PORT) in tb_activate_pcie_devices() 190 if (!tb->root_switch->ports[i].remote) in tb_activate_pcie_devices() 192 sw = tb->root_switch->ports[i].remote->sw; in tb_activate_pcie_devices() 211 down_port = tb_find_unused_down_port(tb->root_switch); in tb_activate_pcie_devices() 261 sw = get_switch_at_route(tb->root_switch, ev->route); in tb_handle_hotplug() 361 tb_switch_remove(tb->root_switch); in tb_stop() 370 tb->root_switch = tb_switch_alloc(tb, &tb->dev, 0); in tb_start() 371 if (!tb->root_switch) in tb_start() [all …]
|
D | icm.c | 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() [all …]
|
D | xdomain.c | 479 if (tb->root_switch) in tb_xdp_handle_request() 480 uuid = tb->root_switch->uuid; in tb_xdp_handle_request() 1338 xd = switch_find_xdomain(tb->root_switch, &lookup); in tb_xdomain_find_by_uuid() 1369 xd = switch_find_xdomain(tb->root_switch, &lookup); in tb_xdomain_find_by_link_depth() 1396 xd = switch_find_xdomain(tb->root_switch, &lookup); in tb_xdomain_find_by_route()
|
D | switch.c | 1468 if (sw == sw->tb->root_switch) { in tb_sw_set_unplugged() 1648 return tb_switch_get(tb->root_switch); in tb_switch_find_by_route()
|
/Linux-v4.19/include/linux/ |
D | thunderbolt.h | 81 struct tb_switch *root_switch; member
|