Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/platforms/powernv/
Dopal-elog.c36 ssize_t (*show)(struct elog_obj *elog, struct elog_attribute *attr,
38 ssize_t (*store)(struct elog_obj *elog, struct elog_attribute *attr,
99 struct elog_obj *elog; in elog_attr_show() local
102 elog = to_elog_obj(kobj); in elog_attr_show()
107 return attribute->show(elog, attribute, buf); in elog_attr_show()
115 struct elog_obj *elog; in elog_attr_store() local
118 elog = to_elog_obj(kobj); in elog_attr_store()
123 return attribute->store(elog, attribute, buf, len); in elog_attr_store()
133 struct elog_obj *elog; in elog_release() local
135 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-v4.19/tools/lib/bpf/
Dbtf.c13 #define elog(fmt, ...) { if (err_log) err_log(fmt, ##__VA_ARGS__); } macro
74 elog("BTF header not found\n"); in btf_parse_hdr()
79 elog("Invalid BTF magic:%x\n", hdr->magic); in btf_parse_hdr()
84 elog("Unsupported BTF version:%u\n", hdr->version); in btf_parse_hdr()
89 elog("Unsupported BTF flags:%x\n", hdr->flags); in btf_parse_hdr()
95 elog("BTF has no data\n"); in btf_parse_hdr()
100 elog("Invalid BTF type section offset:%u\n", hdr->type_off); in btf_parse_hdr()
105 elog("Invalid BTF string section offset:%u\n", hdr->str_off); in btf_parse_hdr()
110 elog("BTF type section offset >= string section offset. No type?\n"); in btf_parse_hdr()
115 elog("BTF type section is not aligned to 4 bytes\n"); in btf_parse_hdr()
[all …]
/Linux-v4.19/arch/powerpc/platforms/pseries/
Dio_event_irq.c75 static struct pseries_io_event * ioei_find_event(struct rtas_error_log *elog) in ioei_find_event() argument
85 if (unlikely(rtas_error_type(elog) != RTAS_TYPE_IO)) { in ioei_find_event()
87 rtas_error_type(elog)); in ioei_find_event()
91 sect = get_pseries_errorlog(elog, PSERIES_ELOG_SECT_ID_IO_EVENT); in ioei_find_event()
/Linux-v4.19/arch/powerpc/include/asm/
Drtas.h178 static inline uint8_t rtas_error_severity(const struct rtas_error_log *elog) in rtas_error_severity() argument
180 return (elog->byte1 & 0xE0) >> 5; in rtas_error_severity()
183 static inline uint8_t rtas_error_disposition(const struct rtas_error_log *elog) in rtas_error_disposition() argument
185 return (elog->byte1 & 0x18) >> 3; in rtas_error_disposition()
188 static inline uint8_t rtas_error_extended(const struct rtas_error_log *elog) in rtas_error_extended() argument
190 return (elog->byte1 & 0x04) >> 2; in rtas_error_extended()
196 uint32_t rtas_error_extended_log_length(const struct rtas_error_log *elog) in rtas_error_extended_log_length() argument
198 return be32_to_cpu(elog->extended_log_length); in rtas_error_extended_log_length()
/Linux-v4.19/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-v4.19/drivers/scsi/megaraid/
Dmegaraid_sas.h2094 u32 elog; member