/linux/drivers/edac/ |
A D | edac_device.c | 41 edac_dev, edac_dev->dev_idx); in edac_device_dump_device() 45 edac_dev->mod_name, edac_dev->ctl_name); in edac_device_dump_device() 256 return edac_dev; in find_edac_device_by_dev() 359 edac_dev->edac_check(edac_dev); in edac_device_workq_function() 372 edac_queue_work(&edac_dev->work, edac_dev->delay); in edac_device_workq_function() 402 edac_queue_work(&edac_dev->work, edac_dev->delay); in edac_device_workq_setup() 488 edac_dev->mod_name, edac_dev->ctl_name, edac_dev->dev_name, in edac_device_add_device() 535 edac_dev->dev_idx, in edac_device_del_device() 536 edac_dev->mod_name, edac_dev->ctl_name, edac_dev_name(edac_dev)); in edac_device_del_device() 538 return edac_dev; in edac_device_del_device() [all …]
|
A D | xgene_edac.c | 565 edac_device_handle_ce(edac_dev, 0, 0, edac_dev->ctl_name); in xgene_edac_pmd_l1_check() 609 edac_device_handle_ce(edac_dev, 0, 0, edac_dev->ctl_name); in xgene_edac_pmd_l1_check() 656 edac_device_handle_ce(edac_dev, 0, 0, edac_dev->ctl_name); in xgene_edac_pmd_l1_check() 715 edac_device_handle_ce(edac_dev, 0, 0, edac_dev->ctl_name); in xgene_edac_pmd_l2_check() 718 edac_device_handle_ue(edac_dev, 0, 0, edac_dev->ctl_name); in xgene_edac_pmd_l2_check() 927 ctx->edac_dev = edac_dev; in xgene_edac_pmd_add() 981 struct edac_device_ctl_info *edac_dev = pmd->edac_dev; in xgene_edac_pmd_remove() local 1223 ctx->edac_dev = edac_dev; in xgene_edac_l3_add() 1264 struct edac_device_ctl_info *edac_dev = l3->edac_dev; in xgene_edac_l3_remove() local 1763 ctx->edac_dev = edac_dev; in xgene_edac_soc_add() [all …]
|
A D | edac_device_sysfs.c | 208 module_put(edac_dev->owner); in edac_device_ctrl_master_release() 213 kfree(edac_dev); in edac_device_ctrl_master_release() 242 edac_dev->edac_subsys = edac_subsys; in edac_device_register_sysfs_main_kobj() 250 edac_dev->owner = THIS_MODULE; in edac_device_register_sysfs_main_kobj() 260 "%s", edac_dev->name); in edac_device_register_sysfs_main_kobj() 263 edac_dev->name); in edac_device_register_sysfs_main_kobj() 278 kobject_put(&edac_dev->kobj); in edac_device_register_sysfs_main_kobj() 279 module_put(edac_dev->owner); in edac_device_register_sysfs_main_kobj() 617 instance = &edac_dev->instances[idx]; in edac_device_create_instance() 622 instance->ctl = edac_dev; in edac_device_create_instance() [all …]
|
A D | amd8111_edac.c | 175 edac_pci_handle_npe(edac_dev, edac_dev->ctl_name); in amd8111_pci_bridge_check() 189 edac_pci_handle_npe(edac_dev, edac_dev->ctl_name); in amd8111_pci_bridge_check() 203 edac_pci_handle_npe(edac_dev, edac_dev->ctl_name); in amd8111_pci_bridge_check() 224 edac_pci_handle_npe(edac_dev, edac_dev->ctl_name); in amd8111_pci_bridge_check() 294 edac_device_handle_ue(edac_dev, 0, 0, edac_dev->ctl_name); in amd8111_lpc_bridge_check() 307 edac_dev->ctl_name); in amd8111_lpc_bridge_check() 367 dev_info->edac_dev = in amd8111_dev_probe() 371 if (!dev_info->edac_dev) { in amd8111_dev_probe() 420 if (dev_info->edac_dev) { in amd8111_dev_remove() 463 if (!pci_info->edac_dev) { in amd8111_pci_probe() [all …]
|
A D | mpc85xx_edac.c | 341 *edac_dev, char *data) in mpc85xx_l2_inject_data_hi_show() 349 *edac_dev, char *data) in mpc85xx_l2_inject_data_lo_show() 357 *edac_dev, char *data) in mpc85xx_l2_inject_ctrl_show() 433 *edac_dev) in mpc85xx_set_l2_sysfs_attributes() 467 edac_device_handle_ce(edac_dev, 0, 0, edac_dev->ctl_name); in mpc85xx_l2_check() 470 edac_device_handle_ue(edac_dev, 0, 0, edac_dev->ctl_name); in mpc85xx_l2_check() 484 mpc85xx_l2_check(edac_dev); in mpc85xx_l2_isr() 502 if (!edac_dev) { in mpc85xx_l2_err_probe() 507 pdata = edac_dev->pvt_info; in mpc85xx_l2_err_probe() 509 edac_dev->dev = &op->dev; in mpc85xx_l2_err_probe() [all …]
|
A D | amd8131_edac.c | 172 edac_pci_handle_npe(edac_dev, edac_dev->ctl_name); in amd8131_pcix_check() 185 edac_pci_handle_npe(edac_dev, edac_dev->ctl_name); in amd8131_pcix_check() 198 edac_pci_handle_npe(edac_dev, edac_dev->ctl_name); in amd8131_pcix_check() 211 edac_pci_handle_npe(edac_dev, edac_dev->ctl_name); in amd8131_pcix_check() 262 if (!dev_info->edac_dev) in amd8131_probe() 265 dev_info->edac_dev->pvt_info = dev_info; in amd8131_probe() 266 dev_info->edac_dev->dev = &dev_info->dev->dev; in amd8131_probe() 280 edac_pci_free_ctl_info(dev_info->edac_dev); in amd8131_probe() 304 if (dev_info->edac_dev) { in amd8131_remove() 305 edac_pci_del_device(dev_info->edac_dev->dev); in amd8131_remove() [all …]
|
A 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); 296 void edac_device_handle_ce_count(struct edac_device_ctl_info *edac_dev, 309 void edac_device_handle_ue_count(struct edac_device_ctl_info *edac_dev, 322 edac_device_handle_ce(struct edac_device_ctl_info *edac_dev, int inst_nr, in edac_device_handle_ce() argument 325 edac_device_handle_ce_count(edac_dev, 1, inst_nr, block_nr, msg); in edac_device_handle_ce() 337 edac_device_handle_ue(struct edac_device_ctl_info *edac_dev, int inst_nr, in edac_device_handle_ue() argument 340 edac_device_handle_ue_count(edac_dev, 1, inst_nr, block_nr, msg); in edac_device_handle_ue()
|
A D | cpc925_edac.c | 277 struct edac_device_ctl_info *edac_dev; member 673 edac_device_handle_ue(edac_dev, 0, 0, edac_dev->ctl_name); in cpc925_cpu_check() 747 edac_device_handle_ce(edac_dev, 0, 0, edac_dev->ctl_name); in cpc925_htlink_check() 798 dev_info->edac_dev = in cpc925_add_edac_devices() 801 if (!dev_info->edac_dev) { in cpc925_add_edac_devices() 806 dev_info->edac_dev->pvt_info = dev_info; in cpc925_add_edac_devices() 807 dev_info->edac_dev->dev = &dev_info->pdev->dev; in cpc925_add_edac_devices() 833 edac_device_free_ctl_info(dev_info->edac_dev); in cpc925_add_edac_devices() 848 if (dev_info->edac_dev) { in cpc925_del_edac_devices() 849 edac_device_del_device(dev_info->edac_dev->dev); in cpc925_del_edac_devices() [all …]
|
A D | thunderx_edac.c | 1214 ocx->edac_dev->ctl_name, in thunderx_ocx_lnk_threaded_isr() 1370 if (!edac_dev) { in thunderx_ocx_probe() 1374 ocx = edac_dev->pvt_info; in thunderx_ocx_probe() 1375 ocx->edac_dev = edac_dev; in thunderx_ocx_probe() 1416 edac_dev->dev = &pdev->dev; in thunderx_ocx_probe() 1440 pci_set_drvdata(pdev, edac_dev); in thunderx_ocx_probe() 2009 if (!edac_dev) { in thunderx_l2c_probe() 2014 l2c = edac_dev->pvt_info; in thunderx_l2c_probe() 2015 l2c->edac_dev = edac_dev; in thunderx_l2c_probe() 2046 edac_dev->dev = &pdev->dev; in thunderx_l2c_probe() [all …]
|
A D | edac_module.h | 45 struct edac_device_ctl_info *edac_dev); 47 struct edac_device_ctl_info *edac_dev); 48 extern int edac_device_create_sysfs(struct edac_device_ctl_info *edac_dev); 49 extern void edac_device_remove_sysfs(struct edac_device_ctl_info *edac_dev); 59 *edac_dev, unsigned long value);
|
A D | amd8111_edac.h | 101 struct edac_device_ctl_info *edac_dev; member 104 void (*check)(struct edac_device_ctl_info *edac_dev); 112 struct edac_pci_ctl_info *edac_dev; member 115 void (*check)(struct edac_pci_ctl_info *edac_dev);
|
A D | amd8131_edac.h | 85 struct edac_pci_ctl_info *edac_dev; member 103 void (*check)(struct edac_pci_ctl_info *edac_dev);
|
A D | altera_edac.c | 868 edac_device_handle_ce(dci->edac_dev, 0, 0, dci->edac_dev_name); in altr_edac_a10_ecc_irq() 874 edac_device_handle_ue(dci->edac_dev, 0, 0, dci->edac_dev_name); in altr_edac_a10_ecc_irq() 1261 edac_device_handle_ce(dci->edac_dev, 0, 0, dci->edac_dev_name); in altr_edac_a10_l2_irq() 1268 edac_device_handle_ue(dci->edac_dev, 0, 0, dci->edac_dev_name); in altr_edac_a10_l2_irq() 1506 altdev->edac_dev = dci; in altr_portb_setup() 1624 edac_device_handle_ce(ad->edac_dev, 0, 0, ad->edac_dev_name); in altr_edac_a10_ecc_irq_portb() 1629 edac_device_handle_ue(ad->edac_dev, 0, 0, ad->edac_dev_name); in altr_edac_a10_ecc_irq_portb() 1910 altdev->edac_dev = dci; in altr_edac_a10_device_add()
|
A D | edac_pci.h | 63 void (*edac_check) (struct edac_pci_ctl_info * edac_dev);
|
A D | altera_edac.h | 382 struct edac_device_ctl_info *edac_dev; member
|