Home
last modified time | relevance | path

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

123

/linux-6.1.9/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()
120 static void edac_mc_dump_mci(struct mem_ctl_info *mci) in edac_mc_dump_mci()
172 static void _edac_mc_free(struct mem_ctl_info *mci) in _edac_mc_free()
179 struct mem_ctl_info *mci = container_of(dev, struct mem_ctl_info, dev); in mci_release()
209 static int edac_mc_alloc_csrows(struct mem_ctl_info *mci) in edac_mc_alloc_csrows()
254 static int edac_mc_alloc_dimms(struct mem_ctl_info *mci) in edac_mc_alloc_dimms()
334 struct mem_ctl_info *edac_mc_alloc(unsigned int mc_num, in edac_mc_alloc()
339 struct mem_ctl_info *mci; in edac_mc_alloc()
[all …]
Dppc4xx_edac.c298 ppc4xx_edac_generate_bank_message(const struct mem_ctl_info *mci, in ppc4xx_edac_generate_bank_message()
360 ppc4xx_edac_generate_checkbit_message(const struct mem_ctl_info *mci, in ppc4xx_edac_generate_checkbit_message()
418 ppc4xx_edac_generate_lane_message(const struct mem_ctl_info *mci, in ppc4xx_edac_generate_lane_message()
483 ppc4xx_edac_generate_ecc_message(const struct mem_ctl_info *mci, in ppc4xx_edac_generate_ecc_message()
539 ppc4xx_edac_generate_plb_message(const struct mem_ctl_info *mci, in ppc4xx_edac_generate_plb_message()
580 ppc4xx_edac_generate_message(const struct mem_ctl_info *mci, in ppc4xx_edac_generate_message()
613 ppc4xx_ecc_dump_status(const struct mem_ctl_info *mci, in ppc4xx_ecc_dump_status()
650 ppc4xx_ecc_get_status(const struct mem_ctl_info *mci, in ppc4xx_ecc_get_status()
675 ppc4xx_ecc_clear_status(const struct mem_ctl_info *mci, in ppc4xx_ecc_clear_status()
702 ppc4xx_edac_handle_ce(struct mem_ctl_info *mci, in ppc4xx_edac_handle_ce()
[all …]
Di5100_edac.c356 static int i5100_rank_to_slot(const struct mem_ctl_info *mci, in i5100_rank_to_slot()
410 static unsigned int i5100_csrow_to_rank(const struct mem_ctl_info *mci, in i5100_csrow_to_rank()
419 static unsigned int i5100_csrow_to_chan(const struct mem_ctl_info *mci, in i5100_csrow_to_chan()
427 static void i5100_handle_ce(struct mem_ctl_info *mci, in i5100_handle_ce()
449 static void i5100_handle_ue(struct mem_ctl_info *mci, in i5100_handle_ue()
471 static void i5100_read_log(struct mem_ctl_info *mci, int chan, in i5100_read_log()
540 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()
646 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()
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 …]
Dfsl_ddr_edac.c55 #define to_mci(k) container_of(k, struct mem_ctl_info, dev)
61 struct mem_ctl_info *mci = to_mci(dev); in fsl_mc_inject_data_hi_show()
71 struct mem_ctl_info *mci = to_mci(dev); in fsl_mc_inject_data_lo_show()
81 struct mem_ctl_info *mci = to_mci(dev); in fsl_mc_inject_ctrl_show()
91 struct mem_ctl_info *mci = to_mci(dev); in fsl_mc_inject_data_hi_store()
111 struct mem_ctl_info *mci = to_mci(dev); in fsl_mc_inject_data_lo_store()
131 struct mem_ctl_info *mci = to_mci(dev); in fsl_mc_inject_ctrl_store()
275 static void fsl_mc_check(struct mem_ctl_info *mci) in fsl_mc_check()
376 struct mem_ctl_info *mci = dev_id; in fsl_mc_isr()
389 static void fsl_ddr_init_csrows(struct mem_ctl_info *mci) in fsl_ddr_init_csrows()
[all …]
Dedac_mc_sysfs.c427 static int edac_create_csrow_object(struct mem_ctl_info *mci, in edac_create_csrow_object()
454 static int edac_create_csrow_objects(struct mem_ctl_info *mci) in edac_create_csrow_objects()
478 static void edac_delete_csrow_objects(struct mem_ctl_info *mci) in edac_delete_csrow_objects()
641 static int edac_create_dimm_object(struct mem_ctl_info *mci, in edac_create_dimm_object()
681 #define to_mci(k) container_of(k, struct mem_ctl_info, dev)
687 struct mem_ctl_info *mci = to_mci(dev); in mci_reset_counters_store()
728 struct mem_ctl_info *mci = to_mci(dev); in mci_sdram_scrub_rate_store()
752 struct mem_ctl_info *mci = to_mci(dev); in mci_sdram_scrub_rate_show()
769 struct mem_ctl_info *mci = to_mci(dev); in mci_ue_count_show()
778 struct mem_ctl_info *mci = to_mci(dev); in mci_ce_count_show()
[all …]
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);
67 void edac_create_debugfs_nodes(struct mem_ctl_info *mci);
83 static inline void edac_create_debugfs_nodes(struct mem_ctl_info *mci) { } in edac_create_debugfs_nodes()
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()
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()
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 …]
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()
255 struct mem_ctl_info *mci = platform_get_drvdata(pdev); in highbank_mc_remove()
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()
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()
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()
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()
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()
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()
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()
Di5400_edac.c435 static void i5400_get_error_info(struct mem_ctl_info *mci, in i5400_get_error_info()
511 static void i5400_proccess_non_recoverable_info(struct mem_ctl_info *mci, in i5400_proccess_non_recoverable_info()
576 static void i5400_process_nonfatal_error_info(struct mem_ctl_info *mci, in i5400_process_nonfatal_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()
[all …]
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()
321 struct mem_ctl_info *mci = NULL; in x38_probe1()
431 struct mem_ctl_info *mci; in x38_remove_one()
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()
Di3200_edac.c166 static void i3200_clear_error_info(struct mem_ctl_info *mci) in i3200_clear_error_info()
180 static void i3200_get_and_clear_error_info(struct mem_ctl_info *mci, in i3200_get_and_clear_error_info()
219 static void i3200_process_error_info(struct mem_ctl_info *mci, in i3200_process_error_info()
252 static void i3200_check(struct mem_ctl_info *mci) in i3200_check()
339 struct mem_ctl_info *mci = NULL; in i3200_probe1()
449 struct mem_ctl_info *mci; in i3200_remove_one()
/linux-6.1.9/include/linux/
Dedac.h386 struct mem_ctl_info *mci; /* the parent */
441 struct mem_ctl_info *mci; /* the parent */
493 struct mem_ctl_info { struct
518 int (*set_sdram_scrub_rate) (struct mem_ctl_info * mci, u32 bw); argument
524 int (*get_sdram_scrub_rate) (struct mem_ctl_info * mci); argument
528 void (*edac_check) (struct mem_ctl_info * mci); argument
535 unsigned long (*ctl_page_to_phys) (struct mem_ctl_info * mci, argument
635 static inline struct dimm_info *edac_get_dimm(struct mem_ctl_info *mci, in edac_get_dimm()

123