Home
last modified time | relevance | path

Searched refs:parent_sw (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/thunderbolt/
A Ddomain.c652 struct tb_switch *parent_sw; in tb_domain_approve_switch() local
658 parent_sw = tb_to_switch(sw->dev.parent); in tb_domain_approve_switch()
659 if (!parent_sw || !parent_sw->authorized) in tb_domain_approve_switch()
678 struct tb_switch *parent_sw; in tb_domain_approve_switch_key() local
685 parent_sw = tb_to_switch(sw->dev.parent); in tb_domain_approve_switch_key()
686 if (!parent_sw || !parent_sw->authorized) in tb_domain_approve_switch_key()
713 struct tb_switch *parent_sw; in tb_domain_challenge_switch_key() local
722 parent_sw = tb_to_switch(sw->dev.parent); in tb_domain_challenge_switch_key()
723 if (!parent_sw || !parent_sw->authorized) in tb_domain_challenge_switch_key()
A Dicm.c612 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 Dacpi.c314 struct tb_switch *parent_sw; in tb_acpi_switch_find_companion() local
316 parent_sw = tb_switch_parent(sw); in tb_acpi_switch_find_companion()
317 if (parent_sw) { in tb_acpi_switch_find_companion()
318 struct tb_port *port = tb_port_at(tb_route(sw), parent_sw); in tb_acpi_switch_find_companion()
321 port_adev = tb_acpi_find_port(ACPI_COMPANION(&parent_sw->dev), port); in tb_acpi_switch_find_companion()
A Dtb.c1051 struct tb_switch *parent_sw; in tb_tunnel_pci() local
1062 parent_sw = tb_to_switch(sw->dev.parent); in tb_tunnel_pci()
1063 port = tb_port_at(tb_route(sw), parent_sw); in tb_tunnel_pci()
1064 down = tb_find_pcie_down(parent_sw, port); in tb_tunnel_pci()
A Dxdomain.c1377 struct tb_switch *parent_sw = tb_to_switch(parent); in tb_xdomain_alloc() local
1382 down = tb_port_at(route, parent_sw); in tb_xdomain_alloc()
A Dswitch.c2125 struct tb_switch *parent_sw = tb_to_switch(parent); in tb_switch_alloc() local
2128 down = tb_port_at(route, parent_sw); in tb_switch_alloc()

Completed in 22 milliseconds