Home
last modified time | relevance | path

Searched refs:main_dir_kset (Results 1 – 2 of 2) sorted by relevance

/linux-6.3-rc2/drivers/platform/x86/dell/dell-wmi-sysman/
A Dsysman.c213 ret = sysfs_create_file(&wmi_priv.main_dir_kset->kobj, &reset_bios.attr); in create_attributes_level_sysfs_files()
217 ret = sysfs_create_file(&wmi_priv.main_dir_kset->kobj, &pending_reboot.attr); in create_attributes_level_sysfs_files()
376 if (wmi_priv.main_dir_kset) { in release_attributes_data()
377 sysfs_remove_file(&wmi_priv.main_dir_kset->kobj, &reset_bios.attr); in release_attributes_data()
378 sysfs_remove_file(&wmi_priv.main_dir_kset->kobj, &pending_reboot.attr); in release_attributes_data()
379 destroy_attribute_objs(wmi_priv.main_dir_kset); in release_attributes_data()
380 kset_unregister(wmi_priv.main_dir_kset); in release_attributes_data()
381 wmi_priv.main_dir_kset = NULL; in release_attributes_data()
455 tmp_set = wmi_priv.main_dir_kset; in init_bios_attributes()
554 wmi_priv.main_dir_kset = kset_create_and_add("attributes", NULL, in sysman_init()
[all …]
A Ddell-wmi-sysman.h73 struct kset *main_dir_kset; member

Completed in 5 milliseconds