Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/drivers/edac/
Dedac_mc.h96 #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,
Dedac_mc.c56 static struct mem_ctl_info *error_desc_to_mci(struct edac_raw_error_desc *e) in error_desc_to_mci()
58 return container_of(e, struct mem_ctl_info, error_desc); in error_desc_to_mci()
64 struct mem_ctl_info *mci = dimm->mci; in edac_dimm_info_location()
123 static void edac_mc_dump_mci(struct mem_ctl_info *mci) in edac_mc_dump_mci()
223 static void _edac_mc_free(struct mem_ctl_info *mci) in _edac_mc_free()
230 struct mem_ctl_info *mci = container_of(dev, struct mem_ctl_info, dev); in mci_release()
258 static int edac_mc_alloc_csrows(struct mem_ctl_info *mci) in edac_mc_alloc_csrows()
303 static int edac_mc_alloc_dimms(struct mem_ctl_info *mci) in edac_mc_alloc_dimms()
386 struct mem_ctl_info *edac_mc_alloc(unsigned int mc_num, in edac_mc_alloc()
391 struct mem_ctl_info *mci; in edac_mc_alloc()
[all …]
Damd64_edac_inj.c8 struct mem_ctl_info *mci = to_mci(dev); in amd64_inject_section_show()
23 struct mem_ctl_info *mci = to_mci(dev); in amd64_inject_section_store()
45 struct mem_ctl_info *mci = to_mci(dev); in amd64_inject_word_show()
60 struct mem_ctl_info *mci = to_mci(dev); in amd64_inject_word_store()
82 struct mem_ctl_info *mci = to_mci(dev); in amd64_inject_ecc_vector_show()
96 struct mem_ctl_info *mci = to_mci(dev); in amd64_inject_ecc_vector_store()
122 struct mem_ctl_info *mci = to_mci(dev); in amd64_inject_read_store()
155 struct mem_ctl_info *mci = to_mci(dev); in amd64_inject_write_store()
224 struct mem_ctl_info *mci = container_of(dev, struct mem_ctl_info, dev); in amd64_edac_inj_is_visible()
Dppc4xx_edac.c311 ppc4xx_edac_generate_bank_message(const struct mem_ctl_info *mci, in ppc4xx_edac_generate_bank_message()
373 ppc4xx_edac_generate_checkbit_message(const struct mem_ctl_info *mci, in ppc4xx_edac_generate_checkbit_message()
431 ppc4xx_edac_generate_lane_message(const struct mem_ctl_info *mci, in ppc4xx_edac_generate_lane_message()
496 ppc4xx_edac_generate_ecc_message(const struct mem_ctl_info *mci, in ppc4xx_edac_generate_ecc_message()
552 ppc4xx_edac_generate_plb_message(const struct mem_ctl_info *mci, in ppc4xx_edac_generate_plb_message()
593 ppc4xx_edac_generate_message(const struct mem_ctl_info *mci, in ppc4xx_edac_generate_message()
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()
[all …]
Di5100_edac.c361 static int i5100_rank_to_slot(const struct mem_ctl_info *mci, in i5100_rank_to_slot()
415 static unsigned int i5100_csrow_to_rank(const struct mem_ctl_info *mci, in i5100_csrow_to_rank()
424 static unsigned int i5100_csrow_to_chan(const struct mem_ctl_info *mci, in i5100_csrow_to_chan()
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()
476 static void i5100_read_log(struct mem_ctl_info *mci, int chan, in i5100_read_log()
545 static void i5100_check_error(struct mem_ctl_info *mci) in i5100_check_error()
597 static int i5100_set_scrub_rate(struct mem_ctl_info *mci, u32 bandwidth) in i5100_set_scrub_rate()
622 static int i5100_get_scrub_rate(struct mem_ctl_info *mci) in i5100_get_scrub_rate()
651 static unsigned long i5100_npages(struct mem_ctl_info *mci, unsigned int csrow) in i5100_npages()
[all …]
Docteon_edac-lmc.c26 #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()
De7xxx_edac.c182 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()
354 static void e7xxx_init_csrows(struct mem_ctl_info *mci, struct pci_dev *pdev, in e7xxx_init_csrows()
424 struct mem_ctl_info *mci = NULL; in e7xxx_probe1()
[all …]
Dfsl_ddr_edac.c57 #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()
391 static void fsl_ddr_init_csrows(struct mem_ctl_info *mci) in fsl_ddr_init_csrows()
[all …]
Dedac_mc_sysfs.c403 static int edac_create_csrow_object(struct mem_ctl_info *mci, in edac_create_csrow_object()
430 static int edac_create_csrow_objects(struct mem_ctl_info *mci) in edac_create_csrow_objects()
454 static void edac_delete_csrow_objects(struct mem_ctl_info *mci) in edac_delete_csrow_objects()
617 static int edac_create_dimm_object(struct mem_ctl_info *mci, in edac_create_dimm_object()
657 #define to_mci(k) container_of(k, struct mem_ctl_info, dev)
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()
[all …]
Dpasemi_edac.c63 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()
Damd76x_edac.c102 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()
187 static void amd76x_init_csrows(struct mem_ctl_info *mci, struct pci_dev *pdev, in amd76x_init_csrows()
237 struct mem_ctl_info *mci; in amd76x_probe1()
321 struct mem_ctl_info *mci; in amd76x_remove_one()
Dedac_module.h28 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()
Dhighbank_mc_edac.c55 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()
De752x_edac.c304 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()
378 static inline void process_ce(struct mem_ctl_info *mci, u16 error_one, in process_ce()
388 static void do_process_ue(struct mem_ctl_info *mci, u16 error_one, in do_process_ue()
436 static inline void process_ue(struct mem_ctl_info *mci, u16 error_one, in process_ue()
446 static inline void process_ue_no_info_wr(struct mem_ctl_info *mci, in process_ue_no_info_wr()
460 static void do_process_ded_retry(struct mem_ctl_info *mci, u16 error, in do_process_ded_retry()
479 static inline void process_ded_retry(struct mem_ctl_info *mci, u16 error, in process_ded_retry()
489 static inline void process_threshold_ce(struct mem_ctl_info *mci, u16 error, in process_threshold_ce()
790 static void e752x_check_dram(struct mem_ctl_info *mci, in e752x_check_dram()
[all …]
Dr82600_edac.c137 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()
217 static void r82600_init_csrows(struct mem_ctl_info *mci, struct pci_dev *pdev, in r82600_init_csrows()
271 struct mem_ctl_info *mci; in r82600_probe1()
371 struct mem_ctl_info *mci; in r82600_remove_one()
Di82860_edac.c64 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()
143 static void i82860_init_csrows(struct mem_ctl_info *mci, struct pci_dev *pdev) in i82860_init_csrows()
187 struct mem_ctl_info *mci; in i82860_probe1()
276 struct mem_ctl_info *mci; in i82860_remove_one()
Di7core_edac.c245 struct mem_ctl_info *mci;
487 static int get_dimm_config(struct mem_ctl_info *mci) in get_dimm_config()
651 #define to_mci(k) container_of(k, struct mem_ctl_info, dev)
660 static int disable_inject(const struct mem_ctl_info *mci) in disable_inject()
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()
[all …]
Dcell_edac.c34 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()
Daspeed_edac.c92 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()
Di82443bxgx_edac.c120 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()
184 static void i82443bxgx_init_csrows(struct mem_ctl_info *mci, in i82443bxgx_init_csrows()
234 struct mem_ctl_info *mci; in i82443bxgx_edacmc_probe1()
369 struct mem_ctl_info *mci; in i82443bxgx_edacmc_remove_one()
Dbluefield_edac.c93 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()
Dsynopsys_edac.c479 static void handle_error(struct mem_ctl_info *mci, struct synps_ecc_status *p) in handle_error()
535 struct mem_ctl_info *mci = dev_id; in intr_handler()
567 static void check_errors(struct mem_ctl_info *mci) in check_errors()
774 static void init_csrows(struct mem_ctl_info *mci) in init_csrows()
809 static void mc_init(struct mem_ctl_info *mci, struct platform_device *pdev) in mc_init()
854 static int setup_irq(struct mem_ctl_info *mci, in setup_irq()
916 #define to_mci(k) container_of(k, struct mem_ctl_info, dev)
982 struct mem_ctl_info *mci = to_mci(dev); in inject_data_error_show()
996 struct mem_ctl_info *mci = to_mci(dev); in inject_data_error_store()
1011 struct mem_ctl_info *mci = to_mci(dev); in inject_data_poison_show()
[all …]
Dal_mc_edac.c74 static int handle_ce(struct mem_ctl_info *mci) in handle_ce()
119 static int handle_ue(struct mem_ctl_info *mci) in handle_ue()
164 static void al_mc_edac_check(struct mem_ctl_info *mci) in al_mc_edac_check()
178 struct mem_ctl_info *mci = platform_get_drvdata(pdev); in al_mc_edac_irq_handler_ue()
188 struct mem_ctl_info *mci = platform_get_drvdata(pdev); in al_mc_edac_irq_handler_ce()
220 struct mem_ctl_info *mci; in al_mc_edac_probe()
Dx38_edac.c150 static void x38_clear_error_info(struct mem_ctl_info *mci) in x38_clear_error_info()
164 static void x38_get_and_clear_error_info(struct mem_ctl_info *mci, in x38_get_and_clear_error_info()
203 static void x38_process_error_info(struct mem_ctl_info *mci, in x38_process_error_info()
237 static void x38_check(struct mem_ctl_info *mci) in x38_check()
322 struct mem_ctl_info *mci = NULL; in x38_probe1()
432 struct mem_ctl_info *mci; in x38_remove_one()
/kernel/linux/linux-5.10/include/linux/
Dedac.h365 struct mem_ctl_info *mci; /* the parent */
420 struct mem_ctl_info *mci; /* the parent */
472 struct mem_ctl_info { struct
497 int (*set_sdram_scrub_rate) (struct mem_ctl_info * mci, u32 bw); argument
503 int (*get_sdram_scrub_rate) (struct mem_ctl_info * mci); argument
507 void (*edac_check) (struct mem_ctl_info * mci); argument
514 unsigned long (*ctl_page_to_phys) (struct mem_ctl_info * mci, argument
614 static inline struct dimm_info *edac_get_dimm(struct mem_ctl_info *mci, in edac_get_dimm()

123