Lines Matching refs:tb_route
758 next = tb_port_at(tb_route(end->sw), prev->sw); in tb_next_port_on_path()
1242 if (!tb_route(sw)) { in nvm_authenticate_store()
1350 if (tb_route(sw) && in switch_attr_is_visible()
1364 if (tb_route(sw)) in switch_attr_is_visible()
1567 dev_set_name(&sw->dev, "%u-%llx", tb->index, tb_route(sw)); in tb_switch_alloc()
1612 dev_set_name(&sw->dev, "%u-%llx", tb->index, tb_route(sw)); in tb_switch_alloc_safe_mode()
1633 route = tb_route(sw); in tb_switch_configure()
1698 if (tb_route(sw)) in tb_switch_add_dma_port()
1713 if (!tb_route(sw) && sw->config.enabled) in tb_switch_add_dma_port()
1733 if (!tb_route(sw)) in tb_switch_add_dma_port()
1809 if (tb_route(sw)) { in tb_switch_add()
1869 if (tb_route(sw)) in tb_switch_remove()
1906 if (tb_route(sw)) { in tb_switch_resume()
1914 err = tb_cfg_get_upstream_port(sw->tb->ctl, tb_route(sw)); in tb_switch_resume()