Lines Matching refs:mem_ctl_info

56 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()
121 static void edac_mc_dump_mci(struct mem_ctl_info *mci) in edac_mc_dump_mci()
226 static void _edac_mc_free(struct mem_ctl_info *mci) in _edac_mc_free()
233 struct mem_ctl_info *mci = container_of(dev, struct mem_ctl_info, dev); in mci_release()
261 static int edac_mc_alloc_csrows(struct mem_ctl_info *mci) in edac_mc_alloc_csrows()
306 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()
474 void edac_mc_free(struct mem_ctl_info *mci) in edac_mc_free()
497 static struct mem_ctl_info *__find_mci_by_dev(struct device *dev) in __find_mci_by_dev()
499 struct mem_ctl_info *mci; in __find_mci_by_dev()
505 mci = list_entry(item, struct mem_ctl_info, link); in __find_mci_by_dev()
521 struct mem_ctl_info *find_mci_by_dev(struct device *dev) in find_mci_by_dev()
523 struct mem_ctl_info *ret; in find_mci_by_dev()
540 struct mem_ctl_info *mci = to_edac_mem_ctl_work(d_work); in edac_mc_workq_function()
566 struct mem_ctl_info *mci; in edac_mc_reset_delay_period()
572 mci = list_entry(item, struct mem_ctl_info, link); in edac_mc_reset_delay_period()
590 static int add_mc_to_global_list(struct mem_ctl_info *mci) in add_mc_to_global_list()
593 struct mem_ctl_info *p; in add_mc_to_global_list()
602 p = list_entry(item, struct mem_ctl_info, link); in add_mc_to_global_list()
629 static int del_mc_from_global_list(struct mem_ctl_info *mci) in del_mc_from_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()
650 mci = list_entry(item, struct mem_ctl_info, link); in edac_mc_find()
669 int edac_mc_add_mc_with_groups(struct mem_ctl_info *mci, in edac_mc_add_mc_with_groups()
753 struct mem_ctl_info *edac_mc_del_mc(struct device *dev) in edac_mc_del_mc()
755 struct mem_ctl_info *mci; in edac_mc_del_mc()
822 int edac_mc_find_csrow_by_page(struct mem_ctl_info *mci, unsigned long page) in edac_mc_find_csrow_by_page()
875 struct mem_ctl_info *mci = error_desc_to_mci(e); in edac_inc_ce_error()
889 struct mem_ctl_info *mci = error_desc_to_mci(e); in edac_inc_ue_error()
902 struct mem_ctl_info *mci = error_desc_to_mci(e); in edac_ce_error()
940 struct mem_ctl_info *mci = error_desc_to_mci(e); in edac_ue_error()
968 struct mem_ctl_info *mci = error_desc_to_mci(e); in edac_inc_csrow()
988 struct mem_ctl_info *mci = error_desc_to_mci(e); in edac_raw_mc_handle_error()
1013 struct mem_ctl_info *mci, in edac_mc_handle_error()