Lines Matching refs:tb_route

323 	if (!tb_route(sw)) {  in nvm_authenticate()
864 return (tb_route(parent) & mask) == (tb_route(sw) & mask); in tb_switch_is_reachable()
897 next = tb_port_at(tb_route(end->sw), prev->sw); in tb_next_port_on_path()
1446 res = tb_cfg_reset(sw->tb->ctl, tb_route(sw)); in tb_switch_reset()
1542 if (tb_route(sw)) { in tb_switch_set_authorized()
1911 if (tb_route(sw) && in switch_attr_is_visible()
1920 if (tb_route(sw)) in switch_attr_is_visible()
1932 if (tb_route(sw)) in switch_attr_is_visible()
1985 if (!tb_route(sw)) { in tb_switch_uevent()
2202 dev_set_name(&sw->dev, "%u-%llx", tb->index, tb_route(sw)); in tb_switch_alloc()
2247 dev_set_name(&sw->dev, "%u-%llx", tb->index, tb_route(sw)); in tb_switch_alloc_safe_mode()
2269 route = tb_route(sw); in tb_switch_configure()
2366 if (tb_route(sw)) in tb_switch_add_dma_port()
2404 if (!tb_route(sw) && !tb_switch_is_icm(sw)) in tb_switch_add_dma_port()
2419 if (!tb_route(sw)) in tb_switch_add_dma_port()
2434 if (!tb_route(sw)) in tb_switch_add_dma_port()
2500 if (!tb_route(sw) || tb_switch_is_icm(sw)) in tb_switch_update_link_attributes()
2538 u64 route = tb_route(sw); in tb_switch_lane_bonding_enable()
2593 if (!tb_route(sw)) in tb_switch_lane_bonding_disable()
2600 down = tb_port_at(tb_route(sw), parent); in tb_switch_lane_bonding_disable()
2636 if (!tb_route(sw) || tb_switch_is_icm(sw)) in tb_switch_configure_link()
2666 if (!tb_route(sw) || tb_switch_is_icm(sw)) in tb_switch_unconfigure_link()
2769 if (tb_route(sw)) { in tb_switch_add()
2855 if (tb_route(sw)) in tb_switch_remove()
2908 if (tb_route(sw)) { in tb_switch_resume()
2916 err = tb_cfg_get_upstream_port(sw->tb->ctl, tb_route(sw)); in tb_switch_resume()