Lines Matching refs:dmi_sysfs_entry
34 struct dmi_sysfs_entry { struct
54 ssize_t (*show)(struct dmi_sysfs_entry *entry, char *buf);
69 ssize_t (*show)(struct dmi_sysfs_entry *entry,
88 static struct dmi_sysfs_entry *to_entry(struct kobject *kobj) in to_entry()
90 return container_of(kobj, struct dmi_sysfs_entry, kobj); in to_entry()
101 struct dmi_sysfs_entry *entry = to_entry(kobj); in dmi_sysfs_attr_show()
115 typedef ssize_t (*dmi_callback)(struct dmi_sysfs_entry *,
119 struct dmi_sysfs_entry *entry;
130 struct dmi_sysfs_entry *entry = data->entry; in find_dmi_entry_helper()
159 static ssize_t find_dmi_entry(struct dmi_sysfs_entry *entry, in find_dmi_entry()
203 static ssize_t dmi_entry_attr_show_helper(struct dmi_sysfs_entry *entry, in dmi_entry_attr_show_helper()
269 static ssize_t dmi_sysfs_sel_##_field(struct dmi_sysfs_entry *entry, \
362 static ssize_t dmi_sel_raw_read_io(struct dmi_sysfs_entry *entry, in dmi_sel_raw_read_io()
380 static ssize_t dmi_sel_raw_read_phys32(struct dmi_sysfs_entry *entry, in dmi_sel_raw_read_phys32()
401 static ssize_t dmi_sel_raw_read_helper(struct dmi_sysfs_entry *entry, in dmi_sel_raw_read_helper()
438 struct dmi_sysfs_entry *entry = to_entry(kobj->parent); in dmi_sel_raw_read()
453 static int dmi_system_event_log(struct dmi_sysfs_entry *entry) in dmi_system_event_log()
484 static ssize_t dmi_sysfs_entry_length(struct dmi_sysfs_entry *entry, char *buf) in dmi_sysfs_entry_length()
489 static ssize_t dmi_sysfs_entry_handle(struct dmi_sysfs_entry *entry, char *buf) in dmi_sysfs_entry_handle()
494 static ssize_t dmi_sysfs_entry_type(struct dmi_sysfs_entry *entry, char *buf) in dmi_sysfs_entry_type()
499 static ssize_t dmi_sysfs_entry_instance(struct dmi_sysfs_entry *entry, in dmi_sysfs_entry_instance()
505 static ssize_t dmi_sysfs_entry_position(struct dmi_sysfs_entry *entry, in dmi_sysfs_entry_position()
525 ATTRIBUTE_GROUPS(dmi_sysfs_entry);
527 static ssize_t dmi_entry_raw_read_helper(struct dmi_sysfs_entry *entry, in dmi_entry_raw_read_helper()
545 struct dmi_sysfs_entry *entry = to_entry(kobj); in dmi_entry_raw_read()
562 struct dmi_sysfs_entry *entry = to_entry(kobj); in dmi_sysfs_entry_release()
587 struct dmi_sysfs_entry *entry; in dmi_sysfs_register_handle()
646 struct dmi_sysfs_entry *entry, *next; in cleanup_entry_list()