Lines Matching refs:tb_to_switch
332 struct tb_switch *sw = tb_to_switch(nvm->dev); in tb_switch_nvm_read()
356 struct tb_switch *sw = tb_to_switch(nvm->dev); in tb_switch_nvm_write()
1349 struct tb_switch *sw = tb_to_switch(dev); in authorized_show()
1398 struct tb_switch *sw = tb_to_switch(dev); in authorized_store()
1420 struct tb_switch *sw = tb_to_switch(dev); in boot_show()
1429 struct tb_switch *sw = tb_to_switch(dev); in device_show()
1438 struct tb_switch *sw = tb_to_switch(dev); in device_name_show()
1447 struct tb_switch *sw = tb_to_switch(dev); in generation_show()
1456 struct tb_switch *sw = tb_to_switch(dev); in key_show()
1474 struct tb_switch *sw = tb_to_switch(dev); in key_store()
1508 struct tb_switch *sw = tb_to_switch(dev); in speed_show()
1523 struct tb_switch *sw = tb_to_switch(dev); in lanes_show()
1538 struct tb_switch *sw = tb_to_switch(dev); in nvm_authenticate_show()
1548 struct tb_switch *sw = tb_to_switch(dev); in nvm_authenticate_sysfs()
1631 struct tb_switch *sw = tb_to_switch(dev); in nvm_version_show()
1653 struct tb_switch *sw = tb_to_switch(dev); in vendor_show()
1662 struct tb_switch *sw = tb_to_switch(dev); in vendor_name_show()
1671 struct tb_switch *sw = tb_to_switch(dev); in unique_id_show()
1701 struct tb_switch *sw = tb_to_switch(dev); in switch_attr_is_visible()
1761 struct tb_switch *sw = tb_to_switch(dev); in tb_switch_release()
1788 struct tb_switch *sw = tb_to_switch(dev); in tb_switch_runtime_suspend()
1799 struct tb_switch *sw = tb_to_switch(dev); in tb_switch_runtime_resume()
1898 struct tb_switch *parent_sw = tb_to_switch(parent); in tb_switch_alloc()
2289 struct tb_switch *parent = tb_to_switch(sw->dev.parent); in tb_switch_lane_bonding_enable()
2335 struct tb_switch *parent = tb_to_switch(sw->dev.parent); in tb_switch_lane_bonding_disable()
2791 struct tb_switch *sw = tb_to_switch(dev); in tb_switch_match()
2835 return tb_to_switch(dev); in tb_switch_find_by_link_depth()
2859 return tb_to_switch(dev); in tb_switch_find_by_uuid()
2886 return tb_to_switch(dev); in tb_switch_find_by_route()