Lines Matching refs:remote
206 tb_remove_dp_resources(port->remote->sw); in tb_remove_dp_resources()
418 tb_switch_discover_tunnels(port->remote->sw, list, in tb_switch_discover_tunnels()
851 ret = tb_create_usb3_tunnels(port->remote->sw); in tb_create_usb3_tunnels()
911 if (port->remote) { in tb_scan_port()
969 port->remote = upstream_port; in tb_scan_port()
970 upstream_port->remote = port; in tb_scan_port()
972 port->dual_link_port->remote = upstream_port->dual_link_port; in tb_scan_port()
973 upstream_port->dual_link_port->remote = port->dual_link_port; in tb_scan_port()
1091 if (port->remote->sw->is_unplugged) { in tb_free_unplugged_children()
1093 tb_remove_dp_resources(port->remote->sw); in tb_free_unplugged_children()
1094 tb_switch_unconfigure_link(port->remote->sw); in tb_free_unplugged_children()
1095 tb_switch_lane_bonding_disable(port->remote->sw); in tb_free_unplugged_children()
1096 tb_switch_remove(port->remote->sw); in tb_free_unplugged_children()
1097 port->remote = NULL; in tb_free_unplugged_children()
1099 port->dual_link_port->remote = NULL; in tb_free_unplugged_children()
1101 tb_free_unplugged_children(port->remote->sw); in tb_free_unplugged_children()
1746 tb_sw_set_unplugged(port->remote->sw); in tb_handle_hotplug()
1748 tb_remove_dp_resources(port->remote->sw); in tb_handle_hotplug()
1749 tb_switch_tmu_disable(port->remote->sw); in tb_handle_hotplug()
1750 tb_switch_unconfigure_link(port->remote->sw); in tb_handle_hotplug()
1751 tb_switch_lane_bonding_disable(port->remote->sw); in tb_handle_hotplug()
1752 tb_switch_remove(port->remote->sw); in tb_handle_hotplug()
1753 port->remote = NULL; in tb_handle_hotplug()
1755 port->dual_link_port->remote = NULL; in tb_handle_hotplug()
1785 } else if (port->remote) { in tb_handle_hotplug()
1794 if (!port->remote) in tb_handle_hotplug()
2242 if (port->remote) { in tb_restore_children()
2243 tb_switch_lane_bonding_enable(port->remote->sw); in tb_restore_children()
2244 tb_switch_configure_link(port->remote->sw); in tb_restore_children()
2246 tb_restore_children(port->remote->sw); in tb_restore_children()
2327 } else if (port->remote) { in tb_free_unplugged_xdomains()
2328 ret += tb_free_unplugged_xdomains(port->remote->sw); in tb_free_unplugged_xdomains()