Searched refs:edac_ctl (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/edac/ |
| H A D | dummy_edac.c | 42 static void dummy_edac_check(struct edac_device_ctl_info *edac_ctl) in dummy_edac_check() argument 44 struct dummy_edac_priv *priv = edac_ctl->pvt_info; in dummy_edac_check() 51 edac_device_handle_ce(edac_ctl, cpu, 0, msg); in dummy_edac_check() 57 edac_device_handle_ue(edac_ctl, cpu, 0, msg); in dummy_edac_check() 89 struct edac_device_ctl_info *edac_ctl; in dummy_edac_probe() local 94 edac_ctl = edac_device_alloc_ctl_info(sizeof(*priv), "cpu", in dummy_edac_probe() 97 if (!edac_ctl) in dummy_edac_probe() 100 priv = edac_ctl->pvt_info; in dummy_edac_probe() 104 edac_ctl->edac_check = dummy_edac_check; in dummy_edac_probe() 105 edac_ctl->dev = dev; in dummy_edac_probe() [all …]
|
| H A D | a72_edac.c | 48 static void report_errors(struct edac_device_ctl_info *edac_ctl, int cpu, in report_errors() argument 84 edac_device_handle_ue(edac_ctl, cpu, 0, msg); in report_errors() 86 edac_device_handle_ce(edac_ctl, cpu, 0, msg); in report_errors() 96 edac_device_handle_ue(edac_ctl, cpu, 1, msg); in report_errors() 98 edac_device_handle_ce(edac_ctl, cpu, 1, msg); in report_errors() 118 static void a72_edac_check(struct edac_device_ctl_info *edac_ctl) in a72_edac_check() argument 126 report_errors(edac_ctl, cpu, &mesr); in a72_edac_check() 133 struct edac_device_ctl_info *edac_ctl; in a72_edac_probe() local 137 edac_ctl = edac_device_alloc_ctl_info(0, "cpu", in a72_edac_probe() 140 if (!edac_ctl) in a72_edac_probe() [all …]
|