/linux/drivers/edac/ |
A D | edac_mc.c | 64 struct mem_ctl_info *mci = dimm->mci; in edac_dimm_info_location() 233 struct mem_ctl_info *mci = container_of(dev, struct mem_ctl_info, dev); in mci_release() 391 struct mem_ctl_info *mci; in edac_mc_alloc() 499 struct mem_ctl_info *mci; in __find_mci_by_dev() 523 struct mem_ctl_info *ret; in find_mci_by_dev() 566 struct mem_ctl_info *mci; in edac_mc_reset_delay_period() 593 struct mem_ctl_info *p; in add_mc_to_global_list() 642 struct mem_ctl_info *edac_mc_find(int idx) in edac_mc_find() 644 struct mem_ctl_info *mci; in edac_mc_find() 755 struct mem_ctl_info *mci; in edac_mc_del_mc() [all …]
|
A D | edac_mc.h | 96 #define to_mci(k) container_of(k, struct mem_ctl_info, dev) 125 struct mem_ctl_info *edac_mc_alloc(unsigned int mc_num, 148 extern int edac_mc_add_mc_with_groups(struct mem_ctl_info *mci, 157 extern void edac_mc_free(struct mem_ctl_info *mci); 176 extern struct mem_ctl_info *edac_mc_find(int idx); 187 extern struct mem_ctl_info *find_mci_by_dev(struct device *dev); 197 extern struct mem_ctl_info *edac_mc_del_mc(struct device *dev); 208 extern int edac_mc_find_csrow_by_page(struct mem_ctl_info *mci, 242 struct mem_ctl_info *mci,
|
A D | ppc4xx_edac.c | 626 ppc4xx_ecc_dump_status(const struct mem_ctl_info *mci, in ppc4xx_ecc_dump_status() 663 ppc4xx_ecc_get_status(const struct mem_ctl_info *mci, in ppc4xx_ecc_get_status() 688 ppc4xx_ecc_clear_status(const struct mem_ctl_info *mci, in ppc4xx_ecc_clear_status() 715 ppc4xx_edac_handle_ce(struct mem_ctl_info *mci, in ppc4xx_edac_handle_ce() 743 ppc4xx_edac_handle_ue(struct mem_ctl_info *mci, in ppc4xx_edac_handle_ue() 773 ppc4xx_edac_check(struct mem_ctl_info *mci) in ppc4xx_edac_check() 812 struct mem_ctl_info *mci = dev_id; in ppc4xx_edac_isr() 1006 static int ppc4xx_edac_mc_init(struct mem_ctl_info *mci, in ppc4xx_edac_mc_init() 1096 struct mem_ctl_info *mci) in ppc4xx_edac_register_irq() 1228 struct mem_ctl_info *mci = NULL; in ppc4xx_edac_probe() [all …]
|
A D | i5100_edac.c | 432 static void i5100_handle_ce(struct mem_ctl_info *mci, in i5100_handle_ce() 454 static void i5100_handle_ue(struct mem_ctl_info *mci, in i5100_handle_ue() 545 static void i5100_check_error(struct mem_ctl_info *mci) in i5100_check_error() 672 static void i5100_init_mtr(struct mem_ctl_info *mci) in i5100_init_mtr() 773 struct mem_ctl_info *mci) in i5100_init_dimm_layout() 795 struct mem_ctl_info *mci) in i5100_init_interleaving() 840 static void i5100_init_csrows(struct mem_ctl_info *mci) in i5100_init_csrows() 871 static void i5100_do_inject(struct mem_ctl_info *mci) in i5100_do_inject() 936 struct mem_ctl_info *mci = to_mci(dev); in inject_enable_write() 983 struct mem_ctl_info *mci; in i5100_init_one() [all …]
|
A D | octeon_edac-lmc.c | 26 #define to_mci(k) container_of(k, struct mem_ctl_info, dev) 38 static void octeon_lmc_edac_poll(struct mem_ctl_info *mci) in octeon_lmc_edac_poll() 71 static void octeon_lmc_edac_poll_o2(struct mem_ctl_info *mci) in octeon_lmc_edac_poll_o2() 135 struct mem_ctl_info *mci = to_mci(dev); \ 145 struct mem_ctl_info *mci = to_mci(dev); \ 172 struct mem_ctl_info *mci = to_mci(dev); in octeon_mc_inject_error_type_store() 187 struct mem_ctl_info *mci = to_mci(dev); in octeon_mc_inject_error_type_show() 227 struct mem_ctl_info *mci; in octeon_lmc_edac_probe() 307 struct mem_ctl_info *mci = platform_get_drvdata(pdev); in octeon_lmc_edac_remove()
|
A D | e7xxx_edac.c | 182 static unsigned long ctl_page_to_phys(struct mem_ctl_info *mci, in ctl_page_to_phys() 203 static void process_ce(struct mem_ctl_info *mci, struct e7xxx_error_info *info) in process_ce() 225 static void process_ce_no_info(struct mem_ctl_info *mci) in process_ce_no_info() 232 static void process_ue(struct mem_ctl_info *mci, struct e7xxx_error_info *info) in process_ue() 248 static void process_ue_no_info(struct mem_ctl_info *mci) in process_ue_no_info() 256 static void e7xxx_get_error_info(struct mem_ctl_info *mci, in e7xxx_get_error_info() 284 static int e7xxx_process_error_info(struct mem_ctl_info *mci, in e7xxx_process_error_info() 332 static void e7xxx_check(struct mem_ctl_info *mci) in e7xxx_check() 353 static void e7xxx_init_csrows(struct mem_ctl_info *mci, struct pci_dev *pdev, in e7xxx_init_csrows() 423 struct mem_ctl_info *mci = NULL; in e7xxx_probe1() [all …]
|
A D | fsl_ddr_edac.c | 57 #define to_mci(k) container_of(k, struct mem_ctl_info, dev) 63 struct mem_ctl_info *mci = to_mci(dev); in fsl_mc_inject_data_hi_show() 73 struct mem_ctl_info *mci = to_mci(dev); in fsl_mc_inject_data_lo_show() 83 struct mem_ctl_info *mci = to_mci(dev); in fsl_mc_inject_ctrl_show() 93 struct mem_ctl_info *mci = to_mci(dev); in fsl_mc_inject_data_hi_store() 113 struct mem_ctl_info *mci = to_mci(dev); in fsl_mc_inject_data_lo_store() 133 struct mem_ctl_info *mci = to_mci(dev); in fsl_mc_inject_ctrl_store() 277 static void fsl_mc_check(struct mem_ctl_info *mci) in fsl_mc_check() 378 struct mem_ctl_info *mci = dev_id; in fsl_mc_isr() 478 struct mem_ctl_info *mci; in fsl_mc_err_probe() [all …]
|
A D | edac_mc_sysfs.c | 663 struct mem_ctl_info *mci = to_mci(dev); in mci_reset_counters_store() 704 struct mem_ctl_info *mci = to_mci(dev); in mci_sdram_scrub_rate_store() 728 struct mem_ctl_info *mci = to_mci(dev); in mci_sdram_scrub_rate_show() 745 struct mem_ctl_info *mci = to_mci(dev); in mci_ue_count_show() 754 struct mem_ctl_info *mci = to_mci(dev); in mci_ce_count_show() 763 struct mem_ctl_info *mci = to_mci(dev); in mci_ce_noinfo_show() 772 struct mem_ctl_info *mci = to_mci(dev); in mci_ue_noinfo_show() 781 struct mem_ctl_info *mci = to_mci(dev); in mci_seconds_show() 790 struct mem_ctl_info *mci = to_mci(dev); in mci_ctl_name_show() 799 struct mem_ctl_info *mci = to_mci(dev); in mci_size_mb_show() [all …]
|
A D | e752x_edac.c | 304 static unsigned long ctl_page_to_phys(struct mem_ctl_info *mci, in ctl_page_to_phys() 327 static void do_process_ce(struct mem_ctl_info *mci, u16 error_one, in do_process_ce() 388 static void do_process_ue(struct mem_ctl_info *mci, u16 error_one, in do_process_ue() 446 static inline void process_ue_no_info_wr(struct mem_ctl_info *mci, in process_ue_no_info_wr() 790 static void e752x_check_dram(struct mem_ctl_info *mci, in e752x_check_dram() 838 static void e752x_get_error_info(struct mem_ctl_info *mci, in e752x_get_error_info() 945 static int e752x_process_error_info(struct mem_ctl_info *mci, in e752x_process_error_info() 979 static void e752x_check(struct mem_ctl_info *mci) in e752x_check() 1017 static int get_sdram_scrub_rate(struct mem_ctl_info *mci) in get_sdram_scrub_rate() 1259 struct mem_ctl_info *mci; in e752x_probe1() [all …]
|
A D | pasemi_edac.c | 63 static u32 pasemi_edac_get_error_info(struct mem_ctl_info *mci) in pasemi_edac_get_error_info() 84 static void pasemi_edac_process_error_info(struct mem_ctl_info *mci, u32 errsta) in pasemi_edac_process_error_info() 113 static void pasemi_edac_check(struct mem_ctl_info *mci) in pasemi_edac_check() 122 static int pasemi_edac_init_csrows(struct mem_ctl_info *mci, in pasemi_edac_init_csrows() 182 struct mem_ctl_info *mci = NULL; in pasemi_edac_probe() 259 struct mem_ctl_info *mci = edac_mc_del_mc(&pdev->dev); in pasemi_edac_remove()
|
A D | amd76x_edac.c | 102 static void amd76x_get_error_info(struct mem_ctl_info *mci, in amd76x_get_error_info() 130 static int amd76x_process_error_info(struct mem_ctl_info *mci, in amd76x_process_error_info() 179 static void amd76x_check(struct mem_ctl_info *mci) in amd76x_check() 186 static void amd76x_init_csrows(struct mem_ctl_info *mci, struct pci_dev *pdev, in amd76x_init_csrows() 236 struct mem_ctl_info *mci; in amd76x_probe1() 320 struct mem_ctl_info *mci; in amd76x_remove_one()
|
A D | i7core_edac.c | 245 struct mem_ctl_info *mci; 686 struct mem_ctl_info *mci = to_mci(dev); in i7core_inject_section_store() 706 struct mem_ctl_info *mci = to_mci(dev); in i7core_inject_section_show() 723 struct mem_ctl_info *mci = to_mci(dev); in i7core_inject_type_store() 743 struct mem_ctl_info *mci = to_mci(dev); in i7core_inject_type_show() 763 struct mem_ctl_info *mci = to_mci(dev); in i7core_inject_eccmask_store() 783 struct mem_ctl_info *mci = to_mci(dev); in i7core_inject_eccmask_show() 914 struct mem_ctl_info *mci = to_mci(dev); in i7core_inject_enable_store() 1018 struct mem_ctl_info *mci = to_mci(dev); in i7core_inject_enable_show() 1815 struct mem_ctl_info *mci; in i7core_mce_check_error() [all …]
|
A D | highbank_mc_edac.c | 55 struct mem_ctl_info *mci = dev_id; in highbank_mc_err_handler() 86 static void highbank_mc_err_inject(struct mem_ctl_info *mci, u8 synd) in highbank_mc_err_inject() 97 #define to_mci(k) container_of(k, struct mem_ctl_info, dev) 102 struct mem_ctl_info *mci = to_mci(dev); in highbank_mc_inject_ctrl() 149 struct mem_ctl_info *mci; in highbank_mc_probe() 252 struct mem_ctl_info *mci = platform_get_drvdata(pdev); in highbank_mc_remove()
|
A D | edac_module.h | 28 extern int edac_create_sysfs_mci_device(struct mem_ctl_info *mci, 30 extern void edac_remove_sysfs_mci_device(struct mem_ctl_info *mci); 73 void edac_create_debugfs_nodes(struct mem_ctl_info *mci); 89 static inline void edac_create_debugfs_nodes(struct mem_ctl_info *mci) { } in edac_create_debugfs_nodes()
|
A D | i82860_edac.c | 64 static void i82860_get_error_info(struct mem_ctl_info *mci, in i82860_get_error_info() 97 static int i82860_process_error_info(struct mem_ctl_info *mci, in i82860_process_error_info() 134 static void i82860_check(struct mem_ctl_info *mci) in i82860_check() 142 static void i82860_init_csrows(struct mem_ctl_info *mci, struct pci_dev *pdev) in i82860_init_csrows() 186 struct mem_ctl_info *mci; in i82860_probe1() 275 struct mem_ctl_info *mci; in i82860_remove_one()
|
A D | r82600_edac.c | 137 static void r82600_get_error_info(struct mem_ctl_info *mci, in r82600_get_error_info() 158 static int r82600_process_error_info(struct mem_ctl_info *mci, in r82600_process_error_info() 203 static void r82600_check(struct mem_ctl_info *mci) in r82600_check() 216 static void r82600_init_csrows(struct mem_ctl_info *mci, struct pci_dev *pdev, in r82600_init_csrows() 270 struct mem_ctl_info *mci; in r82600_probe1() 370 struct mem_ctl_info *mci; in r82600_remove_one()
|
A D | cell_edac.c | 34 static void cell_edac_count_ce(struct mem_ctl_info *mci, int chan, u64 ar) in cell_edac_count_ce() 57 static void cell_edac_count_ue(struct mem_ctl_info *mci, int chan, u64 ar) in cell_edac_count_ue() 79 static void cell_edac_check(struct mem_ctl_info *mci) in cell_edac_check() 128 static void cell_edac_init_csrows(struct mem_ctl_info *mci) in cell_edac_init_csrows() 171 struct mem_ctl_info *mci; in cell_edac_probe() 239 struct mem_ctl_info *mci = edac_mc_del_mc(&pdev->dev); in cell_edac_remove()
|
A D | aspeed_edac.c | 92 static void count_rec(struct mem_ctl_info *mci, u8 rec_cnt, u32 rec_addr) in count_rec() 124 static void count_un_rec(struct mem_ctl_info *mci, u8 un_rec_cnt, in count_un_rec() 159 struct mem_ctl_info *mci = arg; in mcr_isr() 231 static int init_csrows(struct mem_ctl_info *mci) in init_csrows() 283 struct mem_ctl_info *mci; in aspeed_probe() 362 struct mem_ctl_info *mci; in aspeed_remove()
|
A D | i82443bxgx_edac.c | 120 static void i82443bxgx_edacmc_get_error_info(struct mem_ctl_info *mci, in i82443bxgx_edacmc_get_error_info() 140 static int i82443bxgx_edacmc_process_error_info(struct mem_ctl_info *mci, in i82443bxgx_edacmc_process_error_info() 175 static void i82443bxgx_edacmc_check(struct mem_ctl_info *mci) in i82443bxgx_edacmc_check() 183 static void i82443bxgx_init_csrows(struct mem_ctl_info *mci, in i82443bxgx_init_csrows() 233 struct mem_ctl_info *mci; in i82443bxgx_edacmc_probe1() 368 struct mem_ctl_info *mci; in i82443bxgx_edacmc_remove_one()
|
A D | synopsys_edac.c | 529 struct mem_ctl_info *mci = dev_id; in intr_handler() 561 static void check_errors(struct mem_ctl_info *mci) in check_errors() 768 static void init_csrows(struct mem_ctl_info *mci) in init_csrows() 848 static int setup_irq(struct mem_ctl_info *mci, in setup_irq() 910 #define to_mci(k) container_of(k, struct mem_ctl_info, dev) 976 struct mem_ctl_info *mci = to_mci(dev); in inject_data_error_show() 990 struct mem_ctl_info *mci = to_mci(dev); in inject_data_error_store() 1005 struct mem_ctl_info *mci = to_mci(dev); in inject_data_poison_show() 1017 struct mem_ctl_info *mci = to_mci(dev); in inject_data_poison_store() 1292 struct mem_ctl_info *mci; in mc_probe() [all …]
|
A D | i5400_edac.c | 435 static void i5400_get_error_info(struct mem_ctl_info *mci, in i5400_get_error_info() 657 static void i5400_process_error_info(struct mem_ctl_info *mci, in i5400_process_error_info() 675 static void i5400_clear_error(struct mem_ctl_info *mci) in i5400_clear_error() 686 static void i5400_check_error(struct mem_ctl_info *mci) in i5400_check_error() 698 static void i5400_put_devices(struct mem_ctl_info *mci) in i5400_put_devices() 717 static int i5400_get_devices(struct mem_ctl_info *mci, int dev_idx) in i5400_get_devices() 1051 static void i5400_get_mc_regs(struct mem_ctl_info *mci) in i5400_get_mc_regs() 1164 static int i5400_init_dimms(struct mem_ctl_info *mci) in i5400_init_dimms() 1227 static void i5400_enable_error_reporting(struct mem_ctl_info *mci) in i5400_enable_error_reporting() 1254 struct mem_ctl_info *mci; in i5400_probe1() [all …]
|
A D | i7300_edac.c | 351 static void i7300_process_error_global(struct mem_ctl_info *mci) in i7300_process_error_global() 406 static void i7300_process_fbd_error(struct mem_ctl_info *mci) in i7300_process_fbd_error() 509 static void i7300_check_error(struct mem_ctl_info *mci) in i7300_check_error() 519 static void i7300_clear_error(struct mem_ctl_info *mci) in i7300_clear_error() 556 static void i7300_enable_error_reporting(struct mem_ctl_info *mci) in i7300_enable_error_reporting() 745 static int i7300_init_csrows(struct mem_ctl_info *mci) in i7300_init_csrows() 838 static int i7300_get_mc_regs(struct mem_ctl_info *mci) in i7300_get_mc_regs() 909 static void i7300_put_devices(struct mem_ctl_info *mci) in i7300_put_devices() 934 static int i7300_get_devices(struct mem_ctl_info *mci) in i7300_get_devices() 1023 struct mem_ctl_info *mci; in i7300_init_one() [all …]
|
A D | bluefield_edac.c | 93 static void bluefield_gather_report_ecc(struct mem_ctl_info *mci, in bluefield_gather_report_ecc() 146 static void bluefield_edac_check(struct mem_ctl_info *mci) in bluefield_edac_check() 180 static void bluefield_edac_init_dimms(struct mem_ctl_info *mci) in bluefield_edac_init_dimms() 247 struct mem_ctl_info *mci; in bluefield_edac_mc_probe() 328 struct mem_ctl_info *mci = platform_get_drvdata(pdev); in bluefield_edac_mc_remove()
|
A D | amd64_edac.c | 318 static struct mem_ctl_info *find_mc_by_sys_addr(struct mem_ctl_info *mci, in find_mc_by_sys_addr() 577 struct mem_ctl_info *mci = to_mci(dev); in dram_hole_show() 614 struct mem_ctl_info *mci = to_mci(dev); in inject_section_show() 629 struct mem_ctl_info *mci = to_mci(dev); in inject_section_store() 823 struct mem_ctl_info *mci = container_of(dev, struct mem_ctl_info, dev); in inj_is_visible() 1435 struct mem_ctl_info *mci; in get_error_address() 2120 struct mem_ctl_info *mci; in f1x_lookup_addr_in_dct() 2860 struct mem_ctl_info *mci; in decode_bus_error() 2911 struct mem_ctl_info *mci; in decode_umc_error() 3753 struct mem_ctl_info *mci = NULL; in init_one_instance() [all …]
|
/linux/include/linux/ |
A D | edac.h | 380 struct mem_ctl_info *mci; /* the parent */ 435 struct mem_ctl_info *mci; /* the parent */ 487 struct mem_ctl_info { struct 512 int (*set_sdram_scrub_rate) (struct mem_ctl_info * mci, u32 bw); argument 518 int (*get_sdram_scrub_rate) (struct mem_ctl_info * mci); argument 522 void (*edac_check) (struct mem_ctl_info * mci); argument 529 unsigned long (*ctl_page_to_phys) (struct mem_ctl_info * mci, argument 629 static inline struct dimm_info *edac_get_dimm(struct mem_ctl_info *mci, in edac_get_dimm()
|