Lines Matching refs:tb_to_switch
337 struct tb_switch *sw = tb_to_switch(nvm->dev); in tb_switch_nvm_read()
361 struct tb_switch *sw = tb_to_switch(nvm->dev); in tb_switch_nvm_write()
1497 struct tb_switch *sw = tb_to_switch(dev); in authorized_show()
1507 sw = tb_to_switch(dev); in disapprove_switch()
1585 struct tb_switch *sw = tb_to_switch(dev); in authorized_store()
1607 struct tb_switch *sw = tb_to_switch(dev); in boot_show()
1616 struct tb_switch *sw = tb_to_switch(dev); in device_show()
1625 struct tb_switch *sw = tb_to_switch(dev); in device_name_show()
1634 struct tb_switch *sw = tb_to_switch(dev); in generation_show()
1643 struct tb_switch *sw = tb_to_switch(dev); in key_show()
1661 struct tb_switch *sw = tb_to_switch(dev); in key_store()
1695 struct tb_switch *sw = tb_to_switch(dev); in speed_show()
1710 struct tb_switch *sw = tb_to_switch(dev); in lanes_show()
1725 struct tb_switch *sw = tb_to_switch(dev); in nvm_authenticate_show()
1735 struct tb_switch *sw = tb_to_switch(dev); in nvm_authenticate_sysfs()
1822 struct tb_switch *sw = tb_to_switch(dev); in nvm_version_show()
1844 struct tb_switch *sw = tb_to_switch(dev); in vendor_show()
1853 struct tb_switch *sw = tb_to_switch(dev); in vendor_name_show()
1862 struct tb_switch *sw = tb_to_switch(dev); in unique_id_show()
1892 struct tb_switch *sw = tb_to_switch(dev); in switch_attr_is_visible()
1956 struct tb_switch *sw = tb_to_switch(dev); in tb_switch_release()
1977 struct tb_switch *sw = tb_to_switch(dev); in tb_switch_uevent()
2014 struct tb_switch *sw = tb_to_switch(dev); in tb_switch_runtime_suspend()
2025 struct tb_switch *sw = tb_to_switch(dev); in tb_switch_runtime_resume()
2125 struct tb_switch *parent_sw = tb_to_switch(parent); in tb_switch_alloc()
2536 struct tb_switch *parent = tb_to_switch(sw->dev.parent); in tb_switch_lane_bonding_enable()
2590 struct tb_switch *parent = tb_to_switch(sw->dev.parent); in tb_switch_lane_bonding_disable()
3088 struct tb_switch *sw = tb_to_switch(dev); in tb_switch_match()
3132 return tb_to_switch(dev); in tb_switch_find_by_link_depth()
3156 return tb_to_switch(dev); in tb_switch_find_by_uuid()
3183 return tb_to_switch(dev); in tb_switch_find_by_route()