Home
last modified time | relevance | path

Searched refs:root_switch (Results 1 – 7 of 7) sorted by relevance

/linux-6.3-rc2/drivers/thunderbolt/
A Dtb.c446 if (sw == tb->root_switch) in tb_find_first_usb3_tunnel()
1919 if (IS_ERR(tb->root_switch)) in tb_start()
1920 return PTR_ERR(tb->root_switch); in tb_start()
1930 tb->root_switch->no_nvm_upgrade = !tb_switch_is_usb4(tb->root_switch); in tb_start()
1932 tb->root_switch->rpm = tb_switch_is_usb4(tb->root_switch); in tb_start()
1936 tb_switch_put(tb->root_switch); in tb_start()
1943 tb_switch_put(tb->root_switch); in tb_start()
1956 tb_scan_switch(tb->root_switch); in tb_start()
2046 tb_switch_reset(tb->root_switch); in tb_resume_noirq()
2139 tb_scan_switch(tb->root_switch); in tb_complete()
[all …]
A Dtmu.c65 bool root_switch = !tb_route(sw); in tb_switch_tmu_mode_name() local
73 if (root_switch) in tb_switch_tmu_mode_name()
80 if (root_switch) in tb_switch_tmu_mode_name()
289 struct tb_switch *root_switch = sw->tb->root_switch; in tb_switch_tmu_post_time() local
301 if (!root_switch->tmu.cap) in tb_switch_tmu_post_time()
304 ret = tb_sw_read(root_switch, gm_local_time, TB_CFG_SWITCH, in tb_switch_tmu_post_time()
305 root_switch->tmu.cap + TMU_RTR_CS_1, in tb_switch_tmu_post_time()
311 tb_sw_dbg(root_switch, "local_time[%d]=0x%08x\n", i, in tb_switch_tmu_post_time()
A Dnhi_ops.c30 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()
A Dicm.c1335 if (!tb->root_switch) in icm_tr_xdomain_connected()
1707 if (tb->root_switch) { in icm_handle_notification()
2080 if (tb->root_switch) in icm_rescan_work()
2099 icm_unplug_children(tb->root_switch); in icm_complete()
2158 if (IS_ERR(tb->root_switch)) in icm_start()
2159 return PTR_ERR(tb->root_switch); in icm_start()
2162 tb->root_switch->rpm = icm->rpm; in icm_start()
2169 tb_switch_put(tb->root_switch); in icm_start()
2170 tb->root_switch = NULL; in icm_start()
2181 tb_switch_remove(tb->root_switch); in icm_stop()
[all …]
A Dxdomain.c725 if (tb->root_switch) in tb_xdp_handle_request()
726 uuid = tb->root_switch->uuid; in tb_xdp_handle_request()
2223 xd = switch_find_xdomain(tb->root_switch, &lookup); in tb_xdomain_find_by_uuid()
2254 xd = switch_find_xdomain(tb->root_switch, &lookup); in tb_xdomain_find_by_link_depth()
2281 xd = switch_find_xdomain(tb->root_switch, &lookup); in tb_xdomain_find_by_route()
A Dswitch.c2306 (sw->tb->root_switch && tb_switch_is_usb4(sw->tb->root_switch))) in tb_switch_exceeds_max_depth()
3111 if (sw == sw->tb->root_switch) { in tb_sw_set_unplugged()
3446 return tb_switch_get(tb->root_switch); in tb_switch_find_by_route()
3573 struct tb_switch *root_sw = sw->tb->root_switch; in tb_switch_enable_clx()
/linux-6.3-rc2/include/linux/
A Dthunderbolt.h81 struct tb_switch *root_switch; member

Completed in 26 milliseconds