Lines Matching refs:tb_to_switch
311 struct tb_switch *sw = tb_to_switch(nvm->dev); in nvm_read()
334 struct tb_switch *sw = tb_to_switch(nvm->dev); in nvm_write()
1704 struct tb_switch *sw = tb_to_switch(dev); in authorized_show()
1714 sw = tb_to_switch(dev); in disapprove_switch()
1792 struct tb_switch *sw = tb_to_switch(dev); in authorized_store()
1814 struct tb_switch *sw = tb_to_switch(dev); in boot_show()
1823 struct tb_switch *sw = tb_to_switch(dev); in device_show()
1832 struct tb_switch *sw = tb_to_switch(dev); in device_name_show()
1841 struct tb_switch *sw = tb_to_switch(dev); in generation_show()
1850 struct tb_switch *sw = tb_to_switch(dev); in key_show()
1868 struct tb_switch *sw = tb_to_switch(dev); in key_store()
1902 struct tb_switch *sw = tb_to_switch(dev); in speed_show()
1917 struct tb_switch *sw = tb_to_switch(dev); in lanes_show()
1932 struct tb_switch *sw = tb_to_switch(dev); in nvm_authenticate_show()
1942 struct tb_switch *sw = tb_to_switch(dev); in nvm_authenticate_sysfs()
2034 struct tb_switch *sw = tb_to_switch(dev); in nvm_version_show()
2056 struct tb_switch *sw = tb_to_switch(dev); in vendor_show()
2065 struct tb_switch *sw = tb_to_switch(dev); in vendor_name_show()
2074 struct tb_switch *sw = tb_to_switch(dev); in unique_id_show()
2104 struct tb_switch *sw = tb_to_switch(dev); in switch_attr_is_visible()
2168 struct tb_switch *sw = tb_to_switch(dev); in tb_switch_release()
2189 const struct tb_switch *sw = tb_to_switch(dev); in tb_switch_uevent()
2226 struct tb_switch *sw = tb_to_switch(dev); in tb_switch_runtime_suspend()
2237 struct tb_switch *sw = tb_to_switch(dev); in tb_switch_runtime_resume()
2337 struct tb_switch *parent_sw = tb_to_switch(parent); in tb_switch_alloc()
2757 struct tb_switch *parent = tb_to_switch(sw->dev.parent); in tb_switch_lane_bonding_enable()
2811 struct tb_switch *parent = tb_to_switch(sw->dev.parent); in tb_switch_lane_bonding_disable()
3359 struct tb_switch *sw = tb_to_switch(dev); in tb_switch_match()
3403 return tb_to_switch(dev); in tb_switch_find_by_link_depth()
3427 return tb_to_switch(dev); in tb_switch_find_by_uuid()
3454 return tb_to_switch(dev); in tb_switch_find_by_route()