Lines Matching refs:name
39 kfree(llc_engine->name); in nfc_llc_exit()
44 int nfc_llc_register(const char *name, struct nfc_llc_ops *ops) in nfc_llc_register() argument
52 llc_engine->name = kstrdup(name, GFP_KERNEL); in nfc_llc_register()
53 if (llc_engine->name == NULL) { in nfc_llc_register()
65 static struct nfc_llc_engine *nfc_llc_name_to_engine(const char *name) in nfc_llc_name_to_engine() argument
70 if (strcmp(llc_engine->name, name) == 0) in nfc_llc_name_to_engine()
77 void nfc_llc_unregister(const char *name) in nfc_llc_unregister() argument
81 llc_engine = nfc_llc_name_to_engine(name); in nfc_llc_unregister()
86 kfree(llc_engine->name); in nfc_llc_unregister()
90 struct nfc_llc *nfc_llc_allocate(const char *name, struct nfc_hci_dev *hdev, in nfc_llc_allocate() argument
98 llc_engine = nfc_llc_name_to_engine(name); in nfc_llc_allocate()