Home
last modified time | relevance | path

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

/drivers/platform/x86/dell/dell-wmi-sysman/
A Dsysman.c212 ret = sysfs_create_file(&wmi_priv.main_dir_kset->kobj, &reset_bios.attr); in create_attributes_level_sysfs_files()
216 ret = sysfs_create_file(&wmi_priv.main_dir_kset->kobj, &pending_reboot.attr); in create_attributes_level_sysfs_files()
372 if (wmi_priv.main_dir_kset) { in release_attributes_data()
373 sysfs_remove_file(&wmi_priv.main_dir_kset->kobj, &reset_bios.attr); in release_attributes_data()
374 sysfs_remove_file(&wmi_priv.main_dir_kset->kobj, &pending_reboot.attr); in release_attributes_data()
375 destroy_attribute_objs(wmi_priv.main_dir_kset); in release_attributes_data()
376 kset_unregister(wmi_priv.main_dir_kset); in release_attributes_data()
377 wmi_priv.main_dir_kset = NULL; in release_attributes_data()
452 tmp_set = wmi_priv.main_dir_kset; in init_bios_attributes()
550 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
/drivers/platform/x86/hp/hp-bioscfg/
A Dbioscfg.c352 return sysfs_create_file(&bioscfg_drv.main_dir_kset->kobj, in create_attributes_level_sysfs_files()
561 if (bioscfg_drv.main_dir_kset) { in release_attributes_data()
562 sysfs_remove_file(&bioscfg_drv.main_dir_kset->kobj, &pending_reboot.attr); in release_attributes_data()
563 destroy_attribute_objs(bioscfg_drv.main_dir_kset); in release_attributes_data()
564 kset_unregister(bioscfg_drv.main_dir_kset); in release_attributes_data()
565 bioscfg_drv.main_dir_kset = NULL; in release_attributes_data()
603 attr_name_kobj->kset = bioscfg_drv.main_dir_kset; in hp_add_other_attributes()
683 temp_kset = bioscfg_drv.main_dir_kset; in hp_init_bios_package_attribute()
788 temp_kset = bioscfg_drv.main_dir_kset; in hp_init_bios_buffer_attribute()
977 bioscfg_drv.main_dir_kset = kset_create_and_add("attributes", NULL, in hp_init()
[all …]
A Dbioscfg.h206 struct kset *main_dir_kset; member

Completed in 12 milliseconds