Lines Matching refs:tb_to_switch

310 	struct tb_switch *sw = tb_to_switch(nvm->dev);  in nvm_read()
333 struct tb_switch *sw = tb_to_switch(nvm->dev); in nvm_write()
1695 struct tb_switch *sw = tb_to_switch(dev); in authorized_show()
1705 sw = tb_to_switch(dev); in disapprove_switch()
1783 struct tb_switch *sw = tb_to_switch(dev); in authorized_store()
1805 struct tb_switch *sw = tb_to_switch(dev); in boot_show()
1814 struct tb_switch *sw = tb_to_switch(dev); in device_show()
1823 struct tb_switch *sw = tb_to_switch(dev); in device_name_show()
1832 struct tb_switch *sw = tb_to_switch(dev); in generation_show()
1841 struct tb_switch *sw = tb_to_switch(dev); in key_show()
1859 struct tb_switch *sw = tb_to_switch(dev); in key_store()
1893 struct tb_switch *sw = tb_to_switch(dev); in speed_show()
1908 struct tb_switch *sw = tb_to_switch(dev); in lanes_show()
1923 struct tb_switch *sw = tb_to_switch(dev); in nvm_authenticate_show()
1933 struct tb_switch *sw = tb_to_switch(dev); in nvm_authenticate_sysfs()
2025 struct tb_switch *sw = tb_to_switch(dev); in nvm_version_show()
2047 struct tb_switch *sw = tb_to_switch(dev); in vendor_show()
2056 struct tb_switch *sw = tb_to_switch(dev); in vendor_name_show()
2065 struct tb_switch *sw = tb_to_switch(dev); in unique_id_show()
2095 struct tb_switch *sw = tb_to_switch(dev); in switch_attr_is_visible()
2159 struct tb_switch *sw = tb_to_switch(dev); in tb_switch_release()
2180 struct tb_switch *sw = tb_to_switch(dev); in tb_switch_uevent()
2217 struct tb_switch *sw = tb_to_switch(dev); in tb_switch_runtime_suspend()
2228 struct tb_switch *sw = tb_to_switch(dev); in tb_switch_runtime_resume()
2328 struct tb_switch *parent_sw = tb_to_switch(parent); in tb_switch_alloc()
2748 struct tb_switch *parent = tb_to_switch(sw->dev.parent); in tb_switch_lane_bonding_enable()
2802 struct tb_switch *parent = tb_to_switch(sw->dev.parent); in tb_switch_lane_bonding_disable()
3350 struct tb_switch *sw = tb_to_switch(dev); in tb_switch_match()
3394 return tb_to_switch(dev); in tb_switch_find_by_link_depth()
3418 return tb_to_switch(dev); in tb_switch_find_by_uuid()
3445 return tb_to_switch(dev); in tb_switch_find_by_route()