#include "dell-wmi-sysman.h"
enum int_properties { … };
get_instance_id(integer);
static ssize_t current_value_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf)
{ … }
static int validate_integer_input(int instance_id, char *buf)
{ … }
attribute_s_property_show(display_name_language_code, integer);
static struct kobj_attribute integer_displ_langcode = …;
attribute_s_property_show(display_name, integer);
static struct kobj_attribute integer_displ_name = …;
attribute_n_property_show(default_value, integer);
static struct kobj_attribute integer_default_val = …;
attribute_property_store(current_value, integer);
static struct kobj_attribute integer_current_val = …;
attribute_s_property_show(dell_modifier, integer);
static struct kobj_attribute integer_modifier = …;
attribute_n_property_show(min_value, integer);
static struct kobj_attribute integer_lower_bound = …;
attribute_n_property_show(max_value, integer);
static struct kobj_attribute integer_upper_bound = …;
attribute_n_property_show(scalar_increment, integer);
static struct kobj_attribute integer_scalar_increment = …;
static ssize_t type_show(struct kobject *kobj, struct kobj_attribute *attr,
char *buf)
{ … }
static struct kobj_attribute integer_type = …;
static struct attribute *integer_attrs[] = …;
static const struct attribute_group integer_attr_group = …;
int alloc_int_data(void)
{ … }
int populate_int_data(union acpi_object *integer_obj, int instance_id,
struct kobject *attr_name_kobj)
{ … }
void exit_int_attributes(void)
{ … }