Home
last modified time | relevance | path

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

/Linux-v5.10/arch/powerpc/platforms/powernv/
Dopal-elog.c32 ssize_t (*show)(struct elog_obj *elog, struct elog_attribute *attr,
34 ssize_t (*store)(struct elog_obj *elog, struct elog_attribute *attr,
100 struct elog_obj *elog; in elog_attr_show() local
103 elog = to_elog_obj(kobj); in elog_attr_show()
108 return attribute->show(elog, attribute, buf); in elog_attr_show()
116 struct elog_obj *elog; in elog_attr_store() local
119 elog = to_elog_obj(kobj); in elog_attr_store()
124 return attribute->store(elog, attribute, buf, len); in elog_attr_store()
134 struct elog_obj *elog; in elog_release() local
136 elog = to_elog_obj(kobj); in elog_release()
[all …]
DMakefile4 obj-y += rng.o opal-elog.o opal-dump.o opal-sysparam.o opal-sensor.o
/Linux-v5.10/arch/powerpc/include/asm/
Drtas.h125 static inline uint8_t rtas_error_severity(const struct rtas_error_log *elog) in rtas_error_severity() argument
127 return (elog->byte1 & 0xE0) >> 5; in rtas_error_severity()
130 static inline uint8_t rtas_error_disposition(const struct rtas_error_log *elog) in rtas_error_disposition() argument
132 return (elog->byte1 & 0x18) >> 3; in rtas_error_disposition()
136 void rtas_set_disposition_recovered(struct rtas_error_log *elog) in rtas_set_disposition_recovered() argument
138 elog->byte1 &= ~0x18; in rtas_set_disposition_recovered()
139 elog->byte1 |= (RTAS_DISP_FULLY_RECOVERED << 3); in rtas_set_disposition_recovered()
142 static inline uint8_t rtas_error_extended(const struct rtas_error_log *elog) in rtas_error_extended() argument
144 return (elog->byte1 & 0x04) >> 2; in rtas_error_extended()
147 static inline uint8_t rtas_error_initiator(const struct rtas_error_log *elog) in rtas_error_initiator() argument
[all …]
/Linux-v5.10/arch/powerpc/platforms/pseries/
Dio_event_irq.c71 static struct pseries_io_event * ioei_find_event(struct rtas_error_log *elog) in ioei_find_event() argument
81 if (unlikely(rtas_error_type(elog) != RTAS_TYPE_IO)) { in ioei_find_event()
83 rtas_error_type(elog)); in ioei_find_event()
87 sect = get_pseries_errorlog(elog, PSERIES_ELOG_SECT_ID_IO_EVENT); in ioei_find_event()
/Linux-v5.10/Documentation/ABI/stable/
Dsysfs-firmware-opal-elog1 What: /sys/firmware/opal/elog
11 Each log entry has a directory in /sys/firmware/opal/elog.
/Linux-v5.10/drivers/scsi/megaraid/
Dmegaraid_sas.h2188 u32 elog; member