Home
last modified time | relevance | path

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

/linux-6.12.1/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
/linux-6.12.1/drivers/platform/x86/hp/hp-bioscfg/
Denum-attributes.c21 bioscfg_drv.enumeration_data[instance_id].current_value); in current_value_show()
35 struct enumeration_data *enum_data = &bioscfg_drv.enumeration_data[instance_id]; in validate_enumeration_input()
53 struct enumeration_data *enum_data = &bioscfg_drv.enumeration_data[instance_id]; in update_enumeration_value()
97 bioscfg_drv.enumeration_data = kcalloc(bioscfg_drv.enumeration_instances_count, in hp_alloc_enumeration_data()
98 sizeof(*bioscfg_drv.enumeration_data), GFP_KERNEL); in hp_alloc_enumeration_data()
99 if (!bioscfg_drv.enumeration_data) { in hp_alloc_enumeration_data()
136 struct enumeration_data *enum_data = &bioscfg_drv.enumeration_data[instance_id]; in hp_populate_enumeration_elements_from_package()
307 struct enumeration_data *enum_data = &bioscfg_drv.enumeration_data[instance_id]; in hp_populate_enumeration_package_data()
331 struct enumeration_data *enum_data = &bioscfg_drv.enumeration_data[instance_id]; in hp_populate_enumeration_elements_from_buffer()
403 struct enumeration_data *enum_data = &bioscfg_drv.enumeration_data[instance_id]; in hp_populate_enumeration_buffer_data()
[all …]
Dbioscfg.h150 struct enumeration_data { struct
212 struct enumeration_data *enumeration_data; member