Lines Matching refs:tb_to_switch
711 struct tb_switch *sw = tb_to_switch(dev); in authorized_show()
772 struct tb_switch *sw = tb_to_switch(dev); in authorized_store()
791 struct tb_switch *sw = tb_to_switch(dev); in boot_show()
800 struct tb_switch *sw = tb_to_switch(dev); in device_show()
809 struct tb_switch *sw = tb_to_switch(dev); in device_name_show()
818 struct tb_switch *sw = tb_to_switch(dev); in key_show()
836 struct tb_switch *sw = tb_to_switch(dev); in key_store()
870 struct tb_switch *sw = tb_to_switch(dev); in nvm_authenticate_show()
880 struct tb_switch *sw = tb_to_switch(dev); in nvm_authenticate_store()
936 struct tb_switch *sw = tb_to_switch(dev); in nvm_version_show()
958 struct tb_switch *sw = tb_to_switch(dev); in vendor_show()
967 struct tb_switch *sw = tb_to_switch(dev); in vendor_name_show()
976 struct tb_switch *sw = tb_to_switch(dev); in unique_id_show()
1000 struct tb_switch *sw = tb_to_switch(dev); in switch_attr_is_visible()
1034 struct tb_switch *sw = tb_to_switch(dev); in tb_switch_release()
1561 struct tb_switch *sw = tb_to_switch(dev); in tb_switch_match()
1605 return tb_to_switch(dev); in tb_switch_find_by_link_depth()
1629 return tb_to_switch(dev); in tb_switch_find_by_uuid()
1656 return tb_to_switch(dev); in tb_switch_find_by_route()