Lines Matching refs:tb_route

275 	if (!tb_route(sw)) {  in nvm_authenticate()
836 return (tb_route(parent) & mask) == (tb_route(sw) & mask); in tb_switch_is_reachable()
869 next = tb_port_at(tb_route(end->sw), prev->sw); in tb_next_port_on_path()
1593 res = tb_cfg_reset(sw->tb->ctl, tb_route(sw)); in tb_switch_reset_host()
1653 if (tb_route(sw)) in tb_switch_reset()
1794 if (tb_route(sw)) { in tb_switch_set_authorized()
2205 if (tb_route(sw) && in switch_attr_is_visible()
2214 if (tb_route(sw)) in switch_attr_is_visible()
2226 if (tb_route(sw)) in switch_attr_is_visible()
2280 if (!tb_route(sw)) { in tb_switch_uevent()
2506 dev_set_name(&sw->dev, "%u-%llx", tb->index, tb_route(sw)); in tb_switch_alloc()
2551 dev_set_name(&sw->dev, "%u-%llx", tb->index, tb_route(sw)); in tb_switch_alloc_safe_mode()
2573 route = tb_route(sw); in tb_switch_configure()
2691 if (tb_route(sw)) in tb_switch_add_dma_port()
2729 if (!tb_route(sw) && !tb_switch_is_icm(sw)) in tb_switch_add_dma_port()
2744 if (!tb_route(sw)) in tb_switch_add_dma_port()
2759 if (!tb_route(sw)) in tb_switch_add_dma_port()
2825 if (!tb_route(sw) || tb_switch_is_icm(sw)) in tb_switch_update_link_attributes()
2857 if (!tb_route(sw) || tb_switch_is_icm(sw)) in tb_switch_link_init()
3084 if (!tb_route(sw)) in tb_switch_set_link_width()
3155 if (!tb_route(sw) || tb_switch_is_icm(sw)) in tb_switch_configure_link()
3183 if (!tb_route(sw) || tb_switch_is_icm(sw)) in tb_switch_unconfigure_link()
3323 if (tb_route(sw)) { in tb_switch_add()
3410 if (tb_route(sw)) in tb_switch_remove()
3482 if (tb_route(sw)) { in tb_switch_resume()
3490 err = tb_cfg_get_upstream_port(sw->tb->ctl, tb_route(sw)); in tb_switch_resume()
3867 if (!tb_route(sw)) in tb_switch_pcie_l1_enable()
3874 if (tb_route(parent)) in tb_switch_pcie_l1_enable()