Lines Matching full:device

17 typedef void (*edac_notify_callback_f)(const struct device *dev, void *data);
42 int (*inject_set_param1)(const struct device *dev, uint64_t value);
43 int (*inject_get_param1)(const struct device *dev, uint64_t *value);
44 int (*inject_set_param2)(const struct device *dev, uint64_t value);
45 int (*inject_get_param2)(const struct device *dev, uint64_t *value);
46 int (*inject_set_error_type)(const struct device *dev, uint32_t value);
47 int (*inject_get_error_type)(const struct device *dev, uint32_t *value);
48 int (*inject_error_trigger)(const struct device *dev);
51 int (*ecc_error_log_get)(const struct device *dev, uint64_t *value);
52 int (*ecc_error_log_clear)(const struct device *dev);
53 int (*parity_error_log_get)(const struct device *dev, uint64_t *value);
54 int (*parity_error_log_clear)(const struct device *dev);
57 int (*errors_cor_get)(const struct device *dev);
58 int (*errors_uc_get)(const struct device *dev);
61 int (*notify_cb_set)(const struct device *dev,
72 * @param dev Pointer to the device structure
78 static inline int edac_inject_set_param1(const struct device *dev, in edac_inject_set_param1()
96 * @param dev Pointer to the device structure
102 static inline int edac_inject_get_param1(const struct device *dev, in edac_inject_get_param1()
121 * @param dev Pointer to the device structure
127 static inline int edac_inject_set_param2(const struct device *dev, in edac_inject_set_param2()
143 * @param dev Pointer to the device structure
149 static inline int edac_inject_get_param2(const struct device *dev, in edac_inject_get_param2()
167 * @param dev Pointer to the device structure
173 static inline int edac_inject_set_error_type(const struct device *dev, in edac_inject_set_error_type()
191 * @param dev Pointer to the device structure
197 static inline int edac_inject_get_error_type(const struct device *dev, in edac_inject_get_error_type()
215 * @param dev Pointer to the device structure
220 static inline int edac_inject_error_trigger(const struct device *dev) in edac_inject_error_trigger()
239 * @param dev Pointer to the device structure
245 static inline int edac_ecc_error_log_get(const struct device *dev, in edac_ecc_error_log_get()
263 * @param dev Pointer to the device structure
268 static inline int edac_ecc_error_log_clear(const struct device *dev) in edac_ecc_error_log_clear()
285 * @param dev Pointer to the device structure
291 static inline int edac_parity_error_log_get(const struct device *dev, in edac_parity_error_log_get()
309 * @param dev Pointer to the device structure
314 static inline int edac_parity_error_log_clear(const struct device *dev) in edac_parity_error_log_clear()
329 * @param dev Pointer to the device structure
334 static inline int edac_errors_cor_get(const struct device *dev) in edac_errors_cor_get()
349 * @param dev Pointer to the device structure
354 static inline int edac_errors_uc_get(const struct device *dev) in edac_errors_uc_get()
371 * @param dev EDAC driver device to install callback
377 static inline int edac_notify_callback_set(const struct device *dev, in edac_notify_callback_set()