12#ifndef ZEPHYR_INCLUDE_DRIVERS_EDAC_H_
13#define ZEPHYR_INCLUDE_DRIVERS_EDAC_H_
void(* edac_notify_callback_f)(const struct device *dev, void *data)
Definition: edac.h:17
void
Definition: eswifi_shell.c:15
static int edac_inject_set_error_type(const struct device *dev, uint32_t error_type)
Set error type value.
Definition: edac.h:173
static int edac_notify_callback_set(const struct device *dev, edac_notify_callback_f cb)
Definition: edac.h:377
static int edac_inject_get_param2(const struct device *dev, uint64_t *value)
Get injection parameter param2.
Definition: edac.h:149
edac_error_type
EDAC error type.
Definition: edac.h:28
static int edac_ecc_error_log_get(const struct device *dev, uint64_t *value)
Get ECC Error Log.
Definition: edac.h:245
static int edac_inject_get_param1(const struct device *dev, uint64_t *value)
Get injection parameter param1.
Definition: edac.h:102
static int edac_inject_set_param2(const struct device *dev, uint64_t value)
Set injection parameter param2.
Definition: edac.h:127
static int edac_parity_error_log_get(const struct device *dev, uint64_t *value)
Get Parity Error Log.
Definition: edac.h:291
static int edac_ecc_error_log_clear(const struct device *dev)
Clear ECC Error Log.
Definition: edac.h:268
static int edac_parity_error_log_clear(const struct device *dev)
Clear Parity Error Log.
Definition: edac.h:314
static int edac_inject_set_param1(const struct device *dev, uint64_t value)
Set injection parameter param1.
Definition: edac.h:78
static int edac_errors_cor_get(const struct device *dev)
Get number of correctable errors.
Definition: edac.h:334
static int edac_errors_uc_get(const struct device *dev)
Get number of uncorrectable errors.
Definition: edac.h:354
static int edac_inject_error_trigger(const struct device *dev)
Set injection control.
Definition: edac.h:220
static int edac_inject_get_error_type(const struct device *dev, uint32_t *error_type)
Get error type value.
Definition: edac.h:197
@ EDAC_ERROR_TYPE_DRAM_UC
Definition: edac.h:32
@ EDAC_ERROR_TYPE_DRAM_COR
Definition: edac.h:30
#define BIT(n)
Unsigned integer with bit position n set (signed in assembly language).
Definition: util_macro.h:44
#define ENOSYS
Definition: errno.h:83
__UINT32_TYPE__ uint32_t
Definition: stdint.h:60
__UINT64_TYPE__ uint64_t
Definition: stdint.h:61
Runtime device structure (in ROM) per driver instance.
Definition: device.h:367
const void * api
Definition: device.h:373
EDAC driver API.
Definition: edac.h:40
int(* inject_get_error_type)(const struct device *dev, uint32_t *value)
Definition: edac.h:47
int(* ecc_error_log_get)(const struct device *dev, uint64_t *value)
Definition: edac.h:51
int(* errors_uc_get)(const struct device *dev)
Definition: edac.h:58
int(* inject_set_error_type)(const struct device *dev, uint32_t value)
Definition: edac.h:46
int(* parity_error_log_get)(const struct device *dev, uint64_t *value)
Definition: edac.h:53
int(* errors_cor_get)(const struct device *dev)
Definition: edac.h:57
int(* inject_get_param1)(const struct device *dev, uint64_t *value)
Definition: edac.h:43
int(* inject_get_param2)(const struct device *dev, uint64_t *value)
Definition: edac.h:45
int(* inject_set_param1)(const struct device *dev, uint64_t value)
Definition: edac.h:42
int(* ecc_error_log_clear)(const struct device *dev)
Definition: edac.h:52
int(* parity_error_log_clear)(const struct device *dev)
Definition: edac.h:54
int(* notify_cb_set)(const struct device *dev, edac_notify_callback_f cb)
Definition: edac.h:61
int(* inject_error_trigger)(const struct device *dev)
Definition: edac.h:48
int(* inject_set_param2)(const struct device *dev, uint64_t value)
Definition: edac.h:44
static fdata_t data[2]
Definition: test_fifo_contexts.c:15