/Linux-v4.19/drivers/edac/ |
D | edac_device.c | 38 static void edac_device_dump_device(struct edac_device_ctl_info *edac_dev) in edac_device_dump_device() argument 41 edac_dev, edac_dev->dev_idx); in edac_device_dump_device() 42 edac_dbg(4, "\tedac_dev->edac_check = %p\n", edac_dev->edac_check); in edac_device_dump_device() 43 edac_dbg(3, "\tdev = %p\n", edac_dev->dev); in edac_device_dump_device() 45 edac_dev->mod_name, edac_dev->ctl_name); in edac_device_dump_device() 46 edac_dbg(3, "\tpvt_info = %p\n\n", edac_dev->pvt_info); in edac_device_dump_device() 247 struct edac_device_ctl_info *edac_dev; in find_edac_device_by_dev() local 253 edac_dev = list_entry(item, struct edac_device_ctl_info, link); in find_edac_device_by_dev() 255 if (edac_dev->dev == dev) in find_edac_device_by_dev() 256 return edac_dev; in find_edac_device_by_dev() [all …]
|
D | xgene_edac.c | 525 struct edac_device_ctl_info *edac_dev; member 531 static void xgene_edac_pmd_l1_check(struct edac_device_ctl_info *edac_dev, in xgene_edac_pmd_l1_check() argument 534 struct xgene_edac_pmd_ctx *ctx = edac_dev->pvt_info; in xgene_edac_pmd_l1_check() 543 dev_err(edac_dev->dev, in xgene_edac_pmd_l1_check() 550 dev_err(edac_dev->dev, "One or more correctable error\n"); in xgene_edac_pmd_l1_check() 552 dev_err(edac_dev->dev, "Multiple correctable error\n"); in xgene_edac_pmd_l1_check() 555 dev_err(edac_dev->dev, "L1 TLB multiple hit\n"); in xgene_edac_pmd_l1_check() 558 dev_err(edac_dev->dev, "Way select multiple hit\n"); in xgene_edac_pmd_l1_check() 561 dev_err(edac_dev->dev, "Physical tag parity error\n"); in xgene_edac_pmd_l1_check() 565 dev_err(edac_dev->dev, "L1 data parity error\n"); in xgene_edac_pmd_l1_check() [all …]
|
D | edac_device_sysfs.c | 120 struct edac_device_ctl_info *edac_dev = to_ctl_info(kobj); in edac_dev_ctl_info_show() local 124 return ctl_info_attr->show(edac_dev, buffer); in edac_dev_ctl_info_show() 133 struct edac_device_ctl_info *edac_dev = to_ctl_info(kobj); in edac_dev_ctl_info_store() local 137 return ctl_info_attr->store(edac_dev, buffer, count); in edac_dev_ctl_info_store() 203 struct edac_device_ctl_info *edac_dev = to_edacdev(kobj); in edac_device_ctrl_master_release() local 205 edac_dbg(4, "control index=%d\n", edac_dev->dev_idx); in edac_device_ctrl_master_release() 208 module_put(edac_dev->owner); in edac_device_ctrl_master_release() 213 kfree(edac_dev); in edac_device_ctrl_master_release() 231 int edac_device_register_sysfs_main_kobj(struct edac_device_ctl_info *edac_dev) in edac_device_register_sysfs_main_kobj() argument 242 edac_dev->edac_subsys = edac_subsys; in edac_device_register_sysfs_main_kobj() [all …]
|
D | amd8111_edac.c | 168 static void amd8111_pci_bridge_check(struct edac_pci_ctl_info *edac_dev) in amd8111_pci_bridge_check() argument 170 struct amd8111_pci_info *pci_info = edac_dev->pvt_info; in amd8111_pci_bridge_check() 187 edac_pci_handle_npe(edac_dev, edac_dev->ctl_name); in amd8111_pci_bridge_check() 201 edac_pci_handle_npe(edac_dev, edac_dev->ctl_name); in amd8111_pci_bridge_check() 215 edac_pci_handle_npe(edac_dev, edac_dev->ctl_name); in amd8111_pci_bridge_check() 236 edac_pci_handle_npe(edac_dev, edac_dev->ctl_name); in amd8111_pci_bridge_check() 288 static void amd8111_lpc_bridge_check(struct edac_device_ctl_info *edac_dev) in amd8111_lpc_bridge_check() argument 290 struct amd8111_dev_info *dev_info = edac_dev->pvt_info; in amd8111_lpc_bridge_check() 306 edac_device_handle_ue(edac_dev, 0, 0, edac_dev->ctl_name); in amd8111_lpc_bridge_check() 318 edac_device_handle_ue(edac_dev, 0, 0, in amd8111_lpc_bridge_check() [all …]
|
D | mpc85xx_edac.c | 341 *edac_dev, char *data) in mpc85xx_l2_inject_data_hi_show() 343 struct mpc85xx_l2_pdata *pdata = edac_dev->pvt_info; in mpc85xx_l2_inject_data_hi_show() 349 *edac_dev, char *data) in mpc85xx_l2_inject_data_lo_show() 351 struct mpc85xx_l2_pdata *pdata = edac_dev->pvt_info; in mpc85xx_l2_inject_data_lo_show() 357 *edac_dev, char *data) in mpc85xx_l2_inject_ctrl_show() 359 struct mpc85xx_l2_pdata *pdata = edac_dev->pvt_info; in mpc85xx_l2_inject_ctrl_show() 365 *edac_dev, const char *data, in mpc85xx_l2_inject_data_hi_store() 368 struct mpc85xx_l2_pdata *pdata = edac_dev->pvt_info; in mpc85xx_l2_inject_data_hi_store() 378 *edac_dev, const char *data, in mpc85xx_l2_inject_data_lo_store() 381 struct mpc85xx_l2_pdata *pdata = edac_dev->pvt_info; in mpc85xx_l2_inject_data_lo_store() [all …]
|
D | amd8131_edac.c | 169 static void amd8131_pcix_check(struct edac_pci_ctl_info *edac_dev) in amd8131_pcix_check() argument 171 struct amd8131_dev_info *dev_info = edac_dev->pvt_info; in amd8131_pcix_check() 192 edac_pci_handle_npe(edac_dev, edac_dev->ctl_name); in amd8131_pcix_check() 205 edac_pci_handle_npe(edac_dev, edac_dev->ctl_name); in amd8131_pcix_check() 218 edac_pci_handle_npe(edac_dev, edac_dev->ctl_name); in amd8131_pcix_check() 231 edac_pci_handle_npe(edac_dev, edac_dev->ctl_name); in amd8131_pcix_check() 281 dev_info->edac_dev = edac_pci_alloc_ctl_info(0, dev_info->ctl_name); in amd8131_probe() 282 if (!dev_info->edac_dev) in amd8131_probe() 285 dev_info->edac_dev->pvt_info = dev_info; in amd8131_probe() 286 dev_info->edac_dev->dev = &dev_info->dev->dev; in amd8131_probe() [all …]
|
D | mv64x60_edac.c | 231 static void mv64x60_sram_check(struct edac_device_ctl_info *edac_dev) in mv64x60_sram_check() argument 233 struct mv64x60_sram_pdata *pdata = edac_dev->pvt_info; in mv64x60_sram_check() 254 edac_device_handle_ue(edac_dev, 0, 0, edac_dev->ctl_name); in mv64x60_sram_check() 259 struct edac_device_ctl_info *edac_dev = dev_id; in mv64x60_sram_isr() local 260 struct mv64x60_sram_pdata *pdata = edac_dev->pvt_info; in mv64x60_sram_isr() 267 mv64x60_sram_check(edac_dev); in mv64x60_sram_isr() 274 struct edac_device_ctl_info *edac_dev; in mv64x60_sram_err_probe() local 282 edac_dev = edac_device_alloc_ctl_info(sizeof(*pdata), in mv64x60_sram_err_probe() 285 if (!edac_dev) { in mv64x60_sram_err_probe() 290 pdata = edac_dev->pvt_info; in mv64x60_sram_err_probe() [all …]
|
D | cpc925_edac.c | 289 struct edac_device_ctl_info *edac_dev; member 292 void (*check)(struct edac_device_ctl_info *edac_dev); 681 static void cpc925_cpu_check(struct edac_device_ctl_info *edac_dev) in cpc925_cpu_check() argument 683 struct cpc925_dev_info *dev_info = edac_dev->pvt_info; in cpc925_cpu_check() 701 edac_device_handle_ue(edac_dev, 0, 0, edac_dev->ctl_name); in cpc925_cpu_check() 728 static void cpc925_htlink_check(struct edac_device_ctl_info *edac_dev) in cpc925_htlink_check() argument 730 struct cpc925_dev_info *dev_info = edac_dev->pvt_info; in cpc925_htlink_check() 775 edac_device_handle_ce(edac_dev, 0, 0, edac_dev->ctl_name); in cpc925_htlink_check() 826 dev_info->edac_dev = in cpc925_add_edac_devices() 829 if (!dev_info->edac_dev) { in cpc925_add_edac_devices() [all …]
|
D | edac_module.h | 46 struct edac_device_ctl_info *edac_dev); 48 struct edac_device_ctl_info *edac_dev); 49 extern int edac_device_create_sysfs(struct edac_device_ctl_info *edac_dev); 50 extern void edac_device_remove_sysfs(struct edac_device_ctl_info *edac_dev); 60 *edac_dev, unsigned long value);
|
D | amd8111_edac.h | 113 struct edac_device_ctl_info *edac_dev; member 116 void (*check)(struct edac_device_ctl_info *edac_dev); 124 struct edac_pci_ctl_info *edac_dev; member 127 void (*check)(struct edac_pci_ctl_info *edac_dev);
|
D | thunderx_edac.c | 1056 struct edac_device_ctl_info *edac_dev; member 1131 ocx->edac_dev->ctl_name, ctx->reg_com_int); in thunderx_ocx_com_threaded_isr() 1154 edac_device_handle_ce(ocx->edac_dev, 0, 0, msg); in thunderx_ocx_com_threaded_isr() 1214 ocx->edac_dev->ctl_name, in thunderx_ocx_lnk_threaded_isr() 1223 edac_device_handle_ue(ocx->edac_dev, 0, 0, msg); in thunderx_ocx_lnk_threaded_isr() 1225 edac_device_handle_ce(ocx->edac_dev, 0, 0, msg); in thunderx_ocx_lnk_threaded_isr() 1346 struct edac_device_ctl_info *edac_dev; in thunderx_ocx_probe() local 1367 edac_dev = edac_device_alloc_ctl_info(sizeof(struct thunderx_ocx), in thunderx_ocx_probe() 1370 if (!edac_dev) { in thunderx_ocx_probe() 1374 ocx = edac_dev->pvt_info; in thunderx_ocx_probe() [all …]
|
D | edac_device.h | 191 void (*edac_check) (struct edac_device_ctl_info * edac_dev); 271 extern int edac_device_add_device(struct edac_device_ctl_info *edac_dev); 297 extern void edac_device_handle_ue(struct edac_device_ctl_info *edac_dev, 308 extern void edac_device_handle_ce(struct edac_device_ctl_info *edac_dev,
|
D | amd8131_edac.h | 97 struct edac_pci_ctl_info *edac_dev; member 115 void (*check)(struct edac_pci_ctl_info *edac_dev);
|
D | edac_pci.h | 63 void (*edac_check) (struct edac_pci_ctl_info * edac_dev);
|
D | altera_edac.c | 1165 edac_device_handle_ce(dci->edac_dev, 0, 0, dci->edac_dev_name); in altr_edac_a10_ecc_irq() 1171 edac_device_handle_ue(dci->edac_dev, 0, 0, dci->edac_dev_name); in altr_edac_a10_ecc_irq() 1522 edac_device_handle_ce(dci->edac_dev, 0, 0, dci->edac_dev_name); in altr_edac_a10_l2_irq() 1529 edac_device_handle_ue(dci->edac_dev, 0, 0, dci->edac_dev_name); in altr_edac_a10_l2_irq() 1747 altdev->edac_dev = dci; in altr_portb_setup() 1817 edac_device_handle_ce(ad->edac_dev, 0, 0, ad->edac_dev_name); in altr_edac_a10_ecc_irq_portb() 1822 edac_device_handle_ue(ad->edac_dev, 0, 0, ad->edac_dev_name); in altr_edac_a10_ecc_irq_portb() 2042 altdev->edac_dev = dci; in altr_edac_a10_device_add()
|
D | altera_edac.h | 360 struct edac_device_ctl_info *edac_dev; member
|