Home
last modified time | relevance | path

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

/drivers/platform/x86/dell/dell-wmi-sysman/
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);
Dsysman.c396 struct kobject *attr_name_kobj; //individual attribute names in init_bios_attributes() local
467 attr_name_kobj = kzalloc(sizeof(*attr_name_kobj), GFP_KERNEL); in init_bios_attributes()
468 if (!attr_name_kobj) { in init_bios_attributes()
473 attr_name_kobj->kset = tmp_set; in init_bios_attributes()
475 retval = kobject_init_and_add(attr_name_kobj, &attr_name_ktype, NULL, "%s", in init_bios_attributes()
478 kobject_put(attr_name_kobj); in init_bios_attributes()
485 retval = populate_enum_data(elements, instance_id, attr_name_kobj, in init_bios_attributes()
489 retval = populate_int_data(elements, instance_id, attr_name_kobj); in init_bios_attributes()
492 retval = populate_str_data(elements, instance_id, attr_name_kobj); in init_bios_attributes()
495 retval = populate_po_data(elements, instance_id, attr_name_kobj); in init_bios_attributes()
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()
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()
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()
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()