Lines Matching refs:mem_ctl_info
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()
646 static u64 dram_addr_to_sys_addr(struct mem_ctl_info *mci, u64 dram_addr) in dram_addr_to_sys_addr()
694 static inline u64 input_addr_to_sys_addr(struct mem_ctl_info *mci, in input_addr_to_sys_addr()
705 static void find_csrow_limits(struct mem_ctl_info *mci, int csrow, in find_csrow_limits()
736 static int sys_addr_to_csrow(struct mem_ctl_info *mci, u64 sys_addr) in sys_addr_to_csrow()
748 static int get_channel_from_ecc_syndrome(struct mem_ctl_info *, u16);
1036 static void k8_map_sysaddr_to_csrow(struct mem_ctl_info *mci, u64 sys_addr, in k8_map_sysaddr_to_csrow()
1039 struct mem_ctl_info *src_mci; in k8_map_sysaddr_to_csrow()
1378 struct mem_ctl_info *mci; in f1x_lookup_addr_in_dct()
1566 static void f1x_map_sysaddr_to_csrow(struct mem_ctl_info *mci, u64 sys_addr, in f1x_map_sysaddr_to_csrow()
1846 static int get_channel_from_ecc_syndrome(struct mem_ctl_info *mci, u16 syndrome) in get_channel_from_ecc_syndrome()
1871 static void amd64_handle_ce(struct mem_ctl_info *mci, struct mce *m) in amd64_handle_ce()
1893 static void amd64_handle_ue(struct mem_ctl_info *mci, struct mce *m) in amd64_handle_ue()
1895 struct mem_ctl_info *log_mci, *src_mci = NULL; in amd64_handle_ue()
1935 static inline void __amd64_decode_bus_error(struct mem_ctl_info *mci, in __amd64_decode_bus_error()
1958 struct mem_ctl_info *mci = mcis[node_id]; in amd64_decode_bus_error()
2150 static int init_csrows(struct mem_ctl_info *mci) in init_csrows()
2420 static void set_mc_sysfs_attrs(struct mem_ctl_info *mci) in set_mc_sysfs_attrs()
2436 static void setup_mci_misc_attrs(struct mem_ctl_info *mci, in setup_mci_misc_attrs()
2505 struct mem_ctl_info *mci = NULL; in amd64_init_one_instance()
2636 struct mem_ctl_info *mci; in amd64_remove_one_instance()
2712 struct mem_ctl_info *mci; in setup_pci_device()