Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
EDAC driver API. More...
#include <edac.h>
Data Fields | |
int(* | inject_set_param1 )(const struct device *dev, uint64_t value) |
int(* | inject_get_param1 )(const struct device *dev, uint64_t *value) |
int(* | inject_set_param2 )(const struct device *dev, uint64_t value) |
int(* | inject_get_param2 )(const struct device *dev, uint64_t *value) |
int(* | inject_set_error_type )(const struct device *dev, uint32_t value) |
int(* | inject_get_error_type )(const struct device *dev, uint32_t *value) |
int(* | inject_error_trigger )(const struct device *dev) |
int(* | ecc_error_log_get )(const struct device *dev, uint64_t *value) |
int(* | ecc_error_log_clear )(const struct device *dev) |
int(* | parity_error_log_get )(const struct device *dev, uint64_t *value) |
int(* | parity_error_log_clear )(const struct device *dev) |
int(* | errors_cor_get )(const struct device *dev) |
int(* | errors_uc_get )(const struct device *dev) |
int(* | notify_cb_set )(const struct device *dev, edac_notify_callback_f cb) |
EDAC driver API.
This is the mandatory API any EDAC driver needs to expose.
int(* edac_driver_api::ecc_error_log_clear) (const struct device *dev) |
int(* edac_driver_api::errors_cor_get) (const struct device *dev) |
int(* edac_driver_api::errors_uc_get) (const struct device *dev) |
int(* edac_driver_api::inject_error_trigger) (const struct device *dev) |
int(* edac_driver_api::notify_cb_set) (const struct device *dev, edac_notify_callback_f cb) |
int(* edac_driver_api::parity_error_log_clear) (const struct device *dev) |