#include "dell-wmi-sysman.h"
enum string_properties { … };
get_instance_id(str);
static ssize_t current_value_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf)
{ … }
static int validate_str_input(int instance_id, const char *buf)
{ … }
attribute_s_property_show(display_name_language_code, str);
static struct kobj_attribute str_displ_langcode = …;
attribute_s_property_show(display_name, str);
static struct kobj_attribute str_displ_name = …;
attribute_s_property_show(default_value, str);
static struct kobj_attribute str_default_val = …;
attribute_property_store(current_value, str);
static struct kobj_attribute str_current_val = …;
attribute_s_property_show(dell_modifier, str);
static struct kobj_attribute str_modifier = …;
attribute_n_property_show(min_length, str);
static struct kobj_attribute str_min_length = …;
attribute_n_property_show(max_length, str);
static struct kobj_attribute str_max_length = …;
static ssize_t type_show(struct kobject *kobj, struct kobj_attribute *attr,
char *buf)
{ … }
static struct kobj_attribute str_type = …;
static struct attribute *str_attrs[] = …;
static const struct attribute_group str_attr_group = …;
int alloc_str_data(void)
{ … }
int populate_str_data(union acpi_object *str_obj, int instance_id, struct kobject *attr_name_kobj)
{ … }
void exit_str_attributes(void)
{ … }