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

/linux-master/drivers/thunderbolt/
H A Dnhi_ops.c30 ret = device_for_each_child(&tb->root_switch->dev, NULL,
130 if (tb_switch_is_icm(tb->root_switch)) {
153 if (!tb_switch_is_icm(tb->root_switch))
H A Dtb.c287 sw = tunnel->tb->root_switch;
402 xd = tb_xdomain_alloc(tb, &sw->dev, route, tb->root_switch->uuid,
478 if (sw == tb->root_switch)
482 port = tb_port_at(tb_route(sw), tb->root_switch);
484 usb3_down = usb4_switch_map_usb3_down(tb->root_switch, port);
1196 host_port = tb_port_at(tb_route(sw), tb->root_switch);
1623 tb_switch_discover_tunnels(tb->root_switch, &tcm->tunnel_list, true);
1793 tb_port_at(tb_route(in->sw), tb->root_switch) : NULL;
1819 p = tb_port_at(tb_route(port->sw), tb->root_switch);
2177 nhi_port = tb_switch_find_port(tb->root_switch, TB_TYPE_NH
[all...]
H A Dicm.c1333 if (!tb->root_switch)
1654 tb->root_switch->uuid = kmemdup(uuid, sizeof(uuid), GFP_KERNEL);
1705 if (tb->root_switch) {
2078 if (tb->root_switch)
2079 icm_free_unplugged_children(tb->root_switch);
2097 icm_unplug_children(tb->root_switch);
2153 tb->root_switch = tb_switch_alloc_safe_mode(tb, &tb->dev, 0);
2155 tb->root_switch = tb_switch_alloc(tb, &tb->dev, 0);
2156 if (IS_ERR(tb->root_switch))
2157 return PTR_ERR(tb->root_switch);
[all...]
H A Dtmu.c447 struct tb_switch *root_switch = sw->tb->root_switch; local
459 if (!root_switch->tmu.cap)
462 ret = tb_sw_read(root_switch, gm_local_time, TB_CFG_SWITCH,
463 root_switch->tmu.cap + TMU_RTR_CS_1,
469 tb_sw_dbg(root_switch, "TMU: local_time[%d]=0x%08x\n", i,
H A Dxdomain.c745 if (tb->root_switch)
746 uuid = tb->root_switch->uuid;
2347 xd = switch_find_xdomain(tb->root_switch, &lookup);
2378 xd = switch_find_xdomain(tb->root_switch, &lookup);
2405 xd = switch_find_xdomain(tb->root_switch, &lookup);
H A Dswitch.c2390 (sw->tb->root_switch && tb_switch_is_usb4(sw->tb->root_switch)))
3422 if (sw == sw->tb->root_switch) {
3775 return tb_switch_get(tb->root_switch);
/linux-master/include/linux/
H A Dthunderbolt.h68 * @root_switch: Root switch of this domain
81 struct tb_switch *root_switch; member in struct:tb

Completed in 211 milliseconds