Lines Matching refs:enumeration_data

45 	options = tmp = kstrdup(wmi_priv.enumeration_data[instance_id].possible_values,  in validate_enumeration_input()
121 wmi_priv.enumeration_data = kcalloc(wmi_priv.enumeration_instances_count, in alloc_enum_data()
122 sizeof(struct enumeration_data), GFP_KERNEL); in alloc_enum_data()
123 if (!wmi_priv.enumeration_data) { in alloc_enum_data()
142 wmi_priv.enumeration_data[instance_id].attr_name_kobj = attr_name_kobj; in populate_enum_data()
145 strlcpy_attr(wmi_priv.enumeration_data[instance_id].attribute_name, in populate_enum_data()
149 strlcpy_attr(wmi_priv.enumeration_data[instance_id].display_name_language_code, in populate_enum_data()
153 strlcpy_attr(wmi_priv.enumeration_data[instance_id].display_name, in populate_enum_data()
157 strlcpy_attr(wmi_priv.enumeration_data[instance_id].default_value, in populate_enum_data()
161 strlcpy_attr(wmi_priv.enumeration_data[instance_id].dell_modifier, in populate_enum_data()
178 strcat(wmi_priv.enumeration_data[instance_id].dell_value_modifier, in populate_enum_data()
180 strcat(wmi_priv.enumeration_data[instance_id].dell_value_modifier, ";"); in populate_enum_data()
195 strcat(wmi_priv.enumeration_data[instance_id].possible_values, in populate_enum_data()
197 strcat(wmi_priv.enumeration_data[instance_id].possible_values, ";"); 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()
219 kfree(wmi_priv.enumeration_data); in exit_enum_attributes()
220 wmi_priv.enumeration_data = NULL; in exit_enum_attributes()