Lines Matching refs:amd64_pvt
19 struct amd64_pvt;
21 static struct amd64_pvt *pvt_lookup[EDAC_MAX_NUMNODES];
158 struct amd64_pvt *pvt = mci->pvt_info;
182 struct amd64_pvt *pvt = mci->pvt_info;
205 static inline u32 amd64_map_to_dcs_mask(struct amd64_pvt *pvt, int csrow)
214 static u32 amd64_get_dct_base(struct amd64_pvt *pvt, int dct, int csrow)
227 static u32 amd64_get_dct_mask(struct amd64_pvt *pvt, int dct, int csrow)
244 static void amd64_get_base_and_limit(struct amd64_pvt *pvt, int node_id,
255 static int amd64_base_limit_match(struct amd64_pvt *pvt,
282 struct amd64_pvt *pvt;
349 static u64 base_from_dct_base(struct amd64_pvt *pvt, int csrow)
358 static u64 mask_from_dct_mask(struct amd64_pvt *pvt, int csrow)
384 struct amd64_pvt *pvt;
427 struct amd64_pvt *pvt = mci->pvt_info;
451 struct amd64_pvt *pvt = mci->pvt_info;
598 struct amd64_pvt *pvt;
643 struct amd64_pvt *pvt;
688 struct amd64_pvt *pvt = mci->pvt_info;
748 struct amd64_pvt *pvt;
797 static void amd64_cpu_display_info(struct amd64_pvt *pvt)
816 static enum edac_type amd64_determine_edac_cap(struct amd64_pvt *pvt)
832 static void amd64_debug_display_dimm_sizes(int ctrl, struct amd64_pvt *pvt);
856 static void amd64_dump_misc_regs(struct amd64_pvt *pvt)
909 static void amd64_read_dbam_reg(struct amd64_pvt *pvt)
946 static void amd64_set_dct_base_and_mask(struct amd64_pvt *pvt)
975 static void amd64_read_dct_base_mask(struct amd64_pvt *pvt)
1018 static enum mem_type amd64_determine_memory_type(struct amd64_pvt *pvt)
1045 static int k8_early_channel_count(struct amd64_pvt *pvt)
1081 static void k8_read_dram_base_limit(struct amd64_pvt *pvt, int dram)
1166 static int k8_dbam_to_chip_select(struct amd64_pvt *pvt, int cs_mode)
1188 static int f10_early_channel_count(struct amd64_pvt *pvt)
1239 static int f10_dbam_to_chip_select(struct amd64_pvt *pvt, int cs_mode)
1252 static void amd64_setup(struct amd64_pvt *pvt)
1264 static void amd64_teardown(struct amd64_pvt *pvt)
1289 static void f10_read_dram_base_limit(struct amd64_pvt *pvt, int dram)
1334 static void f10_read_dram_ctl_register(struct amd64_pvt *pvt)
1371 static u32 f10_determine_channel(struct amd64_pvt *pvt, u64 sys_addr,
1456 u32 cs, struct amd64_pvt *pvt)
1487 struct amd64_pvt *pvt;
1540 static int f10_match_to_this_node(struct amd64_pvt *pvt, int dram_range,
1621 static int f10_translate_sysaddr_to_cs(struct amd64_pvt *pvt, u64 sys_addr,
1658 struct amd64_pvt *pvt = mci->pvt_info;
1698 static void amd64_debug_display_dimm_sizes(int ctrl, struct amd64_pvt *pvt)
1954 struct amd64_pvt *pvt = mci->pvt_info;
1981 struct amd64_pvt *pvt = mci->pvt_info;
2004 struct amd64_pvt *pvt = mci->pvt_info;
2082 * 1) struct amd64_pvt which contains pvt->dram_f2_ctl pointer
2098 static int amd64_reserve_mc_sibling_devices(struct amd64_pvt *pvt, int mc_idx)
2139 static void amd64_free_mc_sibling_devices(struct amd64_pvt *pvt)
2149 static void amd64_read_mc_registers(struct amd64_pvt *pvt)
2271 static u32 amd64_csrow_nr_pages(int csrow_nr, struct amd64_pvt *pvt)
2306 struct amd64_pvt *pvt;
2413 static int amd64_toggle_ecc_err_reporting(struct amd64_pvt *pvt, bool on)
2454 struct amd64_pvt *pvt = mci->pvt_info;
2508 static void amd64_restore_ecc_error_reporting(struct amd64_pvt *pvt)
2545 static int amd64_check_ecc_enabled(struct amd64_pvt *pvt)
2602 struct amd64_pvt *pvt = mci->pvt_info;
2633 * routine on all processors, gather some data in a amd64_pvt structure and
2640 struct amd64_pvt *pvt = NULL;
2644 pvt = kzalloc(sizeof(struct amd64_pvt), GFP_KERNEL);
2699 static int amd64_init_2nd_stage(struct amd64_pvt *pvt)
2792 struct amd64_pvt *pvt;
2867 struct amd64_pvt *pvt;
2912 * amd64_pvt structs. These will be used in the 2nd stage init function