#include "dell-wmi-sysman.h"
enum po_properties { … };
get_instance_id(po);
static ssize_t is_enabled_show(struct kobject *kobj, struct kobj_attribute *attr,
char *buf)
{ … }
static struct kobj_attribute po_is_pass_set = …;
static ssize_t current_password_store(struct kobject *kobj,
struct kobj_attribute *attr,
const char *buf, size_t count)
{ … }
static struct kobj_attribute po_current_password = …;
static ssize_t new_password_store(struct kobject *kobj,
struct kobj_attribute *attr,
const char *buf, size_t count)
{ … }
static struct kobj_attribute po_new_password = …;
attribute_n_property_show(min_password_length, po);
static struct kobj_attribute po_min_pass_length = …;
attribute_n_property_show(max_password_length, po);
static struct kobj_attribute po_max_pass_length = …;
static ssize_t mechanism_show(struct kobject *kobj, struct kobj_attribute *attr,
char *buf)
{ … }
static struct kobj_attribute po_mechanism = …;
static ssize_t role_show(struct kobject *kobj, struct kobj_attribute *attr,
char *buf)
{ … }
static struct kobj_attribute po_role = …;
static struct attribute *po_attrs[] = …;
static const struct attribute_group po_attr_group = …;
int alloc_po_data(void)
{ … }
int populate_po_data(union acpi_object *po_obj, int instance_id, struct kobject *attr_name_kobj)
{ … }
void exit_po_attributes(void)
{ … }