Lines Matching refs:tb_route

318 	if (!tb_route(sw)) {  in nvm_authenticate()
848 return (tb_route(parent) & mask) == (tb_route(sw) & mask); in tb_switch_is_reachable()
881 next = tb_port_at(tb_route(end->sw), prev->sw); in tb_next_port_on_path()
1292 res = tb_cfg_reset(sw->tb->ctl, tb_route(sw), TB_CFG_DEFAULT_TIMEOUT); in tb_switch_reset()
1710 if (tb_route(sw) && in switch_attr_is_visible()
1719 if (tb_route(sw)) in switch_attr_is_visible()
1731 if (tb_route(sw)) in switch_attr_is_visible()
1967 dev_set_name(&sw->dev, "%u-%llx", tb->index, tb_route(sw)); in tb_switch_alloc()
2012 dev_set_name(&sw->dev, "%u-%llx", tb->index, tb_route(sw)); in tb_switch_alloc_safe_mode()
2034 route = tb_route(sw); in tb_switch_configure()
2132 if (tb_route(sw)) in tb_switch_add_dma_port()
2153 if (!tb_route(sw) && !tb_switch_is_icm(sw)) in tb_switch_add_dma_port()
2171 if (!tb_route(sw)) in tb_switch_add_dma_port()
2186 if (!tb_route(sw)) in tb_switch_add_dma_port()
2252 if (!tb_route(sw) || tb_switch_is_icm(sw)) in tb_switch_update_link_attributes()
2290 u64 route = tb_route(sw); in tb_switch_lane_bonding_enable()
2337 if (!tb_route(sw)) in tb_switch_lane_bonding_disable()
2344 down = tb_port_at(tb_route(sw), parent); in tb_switch_lane_bonding_disable()
2370 if (!tb_route(sw) || tb_switch_is_icm(sw)) in tb_switch_configure_link()
2400 if (!tb_route(sw) || tb_switch_is_icm(sw)) in tb_switch_unconfigure_link()
2513 if (tb_route(sw)) { in tb_switch_add()
2586 if (tb_route(sw)) in tb_switch_remove()
2638 if (tb_route(sw)) { in tb_switch_resume()
2646 err = tb_cfg_get_upstream_port(sw->tb->ctl, tb_route(sw)); in tb_switch_resume()