/linux-2.6.39/drivers/edac/ |
D | edac_mc.c | 65 static void edac_mc_dump_mci(struct mem_ctl_info *mci) in edac_mc_dump_mci() 155 struct mem_ctl_info *edac_mc_alloc(unsigned sz_pvt, unsigned nr_csrows, in edac_mc_alloc() 158 struct mem_ctl_info *mci; in edac_mc_alloc() 171 mci = (struct mem_ctl_info *)0; in edac_mc_alloc() 236 void edac_mc_free(struct mem_ctl_info *mci) in edac_mc_free() 255 struct mem_ctl_info *find_mci_by_dev(struct device *dev) in find_mci_by_dev() 257 struct mem_ctl_info *mci; in find_mci_by_dev() 263 mci = list_entry(item, struct mem_ctl_info, link); in find_mci_by_dev() 296 struct mem_ctl_info *mci = to_edac_mem_ctl_work(d_work); in edac_mc_workq_function() 326 static void edac_mc_workq_setup(struct mem_ctl_info *mci, unsigned msec) in edac_mc_workq_setup() [all …]
|
D | edac_mc_sysfs.c | 342 struct mem_ctl_info *mci; in edac_csrow_instance_release() 361 static int edac_create_csrow_object(struct mem_ctl_info *mci, in edac_create_csrow_object() 415 static ssize_t mci_reset_counters_store(struct mem_ctl_info *mci, in mci_reset_counters_store() 448 static ssize_t mci_sdram_scrub_rate_store(struct mem_ctl_info *mci, in mci_sdram_scrub_rate_store() 473 static ssize_t mci_sdram_scrub_rate_show(struct mem_ctl_info *mci, char *data) in mci_sdram_scrub_rate_show() 490 static ssize_t mci_ue_count_show(struct mem_ctl_info *mci, char *data) in mci_ue_count_show() 495 static ssize_t mci_ce_count_show(struct mem_ctl_info *mci, char *data) in mci_ce_count_show() 500 static ssize_t mci_ce_noinfo_show(struct mem_ctl_info *mci, char *data) in mci_ce_noinfo_show() 505 static ssize_t mci_ue_noinfo_show(struct mem_ctl_info *mci, char *data) in mci_ue_noinfo_show() 510 static ssize_t mci_seconds_show(struct mem_ctl_info *mci, char *data) in mci_seconds_show() [all …]
|
D | edac_core.h | 323 struct mem_ctl_info *mci; /* the parent */ 343 struct mem_ctl_info *mci; /* the parent */ 356 ssize_t (*show)(struct mem_ctl_info *,char *); 357 ssize_t (*store)(struct mem_ctl_info *, const char *,size_t); 362 struct mem_ctl_info { struct 384 int (*set_sdram_scrub_rate) (struct mem_ctl_info * mci, u32 bw); argument 390 int (*get_sdram_scrub_rate) (struct mem_ctl_info * mci); argument 394 void (*edac_check) (struct mem_ctl_info * mci); argument 401 unsigned long (*ctl_page_to_phys) (struct mem_ctl_info * mci, argument 655 container_of(w, struct mem_ctl_info, work) [all …]
|
D | amd64_edac_inj.c | 3 static ssize_t amd64_inject_section_show(struct mem_ctl_info *mci, char *buf) in amd64_inject_section_show() 15 static ssize_t amd64_inject_section_store(struct mem_ctl_info *mci, in amd64_inject_section_store() 36 static ssize_t amd64_inject_word_show(struct mem_ctl_info *mci, char *buf) in amd64_inject_word_show() 48 static ssize_t amd64_inject_word_store(struct mem_ctl_info *mci, in amd64_inject_word_store() 69 static ssize_t amd64_inject_ecc_vector_show(struct mem_ctl_info *mci, char *buf) in amd64_inject_ecc_vector_show() 80 static ssize_t amd64_inject_ecc_vector_store(struct mem_ctl_info *mci, in amd64_inject_ecc_vector_store() 106 static ssize_t amd64_inject_read_store(struct mem_ctl_info *mci, in amd64_inject_read_store() 139 static ssize_t amd64_inject_write_store(struct mem_ctl_info *mci, in amd64_inject_write_store()
|
D | edac_module.h | 26 extern int edac_mc_register_sysfs_main_kobj(struct mem_ctl_info *mci); 27 extern void edac_mc_unregister_sysfs_main_kobj(struct mem_ctl_info *mci); 28 extern int edac_create_sysfs_mci_device(struct mem_ctl_info *mci); 29 extern void edac_remove_sysfs_mci_device(struct mem_ctl_info *mci);
|
D | ppc4xx_edac.c | 316 ppc4xx_edac_generate_bank_message(const struct mem_ctl_info *mci, in ppc4xx_edac_generate_bank_message() 378 ppc4xx_edac_generate_checkbit_message(const struct mem_ctl_info *mci, in ppc4xx_edac_generate_checkbit_message() 436 ppc4xx_edac_generate_lane_message(const struct mem_ctl_info *mci, in ppc4xx_edac_generate_lane_message() 501 ppc4xx_edac_generate_ecc_message(const struct mem_ctl_info *mci, in ppc4xx_edac_generate_ecc_message() 557 ppc4xx_edac_generate_plb_message(const struct mem_ctl_info *mci, in ppc4xx_edac_generate_plb_message() 598 ppc4xx_edac_generate_message(const struct mem_ctl_info *mci, in ppc4xx_edac_generate_message() 631 ppc4xx_ecc_dump_status(const struct mem_ctl_info *mci, in ppc4xx_ecc_dump_status() 668 ppc4xx_ecc_get_status(const struct mem_ctl_info *mci, in ppc4xx_ecc_get_status() 693 ppc4xx_ecc_clear_status(const struct mem_ctl_info *mci, in ppc4xx_ecc_clear_status() 720 ppc4xx_edac_handle_ce(struct mem_ctl_info *mci, in ppc4xx_edac_handle_ce() [all …]
|
D | e7xxx_edac.c | 180 static unsigned long ctl_page_to_phys(struct mem_ctl_info *mci, in ctl_page_to_phys() 201 static void process_ce(struct mem_ctl_info *mci, struct e7xxx_error_info *info) in process_ce() 222 static void process_ce_no_info(struct mem_ctl_info *mci) in process_ce_no_info() 228 static void process_ue(struct mem_ctl_info *mci, struct e7xxx_error_info *info) in process_ue() 242 static void process_ue_no_info(struct mem_ctl_info *mci) in process_ue_no_info() 248 static void e7xxx_get_error_info(struct mem_ctl_info *mci, in e7xxx_get_error_info() 276 static int e7xxx_process_error_info(struct mem_ctl_info *mci, in e7xxx_process_error_info() 324 static void e7xxx_check(struct mem_ctl_info *mci) in e7xxx_check() 346 static void e7xxx_init_csrows(struct mem_ctl_info *mci, struct pci_dev *pdev, in e7xxx_init_csrows() 408 struct mem_ctl_info *mci = NULL; in e7xxx_probe1() [all …]
|
D | i5100_edac.c | 344 static int i5100_rank_to_slot(const struct mem_ctl_info *mci, in i5100_rank_to_slot() 398 static int i5100_csrow_to_rank(const struct mem_ctl_info *mci, int csrow) in i5100_csrow_to_rank() 406 static int i5100_csrow_to_chan(const struct mem_ctl_info *mci, int csrow) in i5100_csrow_to_chan() 413 static unsigned i5100_rank_to_csrow(const struct mem_ctl_info *mci, in i5100_rank_to_csrow() 421 static void i5100_handle_ce(struct mem_ctl_info *mci, in i5100_handle_ce() 443 static void i5100_handle_ue(struct mem_ctl_info *mci, in i5100_handle_ue() 464 static void i5100_read_log(struct mem_ctl_info *mci, int chan, in i5100_read_log() 535 static void i5100_check_error(struct mem_ctl_info *mci) in i5100_check_error() 592 static int i5100_set_scrub_rate(struct mem_ctl_info *mci, u32 bandwidth) in i5100_set_scrub_rate() 617 static int i5100_get_scrub_rate(struct mem_ctl_info *mci) in i5100_get_scrub_rate() [all …]
|
D | amd76x_edac.c | 104 static void amd76x_get_error_info(struct mem_ctl_info *mci, in amd76x_get_error_info() 132 static int amd76x_process_error_info(struct mem_ctl_info *mci, in amd76x_process_error_info() 177 static void amd76x_check(struct mem_ctl_info *mci) in amd76x_check() 185 static void amd76x_init_csrows(struct mem_ctl_info *mci, struct pci_dev *pdev, in amd76x_init_csrows() 233 struct mem_ctl_info *mci = NULL; in amd76x_probe1() 311 struct mem_ctl_info *mci; in amd76x_remove_one()
|
D | pasemi_edac.c | 75 static u32 pasemi_edac_get_error_info(struct mem_ctl_info *mci) in pasemi_edac_get_error_info() 96 static void pasemi_edac_process_error_info(struct mem_ctl_info *mci, u32 errsta) in pasemi_edac_process_error_info() 124 static void pasemi_edac_check(struct mem_ctl_info *mci) in pasemi_edac_check() 133 static int pasemi_edac_init_csrows(struct mem_ctl_info *mci, in pasemi_edac_init_csrows() 191 struct mem_ctl_info *mci = NULL; in pasemi_edac_probe() 262 struct mem_ctl_info *mci = edac_mc_del_mc(&pdev->dev); in pasemi_edac_remove()
|
D | i82860_edac.c | 65 static void i82860_get_error_info(struct mem_ctl_info *mci, in i82860_get_error_info() 98 static int i82860_process_error_info(struct mem_ctl_info *mci, in i82860_process_error_info() 127 static void i82860_check(struct mem_ctl_info *mci) in i82860_check() 136 static void i82860_init_csrows(struct mem_ctl_info *mci, struct pci_dev *pdev) in i82860_init_csrows() 178 struct mem_ctl_info *mci; in i82860_probe1() 260 struct mem_ctl_info *mci; in i82860_remove_one()
|
D | e752x_edac.c | 285 static unsigned long ctl_page_to_phys(struct mem_ctl_info *mci, in ctl_page_to_phys() 308 static void do_process_ce(struct mem_ctl_info *mci, u16 error_one, in do_process_ce() 357 static inline void process_ce(struct mem_ctl_info *mci, u16 error_one, in process_ce() 367 static void do_process_ue(struct mem_ctl_info *mci, u16 error_one, in do_process_ue() 410 static inline void process_ue(struct mem_ctl_info *mci, u16 error_one, in process_ue() 420 static inline void process_ue_no_info_wr(struct mem_ctl_info *mci, in process_ue_no_info_wr() 432 static void do_process_ded_retry(struct mem_ctl_info *mci, u16 error, in do_process_ded_retry() 451 static inline void process_ded_retry(struct mem_ctl_info *mci, u16 error, in process_ded_retry() 461 static inline void process_threshold_ce(struct mem_ctl_info *mci, u16 error, in process_threshold_ce() 762 static void e752x_check_dram(struct mem_ctl_info *mci, in e752x_check_dram() [all …]
|
D | cell_edac.c | 33 static void cell_edac_count_ce(struct mem_ctl_info *mci, int chan, u64 ar) in cell_edac_count_ce() 55 static void cell_edac_count_ue(struct mem_ctl_info *mci, int chan, u64 ar) in cell_edac_count_ue() 75 static void cell_edac_check(struct mem_ctl_info *mci) in cell_edac_check() 124 static void __devinit cell_edac_init_csrows(struct mem_ctl_info *mci) in cell_edac_init_csrows() 159 struct mem_ctl_info *mci; in cell_edac_probe() 218 struct mem_ctl_info *mci = edac_mc_del_mc(&pdev->dev); in cell_edac_remove()
|
D | r82600_edac.c | 138 static void r82600_get_error_info(struct mem_ctl_info *mci, in r82600_get_error_info() 159 static int r82600_process_error_info(struct mem_ctl_info *mci, in r82600_process_error_info() 201 static void r82600_check(struct mem_ctl_info *mci) in r82600_check() 215 static void r82600_init_csrows(struct mem_ctl_info *mci, struct pci_dev *pdev, in r82600_init_csrows() 266 struct mem_ctl_info *mci; in r82600_probe1() 363 struct mem_ctl_info *mci; in r82600_remove_one()
|
D | amd64_edac.c | 24 static struct mem_ctl_info **mcis; 193 static int amd64_set_scrub_rate(struct mem_ctl_info *mci, u32 bw) in amd64_set_scrub_rate() 204 static int amd64_get_scrub_rate(struct mem_ctl_info *mci) in amd64_get_scrub_rate() 250 static struct mem_ctl_info *find_mc_by_sys_addr(struct mem_ctl_info *mci, in find_mc_by_sys_addr() 362 static int input_addr_to_csrow(struct mem_ctl_info *mci, u64 input_addr) in input_addr_to_csrow() 408 int amd64_get_dram_hole_info(struct mem_ctl_info *mci, u64 *hole_base, in amd64_get_dram_hole_info() 498 static u64 sys_addr_to_dram_addr(struct mem_ctl_info *mci, u64 sys_addr) in sys_addr_to_dram_addr() 556 static u64 dram_addr_to_input_addr(struct mem_ctl_info *mci, u64 dram_addr) in dram_addr_to_input_addr() 583 static u64 sys_addr_to_input_addr(struct mem_ctl_info *mci, u64 sys_addr) in sys_addr_to_input_addr() 601 static u64 input_addr_to_dram_addr(struct mem_ctl_info *mci, u64 input_addr) in input_addr_to_dram_addr() [all …]
|
D | tile_edac.c | 58 static void tile_edac_check(struct mem_ctl_info *mci) in tile_edac_check() 82 static int __devinit tile_edac_init_csrows(struct mem_ctl_info *mci) in tile_edac_init_csrows() 125 struct mem_ctl_info *mci; in tile_edac_mc_probe() 178 struct mem_ctl_info *mci = platform_get_drvdata(pdev); in tile_edac_mc_remove()
|
D | i82443bxgx_edac.c | 122 static void i82443bxgx_edacmc_get_error_info(struct mem_ctl_info *mci, in i82443bxgx_edacmc_get_error_info() 142 static int i82443bxgx_edacmc_process_error_info(struct mem_ctl_info *mci, in i82443bxgx_edacmc_process_error_info() 177 static void i82443bxgx_edacmc_check(struct mem_ctl_info *mci) in i82443bxgx_edacmc_check() 186 static void i82443bxgx_init_csrows(struct mem_ctl_info *mci, in i82443bxgx_init_csrows() 234 struct mem_ctl_info *mci; in i82443bxgx_edacmc_probe1() 368 struct mem_ctl_info *mci; in i82443bxgx_edacmc_remove_one()
|
D | i7core_edac.c | 232 struct mem_ctl_info *mci; 563 static int get_dimm_config(const struct mem_ctl_info *mci) in get_dimm_config() 751 static int disable_inject(const struct mem_ctl_info *mci) in disable_inject() 773 static ssize_t i7core_inject_section_store(struct mem_ctl_info *mci, in i7core_inject_section_store() 791 static ssize_t i7core_inject_section_show(struct mem_ctl_info *mci, in i7core_inject_section_show() 806 static ssize_t i7core_inject_type_store(struct mem_ctl_info *mci, in i7core_inject_type_store() 824 static ssize_t i7core_inject_type_show(struct mem_ctl_info *mci, in i7core_inject_type_show() 841 static ssize_t i7core_inject_eccmask_store(struct mem_ctl_info *mci, in i7core_inject_eccmask_store() 859 static ssize_t i7core_inject_eccmask_show(struct mem_ctl_info *mci, in i7core_inject_eccmask_show() 879 struct mem_ctl_info *mci, \ [all …]
|
D | i3200_edac.c | 155 static void i3200_clear_error_info(struct mem_ctl_info *mci) in i3200_clear_error_info() 169 static void i3200_get_and_clear_error_info(struct mem_ctl_info *mci, in i3200_get_and_clear_error_info() 208 static void i3200_process_error_info(struct mem_ctl_info *mci, in i3200_process_error_info() 237 static void i3200_check(struct mem_ctl_info *mci) in i3200_check() 321 struct mem_ctl_info *mci = NULL; in i3200_probe1() 431 struct mem_ctl_info *mci; in i3200_remove_one()
|
D | i82875p_edac.c | 186 static void i82875p_get_error_info(struct mem_ctl_info *mci, in i82875p_get_error_info() 223 static int i82875p_process_error_info(struct mem_ctl_info *mci, in i82875p_process_error_info() 255 static void i82875p_check(struct mem_ctl_info *mci) in i82875p_check() 340 static void i82875p_init_csrows(struct mem_ctl_info *mci, in i82875p_init_csrows() 384 struct mem_ctl_info *mci; in i82875p_probe1() 487 struct mem_ctl_info *mci; in i82875p_remove_one()
|
D | x38_edac.c | 150 static void x38_clear_error_info(struct mem_ctl_info *mci) in x38_clear_error_info() 169 static void x38_get_and_clear_error_info(struct mem_ctl_info *mci, in x38_get_and_clear_error_info() 208 static void x38_process_error_info(struct mem_ctl_info *mci, in x38_process_error_info() 235 static void x38_check(struct mem_ctl_info *mci) in x38_check() 321 struct mem_ctl_info *mci = NULL; in x38_probe1() 430 struct mem_ctl_info *mci; in x38_remove_one()
|
D | i5400_edac.c | 445 static void i5400_get_error_info(struct mem_ctl_info *mci, in i5400_get_error_info() 521 static void i5400_proccess_non_recoverable_info(struct mem_ctl_info *mci, in i5400_proccess_non_recoverable_info() 585 static void i5400_process_nonfatal_error_info(struct mem_ctl_info *mci, in i5400_process_nonfatal_error_info() 665 static void i5400_process_error_info(struct mem_ctl_info *mci, in i5400_process_error_info() 683 static void i5400_clear_error(struct mem_ctl_info *mci) in i5400_clear_error() 694 static void i5400_check_error(struct mem_ctl_info *mci) in i5400_check_error() 706 static void i5400_put_devices(struct mem_ctl_info *mci) in i5400_put_devices() 725 static int i5400_get_devices(struct mem_ctl_info *mci, int dev_idx) in i5400_get_devices() 1014 static void i5400_get_mc_regs(struct mem_ctl_info *mci) in i5400_get_mc_regs() 1130 static int i5400_init_csrows(struct mem_ctl_info *mci) in i5400_init_csrows() [all …]
|
D | i7300_edac.c | 372 static void i7300_process_error_global(struct mem_ctl_info *mci) in i7300_process_error_global() 427 static void i7300_process_fbd_error(struct mem_ctl_info *mci) in i7300_process_fbd_error() 540 static void i7300_check_error(struct mem_ctl_info *mci) in i7300_check_error() 550 static void i7300_clear_error(struct mem_ctl_info *mci) in i7300_clear_error() 587 static void i7300_enable_error_reporting(struct mem_ctl_info *mci) in i7300_enable_error_reporting() 772 static int i7300_init_csrows(struct mem_ctl_info *mci) in i7300_init_csrows() 859 static int i7300_get_mc_regs(struct mem_ctl_info *mci) in i7300_get_mc_regs() 930 static void i7300_put_devices(struct mem_ctl_info *mci) in i7300_put_devices() 955 static int __devinit i7300_get_devices(struct mem_ctl_info *mci) in i7300_get_devices() 1043 struct mem_ctl_info *mci; in i7300_init_one() [all …]
|
D | amd64_edac_dbg.c | 4 static ssize_t amd64_##reg##_show(struct mem_ctl_info *mci, char *data) \ 15 static ssize_t amd64_hole_show(struct mem_ctl_info *mci, char *data) in amd64_hole_show()
|
D | i3000_edac.c | 192 static void i3000_get_error_info(struct mem_ctl_info *mci, in i3000_get_error_info() 232 static int i3000_process_error_info(struct mem_ctl_info *mci, in i3000_process_error_info() 267 static void i3000_check(struct mem_ctl_info *mci) in i3000_check() 308 struct mem_ctl_info *mci = NULL; in i3000_probe1() 459 struct mem_ctl_info *mci; in i3000_remove_one()
|