Home
last modified time | relevance | path

Searched refs:mem_ctl_info (Results 1 – 25 of 33) sorted by relevance

12

/linux-3.4.99/drivers/edac/
Dedac_mc.c64 static void edac_mc_dump_mci(struct mem_ctl_info *mci) in edac_mc_dump_mci()
154 struct mem_ctl_info *edac_mc_alloc(unsigned sz_pvt, unsigned nr_csrows, in edac_mc_alloc()
157 struct mem_ctl_info *mci; in edac_mc_alloc()
170 mci = (struct mem_ctl_info *)0; in edac_mc_alloc()
235 void edac_mc_free(struct mem_ctl_info *mci) in edac_mc_free()
254 struct mem_ctl_info *find_mci_by_dev(struct device *dev) in find_mci_by_dev()
256 struct mem_ctl_info *mci; in find_mci_by_dev()
262 mci = list_entry(item, struct mem_ctl_info, link); in find_mci_by_dev()
295 struct mem_ctl_info *mci = to_edac_mem_ctl_work(d_work); in edac_mc_workq_function()
325 static void edac_mc_workq_setup(struct mem_ctl_info *mci, unsigned msec) in edac_mc_workq_setup()
[all …]
Dedac_mc_sysfs.c342 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 …]
Dedac_core.h298 container_of(w, struct mem_ctl_info, work)
450 extern struct mem_ctl_info *edac_mc_alloc(unsigned sz_pvt, unsigned nr_csrows,
452 extern int edac_mc_add_mc(struct mem_ctl_info *mci);
453 extern void edac_mc_free(struct mem_ctl_info *mci);
454 extern struct mem_ctl_info *edac_mc_find(int idx);
455 extern struct mem_ctl_info *find_mci_by_dev(struct device *dev);
456 extern struct mem_ctl_info *edac_mc_del_mc(struct device *dev);
457 extern int edac_mc_find_csrow_by_page(struct mem_ctl_info *mci,
470 extern void edac_mc_handle_ce(struct mem_ctl_info *mci,
475 extern void edac_mc_handle_ce_no_info(struct mem_ctl_info *mci,
[all …]
Damd64_edac_inj.c3 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()
Dedac_module.h24 extern int edac_mc_register_sysfs_main_kobj(struct mem_ctl_info *mci);
25 extern void edac_mc_unregister_sysfs_main_kobj(struct mem_ctl_info *mci);
26 extern int edac_create_sysfs_mci_device(struct mem_ctl_info *mci);
27 extern void edac_remove_sysfs_mci_device(struct mem_ctl_info *mci);
Dppc4xx_edac.c316 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 …]
De7xxx_edac.c180 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 …]
Di5100_edac.c344 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()
589 static int i5100_set_scrub_rate(struct mem_ctl_info *mci, u32 bandwidth) in i5100_set_scrub_rate()
614 static int i5100_get_scrub_rate(struct mem_ctl_info *mci) in i5100_get_scrub_rate()
[all …]
Dpasemi_edac.c75 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()
Damd76x_edac.c104 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()
Di82860_edac.c65 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()
De752x_edac.c285 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 …]
Dcell_edac.c33 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()
Dr82600_edac.c138 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()
Damd64_edac.c24 static struct mem_ctl_info **mcis;
199 static int amd64_set_scrub_rate(struct mem_ctl_info *mci, u32 bw) in amd64_set_scrub_rate()
214 static int amd64_get_scrub_rate(struct mem_ctl_info *mci) in amd64_get_scrub_rate()
264 static struct mem_ctl_info *find_mc_by_sys_addr(struct mem_ctl_info *mci, in find_mc_by_sys_addr()
376 static int input_addr_to_csrow(struct mem_ctl_info *mci, u64 input_addr) in input_addr_to_csrow()
422 int amd64_get_dram_hole_info(struct mem_ctl_info *mci, u64 *hole_base, in amd64_get_dram_hole_info()
512 static u64 sys_addr_to_dram_addr(struct mem_ctl_info *mci, u64 sys_addr) in sys_addr_to_dram_addr()
570 static u64 dram_addr_to_input_addr(struct mem_ctl_info *mci, u64 dram_addr) in dram_addr_to_input_addr()
597 static u64 sys_addr_to_input_addr(struct mem_ctl_info *mci, u64 sys_addr) in sys_addr_to_input_addr()
615 static u64 input_addr_to_dram_addr(struct mem_ctl_info *mci, u64 input_addr) in input_addr_to_dram_addr()
[all …]
Di7core_edac.c245 struct mem_ctl_info *mci;
595 static int get_dimm_config(const struct mem_ctl_info *mci) in get_dimm_config()
787 static int disable_inject(const struct mem_ctl_info *mci) in disable_inject()
809 static ssize_t i7core_inject_section_store(struct mem_ctl_info *mci, in i7core_inject_section_store()
827 static ssize_t i7core_inject_section_show(struct mem_ctl_info *mci, in i7core_inject_section_show()
842 static ssize_t i7core_inject_type_store(struct mem_ctl_info *mci, in i7core_inject_type_store()
860 static ssize_t i7core_inject_type_show(struct mem_ctl_info *mci, in i7core_inject_type_show()
877 static ssize_t i7core_inject_eccmask_store(struct mem_ctl_info *mci, in i7core_inject_eccmask_store()
895 static ssize_t i7core_inject_eccmask_show(struct mem_ctl_info *mci, in i7core_inject_eccmask_show()
915 struct mem_ctl_info *mci, \
[all …]
Dtile_edac.c58 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()
182 struct mem_ctl_info *mci = platform_get_drvdata(pdev); in tile_edac_mc_remove()
Di82443bxgx_edac.c122 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()
Di3200_edac.c157 static void i3200_clear_error_info(struct mem_ctl_info *mci) in i3200_clear_error_info()
171 static void i3200_get_and_clear_error_info(struct mem_ctl_info *mci, in i3200_get_and_clear_error_info()
210 static void i3200_process_error_info(struct mem_ctl_info *mci, in i3200_process_error_info()
239 static void i3200_check(struct mem_ctl_info *mci) in i3200_check()
323 struct mem_ctl_info *mci = NULL; in i3200_probe1()
433 struct mem_ctl_info *mci; in i3200_remove_one()
Di82875p_edac.c186 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()
Dx38_edac.c150 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()
Di5400_edac.c445 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()
1036 static void i5400_get_mc_regs(struct mem_ctl_info *mci) in i5400_get_mc_regs()
1152 static int i5400_init_csrows(struct mem_ctl_info *mci) in i5400_init_csrows()
[all …]
Di7300_edac.c372 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()
541 static void i7300_check_error(struct mem_ctl_info *mci) in i7300_check_error()
551 static void i7300_clear_error(struct mem_ctl_info *mci) in i7300_clear_error()
588 static void i7300_enable_error_reporting(struct mem_ctl_info *mci) in i7300_enable_error_reporting()
773 static int i7300_init_csrows(struct mem_ctl_info *mci) in i7300_init_csrows()
860 static int i7300_get_mc_regs(struct mem_ctl_info *mci) in i7300_get_mc_regs()
931 static void i7300_put_devices(struct mem_ctl_info *mci) in i7300_put_devices()
956 static int __devinit i7300_get_devices(struct mem_ctl_info *mci) in i7300_get_devices()
1046 struct mem_ctl_info *mci; in i7300_init_one()
[all …]
Damd64_edac_dbg.c4 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()
/linux-3.4.99/include/linux/
Dedac.h348 struct mem_ctl_info *mci; /* the parent */
368 struct mem_ctl_info *mci; /* the parent */
381 ssize_t (*show)(struct mem_ctl_info *,char *);
382 ssize_t (*store)(struct mem_ctl_info *, const char *,size_t);
387 struct mem_ctl_info { struct
409 int (*set_sdram_scrub_rate) (struct mem_ctl_info * mci, u32 bw); argument
415 int (*get_sdram_scrub_rate) (struct mem_ctl_info * mci); argument
419 void (*edac_check) (struct mem_ctl_info * mci); argument
426 unsigned long (*ctl_page_to_phys) (struct mem_ctl_info * mci, argument

12