Lines Matching refs:tb_to_switch
307 struct tb_switch *sw = tb_to_switch(nvm->dev); in nvm_read()
330 struct tb_switch *sw = tb_to_switch(nvm->dev); in nvm_write()
1598 struct tb_switch *sw = tb_to_switch(dev); in authorized_show()
1608 sw = tb_to_switch(dev); in disapprove_switch()
1686 struct tb_switch *sw = tb_to_switch(dev); in authorized_store()
1708 struct tb_switch *sw = tb_to_switch(dev); in boot_show()
1717 struct tb_switch *sw = tb_to_switch(dev); in device_show()
1726 struct tb_switch *sw = tb_to_switch(dev); in device_name_show()
1735 struct tb_switch *sw = tb_to_switch(dev); in generation_show()
1744 struct tb_switch *sw = tb_to_switch(dev); in key_show()
1762 struct tb_switch *sw = tb_to_switch(dev); in key_store()
1796 struct tb_switch *sw = tb_to_switch(dev); in speed_show()
1811 struct tb_switch *sw = tb_to_switch(dev); in rx_lanes_show()
1837 struct tb_switch *sw = tb_to_switch(dev); in tx_lanes_show()
1863 struct tb_switch *sw = tb_to_switch(dev); in nvm_authenticate_show()
1873 struct tb_switch *sw = tb_to_switch(dev); in nvm_authenticate_sysfs()
1965 struct tb_switch *sw = tb_to_switch(dev); in nvm_version_show()
1987 struct tb_switch *sw = tb_to_switch(dev); in vendor_show()
1996 struct tb_switch *sw = tb_to_switch(dev); in vendor_name_show()
2005 struct tb_switch *sw = tb_to_switch(dev); in unique_id_show()
2035 struct tb_switch *sw = tb_to_switch(dev); in switch_attr_is_visible()
2099 struct tb_switch *sw = tb_to_switch(dev); in tb_switch_release()
2120 const struct tb_switch *sw = tb_to_switch(dev); in tb_switch_uevent()
2158 struct tb_switch *sw = tb_to_switch(dev); in tb_switch_runtime_suspend()
2169 struct tb_switch *sw = tb_to_switch(dev); in tb_switch_runtime_resume()
2270 struct tb_switch *parent_sw = tb_to_switch(parent); in tb_switch_alloc()
3323 struct tb_switch *sw = tb_to_switch(dev); in tb_switch_match()
3367 return tb_to_switch(dev); in tb_switch_find_by_link_depth()
3391 return tb_to_switch(dev); in tb_switch_find_by_uuid()
3418 return tb_to_switch(dev); in tb_switch_find_by_route()