Lines Matching defs:pvt

18 static inline u32 get_umc_reg(struct amd64_pvt *pvt, u32 reg)  in get_umc_reg()
103 static void f15h_select_dct(struct amd64_pvt *pvt, u8 dct) in f15h_select_dct()
127 static inline int amd64_read_dct_pci_cfg(struct amd64_pvt *pvt, u8 dct, in amd64_read_dct_pci_cfg()
188 static int __set_scrub_rate(struct amd64_pvt *pvt, u32 new_bw, u32 min_rate) in __set_scrub_rate()
233 struct amd64_pvt *pvt = mci->pvt_info; in set_scrub_rate() local
252 struct amd64_pvt *pvt = mci->pvt_info; in get_scrub_rate() local
284 static bool base_limit_match(struct amd64_pvt *pvt, u64 sys_addr, u8 nid) in base_limit_match()
309 struct amd64_pvt *pvt; in find_mc_by_sys_addr() local
373 static void get_cs_base_and_mask(struct amd64_pvt *pvt, int csrow, u8 dct, in get_cs_base_and_mask()
429 #define for_each_chip_select(i, dct, pvt) \ argument
432 #define chip_select_base(i, dct, pvt) \ argument
435 #define for_each_chip_select_mask(i, dct, pvt) \ argument
447 struct amd64_pvt *pvt; in input_addr_to_csrow() local
494 struct amd64_pvt *pvt = mci->pvt_info; in get_dram_hole_info() local
603 struct amd64_pvt *pvt = mci->pvt_info; in inject_section_show() local
618 struct amd64_pvt *pvt = mci->pvt_info; in inject_section_store() local
639 struct amd64_pvt *pvt = mci->pvt_info; in inject_word_show() local
654 struct amd64_pvt *pvt = mci->pvt_info; in inject_word_store() local
676 struct amd64_pvt *pvt = mci->pvt_info; in inject_ecc_vector_show() local
690 struct amd64_pvt *pvt = mci->pvt_info; in inject_ecc_vector_store() local
716 struct amd64_pvt *pvt = mci->pvt_info; in inject_read_store() local
749 struct amd64_pvt *pvt = mci->pvt_info; in inject_write_store() local
812 struct amd64_pvt *pvt = mci->pvt_info; in inj_is_visible() local
858 struct amd64_pvt *pvt = mci->pvt_info; in sys_addr_to_dram_addr() local
913 struct amd64_pvt *pvt; in dram_addr_to_input_addr() local
1000 static int gpu_get_node_map(struct amd64_pvt *pvt) in gpu_get_node_map()
1063 static unsigned long dct_determine_edac_cap(struct amd64_pvt *pvt) in dct_determine_edac_cap()
1078 static unsigned long umc_determine_edac_cap(struct amd64_pvt *pvt) in umc_determine_edac_cap()
1104 static void dct_debug_display_dimm_sizes(struct amd64_pvt *pvt, u8 ctrl) in dct_debug_display_dimm_sizes()
1160 static void debug_dump_dramcfg_low(struct amd64_pvt *pvt, u32 dclr, int chan) in debug_dump_dramcfg_low()
1201 static int umc_get_cs_mode(int dimm, u8 ctrl, struct amd64_pvt *pvt) in umc_get_cs_mode()
1269 static int umc_addr_mask_to_cs_size(struct amd64_pvt *pvt, u8 umc, in umc_addr_mask_to_cs_size()
1320 static void umc_debug_display_dimm_sizes(struct amd64_pvt *pvt, u8 ctrl) in umc_debug_display_dimm_sizes()
1341 static void umc_dump_misc_regs(struct amd64_pvt *pvt) in umc_dump_misc_regs()
1369 static void dct_dump_misc_regs(struct amd64_pvt *pvt) in dct_dump_misc_regs()
1409 static void dct_prep_chip_selects(struct amd64_pvt *pvt) in dct_prep_chip_selects()
1423 static void umc_prep_chip_selects(struct amd64_pvt *pvt) in umc_prep_chip_selects()
1433 static void umc_read_base_mask(struct amd64_pvt *pvt) in umc_read_base_mask()
1496 static void dct_read_base_mask(struct amd64_pvt *pvt) in dct_read_base_mask()
1539 static void umc_determine_memory_type(struct amd64_pvt *pvt) in umc_determine_memory_type()
1576 static void dct_determine_memory_type(struct amd64_pvt *pvt) in dct_determine_memory_type()
1638 static u64 get_error_address(struct amd64_pvt *pvt, struct mce *m) in get_error_address()
1719 static void read_dram_base_limit_regs(struct amd64_pvt *pvt, unsigned range) in read_dram_base_limit_regs()
1776 struct amd64_pvt *pvt = mci->pvt_info; in k8_map_sysaddr_to_csrow() local
1841 static int k8_dbam_to_chip_select(struct amd64_pvt *pvt, u8 dct, in k8_dbam_to_chip_select()
1945 static int f10_dbam_to_chip_select(struct amd64_pvt *pvt, u8 dct, in f10_dbam_to_chip_select()
1961 static int f15_dbam_to_chip_select(struct amd64_pvt *pvt, u8 dct, in f15_dbam_to_chip_select()
1970 static int f15_m60h_dbam_to_chip_select(struct amd64_pvt *pvt, u8 dct, in f15_m60h_dbam_to_chip_select()
2003 static int f16_dbam_to_chip_select(struct amd64_pvt *pvt, u8 dct, in f16_dbam_to_chip_select()
2015 static void read_dram_ctl_register(struct amd64_pvt *pvt) in read_dram_ctl_register()
2049 static u8 f15_m30h_determine_channel(struct amd64_pvt *pvt, u64 sys_addr, in f15_m30h_determine_channel()
2080 static u8 f1x_determine_channel(struct amd64_pvt *pvt, u64 sys_addr, in f1x_determine_channel()
2124 static u64 f1x_get_norm_dct_addr(struct amd64_pvt *pvt, u8 range, in f1x_get_norm_dct_addr()
2175 static int f10_process_possible_spare(struct amd64_pvt *pvt, u8 dct, int csrow) in f10_process_possible_spare()
2203 struct amd64_pvt *pvt; in f1x_lookup_addr_in_dct() local
2249 static u64 f1x_swap_interleaved_region(struct amd64_pvt *pvt, u64 sys_addr) in f1x_swap_interleaved_region()
2279 static int f1x_match_to_this_node(struct amd64_pvt *pvt, unsigned range, in f1x_match_to_this_node()
2359 static int f15_m30h_match_to_this_node(struct amd64_pvt *pvt, unsigned range, in f15_m30h_match_to_this_node()
2481 static int f1x_translate_sysaddr_to_cs(struct amd64_pvt *pvt, in f1x_translate_sysaddr_to_cs()
2518 struct amd64_pvt *pvt = mci->pvt_info; in f1x_map_sysaddr_to_csrow() local
2674 struct amd64_pvt *pvt = mci->pvt_info; in get_channel_from_ecc_syndrome() local
2743 struct amd64_pvt *pvt; in decode_bus_error() local
2799 struct amd64_pvt *pvt; in decode_umc_error() local
2853 reserve_mc_sibling_devs(struct amd64_pvt *pvt, u16 pci_id1, u16 pci_id2) in reserve_mc_sibling_devs()
2882 static void determine_ecc_sym_sz(struct amd64_pvt *pvt) in determine_ecc_sym_sz()
2903 static void umc_read_mc_regs(struct amd64_pvt *pvt) in umc_read_mc_regs()
2936 static void dct_read_mc_regs(struct amd64_pvt *pvt) in dct_read_mc_regs()
3034 static u32 dct_get_csrow_nr_pages(struct amd64_pvt *pvt, u8 dct, int csrow_nr) in dct_get_csrow_nr_pages()
3052 static u32 umc_get_csrow_nr_pages(struct amd64_pvt *pvt, u8 dct, int csrow_nr_orig) in umc_get_csrow_nr_pages()
3071 struct amd64_pvt *pvt = mci->pvt_info; in umc_init_csrows() local
3115 struct amd64_pvt *pvt = mci->pvt_info; in dct_init_csrows() local
3340 static bool dct_ecc_enabled(struct amd64_pvt *pvt) in dct_ecc_enabled()
3364 static bool umc_ecc_enabled(struct amd64_pvt *pvt) in umc_ecc_enabled()
3387 umc_determine_edac_ctl_cap(struct mem_ctl_info *mci, struct amd64_pvt *pvt) in umc_determine_edac_ctl_cap()
3419 struct amd64_pvt *pvt = mci->pvt_info; in dct_setup_mci_misc_attrs() local
3445 struct amd64_pvt *pvt = mci->pvt_info; in umc_setup_mci_misc_attrs() local
3461 static int dct_hw_info_get(struct amd64_pvt *pvt) in dct_hw_info_get()
3476 static int umc_hw_info_get(struct amd64_pvt *pvt) in umc_hw_info_get()
3516 static int gpu_addr_mask_to_cs_size(struct amd64_pvt *pvt, u8 umc, in gpu_addr_mask_to_cs_size()
3524 static void gpu_debug_display_dimm_sizes(struct amd64_pvt *pvt, u8 ctrl) in gpu_debug_display_dimm_sizes()
3538 static void gpu_dump_misc_regs(struct amd64_pvt *pvt) in gpu_dump_misc_regs()
3555 static u32 gpu_get_csrow_nr_pages(struct amd64_pvt *pvt, u8 dct, int csrow_nr) in gpu_get_csrow_nr_pages()
3571 struct amd64_pvt *pvt = mci->pvt_info; in gpu_init_csrows() local
3596 struct amd64_pvt *pvt = mci->pvt_info; in gpu_setup_mci_misc_attrs() local
3611 static bool gpu_ecc_enabled(struct amd64_pvt *pvt) in gpu_ecc_enabled()
3616 static inline u32 gpu_get_umc_base(struct amd64_pvt *pvt, u8 umc, u8 channel) in gpu_get_umc_base()
3641 static void gpu_read_mc_regs(struct amd64_pvt *pvt) in gpu_read_mc_regs()
3663 static void gpu_read_base_mask(struct amd64_pvt *pvt) in gpu_read_base_mask()
3690 static void gpu_prep_chip_selects(struct amd64_pvt *pvt) in gpu_prep_chip_selects()
3700 static int gpu_hw_info_get(struct amd64_pvt *pvt) in gpu_hw_info_get()
3719 static void hw_info_put(struct amd64_pvt *pvt) in hw_info_put()
3752 static int per_family_init(struct amd64_pvt *pvt) in per_family_init()
3937 static unsigned int get_layer_size(struct amd64_pvt *pvt, u8 layer) in get_layer_size()
3949 static int init_one_instance(struct amd64_pvt *pvt) in init_one_instance()
3981 static bool instance_has_memory(struct amd64_pvt *pvt) in instance_has_memory()
3997 struct amd64_pvt *pvt = NULL; in probe_one_instance() local
4079 struct amd64_pvt *pvt; in remove_one_instance() local