Lines Matching refs:tb_route
278 if (!tb_route(sw)) { in nvm_authenticate()
823 return (tb_route(parent) & mask) == (tb_route(sw) & mask); in tb_switch_is_reachable()
856 next = tb_port_at(tb_route(end->sw), prev->sw); in tb_next_port_on_path()
1604 res = tb_cfg_reset(sw->tb->ctl, tb_route(sw)); in tb_switch_reset()
1740 if (tb_route(sw)) { in tb_switch_set_authorized()
2114 if (tb_route(sw) && in switch_attr_is_visible()
2123 if (tb_route(sw)) in switch_attr_is_visible()
2135 if (tb_route(sw)) in switch_attr_is_visible()
2188 if (!tb_route(sw)) { in tb_switch_uevent()
2413 dev_set_name(&sw->dev, "%u-%llx", tb->index, tb_route(sw)); in tb_switch_alloc()
2458 dev_set_name(&sw->dev, "%u-%llx", tb->index, tb_route(sw)); in tb_switch_alloc_safe_mode()
2480 route = tb_route(sw); in tb_switch_configure()
2578 if (tb_route(sw)) in tb_switch_add_dma_port()
2616 if (!tb_route(sw) && !tb_switch_is_icm(sw)) in tb_switch_add_dma_port()
2631 if (!tb_route(sw)) in tb_switch_add_dma_port()
2646 if (!tb_route(sw)) in tb_switch_add_dma_port()
2712 if (!tb_route(sw) || tb_switch_is_icm(sw)) in tb_switch_update_link_attributes()
2750 u64 route = tb_route(sw); in tb_switch_lane_bonding_enable()
2805 if (!tb_route(sw)) in tb_switch_lane_bonding_disable()
2812 down = tb_port_at(tb_route(sw), parent); in tb_switch_lane_bonding_disable()
2848 if (!tb_route(sw) || tb_switch_is_icm(sw)) in tb_switch_configure_link()
2878 if (!tb_route(sw) || tb_switch_is_icm(sw)) in tb_switch_unconfigure_link()
3003 if (tb_route(sw)) { in tb_switch_add()
3089 if (tb_route(sw)) in tb_switch_remove()
3142 if (tb_route(sw)) { in tb_switch_resume()
3150 err = tb_cfg_get_upstream_port(sw->tb->ctl, tb_route(sw)); in tb_switch_resume()
3474 if (!tb_route(sw)) in tb_switch_pm_secondary_resolve()
3478 down = tb_port_at(tb_route(sw), parent); in tb_switch_pm_secondary_resolve()
3500 if (!tb_route(sw)) in __tb_switch_enable_clx()
3504 if (tb_route(parent)) in __tb_switch_enable_clx()
3512 down = tb_port_at(tb_route(sw), parent); in __tb_switch_enable_clx()
3599 if (!tb_route(sw)) in __tb_switch_disable_clx()
3603 if (tb_route(parent)) in __tb_switch_disable_clx()
3607 down = tb_port_at(tb_route(sw), parent); in __tb_switch_disable_clx()
3662 if (!tb_route(sw)) in tb_switch_mask_clx_objections()
3756 if (!tb_route(sw)) in tb_switch_pcie_l1_enable()
3763 if (tb_route(parent)) in tb_switch_pcie_l1_enable()