• Home
  • Raw
  • Download

Lines Matching defs:sw

45 static struct nvm_auth_status *__nvm_get_auth_status(const struct tb_switch *sw)  in __nvm_get_auth_status()
57 static void nvm_get_auth_status(const struct tb_switch *sw, u32 *status) in nvm_get_auth_status()
68 static void nvm_set_auth_status(const struct tb_switch *sw, u32 status) in nvm_set_auth_status()
93 static void nvm_clear_auth_status(const struct tb_switch *sw) in nvm_clear_auth_status()
106 static int nvm_validate_and_write(struct tb_switch *sw) in nvm_validate_and_write()
168 static int nvm_authenticate_host(struct tb_switch *sw) in nvm_authenticate_host()
208 static int nvm_authenticate_device(struct tb_switch *sw) in nvm_authenticate_device()
256 struct tb_switch *sw = priv; in tb_switch_nvm_read() local
276 struct tb_switch *sw = priv; in tb_switch_nvm_write() local
305 static struct nvmem_device *register_nvmem(struct tb_switch *sw, int id, in register_nvmem()
334 static int tb_switch_nvm_add(struct tb_switch *sw) in tb_switch_nvm_add()
403 static void tb_switch_nvm_remove(struct tb_switch *sw) in tb_switch_nvm_remove()
625 static void tb_dump_switch(struct tb *tb, struct tb_regs_switch_header *sw) in tb_dump_switch()
674 static int tb_plug_events_active(struct tb_switch *sw, bool active) in tb_plug_events_active()
712 struct tb_switch *sw = tb_to_switch(dev); in authorized_show() local
717 static int tb_switch_set_authorized(struct tb_switch *sw, unsigned int val) in tb_switch_set_authorized()
773 struct tb_switch *sw = tb_to_switch(dev); in authorized_store() local
792 struct tb_switch *sw = tb_to_switch(dev); in boot_show() local
801 struct tb_switch *sw = tb_to_switch(dev); in device_show() local
810 struct tb_switch *sw = tb_to_switch(dev); in device_name_show() local
819 struct tb_switch *sw = tb_to_switch(dev); in key_show() local
837 struct tb_switch *sw = tb_to_switch(dev); in key_store() local
868 static void nvm_authenticate_start(struct tb_switch *sw) in nvm_authenticate_start()
883 static void nvm_authenticate_complete(struct tb_switch *sw) in nvm_authenticate_complete()
895 struct tb_switch *sw = tb_to_switch(dev); in nvm_authenticate_show() local
905 struct tb_switch *sw = tb_to_switch(dev); in nvm_authenticate_store() local
967 struct tb_switch *sw = tb_to_switch(dev); in nvm_version_show() local
989 struct tb_switch *sw = tb_to_switch(dev); in vendor_show() local
998 struct tb_switch *sw = tb_to_switch(dev); in vendor_name_show() local
1007 struct tb_switch *sw = tb_to_switch(dev); in unique_id_show() local
1031 struct tb_switch *sw = tb_to_switch(dev); in switch_attr_is_visible() local
1065 struct tb_switch *sw = tb_to_switch(dev); in tb_switch_release() local
1103 static int tb_switch_get_generation(struct tb_switch *sw) in tb_switch_get_generation()
1160 struct tb_switch *sw; in tb_switch_alloc() local
1241 struct tb_switch *sw; in tb_switch_alloc_safe_mode() local
1273 int tb_switch_configure(struct tb_switch *sw) in tb_switch_configure()
1298 static int tb_switch_set_uuid(struct tb_switch *sw) in tb_switch_set_uuid()
1335 static int tb_switch_add_dma_port(struct tb_switch *sw) in tb_switch_add_dma_port()
1423 int tb_switch_add(struct tb_switch *sw) in tb_switch_add()
1492 void tb_switch_remove(struct tb_switch *sw) in tb_switch_remove()
1523 void tb_sw_set_unplugged(struct tb_switch *sw) in tb_sw_set_unplugged()
1541 int tb_switch_resume(struct tb_switch *sw) in tb_switch_resume()
1592 void tb_switch_suspend(struct tb_switch *sw) in tb_switch_suspend()
1619 struct tb_switch *sw = tb_to_switch(dev); in tb_switch_match() local