Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
EDAC API header file. More...
#include <sys/types.h>
Go to the source code of this file.
Data Structures | |
struct | edac_driver_api |
EDAC driver API. More... | |
Typedefs | |
typedef void(* | edac_notify_callback_f) (const struct device *dev, void *data) |
Enumerations | |
enum | edac_error_type { EDAC_ERROR_TYPE_DRAM_COR = BIT(0) , EDAC_ERROR_TYPE_DRAM_UC = BIT(1) } |
EDAC error type. More... | |
Functions | |
static int | edac_inject_set_param1 (const struct device *dev, uint64_t value) |
Set injection parameter param1. More... | |
static int | edac_inject_get_param1 (const struct device *dev, uint64_t *value) |
Get injection parameter param1. More... | |
static int | edac_inject_set_param2 (const struct device *dev, uint64_t value) |
Set injection parameter param2. More... | |
static int | edac_inject_get_param2 (const struct device *dev, uint64_t *value) |
Get injection parameter param2. More... | |
static int | edac_inject_set_error_type (const struct device *dev, uint32_t error_type) |
Set error type value. More... | |
static int | edac_inject_get_error_type (const struct device *dev, uint32_t *error_type) |
Get error type value. More... | |
static int | edac_inject_error_trigger (const struct device *dev) |
Set injection control. More... | |
static int | edac_ecc_error_log_get (const struct device *dev, uint64_t *value) |
Get ECC Error Log. More... | |
static int | edac_ecc_error_log_clear (const struct device *dev) |
Clear ECC Error Log. More... | |
static int | edac_parity_error_log_get (const struct device *dev, uint64_t *value) |
Get Parity Error Log. More... | |
static int | edac_parity_error_log_clear (const struct device *dev) |
Clear Parity Error Log. More... | |
static int | edac_errors_cor_get (const struct device *dev) |
Get number of correctable errors. More... | |
static int | edac_errors_uc_get (const struct device *dev) |
Get number of uncorrectable errors. More... | |
static int | edac_notify_callback_set (const struct device *dev, edac_notify_callback_f cb) |
EDAC API header file.