Searched refs:of_kset (Results 1 – 3 of 3) sorted by relevance
73 if (!of_kset || !of_node_is_attached(np)) in __of_add_property_sysfs()99 if (of_kset && of_node_is_attached(np)) in __of_remove_property_sysfs()107 if (!of_kset) in __of_update_property_sysfs()122 if (!IS_ENABLED(CONFIG_SYSFS) || !of_kset) in __of_attach_node_sysfs()125 np->kobj.kset = of_kset; in __of_attach_node_sysfs()128 name = safe_name(&of_kset->kobj, "base"); in __of_attach_node_sysfs()154 if (!of_kset) in __of_detach_node_sysfs()
42 extern struct kset *of_kset;
43 struct kset *of_kset; variable173 of_kset = kset_create_and_add("devicetree", NULL, firmware_kobj); in of_core_init()174 if (!of_kset) { in of_core_init()