Searched refs:root_switch (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/drivers/thunderbolt/ |
H A D | tb.c | 382 sw = tunnel->tb->root_switch; in tb_increase_tmu_accuracy() 639 if (sw == tb->root_switch) in tb_find_first_usb3_tunnel() 2633 if (IS_ERR(tb->root_switch)) in tb_start() 2634 return PTR_ERR(tb->root_switch); in tb_start() 2644 tb->root_switch->no_nvm_upgrade = !tb_switch_is_usb4(tb->root_switch); in tb_start() 2646 tb->root_switch->rpm = tb_switch_is_usb4(tb->root_switch); in tb_start() 2650 tb_switch_put(tb->root_switch); in tb_start() 2657 tb_switch_put(tb->root_switch); in tb_start() 2679 tb_scan_switch(tb->root_switch); in tb_start() 2854 tb_scan_switch(tb->root_switch); in tb_complete() [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 | tmu.c | 447 struct tb_switch *root_switch = sw->tb->root_switch; in tb_switch_tmu_post_time() local 459 if (!root_switch->tmu.cap) in tb_switch_tmu_post_time() 462 ret = tb_sw_read(root_switch, gm_local_time, TB_CFG_SWITCH, in tb_switch_tmu_post_time() 463 root_switch->tmu.cap + TMU_RTR_CS_1, in tb_switch_tmu_post_time() 469 tb_sw_dbg(root_switch, "TMU: local_time[%d]=0x%08x\n", i, in tb_switch_tmu_post_time()
|
H A D | icm.c | 1333 if (!tb->root_switch) in icm_tr_xdomain_connected() 1705 if (tb->root_switch) { in icm_handle_notification() 2078 if (tb->root_switch) in icm_rescan_work() 2097 icm_unplug_children(tb->root_switch); in icm_complete() 2156 if (IS_ERR(tb->root_switch)) in icm_start() 2157 return PTR_ERR(tb->root_switch); in icm_start() 2160 tb->root_switch->rpm = icm->rpm; in icm_start() 2167 tb_switch_put(tb->root_switch); in icm_start() 2168 tb->root_switch = NULL; in icm_start() 2179 tb_switch_remove(tb->root_switch); in icm_stop() [all …]
|
H A D | xdomain.c | 745 if (tb->root_switch) in tb_xdp_handle_request() 746 uuid = tb->root_switch->uuid; in tb_xdp_handle_request() 2295 xd = switch_find_xdomain(tb->root_switch, &lookup); in tb_xdomain_find_by_uuid() 2326 xd = switch_find_xdomain(tb->root_switch, &lookup); in tb_xdomain_find_by_link_depth() 2353 xd = switch_find_xdomain(tb->root_switch, &lookup); in tb_xdomain_find_by_route()
|
H A D | switch.c | 2405 (sw->tb->root_switch && tb_switch_is_usb4(sw->tb->root_switch))) in tb_switch_exceeds_max_depth() 3425 if (sw == sw->tb->root_switch) { in tb_sw_set_unplugged() 3778 return tb_switch_get(tb->root_switch); in tb_switch_find_by_route()
|
/openbmc/linux/include/linux/ |
H A D | thunderbolt.h | 81 struct tb_switch *root_switch; member
|