Home
last modified time | relevance | path

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

/linux/arch/powerpc/platforms/powernv/
H A Dopal-dump.c20 struct dump_obj { struct
28 #define to_dump_obj(x) container_of(x, struct dump_obj, kobj) argument
32 ssize_t (*show)(struct dump_obj *dump, struct dump_attribute *attr,
34 ssize_t (*store)(struct dump_obj *dump, struct dump_attribute *attr,
39 static ssize_t dump_id_show(struct dump_obj *dump_obj, in dump_id_show() argument
43 return sprintf(buf, "0x%x\n", dump_obj->id); in dump_id_show()
56 static ssize_t dump_type_show(struct dump_obj *dump_obj, in dump_type_show() argument
61 return sprintf(buf, "0x%x %s\n", dump_obj->type, in dump_type_show()
62 dump_type_to_string(dump_obj->type)); in dump_type_show()
65 static ssize_t dump_ack_show(struct dump_obj *dump_obj, in dump_ack_show() argument
[all …]