Lines Matching refs:remote
100 tb_discover_tunnels(sw->ports[i].remote->sw); in tb_discover_tunnels()
167 if (port->remote) { in tb_scan_port()
213 port->remote = upstream_port; in tb_scan_port()
214 upstream_port->remote = port; in tb_scan_port()
216 port->dual_link_port->remote = upstream_port->dual_link_port; in tb_scan_port()
217 upstream_port->dual_link_port->remote = port->dual_link_port; in tb_scan_port()
273 if (port->remote->sw->is_unplugged) { in tb_free_unplugged_children()
274 tb_switch_remove(port->remote->sw); in tb_free_unplugged_children()
275 port->remote = NULL; in tb_free_unplugged_children()
277 port->dual_link_port->remote = NULL; in tb_free_unplugged_children()
279 tb_free_unplugged_children(port->remote->sw); in tb_free_unplugged_children()
534 tb_sw_set_unplugged(port->remote->sw); in tb_handle_hotplug()
536 tb_switch_remove(port->remote->sw); in tb_handle_hotplug()
537 port->remote = NULL; in tb_handle_hotplug()
539 port->dual_link_port->remote = NULL; in tb_handle_hotplug()
562 } else if (port->remote) { in tb_handle_hotplug()
568 if (!port->remote) in tb_handle_hotplug()
748 } else if (port->remote) { in tb_free_unplugged_xdomains()
749 ret += tb_free_unplugged_xdomains(port->remote->sw); in tb_free_unplugged_xdomains()