Lines Matching refs:amd64_pvt
16 static inline u32 get_umc_reg(struct amd64_pvt *pvt, u32 reg)
102 static void f15h_select_dct(struct amd64_pvt *pvt, u8 dct)
126 static inline int amd64_read_dct_pci_cfg(struct amd64_pvt *pvt, u8 dct,
187 static int __set_scrub_rate(struct amd64_pvt *pvt, u32 new_bw, u32 min_rate)
232 struct amd64_pvt *pvt = mci->pvt_info;
251 struct amd64_pvt *pvt = mci->pvt_info;
283 static bool base_limit_match(struct amd64_pvt *pvt, u64 sys_addr, u8 nid)
308 struct amd64_pvt *pvt;
372 static void get_cs_base_and_mask(struct amd64_pvt *pvt, int csrow, u8 dct,
446 struct amd64_pvt *pvt;
493 struct amd64_pvt *pvt = mci->pvt_info;
551 struct amd64_pvt *pvt = mci->pvt_info; \
602 struct amd64_pvt *pvt = mci->pvt_info;
617 struct amd64_pvt *pvt = mci->pvt_info;
638 struct amd64_pvt *pvt = mci->pvt_info;
653 struct amd64_pvt *pvt = mci->pvt_info;
675 struct amd64_pvt *pvt = mci->pvt_info;
689 struct amd64_pvt *pvt = mci->pvt_info;
715 struct amd64_pvt *pvt = mci->pvt_info;
748 struct amd64_pvt *pvt = mci->pvt_info;
811 struct amd64_pvt *pvt = mci->pvt_info;
857 struct amd64_pvt *pvt = mci->pvt_info;
912 struct amd64_pvt *pvt;
1327 static unsigned long dct_determine_edac_cap(struct amd64_pvt *pvt)
1342 static unsigned long umc_determine_edac_cap(struct amd64_pvt *pvt)
1368 static void dct_debug_display_dimm_sizes(struct amd64_pvt *pvt, u8 ctrl)
1424 static void debug_dump_dramcfg_low(struct amd64_pvt *pvt, u32 dclr, int chan)
1465 static int umc_get_cs_mode(int dimm, u8 ctrl, struct amd64_pvt *pvt)
1533 static int umc_addr_mask_to_cs_size(struct amd64_pvt *pvt, u8 umc,
1584 static void umc_debug_display_dimm_sizes(struct amd64_pvt *pvt, u8 ctrl)
1605 static void umc_dump_misc_regs(struct amd64_pvt *pvt)
1648 static void dct_dump_misc_regs(struct amd64_pvt *pvt)
1688 static void dct_prep_chip_selects(struct amd64_pvt *pvt)
1702 static void umc_prep_chip_selects(struct amd64_pvt *pvt)
1712 static void umc_read_base_mask(struct amd64_pvt *pvt)
1766 static void dct_read_base_mask(struct amd64_pvt *pvt)
1809 static void umc_determine_memory_type(struct amd64_pvt *pvt)
1846 static void dct_determine_memory_type(struct amd64_pvt *pvt)
1908 static u64 get_error_address(struct amd64_pvt *pvt, struct mce *m)
1989 static void read_dram_base_limit_regs(struct amd64_pvt *pvt, unsigned range)
2046 struct amd64_pvt *pvt = mci->pvt_info;
2111 static int k8_dbam_to_chip_select(struct amd64_pvt *pvt, u8 dct,
2215 static int f10_dbam_to_chip_select(struct amd64_pvt *pvt, u8 dct,
2231 static int f15_dbam_to_chip_select(struct amd64_pvt *pvt, u8 dct,
2240 static int f15_m60h_dbam_to_chip_select(struct amd64_pvt *pvt, u8 dct,
2273 static int f16_dbam_to_chip_select(struct amd64_pvt *pvt, u8 dct,
2285 static void read_dram_ctl_register(struct amd64_pvt *pvt)
2319 static u8 f15_m30h_determine_channel(struct amd64_pvt *pvt, u64 sys_addr,
2350 static u8 f1x_determine_channel(struct amd64_pvt *pvt, u64 sys_addr,
2394 static u64 f1x_get_norm_dct_addr(struct amd64_pvt *pvt, u8 range,
2445 static int f10_process_possible_spare(struct amd64_pvt *pvt, u8 dct, int csrow)
2473 struct amd64_pvt *pvt;
2519 static u64 f1x_swap_interleaved_region(struct amd64_pvt *pvt, u64 sys_addr)
2549 static int f1x_match_to_this_node(struct amd64_pvt *pvt, unsigned range,
2629 static int f15_m30h_match_to_this_node(struct amd64_pvt *pvt, unsigned range,
2751 static int f1x_translate_sysaddr_to_cs(struct amd64_pvt *pvt,
2788 struct amd64_pvt *pvt = mci->pvt_info;
2944 struct amd64_pvt *pvt = mci->pvt_info;
3013 struct amd64_pvt *pvt;
3068 struct amd64_pvt *pvt;
3117 reserve_mc_sibling_devs(struct amd64_pvt *pvt, u16 pci_id1, u16 pci_id2)
3146 static void determine_ecc_sym_sz(struct amd64_pvt *pvt)
3167 static void umc_read_mc_regs(struct amd64_pvt *pvt)
3191 static void dct_read_mc_regs(struct amd64_pvt *pvt)
3289 static u32 dct_get_csrow_nr_pages(struct amd64_pvt *pvt, u8 dct, int csrow_nr)
3307 static u32 umc_get_csrow_nr_pages(struct amd64_pvt *pvt, u8 dct, int csrow_nr_orig)
3326 struct amd64_pvt *pvt = mci->pvt_info;
3370 struct amd64_pvt *pvt = mci->pvt_info;
3595 static bool dct_ecc_enabled(struct amd64_pvt *pvt)
3619 static bool umc_ecc_enabled(struct amd64_pvt *pvt)
3654 umc_determine_edac_ctl_cap(struct mem_ctl_info *mci, struct amd64_pvt *pvt)
3686 struct amd64_pvt *pvt = mci->pvt_info;
3712 struct amd64_pvt *pvt = mci->pvt_info;
3728 static int dct_hw_info_get(struct amd64_pvt *pvt)
3743 static int umc_hw_info_get(struct amd64_pvt *pvt)
3783 static int gpu_addr_mask_to_cs_size(struct amd64_pvt *pvt, u8 umc,
3791 static void gpu_debug_display_dimm_sizes(struct amd64_pvt *pvt, u8 ctrl)
3805 static void gpu_dump_misc_regs(struct amd64_pvt *pvt)
3822 static u32 gpu_get_csrow_nr_pages(struct amd64_pvt *pvt, u8 dct, int csrow_nr)
3838 struct amd64_pvt *pvt = mci->pvt_info;
3863 struct amd64_pvt *pvt = mci->pvt_info;
3878 static bool gpu_ecc_enabled(struct amd64_pvt *pvt)
3905 static void gpu_read_mc_regs(struct amd64_pvt *pvt)
3922 static void gpu_read_base_mask(struct amd64_pvt *pvt)
3949 static void gpu_prep_chip_selects(struct amd64_pvt *pvt)
3959 static int gpu_hw_info_get(struct amd64_pvt *pvt)
3978 static void hw_info_put(struct amd64_pvt *pvt)
4011 static int per_family_init(struct amd64_pvt *pvt)
4183 static int init_one_instance(struct amd64_pvt *pvt)
4221 static bool instance_has_memory(struct amd64_pvt *pvt)
4237 struct amd64_pvt *pvt = NULL;
4248 pvt = kzalloc(sizeof(struct amd64_pvt), GFP_KERNEL);
4319 struct amd64_pvt *pvt;