Searched refs:root_switch (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/drivers/thunderbolt/ |
D | tb.c | 118 xd = tb_xdomain_alloc(tb, &sw->dev, route, tb->root_switch->uuid, in tb_scan_xdomain() 444 nhi_port = tb_find_port(tb->root_switch, TB_TYPE_NHI); in tb_approve_xdomain_paths() 626 tb_switch_remove(tb->root_switch); in tb_stop() 656 tb->root_switch = tb_switch_alloc(tb, &tb->dev, 0); in tb_start() 657 if (IS_ERR(tb->root_switch)) in tb_start() 658 return PTR_ERR(tb->root_switch); in tb_start() 665 tb->root_switch->no_nvm_upgrade = true; in tb_start() 667 ret = tb_switch_configure(tb->root_switch); in tb_start() 669 tb_switch_put(tb->root_switch); in tb_start() 674 ret = tb_switch_add(tb->root_switch); in tb_start() [all …]
|
D | icm.c | 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() [all …]
|
D | nhi_ops.c | 30 ret = device_for_each_child(&tb->root_switch->dev, NULL, in icl_nhi_is_device_connected()
|
D | xdomain.c | 521 if (tb->root_switch) in tb_xdp_handle_request() 522 uuid = tb->root_switch->uuid; in tb_xdp_handle_request() 1461 xd = switch_find_xdomain(tb->root_switch, &lookup); in tb_xdomain_find_by_uuid() 1492 xd = switch_find_xdomain(tb->root_switch, &lookup); in tb_xdomain_find_by_link_depth() 1519 xd = switch_find_xdomain(tb->root_switch, &lookup); in tb_xdomain_find_by_route()
|
D | switch.c | 1880 if (sw == sw->tb->root_switch) { in tb_sw_set_unplugged() 2083 return tb_switch_get(tb->root_switch); in tb_switch_find_by_route()
|
/Linux-v5.4/include/linux/ |
D | thunderbolt.h | 78 struct tb_switch *root_switch; member
|