Lines Matching defs:pvt

104 static void f15h_select_dct(struct amd64_pvt *pvt, u8 dct)  in f15h_select_dct()
128 static inline int amd64_read_dct_pci_cfg(struct amd64_pvt *pvt, u8 dct, in amd64_read_dct_pci_cfg()
185 static inline void __f17h_set_scrubval(struct amd64_pvt *pvt, u32 scrubval) in __f17h_set_scrubval()
204 static int __set_scrub_rate(struct amd64_pvt *pvt, u32 new_bw, u32 min_rate) in __set_scrub_rate()
251 struct amd64_pvt *pvt = mci->pvt_info; in set_scrub_rate() local
270 struct amd64_pvt *pvt = mci->pvt_info; in get_scrub_rate() local
311 static bool base_limit_match(struct amd64_pvt *pvt, u64 sys_addr, u8 nid) in base_limit_match()
336 struct amd64_pvt *pvt; in find_mc_by_sys_addr() local
400 static void get_cs_base_and_mask(struct amd64_pvt *pvt, int csrow, u8 dct, in get_cs_base_and_mask()
456 #define for_each_chip_select(i, dct, pvt) \ argument
459 #define chip_select_base(i, dct, pvt) \ argument
462 #define for_each_chip_select_mask(i, dct, pvt) \ argument
474 struct amd64_pvt *pvt; in input_addr_to_csrow() local
521 struct amd64_pvt *pvt = mci->pvt_info; in get_dram_hole_info() local
630 struct amd64_pvt *pvt = mci->pvt_info; in inject_section_show() local
645 struct amd64_pvt *pvt = mci->pvt_info; in inject_section_store() local
666 struct amd64_pvt *pvt = mci->pvt_info; in inject_word_show() local
681 struct amd64_pvt *pvt = mci->pvt_info; in inject_word_store() local
703 struct amd64_pvt *pvt = mci->pvt_info; in inject_ecc_vector_show() local
717 struct amd64_pvt *pvt = mci->pvt_info; in inject_ecc_vector_store() local
743 struct amd64_pvt *pvt = mci->pvt_info; in inject_read_store() local
776 struct amd64_pvt *pvt = mci->pvt_info; in inject_write_store() local
839 struct amd64_pvt *pvt = mci->pvt_info; in inj_is_visible() local
885 struct amd64_pvt *pvt = mci->pvt_info; in sys_addr_to_dram_addr() local
940 struct amd64_pvt *pvt; in dram_addr_to_input_addr() local
1287 static unsigned long determine_edac_cap(struct amd64_pvt *pvt) in determine_edac_cap()
1322 static void debug_dump_dramcfg_low(struct amd64_pvt *pvt, u32 dclr, int chan) in debug_dump_dramcfg_low()
1363 static int f17_get_cs_mode(int dimm, u8 ctrl, struct amd64_pvt *pvt) in f17_get_cs_mode()
1395 static void debug_display_dimm_sizes_df(struct amd64_pvt *pvt, u8 ctrl) in debug_display_dimm_sizes_df()
1416 static void __dump_misc_regs_df(struct amd64_pvt *pvt) in __dump_misc_regs_df()
1463 static void __dump_misc_regs(struct amd64_pvt *pvt) in __dump_misc_regs()
1497 static void dump_misc_regs(struct amd64_pvt *pvt) in dump_misc_regs()
1512 static void prep_chip_selects(struct amd64_pvt *pvt) in prep_chip_selects()
1534 static void read_umc_base_mask(struct amd64_pvt *pvt) in read_umc_base_mask()
1588 static void read_dct_base_mask(struct amd64_pvt *pvt) in read_dct_base_mask()
1636 static void determine_memory_type_df(struct amd64_pvt *pvt) in determine_memory_type_df()
1673 static void determine_memory_type(struct amd64_pvt *pvt) in determine_memory_type()
1736 static int k8_early_channel_count(struct amd64_pvt *pvt) in k8_early_channel_count()
1754 static u64 get_error_address(struct amd64_pvt *pvt, struct mce *m) in get_error_address()
1835 static void read_dram_base_limit_regs(struct amd64_pvt *pvt, unsigned range) in read_dram_base_limit_regs()
1892 struct amd64_pvt *pvt = mci->pvt_info; in k8_map_sysaddr_to_csrow() local
1957 static int k8_dbam_to_chip_select(struct amd64_pvt *pvt, u8 dct, in k8_dbam_to_chip_select()
2012 static int f1x_early_channel_count(struct amd64_pvt *pvt) in f1x_early_channel_count()
2054 static int f17_early_channel_count(struct amd64_pvt *pvt) in f17_early_channel_count()
2124 static int f10_dbam_to_chip_select(struct amd64_pvt *pvt, u8 dct, in f10_dbam_to_chip_select()
2140 static int f15_dbam_to_chip_select(struct amd64_pvt *pvt, u8 dct, in f15_dbam_to_chip_select()
2149 static int f15_m60h_dbam_to_chip_select(struct amd64_pvt *pvt, u8 dct, in f15_m60h_dbam_to_chip_select()
2182 static int f16_dbam_to_chip_select(struct amd64_pvt *pvt, u8 dct, in f16_dbam_to_chip_select()
2194 static int f17_addr_mask_to_cs_size(struct amd64_pvt *pvt, u8 umc, in f17_addr_mask_to_cs_size()
2272 static void read_dram_ctl_register(struct amd64_pvt *pvt) in read_dram_ctl_register()
2306 static u8 f15_m30h_determine_channel(struct amd64_pvt *pvt, u64 sys_addr, in f15_m30h_determine_channel()
2337 static u8 f1x_determine_channel(struct amd64_pvt *pvt, u64 sys_addr, in f1x_determine_channel()
2381 static u64 f1x_get_norm_dct_addr(struct amd64_pvt *pvt, u8 range, in f1x_get_norm_dct_addr()
2432 static int f10_process_possible_spare(struct amd64_pvt *pvt, u8 dct, int csrow) in f10_process_possible_spare()
2460 struct amd64_pvt *pvt; in f1x_lookup_addr_in_dct() local
2506 static u64 f1x_swap_interleaved_region(struct amd64_pvt *pvt, u64 sys_addr) in f1x_swap_interleaved_region()
2536 static int f1x_match_to_this_node(struct amd64_pvt *pvt, unsigned range, in f1x_match_to_this_node()
2616 static int f15_m30h_match_to_this_node(struct amd64_pvt *pvt, unsigned range, in f15_m30h_match_to_this_node()
2738 static int f1x_translate_sysaddr_to_cs(struct amd64_pvt *pvt, in f1x_translate_sysaddr_to_cs()
2775 struct amd64_pvt *pvt = mci->pvt_info; in f1x_map_sysaddr_to_csrow() local
2798 static void debug_display_dimm_sizes(struct amd64_pvt *pvt, u8 ctrl) in debug_display_dimm_sizes()
3152 struct amd64_pvt *pvt = mci->pvt_info; in get_channel_from_ecc_syndrome() local
3221 struct amd64_pvt *pvt; in decode_bus_error() local
3272 struct amd64_pvt *pvt; in decode_umc_error() local
3322 reserve_mc_sibling_devs(struct amd64_pvt *pvt, u16 pci_id1, u16 pci_id2) in reserve_mc_sibling_devs()
3377 static void free_mc_sibling_devs(struct amd64_pvt *pvt) in free_mc_sibling_devs()
3388 static void determine_ecc_sym_sz(struct amd64_pvt *pvt) in determine_ecc_sym_sz()
3424 static void __read_mc_regs_df(struct amd64_pvt *pvt) in __read_mc_regs_df()
3448 static void read_mc_regs(struct amd64_pvt *pvt) in read_mc_regs()
3561 static u32 get_csrow_nr_pages(struct amd64_pvt *pvt, u8 dct, int csrow_nr_orig) in get_csrow_nr_pages()
3586 struct amd64_pvt *pvt = mci->pvt_info; in init_csrows_df() local
3634 struct amd64_pvt *pvt = mci->pvt_info; in init_csrows() local
3865 static bool ecc_enabled(struct amd64_pvt *pvt) in ecc_enabled()
3917 f17h_determine_edac_ctl_cap(struct mem_ctl_info *mci, struct amd64_pvt *pvt) in f17h_determine_edac_ctl_cap()
3949 struct amd64_pvt *pvt = mci->pvt_info; in setup_mci_misc_attrs() local
3978 static struct amd64_family_type *per_family_init(struct amd64_pvt *pvt) in per_family_init()
4093 static int hw_info_get(struct amd64_pvt *pvt) in hw_info_get()
4119 static void hw_info_put(struct amd64_pvt *pvt) in hw_info_put()
4127 static int init_one_instance(struct amd64_pvt *pvt) in init_one_instance()
4178 static bool instance_has_memory(struct amd64_pvt *pvt) in instance_has_memory()
4194 struct amd64_pvt *pvt = NULL; in probe_one_instance() local
4280 struct amd64_pvt *pvt; in remove_one_instance() local