Home
last modified time | relevance | path

Searched refs:attr_name_kobj (Results 1 – 6 of 6) sorted by relevance

/linux-6.3-rc2/drivers/platform/x86/dell/dell-wmi-sysman/
A Ddell-wmi-sysman.h27 struct kobject *attr_name_kobj; member
38 struct kobject *attr_name_kobj; member
50 struct kobject *attr_name_kobj; member
61 struct kobject *attr_name_kobj; member
163 struct kobject *attr_name_kobj, u32 enum_property_count);
168 struct kobject *attr_name_kobj);
172 int populate_str_data(union acpi_object *str_obj, int instance_id, struct kobject *attr_name_kobj);
176 int populate_po_data(union acpi_object *po_obj, int instance_id, struct kobject *attr_name_kobj);
A Dsysman.c396 struct kobject *attr_name_kobj; //individual attribute names in init_bios_attributes() local
464 attr_name_kobj = kzalloc(sizeof(*attr_name_kobj), GFP_KERNEL); in init_bios_attributes()
465 if (!attr_name_kobj) { in init_bios_attributes()
470 attr_name_kobj->kset = tmp_set; in init_bios_attributes()
472 retval = kobject_init_and_add(attr_name_kobj, &attr_name_ktype, NULL, "%s", in init_bios_attributes()
475 kobject_put(attr_name_kobj); in init_bios_attributes()
482 retval = populate_enum_data(elements, instance_id, attr_name_kobj, in init_bios_attributes()
486 retval = populate_int_data(elements, instance_id, attr_name_kobj); in init_bios_attributes()
489 retval = populate_str_data(elements, instance_id, attr_name_kobj); in init_bios_attributes()
492 retval = populate_po_data(elements, instance_id, attr_name_kobj); in init_bios_attributes()
A Dstring-attributes.c125 int populate_str_data(union acpi_object *str_obj, int instance_id, struct kobject *attr_name_kobj) in populate_str_data() argument
127 wmi_priv.str_data[instance_id].attr_name_kobj = attr_name_kobj; in populate_str_data()
155 return sysfs_create_group(attr_name_kobj, &str_attr_group); in populate_str_data()
168 if (wmi_priv.str_data[instance_id].attr_name_kobj) in exit_str_attributes()
169 sysfs_remove_group(wmi_priv.str_data[instance_id].attr_name_kobj, in exit_str_attributes()
A Dpassobj-attributes.c159 int populate_po_data(union acpi_object *po_obj, int instance_id, struct kobject *attr_name_kobj) in populate_po_data() argument
161 wmi_priv.po_data[instance_id].attr_name_kobj = attr_name_kobj; in populate_po_data()
175 return sysfs_create_group(attr_name_kobj, &po_attr_group); in populate_po_data()
188 if (wmi_priv.po_data[instance_id].attr_name_kobj) in exit_po_attributes()
189 sysfs_remove_group(wmi_priv.po_data[instance_id].attr_name_kobj, in exit_po_attributes()
A Dint-attributes.c141 struct kobject *attr_name_kobj) in populate_int_data() argument
143 wmi_priv.integer_data[instance_id].attr_name_kobj = attr_name_kobj; in populate_int_data()
177 return sysfs_create_group(attr_name_kobj, &integer_attr_group); in populate_int_data()
190 if (wmi_priv.integer_data[instance_id].attr_name_kobj) in exit_int_attributes()
191 sysfs_remove_group(wmi_priv.integer_data[instance_id].attr_name_kobj, in exit_int_attributes()
A Denum-attributes.c138 struct kobject *attr_name_kobj, u32 enum_property_count) in populate_enum_data() argument
142 wmi_priv.enumeration_data[instance_id].attr_name_kobj = attr_name_kobj; in populate_enum_data()
200 return sysfs_create_group(attr_name_kobj, &enumeration_attr_group); in populate_enum_data()
213 if (wmi_priv.enumeration_data[instance_id].attr_name_kobj) in exit_enum_attributes()
214 sysfs_remove_group(wmi_priv.enumeration_data[instance_id].attr_name_kobj, in exit_enum_attributes()

Completed in 9 milliseconds