• Home
  • Raw
  • Download

Lines Matching refs:tb_switch

42 static struct nvm_auth_status *__nvm_get_auth_status(const struct tb_switch *sw)  in __nvm_get_auth_status()
54 static void nvm_get_auth_status(const struct tb_switch *sw, u32 *status) in nvm_get_auth_status()
65 static void nvm_set_auth_status(const struct tb_switch *sw, u32 status) in nvm_set_auth_status()
90 static void nvm_clear_auth_status(const struct tb_switch *sw) in nvm_clear_auth_status()
103 static int nvm_validate_and_write(struct tb_switch *sw) in nvm_validate_and_write()
171 static int nvm_authenticate_host_dma_port(struct tb_switch *sw) in nvm_authenticate_host_dma_port()
211 static int nvm_authenticate_device_dma_port(struct tb_switch *sw) in nvm_authenticate_device_dma_port()
256 static void nvm_authenticate_start_dma_port(struct tb_switch *sw) in nvm_authenticate_start_dma_port()
271 static void nvm_authenticate_complete_dma_port(struct tb_switch *sw) in nvm_authenticate_complete_dma_port()
280 static inline bool nvm_readable(struct tb_switch *sw) in nvm_readable()
296 static inline bool nvm_upgradeable(struct tb_switch *sw) in nvm_upgradeable()
303 static inline int nvm_read(struct tb_switch *sw, unsigned int address, in nvm_read()
311 static int nvm_authenticate(struct tb_switch *sw) in nvm_authenticate()
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()
374 static int tb_switch_nvm_add(struct tb_switch *sw) in tb_switch_nvm_add()
443 static void tb_switch_nvm_remove(struct tb_switch *sw) in tb_switch_nvm_remove()
844 static inline bool tb_switch_is_reachable(const struct tb_switch *parent, in tb_switch_is_reachable()
845 const struct tb_switch *sw) in tb_switch_is_reachable()
1239 static const char *tb_switch_generation_name(const struct tb_switch *sw) in tb_switch_generation_name()
1255 static void tb_dump_switch(const struct tb *tb, const struct tb_switch *sw) in tb_dump_switch()
1279 int tb_switch_reset(struct tb_switch *sw) in tb_switch_reset()
1305 static int tb_plug_events_active(struct tb_switch *sw, bool active) in tb_plug_events_active()
1343 struct tb_switch *sw = tb_to_switch(dev); in authorized_show()
1348 static int tb_switch_set_authorized(struct tb_switch *sw, unsigned int val) in tb_switch_set_authorized()
1392 struct tb_switch *sw = tb_to_switch(dev); in authorized_store()
1414 struct tb_switch *sw = tb_to_switch(dev); in boot_show()
1423 struct tb_switch *sw = tb_to_switch(dev); in device_show()
1432 struct tb_switch *sw = tb_to_switch(dev); in device_name_show()
1441 struct tb_switch *sw = tb_to_switch(dev); in generation_show()
1450 struct tb_switch *sw = tb_to_switch(dev); in key_show()
1468 struct tb_switch *sw = tb_to_switch(dev); in key_store()
1502 struct tb_switch *sw = tb_to_switch(dev); in speed_show()
1517 struct tb_switch *sw = tb_to_switch(dev); in lanes_show()
1532 struct tb_switch *sw = tb_to_switch(dev); in nvm_authenticate_show()
1542 struct tb_switch *sw = tb_to_switch(dev); in nvm_authenticate_sysfs()
1625 struct tb_switch *sw = tb_to_switch(dev); in nvm_version_show()
1647 struct tb_switch *sw = tb_to_switch(dev); in vendor_show()
1656 struct tb_switch *sw = tb_to_switch(dev); in vendor_name_show()
1665 struct tb_switch *sw = tb_to_switch(dev); in unique_id_show()
1695 struct tb_switch *sw = tb_to_switch(dev); in switch_attr_is_visible()
1755 struct tb_switch *sw = tb_to_switch(dev); in tb_switch_release()
1780 struct tb_switch *sw = tb_to_switch(dev); in tb_switch_runtime_suspend()
1791 struct tb_switch *sw = tb_to_switch(dev); in tb_switch_runtime_resume()
1810 static int tb_switch_get_generation(struct tb_switch *sw) in tb_switch_get_generation()
1854 static bool tb_switch_exceeds_max_depth(const struct tb_switch *sw, int depth) in tb_switch_exceeds_max_depth()
1881 struct tb_switch *tb_switch_alloc(struct tb *tb, struct device *parent, in tb_switch_alloc()
1884 struct tb_switch *sw; in tb_switch_alloc()
1890 struct tb_switch *parent_sw = tb_to_switch(parent); in tb_switch_alloc()
1992 struct tb_switch *
1995 struct tb_switch *sw; in tb_switch_alloc_safe_mode()
2028 int tb_switch_configure(struct tb_switch *sw) in tb_switch_configure()
2078 static int tb_switch_set_uuid(struct tb_switch *sw) in tb_switch_set_uuid()
2124 static int tb_switch_add_dma_port(struct tb_switch *sw) in tb_switch_add_dma_port()
2204 static void tb_switch_default_link_ports(struct tb_switch *sw) in tb_switch_default_link_ports()
2234 static bool tb_switch_lane_bonding_possible(struct tb_switch *sw) in tb_switch_lane_bonding_possible()
2246 static int tb_switch_update_link_attributes(struct tb_switch *sw) in tb_switch_update_link_attributes()
2286 int tb_switch_lane_bonding_enable(struct tb_switch *sw) in tb_switch_lane_bonding_enable()
2288 struct tb_switch *parent = tb_to_switch(sw->dev.parent); in tb_switch_lane_bonding_enable()
2339 void tb_switch_lane_bonding_disable(struct tb_switch *sw) in tb_switch_lane_bonding_disable()
2341 struct tb_switch *parent = tb_to_switch(sw->dev.parent); in tb_switch_lane_bonding_disable()
2372 int tb_switch_configure_link(struct tb_switch *sw) in tb_switch_configure_link()
2401 void tb_switch_unconfigure_link(struct tb_switch *sw) in tb_switch_unconfigure_link()
2423 static int tb_switch_port_hotplug_enable(struct tb_switch *sw) in tb_switch_port_hotplug_enable()
2455 int tb_switch_add(struct tb_switch *sw) in tb_switch_add()
2563 void tb_switch_remove(struct tb_switch *sw) in tb_switch_remove()
2601 void tb_sw_set_unplugged(struct tb_switch *sw) in tb_sw_set_unplugged()
2622 static int tb_switch_set_wake(struct tb_switch *sw, unsigned int flags) in tb_switch_set_wake()
2634 int tb_switch_resume(struct tb_switch *sw) in tb_switch_resume()
2725 void tb_switch_suspend(struct tb_switch *sw, bool runtime) in tb_switch_suspend()
2766 bool tb_switch_query_dp_resource(struct tb_switch *sw, struct tb_port *in) in tb_switch_query_dp_resource()
2782 int tb_switch_alloc_dp_resource(struct tb_switch *sw, struct tb_port *in) in tb_switch_alloc_dp_resource()
2797 void tb_switch_dealloc_dp_resource(struct tb_switch *sw, struct tb_port *in) in tb_switch_dealloc_dp_resource()
2821 struct tb_switch *sw = tb_to_switch(dev); in tb_switch_match()
2853 struct tb_switch *tb_switch_find_by_link_depth(struct tb *tb, u8 link, u8 depth) in tb_switch_find_by_link_depth()
2878 struct tb_switch *tb_switch_find_by_uuid(struct tb *tb, const uuid_t *uuid) in tb_switch_find_by_uuid()
2902 struct tb_switch *tb_switch_find_by_route(struct tb *tb, u64 route) in tb_switch_find_by_route()
2926 struct tb_port *tb_switch_find_port(struct tb_switch *sw, in tb_switch_find_port()