Searched refs:root_switch (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/thunderbolt/ |
| H A D | tb.c | 297 sw = tunnel->tb->root_switch; in tb_increase_tmu_accuracy() 448 xd = tb_xdomain_alloc(tb, &sw->dev, route, tb->root_switch->uuid, in tb_scan_xdomain() 522 if (sw == tb->root_switch) in tb_find_first_usb3_tunnel() 526 port = tb_port_at(tb_route(sw), tb->root_switch); in tb_find_first_usb3_tunnel() 528 usb3_down = usb4_switch_map_usb3_down(tb->root_switch, port); in tb_find_first_usb3_tunnel() 1262 host_port = tb_port_at(tb_route(sw), tb->root_switch); in tb_configure_link() 1699 tb_switch_discover_tunnels(tb->root_switch, &tcm->tunnel_list, true); in tb_discover_tunnels() 1869 tb_port_at(tb_route(in->sw), tb->root_switch) : NULL; in tb_find_dp_out() 1895 p = tb_port_at(tb_route(port->sw), tb->root_switch); in tb_find_dp_out() 2331 nhi_port = tb_switch_find_port(tb->root_switch, TB_TYPE_NHI); in tb_approve_xdomain_paths() [all …]
|
| H A 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()
|
| H A D | icm.c | 388 nhi_port = tb_switch_find_port(tb->root_switch, TB_TYPE_NHI); in icm_xdomain_activated() 1364 if (!tb->root_switch) in icm_tr_xdomain_connected() 1685 tb->root_switch->uuid = kmemdup(uuid, sizeof(uuid), GFP_KERNEL); in icm_icl_set_uuid() 1736 if (tb->root_switch) { in icm_handle_notification() 2112 if (tb->root_switch) in icm_rescan_work() 2113 icm_free_unplugged_children(tb->root_switch); in icm_rescan_work() 2131 icm_unplug_children(tb->root_switch); in icm_complete() 2187 tb->root_switch = tb_switch_alloc_safe_mode(tb, &tb->dev, 0); in icm_start() 2189 tb->root_switch = tb_switch_alloc(tb, &tb->dev, 0); in icm_start() 2190 if (IS_ERR(tb->root_switch)) in icm_start() [all …]
|
| H A D | tmu.c | 451 struct tb_switch *root_switch = sw->tb->root_switch; in tb_switch_tmu_post_time() local 463 if (!root_switch->tmu.cap) in tb_switch_tmu_post_time() 466 ret = tb_sw_read(root_switch, gm_local_time, TB_CFG_SWITCH, in tb_switch_tmu_post_time() 467 root_switch->tmu.cap + TMU_RTR_CS_1, in tb_switch_tmu_post_time() 473 tb_sw_dbg(root_switch, "TMU: local_time[%d]=0x%08x\n", i, in tb_switch_tmu_post_time()
|
| H A D | xdomain.c | 747 if (tb->root_switch) in tb_xdp_handle_request() 748 uuid = tb->root_switch->uuid; in tb_xdp_handle_request() 2363 xd = switch_find_xdomain(tb->root_switch, &lookup); in tb_xdomain_find_by_uuid() 2396 xd = switch_find_xdomain(tb->root_switch, &lookup); in tb_xdomain_find_by_link_depth() 2425 xd = switch_find_xdomain(tb->root_switch, &lookup); in tb_xdomain_find_by_route()
|
| H A D | switch.c | 2435 (sw->tb->root_switch && tb_switch_is_usb4(sw->tb->root_switch))) in tb_switch_exceeds_max_depth() 3470 if (sw == sw->tb->root_switch) { in tb_sw_set_unplugged() 3835 return tb_switch_get(tb->root_switch); in tb_switch_find_by_route()
|