/kernel/linux/linux-5.10/drivers/edac/ |
H A 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() 144 edac_dbg(4, "edac_dev=%p next after end=%p\n", in edac_device_alloc_ctl_info() 250 struct edac_device_ctl_info *edac_dev; in find_edac_device_by_dev() local 276 add_edac_dev_to_global_list(struct edac_device_ctl_info *edac_dev) add_edac_dev_to_global_list() argument 349 struct edac_device_ctl_info *edac_dev = to_edac_device_ctl_work(d_work); edac_device_workq_function() local 383 edac_device_workq_setup(struct edac_device_ctl_info *edac_dev, unsigned msec) edac_device_workq_setup() argument 412 edac_device_workq_teardown(struct edac_device_ctl_info *edac_dev) edac_device_workq_teardown() argument 429 edac_device_reset_delay_period(struct edac_device_ctl_info *edac_dev, unsigned long msec) edac_device_reset_delay_period() argument 450 edac_device_add_device(struct edac_device_ctl_info *edac_dev) edac_device_add_device() argument 504 struct edac_device_ctl_info *edac_dev; edac_device_del_device() local 540 edac_device_get_log_ce(struct edac_device_ctl_info *edac_dev) edac_device_get_log_ce() argument 545 edac_device_get_log_ue(struct edac_device_ctl_info *edac_dev) edac_device_get_log_ue() argument 550 edac_device_get_panic_on_ue(struct edac_device_ctl_info *edac_dev) edac_device_get_panic_on_ue() argument 556 edac_device_handle_ce_count(struct edac_device_ctl_info *edac_dev, unsigned int count, int inst_nr, int block_nr, const char *msg) edac_device_handle_ce_count() argument 602 edac_device_handle_ue_count(struct edac_device_ctl_info *edac_dev, unsigned int count, int inst_nr, int block_nr, const char *msg) edac_device_handle_ue_count() argument [all...] |
H A 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 in xgene_edac_pmd_l1_check() 659 xgene_edac_pmd_l2_check(struct edac_device_ctl_info *edac_dev) xgene_edac_pmd_l2_check() argument 734 xgene_edac_pmd_check(struct edac_device_ctl_info *edac_dev) xgene_edac_pmd_check() argument 752 xgene_edac_pmd_cpu_hw_cfg(struct edac_device_ctl_info *edac_dev, int cpu) xgene_edac_pmd_cpu_hw_cfg() argument 768 xgene_edac_pmd_hw_cfg(struct edac_device_ctl_info *edac_dev) xgene_edac_pmd_hw_cfg() argument 781 xgene_edac_pmd_hw_ctl(struct edac_device_ctl_info *edac_dev, bool enable) xgene_edac_pmd_hw_ctl() argument 810 struct edac_device_ctl_info *edac_dev = file->private_data; xgene_edac_pmd_l1_inject_ctrl_write() local 836 struct edac_device_ctl_info *edac_dev = file->private_data; xgene_edac_pmd_l2_inject_ctrl_write() local 861 xgene_edac_pmd_create_debugfs_nodes(struct edac_device_ctl_info *edac_dev) xgene_edac_pmd_create_debugfs_nodes() argument 889 struct edac_device_ctl_info *edac_dev; xgene_edac_pmd_add() local 981 struct edac_device_ctl_info *edac_dev = pmd->edac_dev; xgene_edac_pmd_remove() local 1021 struct edac_device_ctl_info *edac_dev; global() member 1053 xgene_edac_l3_check(struct edac_device_ctl_info *edac_dev) xgene_edac_l3_check() argument 1113 xgene_edac_l3_hw_init(struct edac_device_ctl_info *edac_dev, bool enable) xgene_edac_l3_hw_init() argument 1150 struct edac_device_ctl_info *edac_dev = file->private_data; xgene_edac_l3_inject_ctrl_write() local 1165 xgene_edac_l3_create_debugfs_nodes(struct edac_device_ctl_info *edac_dev) xgene_edac_l3_create_debugfs_nodes() argument 1186 struct edac_device_ctl_info *edac_dev; xgene_edac_l3_add() local 1264 struct edac_device_ctl_info *edac_dev = l3->edac_dev; xgene_edac_l3_remove() local 1388 xgene_edac_iob_gic_report(struct edac_device_ctl_info *edac_dev) xgene_edac_iob_gic_report() argument 1463 xgene_edac_rb_report(struct edac_device_ctl_info *edac_dev) xgene_edac_rb_report() argument 1572 xgene_edac_pa_report(struct edac_device_ctl_info *edac_dev) xgene_edac_pa_report() argument 1634 xgene_edac_soc_check(struct edac_device_ctl_info *edac_dev) xgene_edac_soc_check() argument 1686 xgene_edac_soc_hw_init(struct edac_device_ctl_info *edac_dev, bool enable) xgene_edac_soc_hw_init() argument 1726 struct edac_device_ctl_info *edac_dev; xgene_edac_soc_add() local 1803 struct edac_device_ctl_info *edac_dev = soc->edac_dev; xgene_edac_soc_remove() local [all...] |
H A D | edac_device_sysfs.c | 116 /* Function to 'show' fields from the edac_dev 'ctl_info' structure */ 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() 128 /* Function to 'store' fields into the edac_dev 'ctl_info' structure */ 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() 141 /* edac_dev file operations for an 'ctl_info' */ 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 in edac_device_ctrl_master_release() 231 edac_device_register_sysfs_main_kobj(struct edac_device_ctl_info *edac_dev) edac_device_register_sysfs_main_kobj() argument 508 edac_device_create_block(struct edac_device_ctl_info *edac_dev, struct edac_device_instance *instance, struct edac_device_block *block) edac_device_create_block() argument 578 edac_device_delete_block(struct edac_device_ctl_info *edac_dev, struct edac_device_block *block) edac_device_delete_block() argument 609 edac_device_create_instance(struct edac_device_ctl_info *edac_dev, int idx) edac_device_create_instance() argument 677 edac_device_delete_instance(struct edac_device_ctl_info *edac_dev, int idx) edac_device_delete_instance() argument 700 edac_device_create_instances(struct edac_device_ctl_info *edac_dev) edac_device_create_instances() argument 725 edac_device_delete_instances(struct edac_device_ctl_info *edac_dev) edac_device_delete_instances() argument 740 edac_device_add_main_sysfs_attributes( struct edac_device_ctl_info *edac_dev) edac_device_add_main_sysfs_attributes() argument 769 edac_device_remove_main_sysfs_attributes( struct edac_device_ctl_info *edac_dev) edac_device_remove_main_sysfs_attributes() argument 802 edac_device_create_sysfs(struct edac_device_ctl_info *edac_dev) edac_device_create_sysfs() argument 859 edac_device_remove_sysfs(struct edac_device_ctl_info *edac_dev) edac_device_remove_sysfs() argument [all...] |
H A 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 in amd8111_pci_bridge_check() 276 amd8111_lpc_bridge_check(struct edac_device_ctl_info *edac_dev) amd8111_lpc_bridge_check() argument [all...] |
H A 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 in mpc85xx_l2_inject_data_lo_store() 340 mpc85xx_l2_inject_data_hi_show(struct edac_device_ctl_info *edac_dev, char *data) mpc85xx_l2_inject_data_hi_show() argument 348 mpc85xx_l2_inject_data_lo_show(struct edac_device_ctl_info *edac_dev, char *data) mpc85xx_l2_inject_data_lo_show() argument 356 mpc85xx_l2_inject_ctrl_show(struct edac_device_ctl_info *edac_dev, char *data) mpc85xx_l2_inject_ctrl_show() argument 364 mpc85xx_l2_inject_data_hi_store(struct edac_device_ctl_info *edac_dev, const char *data, size_t count) mpc85xx_l2_inject_data_hi_store() argument 377 mpc85xx_l2_inject_data_lo_store(struct edac_device_ctl_info *edac_dev, const char *data, size_t count) mpc85xx_l2_inject_data_lo_store() argument 390 mpc85xx_l2_inject_ctrl_store(struct edac_device_ctl_info *edac_dev, const char *data, size_t count) mpc85xx_l2_inject_ctrl_store() argument 432 mpc85xx_set_l2_sysfs_attributes(struct edac_device_ctl_info *edac_dev) mpc85xx_set_l2_sysfs_attributes() argument 440 mpc85xx_l2_check(struct edac_device_ctl_info *edac_dev) mpc85xx_l2_check() argument 475 struct edac_device_ctl_info *edac_dev = dev_id; mpc85xx_l2_isr() local 491 struct edac_device_ctl_info *edac_dev; mpc85xx_l2_err_probe() local 595 struct edac_device_ctl_info *edac_dev = dev_get_drvdata(&op->dev); mpc85xx_l2_err_remove() local [all...] |
H A 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 in amd8131_pcix_check() [all...] |
H A 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() 377 struct edac_device_ctl_info *edac_dev = platform_get_drvdata(pdev); mv64x60_sram_err_remove() local 396 mv64x60_cpu_check(struct edac_device_ctl_info *edac_dev) mv64x60_cpu_check() argument 425 struct edac_device_ctl_info *edac_dev = dev_id; mv64x60_cpu_isr() local 441 struct edac_device_ctl_info *edac_dev; mv64x60_cpu_err_probe() local 571 struct edac_device_ctl_info *edac_dev = platform_get_drvdata(pdev); mv64x60_cpu_err_remove() local [all...] |
H A D | edac_device.h | 191 void (*edac_check) (struct edac_device_ctl_info * edac_dev); 261 * edac_device_add_device: Insert the 'edac_dev' structure into the 265 * @edac_dev: pointer to edac_device structure to be added to the list 271 extern int edac_device_add_device(struct edac_device_ctl_info *edac_dev); 291 * @edac_dev: pointer to struct &edac_device_ctl_info 297 void edac_device_handle_ce_count(struct edac_device_ctl_info *edac_dev, 304 * @edac_dev: pointer to struct &edac_device_ctl_info 310 void edac_device_handle_ue_count(struct edac_device_ctl_info *edac_dev, 317 * @edac_dev: pointer to struct &edac_device_ctl_info 323 edac_device_handle_ce(struct edac_device_ctl_info *edac_dev, in argument 338 edac_device_handle_ue(struct edac_device_ctl_info *edac_dev, int inst_nr, int block_nr, const char *msg) edac_device_handle_ue() argument [all...] |
H A 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 in cpc925_htlink_check() [all...] |
H 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 msec);
|
H A 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 in thunderx_ocx_probe() 1475 struct edac_device_ctl_info *edac_dev = pci_get_drvdata(pdev); thunderx_ocx_remove() local 1747 struct edac_device_ctl_info *edac_dev; global() member 1949 struct edac_device_ctl_info *edac_dev; thunderx_l2c_probe() local 2083 struct edac_device_ctl_info *edac_dev = pci_get_drvdata(pdev); thunderx_l2c_remove() local [all...] |
H 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);
|
H A D | amd8131_edac.h | 85 struct edac_pci_ctl_info *edac_dev; member 103 void (*check)(struct edac_pci_ctl_info *edac_dev);
|
/kernel/linux/linux-6.6/drivers/edac/ |
H A 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() 220 struct edac_device_ctl_info *edac_dev; in find_edac_device_by_dev() local 226 edac_dev in find_edac_device_by_dev() 246 add_edac_dev_to_global_list(struct edac_device_ctl_info *edac_dev) add_edac_dev_to_global_list() argument 319 struct edac_device_ctl_info *edac_dev = to_edac_device_ctl_work(d_work); edac_device_workq_function() local 353 edac_device_workq_setup(struct edac_device_ctl_info *edac_dev, unsigned msec) edac_device_workq_setup() argument 382 edac_device_workq_teardown(struct edac_device_ctl_info *edac_dev) edac_device_workq_teardown() argument 399 edac_device_reset_delay_period(struct edac_device_ctl_info *edac_dev, unsigned long msec) edac_device_reset_delay_period() argument 420 edac_device_add_device(struct edac_device_ctl_info *edac_dev) edac_device_add_device() argument 474 struct edac_device_ctl_info *edac_dev; edac_device_del_device() local 510 edac_device_get_log_ce(struct edac_device_ctl_info *edac_dev) edac_device_get_log_ce() argument 515 edac_device_get_log_ue(struct edac_device_ctl_info *edac_dev) edac_device_get_log_ue() argument 520 edac_device_get_panic_on_ue(struct edac_device_ctl_info *edac_dev) edac_device_get_panic_on_ue() argument 526 edac_device_handle_ce_count(struct edac_device_ctl_info *edac_dev, unsigned int count, int inst_nr, int block_nr, const char *msg) edac_device_handle_ce_count() argument 572 edac_device_handle_ue_count(struct edac_device_ctl_info *edac_dev, unsigned int count, int inst_nr, int block_nr, const char *msg) edac_device_handle_ue_count() argument [all...] |
H A 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 in xgene_edac_pmd_l1_check() 659 xgene_edac_pmd_l2_check(struct edac_device_ctl_info *edac_dev) xgene_edac_pmd_l2_check() argument 734 xgene_edac_pmd_check(struct edac_device_ctl_info *edac_dev) xgene_edac_pmd_check() argument 752 xgene_edac_pmd_cpu_hw_cfg(struct edac_device_ctl_info *edac_dev, int cpu) xgene_edac_pmd_cpu_hw_cfg() argument 768 xgene_edac_pmd_hw_cfg(struct edac_device_ctl_info *edac_dev) xgene_edac_pmd_hw_cfg() argument 781 xgene_edac_pmd_hw_ctl(struct edac_device_ctl_info *edac_dev, bool enable) xgene_edac_pmd_hw_ctl() argument 810 struct edac_device_ctl_info *edac_dev = file->private_data; xgene_edac_pmd_l1_inject_ctrl_write() local 836 struct edac_device_ctl_info *edac_dev = file->private_data; xgene_edac_pmd_l2_inject_ctrl_write() local 861 xgene_edac_pmd_create_debugfs_nodes(struct edac_device_ctl_info *edac_dev) xgene_edac_pmd_create_debugfs_nodes() argument 889 struct edac_device_ctl_info *edac_dev; xgene_edac_pmd_add() local 981 struct edac_device_ctl_info *edac_dev = pmd->edac_dev; xgene_edac_pmd_remove() local 1021 struct edac_device_ctl_info *edac_dev; global() member 1053 xgene_edac_l3_check(struct edac_device_ctl_info *edac_dev) xgene_edac_l3_check() argument 1113 xgene_edac_l3_hw_init(struct edac_device_ctl_info *edac_dev, bool enable) xgene_edac_l3_hw_init() argument 1150 struct edac_device_ctl_info *edac_dev = file->private_data; xgene_edac_l3_inject_ctrl_write() local 1165 xgene_edac_l3_create_debugfs_nodes(struct edac_device_ctl_info *edac_dev) xgene_edac_l3_create_debugfs_nodes() argument 1186 struct edac_device_ctl_info *edac_dev; xgene_edac_l3_add() local 1264 struct edac_device_ctl_info *edac_dev = l3->edac_dev; xgene_edac_l3_remove() local 1388 xgene_edac_iob_gic_report(struct edac_device_ctl_info *edac_dev) xgene_edac_iob_gic_report() argument 1463 xgene_edac_rb_report(struct edac_device_ctl_info *edac_dev) xgene_edac_rb_report() argument 1572 xgene_edac_pa_report(struct edac_device_ctl_info *edac_dev) xgene_edac_pa_report() argument 1634 xgene_edac_soc_check(struct edac_device_ctl_info *edac_dev) xgene_edac_soc_check() argument 1686 xgene_edac_soc_hw_init(struct edac_device_ctl_info *edac_dev, bool enable) xgene_edac_soc_hw_init() argument 1726 struct edac_device_ctl_info *edac_dev; xgene_edac_soc_add() local 1803 struct edac_device_ctl_info *edac_dev = soc->edac_dev; xgene_edac_soc_remove() local [all...] |
H A D | edac_device_sysfs.c | 116 /* Function to 'show' fields from the edac_dev 'ctl_info' structure */ 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() 128 /* Function to 'store' fields into the edac_dev 'ctl_info' structure */ 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() 141 /* edac_dev file operations for an 'ctl_info' */ 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 in edac_device_ctrl_master_release() 229 edac_device_register_sysfs_main_kobj(struct edac_device_ctl_info *edac_dev) edac_device_register_sysfs_main_kobj() argument 510 edac_device_create_block(struct edac_device_ctl_info *edac_dev, struct edac_device_instance *instance, struct edac_device_block *block) edac_device_create_block() argument 580 edac_device_delete_block(struct edac_device_ctl_info *edac_dev, struct edac_device_block *block) edac_device_delete_block() argument 611 edac_device_create_instance(struct edac_device_ctl_info *edac_dev, int idx) edac_device_create_instance() argument 679 edac_device_delete_instance(struct edac_device_ctl_info *edac_dev, int idx) edac_device_delete_instance() argument 702 edac_device_create_instances(struct edac_device_ctl_info *edac_dev) edac_device_create_instances() argument 727 edac_device_delete_instances(struct edac_device_ctl_info *edac_dev) edac_device_delete_instances() argument 742 edac_device_add_main_sysfs_attributes( struct edac_device_ctl_info *edac_dev) edac_device_add_main_sysfs_attributes() argument 771 edac_device_remove_main_sysfs_attributes( struct edac_device_ctl_info *edac_dev) edac_device_remove_main_sysfs_attributes() argument 804 edac_device_create_sysfs(struct edac_device_ctl_info *edac_dev) edac_device_create_sysfs() argument 861 edac_device_remove_sysfs(struct edac_device_ctl_info *edac_dev) edac_device_remove_sysfs() argument [all...] |
H A 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 in amd8111_pci_bridge_check() 276 amd8111_lpc_bridge_check(struct edac_device_ctl_info *edac_dev) amd8111_lpc_bridge_check() argument [all...] |
H A D | mpc85xx_edac.c | 342 *edac_dev, char *data) in mpc85xx_l2_inject_data_hi_show() 344 struct mpc85xx_l2_pdata *pdata = edac_dev->pvt_info; in mpc85xx_l2_inject_data_hi_show() 350 *edac_dev, char *data) in mpc85xx_l2_inject_data_lo_show() 352 struct mpc85xx_l2_pdata *pdata = edac_dev->pvt_info; in mpc85xx_l2_inject_data_lo_show() 358 *edac_dev, char *data) in mpc85xx_l2_inject_ctrl_show() 360 struct mpc85xx_l2_pdata *pdata = edac_dev->pvt_info; in mpc85xx_l2_inject_ctrl_show() 366 *edac_dev, const char *data, in mpc85xx_l2_inject_data_hi_store() 369 struct mpc85xx_l2_pdata *pdata = edac_dev->pvt_info; in mpc85xx_l2_inject_data_hi_store() 379 *edac_dev, const char *data, in mpc85xx_l2_inject_data_lo_store() 382 struct mpc85xx_l2_pdata *pdata = edac_dev in mpc85xx_l2_inject_data_lo_store() 341 mpc85xx_l2_inject_data_hi_show(struct edac_device_ctl_info *edac_dev, char *data) mpc85xx_l2_inject_data_hi_show() argument 349 mpc85xx_l2_inject_data_lo_show(struct edac_device_ctl_info *edac_dev, char *data) mpc85xx_l2_inject_data_lo_show() argument 357 mpc85xx_l2_inject_ctrl_show(struct edac_device_ctl_info *edac_dev, char *data) mpc85xx_l2_inject_ctrl_show() argument 365 mpc85xx_l2_inject_data_hi_store(struct edac_device_ctl_info *edac_dev, const char *data, size_t count) mpc85xx_l2_inject_data_hi_store() argument 378 mpc85xx_l2_inject_data_lo_store(struct edac_device_ctl_info *edac_dev, const char *data, size_t count) mpc85xx_l2_inject_data_lo_store() argument 391 mpc85xx_l2_inject_ctrl_store(struct edac_device_ctl_info *edac_dev, const char *data, size_t count) mpc85xx_l2_inject_ctrl_store() argument 433 mpc85xx_set_l2_sysfs_attributes(struct edac_device_ctl_info *edac_dev) mpc85xx_set_l2_sysfs_attributes() argument 441 mpc85xx_l2_check(struct edac_device_ctl_info *edac_dev) mpc85xx_l2_check() argument 476 struct edac_device_ctl_info *edac_dev = dev_id; mpc85xx_l2_isr() local 492 struct edac_device_ctl_info *edac_dev; mpc85xx_l2_err_probe() local 596 struct edac_device_ctl_info *edac_dev = dev_get_drvdata(&op->dev); mpc85xx_l2_err_remove() local [all...] |
H A 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 in amd8131_pcix_check() [all...] |
H A D | edac_device.h | 191 void (*edac_check) (struct edac_device_ctl_info * edac_dev); 263 * edac_device_add_device - Insert the 'edac_dev' structure into the 267 * @edac_dev: pointer to edac_device structure to be added to the list 273 extern int edac_device_add_device(struct edac_device_ctl_info *edac_dev); 292 * @edac_dev: pointer to struct &edac_device_ctl_info 298 void edac_device_handle_ce_count(struct edac_device_ctl_info *edac_dev, 305 * @edac_dev: pointer to struct &edac_device_ctl_info 311 void edac_device_handle_ue_count(struct edac_device_ctl_info *edac_dev, 318 * @edac_dev: pointer to struct &edac_device_ctl_info 324 edac_device_handle_ce(struct edac_device_ctl_info *edac_dev, in argument 339 edac_device_handle_ue(struct edac_device_ctl_info *edac_dev, int inst_nr, int block_nr, const char *msg) edac_device_handle_ue() argument [all...] |
H A 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 in cpc925_htlink_check() [all...] |
H A 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);
|
H A 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 in thunderx_ocx_probe() 1475 struct edac_device_ctl_info *edac_dev = pci_get_drvdata(pdev); thunderx_ocx_remove() local 1747 struct edac_device_ctl_info *edac_dev; global() member 1949 struct edac_device_ctl_info *edac_dev; thunderx_l2c_probe() local 2083 struct edac_device_ctl_info *edac_dev = pci_get_drvdata(pdev); thunderx_l2c_remove() local [all...] |
H 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);
|
H A 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()
|