Searched refs:parent_sw (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/thunderbolt/ |
| H A D | icm.c | 639 static struct tb_switch *alloc_switch(struct tb_switch *parent_sw, u64 route, in alloc_switch() argument 642 struct tb *tb = parent_sw->tb; in alloc_switch() 645 sw = tb_switch_alloc(tb, &parent_sw->dev, route); in alloc_switch() 661 static int add_switch(struct tb_switch *parent_sw, struct tb_switch *sw) in add_switch() argument 667 tb_port_at(route, parent_sw)->remote = tb_upstream_port(sw); in add_switch() 668 tb_upstream_port(sw)->remote = tb_port_at(route, parent_sw); in add_switch() 672 tb_port_at(tb_route(sw), parent_sw)->remote = NULL; in add_switch() 680 struct tb_switch *parent_sw = tb_switch_parent(sw); in update_switch() local 685 tb_port_at(route, parent_sw)->remote = tb_upstream_port(sw); in update_switch() 756 struct tb_switch *sw, *parent_sw; in icm_fr_device_connected() local [all …]
|
| H A D | tmu.c | 1050 const struct tb_switch *parent_sw = tb_switch_parent(sw); in tb_switch_tmu_configure() local 1052 if (!parent_sw || !tb_switch_tmu_enhanced_is_supported(parent_sw)) in tb_switch_tmu_configure()
|