Searched refs:root_switch (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.10/drivers/thunderbolt/ |
D | tb.c | 189 xd = tb_xdomain_alloc(tb, &sw->dev, route, tb->root_switch->uuid, in tb_scan_xdomain() 284 if (sw == tb->root_switch) in tb_find_first_usb3_tunnel() 288 port = tb_port_at(tb_route(sw), tb->root_switch); in tb_find_first_usb3_tunnel() 290 usb3_down = usb4_switch_map_usb3_down(tb->root_switch, port); in tb_find_first_usb3_tunnel() 803 tb_port_at(tb_route(in->sw), tb->root_switch) : NULL; in tb_find_dp_out() 823 p = tb_port_at(tb_route(port->sw), tb->root_switch); in tb_find_dp_out() 1050 nhi_port = tb_switch_find_port(tb->root_switch, TB_TYPE_NHI); in tb_approve_xdomain_paths() 1257 tb_switch_remove(tb->root_switch); in tb_stop() 1287 tb->root_switch = tb_switch_alloc(tb, &tb->dev, 0); in tb_start() 1288 if (IS_ERR(tb->root_switch)) in tb_start() [all …]
|
D | tmu.c | 16 bool root_switch = !tb_route(sw); in tb_switch_tmu_mode_name() local 24 if (root_switch) in tb_switch_tmu_mode_name() 31 if (root_switch) in tb_switch_tmu_mode_name() 211 struct tb_switch *root_switch = sw->tb->root_switch; in tb_switch_tmu_post_time() local 223 if (!root_switch->tmu.cap) in tb_switch_tmu_post_time() 226 ret = tb_sw_read(root_switch, gm_local_time, TB_CFG_SWITCH, in tb_switch_tmu_post_time() 227 root_switch->tmu.cap + TMU_RTR_CS_1, in tb_switch_tmu_post_time() 233 tb_sw_dbg(root_switch, "local_time[%d]=0x%08x\n", i, in tb_switch_tmu_post_time()
|
D | nhi_ops.c | 30 ret = device_for_each_child(&tb->root_switch->dev, NULL, in icl_nhi_is_device_connected() 130 if (tb_switch_is_icm(tb->root_switch)) { in icl_nhi_suspend() 153 if (!tb_switch_is_icm(tb->root_switch)) in icl_nhi_suspend_noirq()
|
D | icm.c | 1297 if (!tb->root_switch) in icm_tr_xdomain_connected() 1614 tb->root_switch->uuid = kmemdup(uuid, sizeof(uuid), GFP_KERNEL); in icm_icl_set_uuid() 1661 if (tb->root_switch) { in icm_handle_notification() 2023 if (tb->root_switch) in icm_rescan_work() 2024 icm_free_unplugged_children(tb->root_switch); in icm_rescan_work() 2042 icm_unplug_children(tb->root_switch); in icm_complete() 2098 tb->root_switch = tb_switch_alloc_safe_mode(tb, &tb->dev, 0); in icm_start() 2100 tb->root_switch = tb_switch_alloc(tb, &tb->dev, 0); in icm_start() 2101 if (IS_ERR(tb->root_switch)) in icm_start() 2102 return PTR_ERR(tb->root_switch); in icm_start() [all …]
|
D | xdomain.c | 570 if (tb->root_switch) in tb_xdp_handle_request() 571 uuid = tb->root_switch->uuid; in tb_xdp_handle_request() 1518 xd = switch_find_xdomain(tb->root_switch, &lookup); in tb_xdomain_find_by_uuid() 1549 xd = switch_find_xdomain(tb->root_switch, &lookup); in tb_xdomain_find_by_link_depth() 1576 xd = switch_find_xdomain(tb->root_switch, &lookup); in tb_xdomain_find_by_route()
|
D | switch.c | 1867 (sw->tb->root_switch && tb_switch_is_usb4(sw->tb->root_switch))) in tb_switch_exceeds_max_depth() 2575 if (sw == sw->tb->root_switch) { in tb_sw_set_unplugged() 2878 return tb_switch_get(tb->root_switch); in tb_switch_find_by_route()
|
/Linux-v5.10/include/linux/ |
D | thunderbolt.h | 78 struct tb_switch *root_switch; member
|