Searched refs:parent_sw (Results 1 – 7 of 7) sorted by relevance
/linux-6.3-rc2/drivers/thunderbolt/ |
A D | acpi.c | 300 struct tb_switch *parent_sw; in tb_acpi_switch_find_companion() local 306 parent_sw = tb_switch_parent(sw); in tb_acpi_switch_find_companion() 307 if (parent_sw) { in tb_acpi_switch_find_companion() 308 struct tb_port *port = tb_port_at(tb_route(sw), parent_sw); in tb_acpi_switch_find_companion() 311 port_adev = acpi_find_child_by_adr(ACPI_COMPANION(&parent_sw->dev), in tb_acpi_switch_find_companion()
|
A D | domain.c | 644 struct tb_switch *parent_sw; in tb_domain_approve_switch() local 650 parent_sw = tb_to_switch(sw->dev.parent); in tb_domain_approve_switch() 651 if (!parent_sw || !parent_sw->authorized) in tb_domain_approve_switch() 670 struct tb_switch *parent_sw; in tb_domain_approve_switch_key() local 677 parent_sw = tb_to_switch(sw->dev.parent); in tb_domain_approve_switch_key() 678 if (!parent_sw || !parent_sw->authorized) in tb_domain_approve_switch_key() 705 struct tb_switch *parent_sw; in tb_domain_challenge_switch_key() local 714 parent_sw = tb_to_switch(sw->dev.parent); in tb_domain_challenge_switch_key() 715 if (!parent_sw || !parent_sw->authorized) in tb_domain_challenge_switch_key()
|
A D | icm.c | 612 struct tb *tb = parent_sw->tb; in alloc_switch() 674 struct tb_switch *parent_sw; in remove_switch() local 727 struct tb_switch *sw, *parent_sw; in icm_fr_device_connected() local 830 if (!parent_sw) { in icm_fr_device_connected() 840 tb_switch_put(parent_sw); in icm_fr_device_connected() 859 if (add_switch(parent_sw, sw)) in icm_fr_device_connected() 866 tb_switch_put(parent_sw); in icm_fr_device_connected() 1207 struct tb_switch *sw, *parent_sw; in __icm_tr_device_connected() local 1265 if (!parent_sw) { in __icm_tr_device_connected() 1285 if (add_switch(parent_sw, sw)) in __icm_tr_device_connected() [all …]
|
A D | debugfs.c | 954 struct tb_switch *parent_sw; in margining_switch_init() local 961 parent_sw = tb_switch_parent(sw); in margining_switch_init() 962 downstream = tb_port_at(route, parent_sw); in margining_switch_init() 970 struct tb_switch *parent_sw; in margining_switch_remove() local 981 parent_sw = tb_switch_parent(sw); in margining_switch_remove() 982 downstream = tb_port_at(route, parent_sw); in margining_switch_remove() 988 struct tb_switch *parent_sw; in margining_xdomain_init() local 991 parent_sw = tb_xdomain_parent(xd); in margining_xdomain_init() 992 downstream = tb_port_at(xd->route, parent_sw); in margining_xdomain_init() 999 struct tb_switch *parent_sw; in margining_xdomain_remove() local [all …]
|
A D | tb.c | 1374 struct tb_switch *parent_sw; in tb_tunnel_pci() local 1385 parent_sw = tb_to_switch(sw->dev.parent); in tb_tunnel_pci() 1386 port = tb_port_at(tb_route(sw), parent_sw); in tb_tunnel_pci() 1387 down = tb_find_pcie_down(parent_sw, port); in tb_tunnel_pci()
|
A D | xdomain.c | 1850 struct tb_switch *parent_sw = tb_to_switch(parent); in tb_xdomain_alloc() local 1855 down = tb_port_at(route, parent_sw); in tb_xdomain_alloc()
|
A D | switch.c | 2337 struct tb_switch *parent_sw = tb_to_switch(parent); in tb_switch_alloc() local 2340 down = tb_port_at(route, parent_sw); in tb_switch_alloc()
|
Completed in 25 milliseconds