Home
last modified time | relevance | path

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

/linux/arch/powerpc/platforms/powernv/
H A 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 …]
/linux/arch/powerpc/include/asm/
H A Drtas.h317 static inline uint8_t rtas_error_severity(const struct rtas_error_log *elog) in rtas_error_severity() argument
319 return (elog->byte1 & 0xE0) >> 5; in rtas_error_severity()
322 static inline uint8_t rtas_error_disposition(const struct rtas_error_log *elog) in rtas_error_disposition() argument
324 return (elog->byte1 & 0x18) >> 3; in rtas_error_disposition()
328 void rtas_set_disposition_recovered(struct rtas_error_log *elog) in rtas_set_disposition_recovered() argument
330 elog->byte1 &= ~0x18; in rtas_set_disposition_recovered()
331 elog->byte1 |= (RTAS_DISP_FULLY_RECOVERED << 3); in rtas_set_disposition_recovered()
334 static inline uint8_t rtas_error_extended(const struct rtas_error_log *elog) in rtas_error_extended() argument
336 return (elog->byte1 & 0x04) >> 2; in rtas_error_extended()
339 static inline uint8_t rtas_error_initiator(const struct rtas_error_log *elog) in rtas_error_initiator() argument
[all …]
/linux/arch/powerpc/platforms/pseries/
H A 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()
H A Dpapr-hvpipe.c589 struct rtas_error_log *elog; in hvpipe_event_interrupt() local
602 elog = (struct rtas_error_log *)hvpipe_ras_buf; in hvpipe_event_interrupt()
603 if (unlikely(rtas_error_type(elog) != RTAS_TYPE_HVPIPE)) { in hvpipe_event_interrupt()
605 rtas_error_type(elog)); in hvpipe_event_interrupt()
609 pseries_log = get_pseries_errorlog(elog, in hvpipe_event_interrupt()
/linux/Documentation/ABI/stable/
H A Dsysfs-firmware-opal-elog1 What: /sys/firmware/opal/elog
11 Each log entry has a directory in /sys/firmware/opal/elog.
/linux/drivers/scsi/megaraid/
H A Dmegaraid_sas.h2194 u32 elog; member