Searched refs:parent_sw (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/thunderbolt/ |
| H A D | domain.c | 656 struct tb_switch *parent_sw; in tb_domain_approve_switch() local 662 parent_sw = tb_to_switch(sw->dev.parent); in tb_domain_approve_switch() 663 if (!parent_sw || !parent_sw->authorized) in tb_domain_approve_switch() 682 struct tb_switch *parent_sw; in tb_domain_approve_switch_key() local 689 parent_sw = tb_to_switch(sw->dev.parent); in tb_domain_approve_switch_key() 690 if (!parent_sw || !parent_sw->authorized) in tb_domain_approve_switch_key() 717 struct tb_switch *parent_sw; in tb_domain_challenge_switch_key() local 724 parent_sw = tb_to_switch(sw->dev.parent); in tb_domain_challenge_switch_key() 725 if (!parent_sw || !parent_sw->authorized) in tb_domain_challenge_switch_key()
|
| H A D | icm.c | 634 static struct tb_switch *alloc_switch(struct tb_switch *parent_sw, u64 route, in alloc_switch() argument 637 struct tb *tb = parent_sw->tb; in alloc_switch() 640 sw = tb_switch_alloc(tb, &parent_sw->dev, route); in alloc_switch() 656 static int add_switch(struct tb_switch *parent_sw, struct tb_switch *sw) in add_switch() argument 662 tb_port_at(route, parent_sw)->remote = tb_upstream_port(sw); in add_switch() 663 tb_upstream_port(sw)->remote = tb_port_at(route, parent_sw); in add_switch() 667 tb_port_at(tb_route(sw), parent_sw)->remote = NULL; in add_switch() 675 struct tb_switch *parent_sw = tb_switch_parent(sw); in update_switch() local 680 tb_port_at(route, parent_sw)->remote = tb_upstream_port(sw); in update_switch() 750 struct tb_switch *sw, *parent_sw; in icm_fr_device_connected() local [all …]
|
| H A D | debugfs.c | 1796 struct tb_switch *parent_sw; in margining_switch_init() local 1803 parent_sw = tb_switch_parent(sw); in margining_switch_init() 1804 downstream = tb_port_at(route, parent_sw); in margining_switch_init() 1813 struct tb_switch *parent_sw; in margining_switch_remove() local 1820 parent_sw = tb_switch_parent(sw); in margining_switch_remove() 1821 downstream = tb_port_at(route, parent_sw); in margining_switch_remove() 1829 struct tb_switch *parent_sw; in margining_xdomain_init() local 1832 parent_sw = tb_xdomain_parent(xd); in margining_xdomain_init() 1833 downstream = tb_port_at(xd->route, parent_sw); in margining_xdomain_init() 1840 struct tb_switch *parent_sw; in margining_xdomain_remove() 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()
|
| H A D | xdomain.c | 1969 struct tb_switch *parent_sw = tb_to_switch(parent); in tb_xdomain_alloc() local 1974 down = tb_port_at(route, parent_sw); in tb_xdomain_alloc()
|
| H A D | switch.c | 2465 struct tb_switch *parent_sw = tb_to_switch(parent); in tb_switch_alloc() local 2468 down = tb_port_at(route, parent_sw); in tb_switch_alloc()
|