Lines Matching refs:tb_route

275 	if (!tb_route(sw)) {  in nvm_authenticate()
828 return (tb_route(parent) & mask) == (tb_route(sw) & mask); in tb_switch_is_reachable()
861 next = tb_port_at(tb_route(end->sw), prev->sw); in tb_next_port_on_path()
1507 res = tb_cfg_reset(sw->tb->ctl, tb_route(sw)); in tb_switch_reset()
1643 if (tb_route(sw)) { in tb_switch_set_authorized()
2054 if (tb_route(sw) && in switch_attr_is_visible()
2063 if (tb_route(sw)) in switch_attr_is_visible()
2075 if (tb_route(sw)) in switch_attr_is_visible()
2129 if (!tb_route(sw)) { in tb_switch_uevent()
2355 dev_set_name(&sw->dev, "%u-%llx", tb->index, tb_route(sw)); in tb_switch_alloc()
2400 dev_set_name(&sw->dev, "%u-%llx", tb->index, tb_route(sw)); in tb_switch_alloc_safe_mode()
2422 route = tb_route(sw); in tb_switch_configure()
2540 if (tb_route(sw)) in tb_switch_add_dma_port()
2578 if (!tb_route(sw) && !tb_switch_is_icm(sw)) in tb_switch_add_dma_port()
2593 if (!tb_route(sw)) in tb_switch_add_dma_port()
2608 if (!tb_route(sw)) in tb_switch_add_dma_port()
2674 if (!tb_route(sw) || tb_switch_is_icm(sw)) in tb_switch_update_link_attributes()
2711 u64 route = tb_route(sw); in tb_switch_lane_bonding_enable()
2778 if (!tb_route(sw)) in tb_switch_lane_bonding_disable()
2822 if (!tb_route(sw) || tb_switch_is_icm(sw)) in tb_switch_configure_link()
2852 if (!tb_route(sw) || tb_switch_is_icm(sw)) in tb_switch_unconfigure_link()
2981 if (tb_route(sw)) { in tb_switch_add()
3067 if (tb_route(sw)) in tb_switch_remove()
3120 if (tb_route(sw)) { in tb_switch_resume()
3128 err = tb_cfg_get_upstream_port(sw->tb->ctl, tb_route(sw)); in tb_switch_resume()
3501 if (!tb_route(sw)) in tb_switch_pcie_l1_enable()
3508 if (tb_route(parent)) in tb_switch_pcie_l1_enable()