Lines Matching refs:remote
266 if (!sw->ports[next_port].remote) in get_switch_at_route()
268 return get_switch_at_route(sw->ports[next_port].remote->sw, in get_switch_at_route()
321 if (sw->ports[i].remote) in tb_switch_free()
322 tb_switch_free(sw->ports[i].remote->sw); in tb_switch_free()
323 sw->ports[i].remote = NULL; in tb_switch_free()
443 if (!tb_is_upstream_port(&sw->ports[i]) && sw->ports[i].remote) in tb_sw_set_unpplugged()
444 tb_sw_set_unpplugged(sw->ports[i].remote->sw); in tb_sw_set_unpplugged()
480 if (!port->remote) in tb_switch_resume()
483 || tb_switch_resume(port->remote->sw)) { in tb_switch_resume()
486 tb_sw_set_unpplugged(port->remote->sw); in tb_switch_resume()
500 if (!tb_is_upstream_port(&sw->ports[i]) && sw->ports[i].remote) in tb_switch_suspend()
501 tb_switch_suspend(sw->ports[i].remote->sw); in tb_switch_suspend()