Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/platform/x86/dell/dell-wmi-sysman/
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()
373 if (wmi_priv.main_dir_kset) { in release_attributes_data()
374 sysfs_remove_file(&wmi_priv.main_dir_kset->kobj, &reset_bios.attr); in release_attributes_data()
375 sysfs_remove_file(&wmi_priv.main_dir_kset->kobj, &pending_reboot.attr); in release_attributes_data()
376 destroy_attribute_objs(wmi_priv.main_dir_kset); in release_attributes_data()
377 kset_unregister(wmi_priv.main_dir_kset); in release_attributes_data()
378 wmi_priv.main_dir_kset = NULL; in release_attributes_data()
453 tmp_set = wmi_priv.main_dir_kset; in init_bios_attributes()
555 wmi_priv.main_dir_kset = kset_create_and_add("attributes", NULL, in sysman_init()
[all …]
Ddell-wmi-sysman.h73 struct kset *main_dir_kset; member
/linux-6.12.1/drivers/platform/x86/hp/hp-bioscfg/
Dbioscfg.c354 return sysfs_create_file(&bioscfg_drv.main_dir_kset->kobj, in create_attributes_level_sysfs_files()
566 if (bioscfg_drv.main_dir_kset) { in release_attributes_data()
567 sysfs_remove_file(&bioscfg_drv.main_dir_kset->kobj, &pending_reboot.attr); in release_attributes_data()
568 destroy_attribute_objs(bioscfg_drv.main_dir_kset); in release_attributes_data()
569 kset_unregister(bioscfg_drv.main_dir_kset); in release_attributes_data()
570 bioscfg_drv.main_dir_kset = NULL; in release_attributes_data()
608 attr_name_kobj->kset = bioscfg_drv.main_dir_kset; in hp_add_other_attributes()
688 temp_kset = bioscfg_drv.main_dir_kset; in hp_init_bios_package_attribute()
793 temp_kset = bioscfg_drv.main_dir_kset; in hp_init_bios_buffer_attribute()
986 bioscfg_drv.main_dir_kset = kset_create_and_add("attributes", NULL, in hp_init()
[all …]
Dbioscfg.h206 struct kset *main_dir_kset; member