/linux-6.12.1/drivers/edac/ |
D | edac_device.c | 41 static void edac_device_dump_device(struct edac_device_ctl_info *edac_dev) in edac_device_dump_device() argument 44 edac_dev, edac_dev->dev_idx); in edac_device_dump_device() 45 edac_dbg(4, "\tedac_dev->edac_check = %p\n", edac_dev->edac_check); in edac_device_dump_device() 46 edac_dbg(3, "\tdev = %p\n", edac_dev->dev); in edac_device_dump_device() 48 edac_dev->mod_name, edac_dev->ctl_name); in edac_device_dump_device() 49 edac_dbg(3, "\tpvt_info = %p\n\n", edac_dev->pvt_info); in edac_device_dump_device() 171 struct edac_device_ctl_info *edac_dev; in find_edac_device_by_dev() local 177 edac_dev = list_entry(item, struct edac_device_ctl_info, link); in find_edac_device_by_dev() 179 if (edac_dev->dev == dev) in find_edac_device_by_dev() 180 return edac_dev; in find_edac_device_by_dev() [all …]
|
D | xgene_edac.c | 513 struct edac_device_ctl_info *edac_dev; member 519 static void xgene_edac_pmd_l1_check(struct edac_device_ctl_info *edac_dev, in xgene_edac_pmd_l1_check() argument 522 struct xgene_edac_pmd_ctx *ctx = edac_dev->pvt_info; in xgene_edac_pmd_l1_check() 531 dev_err(edac_dev->dev, in xgene_edac_pmd_l1_check() 538 dev_err(edac_dev->dev, "One or more correctable error\n"); in xgene_edac_pmd_l1_check() 540 dev_err(edac_dev->dev, "Multiple correctable error\n"); in xgene_edac_pmd_l1_check() 543 dev_err(edac_dev->dev, "L1 TLB multiple hit\n"); in xgene_edac_pmd_l1_check() 546 dev_err(edac_dev->dev, "Way select multiple hit\n"); in xgene_edac_pmd_l1_check() 549 dev_err(edac_dev->dev, "Physical tag parity error\n"); in xgene_edac_pmd_l1_check() 553 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() 204 struct edac_device_ctl_info *edac_dev = to_edacdev(kobj); in edac_device_ctrl_master_release() local 206 edac_dbg(4, "control index=%d\n", edac_dev->dev_idx); in edac_device_ctrl_master_release() 209 module_put(edac_dev->owner); in edac_device_ctrl_master_release() 211 __edac_device_free_ctl_info(edac_dev); in edac_device_ctrl_master_release() 229 int edac_device_register_sysfs_main_kobj(struct edac_device_ctl_info *edac_dev) in edac_device_register_sysfs_main_kobj() argument 241 edac_dev->edac_subsys = edac_subsys; in edac_device_register_sysfs_main_kobj() [all …]
|
D | amd8111_edac.c | 156 static void amd8111_pci_bridge_check(struct edac_pci_ctl_info *edac_dev) in amd8111_pci_bridge_check() argument 158 struct amd8111_pci_info *pci_info = edac_dev->pvt_info; in amd8111_pci_bridge_check() 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() 276 static void amd8111_lpc_bridge_check(struct edac_device_ctl_info *edac_dev) in amd8111_lpc_bridge_check() argument 278 struct amd8111_dev_info *dev_info = edac_dev->pvt_info; in amd8111_lpc_bridge_check() 294 edac_device_handle_ue(edac_dev, 0, 0, edac_dev->ctl_name); in amd8111_lpc_bridge_check() 306 edac_device_handle_ue(edac_dev, 0, 0, in amd8111_lpc_bridge_check() [all …]
|
D | mpc85xx_edac.c | 340 *edac_dev, char *data) in mpc85xx_l2_inject_data_hi_show() 342 struct mpc85xx_l2_pdata *pdata = edac_dev->pvt_info; in mpc85xx_l2_inject_data_hi_show() 348 *edac_dev, char *data) in mpc85xx_l2_inject_data_lo_show() 350 struct mpc85xx_l2_pdata *pdata = edac_dev->pvt_info; in mpc85xx_l2_inject_data_lo_show() 356 *edac_dev, char *data) in mpc85xx_l2_inject_ctrl_show() 358 struct mpc85xx_l2_pdata *pdata = edac_dev->pvt_info; in mpc85xx_l2_inject_ctrl_show() 364 *edac_dev, const char *data, in mpc85xx_l2_inject_data_hi_store() 367 struct mpc85xx_l2_pdata *pdata = edac_dev->pvt_info; in mpc85xx_l2_inject_data_hi_store() 377 *edac_dev, const char *data, in mpc85xx_l2_inject_data_lo_store() 380 struct mpc85xx_l2_pdata *pdata = edac_dev->pvt_info; in mpc85xx_l2_inject_data_lo_store() [all …]
|
D | amd8131_edac.c | 149 static void amd8131_pcix_check(struct edac_pci_ctl_info *edac_dev) in amd8131_pcix_check() argument 151 struct amd8131_dev_info *dev_info = edac_dev->pvt_info; in amd8131_pcix_check() 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() 261 dev_info->edac_dev = edac_pci_alloc_ctl_info(0, dev_info->ctl_name); in amd8131_probe() 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() [all …]
|
D | edac_device.h | 181 void (*edac_check) (struct edac_device_ctl_info * edac_dev); 258 extern int edac_device_add_device(struct edac_device_ctl_info *edac_dev); 283 void edac_device_handle_ce_count(struct edac_device_ctl_info *edac_dev, 296 void edac_device_handle_ue_count(struct edac_device_ctl_info *edac_dev, 309 edac_device_handle_ce(struct edac_device_ctl_info *edac_dev, int inst_nr, in edac_device_handle_ce() argument 312 edac_device_handle_ce_count(edac_dev, 1, inst_nr, block_nr, msg); in edac_device_handle_ce() 324 edac_device_handle_ue(struct edac_device_ctl_info *edac_dev, int inst_nr, in edac_device_handle_ue() argument 327 edac_device_handle_ue_count(edac_dev, 1, inst_nr, block_nr, msg); in edac_device_handle_ue()
|
D | cpc925_edac.c | 277 struct edac_device_ctl_info *edac_dev; member 280 void (*check)(struct edac_device_ctl_info *edac_dev); 653 static void cpc925_cpu_check(struct edac_device_ctl_info *edac_dev) in cpc925_cpu_check() argument 655 struct cpc925_dev_info *dev_info = edac_dev->pvt_info; in cpc925_cpu_check() 673 edac_device_handle_ue(edac_dev, 0, 0, edac_dev->ctl_name); in cpc925_cpu_check() 700 static void cpc925_htlink_check(struct edac_device_ctl_info *edac_dev) in cpc925_htlink_check() argument 702 struct cpc925_dev_info *dev_info = edac_dev->pvt_info; in cpc925_htlink_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() [all …]
|
D | edac_module.h | 42 struct edac_device_ctl_info *edac_dev); 44 struct edac_device_ctl_info *edac_dev); 45 extern int edac_device_create_sysfs(struct edac_device_ctl_info *edac_dev); 46 extern void edac_device_remove_sysfs(struct edac_device_ctl_info *edac_dev); 56 *edac_dev, unsigned long msec);
|
D | thunderx_edac.c | 1050 struct edac_device_ctl_info *edac_dev; member 1125 ocx->edac_dev->ctl_name, ctx->reg_com_int); in thunderx_ocx_com_threaded_isr() 1148 edac_device_handle_ce(ocx->edac_dev, 0, 0, msg); in thunderx_ocx_com_threaded_isr() 1208 ocx->edac_dev->ctl_name, in thunderx_ocx_lnk_threaded_isr() 1217 edac_device_handle_ue(ocx->edac_dev, 0, 0, msg); in thunderx_ocx_lnk_threaded_isr() 1219 edac_device_handle_ce(ocx->edac_dev, 0, 0, msg); in thunderx_ocx_lnk_threaded_isr() 1340 struct edac_device_ctl_info *edac_dev; in thunderx_ocx_probe() local 1361 edac_dev = edac_device_alloc_ctl_info(sizeof(struct thunderx_ocx), in thunderx_ocx_probe() 1363 if (!edac_dev) { in thunderx_ocx_probe() 1367 ocx = edac_dev->pvt_info; in thunderx_ocx_probe() [all …]
|
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);
|
D | zynqmp_edac.c | 253 struct edac_device_ctl_info *edac_dev = file->private_data; in inject_ce_write() local 254 struct edac_priv *priv = edac_dev->pvt_info; in inject_ce_write() 297 struct edac_device_ctl_info *edac_dev = file->private_data; in inject_ue_write() local 298 struct edac_priv *priv = edac_dev->pvt_info; in inject_ue_write() 349 static void setup_debugfs(struct edac_device_ctl_info *edac_dev) in setup_debugfs() argument 351 struct edac_priv *priv = edac_dev->pvt_info; in setup_debugfs() 360 edac_dev, &inject_ue_fops); in setup_debugfs() 362 edac_dev, &inject_ce_fops); in setup_debugfs()
|
D | amd8131_edac.h | 85 struct edac_pci_ctl_info *edac_dev; member 103 void (*check)(struct edac_pci_ctl_info *edac_dev);
|
D | edac_pci.h | 60 void (*edac_check) (struct edac_pci_ctl_info * edac_dev);
|
D | altera_edac.c | 858 edac_device_handle_ce(dci->edac_dev, 0, 0, dci->edac_dev_name); in altr_edac_a10_ecc_irq() 864 edac_device_handle_ue(dci->edac_dev, 0, 0, dci->edac_dev_name); in altr_edac_a10_ecc_irq() 1289 edac_device_handle_ce(dci->edac_dev, 0, 0, dci->edac_dev_name); in altr_edac_a10_l2_irq() 1296 edac_device_handle_ue(dci->edac_dev, 0, 0, dci->edac_dev_name); in altr_edac_a10_l2_irq() 1534 altdev->edac_dev = dci; in altr_portb_setup() 1652 edac_device_handle_ce(ad->edac_dev, 0, 0, ad->edac_dev_name); in altr_edac_a10_ecc_irq_portb() 1657 edac_device_handle_ue(ad->edac_dev, 0, 0, ad->edac_dev_name); in altr_edac_a10_ecc_irq_portb() 1937 altdev->edac_dev = dci; in altr_edac_a10_device_add()
|
D | altera_edac.h | 382 struct edac_device_ctl_info *edac_dev; member
|