Home
last modified time | relevance | path

Searched refs:enumeration_data (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/platform/x86/dell/dell-wmi-sysman/
Denum-attributes.c45 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()
[all …]
Ddell-wmi-sysman.h26 struct enumeration_data { struct
75 struct enumeration_data *enumeration_data; member