/linux/drivers/edac/ |
H A D | amd64_edac.c | 19 static inline u32 get_umc_reg(struct amd64_pvt *pvt, u32 reg) in get_umc_reg() argument 21 if (!pvt->flags.zn_regs_v2) in get_umc_reg() 104 static void f15h_select_dct(struct amd64_pvt *pvt, u8 dct) in f15h_select_dct() argument 108 amd64_read_pci_cfg(pvt->F1, DCT_CFG_SEL, ®); in f15h_select_dct() 109 reg &= (pvt->model == 0x30) ? ~3 : ~1; in f15h_select_dct() 111 amd64_write_pci_cfg(pvt->F1, DCT_CFG_SEL, reg); 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() argument 131 switch (pvt->fam) { in amd64_read_dct_pci_cfg() 144 if (dct_ganging_enabled(pvt)) in amd64_read_dct_pci_cfg() 156 dct = (dct && pvt in amd64_read_dct_pci_cfg() 189 __set_scrub_rate(struct amd64_pvt * pvt,u32 new_bw,u32 min_rate) __set_scrub_rate() argument 234 struct amd64_pvt *pvt = mci->pvt_info; set_scrub_rate() local 253 struct amd64_pvt *pvt = mci->pvt_info; get_scrub_rate() local 285 base_limit_match(struct amd64_pvt * pvt,u64 sys_addr,u8 nid) base_limit_match() argument 310 struct amd64_pvt *pvt; find_mc_by_sys_addr() local 374 get_cs_base_and_mask(struct amd64_pvt * pvt,int csrow,u8 dct,u64 * base,u64 * mask) get_cs_base_and_mask() argument 430 for_each_chip_select(i,dct,pvt) global() argument 433 chip_select_base(i,dct,pvt) global() argument 436 for_each_chip_select_mask(i,dct,pvt) global() argument 448 struct amd64_pvt *pvt; input_addr_to_csrow() local 495 struct amd64_pvt *pvt = mci->pvt_info; get_dram_hole_info() local 604 struct amd64_pvt *pvt = mci->pvt_info; inject_section_show() local 619 struct amd64_pvt *pvt = mci->pvt_info; inject_section_store() local 640 struct amd64_pvt *pvt = mci->pvt_info; inject_word_show() local 655 struct amd64_pvt *pvt = mci->pvt_info; inject_word_store() local 677 struct amd64_pvt *pvt = mci->pvt_info; inject_ecc_vector_show() local 691 struct amd64_pvt *pvt = mci->pvt_info; inject_ecc_vector_store() local 717 struct amd64_pvt *pvt = mci->pvt_info; inject_read_store() local 750 struct amd64_pvt *pvt = mci->pvt_info; inject_write_store() local 813 struct amd64_pvt *pvt = mci->pvt_info; inj_is_visible() local 859 struct amd64_pvt *pvt = mci->pvt_info; sys_addr_to_dram_addr() local 914 struct amd64_pvt *pvt; dram_addr_to_input_addr() local 1001 gpu_get_node_map(struct amd64_pvt * pvt) gpu_get_node_map() argument 1064 dct_determine_edac_cap(struct amd64_pvt * pvt) dct_determine_edac_cap() argument 1079 umc_determine_edac_cap(struct amd64_pvt * pvt) umc_determine_edac_cap() argument 1105 dct_debug_display_dimm_sizes(struct amd64_pvt * pvt,u8 ctrl) dct_debug_display_dimm_sizes() argument 1161 debug_dump_dramcfg_low(struct amd64_pvt * pvt,u32 dclr,int chan) debug_dump_dramcfg_low() argument 1201 umc_get_cs_mode(int dimm,u8 ctrl,struct amd64_pvt * pvt) umc_get_cs_mode() argument 1283 umc_addr_mask_to_cs_size(struct amd64_pvt * pvt,u8 umc,unsigned int cs_mode,int csrow_nr) umc_addr_mask_to_cs_size() argument 1334 umc_debug_display_dimm_sizes(struct amd64_pvt * pvt,u8 ctrl) umc_debug_display_dimm_sizes() argument 1355 umc_dump_misc_regs(struct amd64_pvt * pvt) umc_dump_misc_regs() argument 1383 dct_dump_misc_regs(struct amd64_pvt * pvt) dct_dump_misc_regs() argument 1423 dct_prep_chip_selects(struct amd64_pvt * pvt) dct_prep_chip_selects() argument 1437 umc_prep_chip_selects(struct amd64_pvt * pvt) umc_prep_chip_selects() argument 1447 umc_read_base_mask(struct amd64_pvt * pvt) umc_read_base_mask() argument 1510 dct_read_base_mask(struct amd64_pvt * pvt) dct_read_base_mask() argument 1553 umc_determine_memory_type(struct amd64_pvt * pvt) umc_determine_memory_type() argument 1590 dct_determine_memory_type(struct amd64_pvt * pvt) dct_determine_memory_type() argument 1652 get_error_address(struct amd64_pvt * pvt,struct mce * m) get_error_address() argument 1733 read_dram_base_limit_regs(struct amd64_pvt * pvt,unsigned range) read_dram_base_limit_regs() argument 1790 struct amd64_pvt *pvt = mci->pvt_info; k8_map_sysaddr_to_csrow() local 1855 k8_dbam_to_chip_select(struct amd64_pvt * pvt,u8 dct,unsigned cs_mode,int cs_mask_nr) k8_dbam_to_chip_select() argument 1959 f10_dbam_to_chip_select(struct amd64_pvt * pvt,u8 dct,unsigned cs_mode,int cs_mask_nr) f10_dbam_to_chip_select() argument 1975 f15_dbam_to_chip_select(struct amd64_pvt * pvt,u8 dct,unsigned cs_mode,int cs_mask_nr) f15_dbam_to_chip_select() argument 1984 f15_m60h_dbam_to_chip_select(struct amd64_pvt * pvt,u8 dct,unsigned cs_mode,int cs_mask_nr) f15_m60h_dbam_to_chip_select() argument 2017 f16_dbam_to_chip_select(struct amd64_pvt * pvt,u8 dct,unsigned cs_mode,int cs_mask_nr) f16_dbam_to_chip_select() argument 2029 read_dram_ctl_register(struct amd64_pvt * pvt) read_dram_ctl_register() argument 2063 f15_m30h_determine_channel(struct amd64_pvt * pvt,u64 sys_addr,u8 intlv_en,int num_dcts_intlv,u32 dct_sel) f15_m30h_determine_channel() argument 2094 f1x_determine_channel(struct amd64_pvt * pvt,u64 sys_addr,bool hi_range_sel,u8 intlv_en) f1x_determine_channel() argument 2138 f1x_get_norm_dct_addr(struct amd64_pvt * pvt,u8 range,u64 sys_addr,bool hi_rng,u32 dct_sel_base_addr) f1x_get_norm_dct_addr() argument 2189 f10_process_possible_spare(struct amd64_pvt * pvt,u8 dct,int csrow) f10_process_possible_spare() argument 2217 struct amd64_pvt *pvt; f1x_lookup_addr_in_dct() local 2263 f1x_swap_interleaved_region(struct amd64_pvt * pvt,u64 sys_addr) f1x_swap_interleaved_region() argument 2293 f1x_match_to_this_node(struct amd64_pvt * pvt,unsigned range,u64 sys_addr,int * chan_sel) f1x_match_to_this_node() argument 2373 f15_m30h_match_to_this_node(struct amd64_pvt * pvt,unsigned range,u64 sys_addr,int * chan_sel) f15_m30h_match_to_this_node() argument 2495 f1x_translate_sysaddr_to_cs(struct amd64_pvt * pvt,u64 sys_addr,int * chan_sel) f1x_translate_sysaddr_to_cs() argument 2532 struct amd64_pvt *pvt = mci->pvt_info; f1x_map_sysaddr_to_csrow() local 2688 struct amd64_pvt *pvt = mci->pvt_info; get_channel_from_ecc_syndrome() local 2757 struct amd64_pvt *pvt; decode_bus_error() local 2813 struct amd64_pvt *pvt; decode_umc_error() local 2867 reserve_mc_sibling_devs(struct amd64_pvt * pvt,u16 pci_id1,u16 pci_id2) reserve_mc_sibling_devs() argument 2896 determine_ecc_sym_sz(struct amd64_pvt * pvt) determine_ecc_sym_sz() argument 2917 umc_read_mc_regs(struct amd64_pvt * pvt) umc_read_mc_regs() argument 2950 dct_read_mc_regs(struct amd64_pvt * pvt) dct_read_mc_regs() argument 3048 dct_get_csrow_nr_pages(struct amd64_pvt * pvt,u8 dct,int csrow_nr) dct_get_csrow_nr_pages() argument 3066 umc_get_csrow_nr_pages(struct amd64_pvt * pvt,u8 dct,int csrow_nr_orig) umc_get_csrow_nr_pages() argument 3085 struct amd64_pvt *pvt = mci->pvt_info; umc_init_csrows() local 3129 struct amd64_pvt *pvt = mci->pvt_info; dct_init_csrows() local 3353 dct_ecc_enabled(struct amd64_pvt * pvt) dct_ecc_enabled() argument 3374 umc_ecc_enabled(struct amd64_pvt * pvt) umc_ecc_enabled() argument 3397 umc_determine_edac_ctl_cap(struct mem_ctl_info * mci,struct amd64_pvt * pvt) umc_determine_edac_ctl_cap() argument 3429 struct amd64_pvt *pvt = mci->pvt_info; dct_setup_mci_misc_attrs() local 3455 struct amd64_pvt *pvt = mci->pvt_info; umc_setup_mci_misc_attrs() local 3471 dct_hw_info_get(struct amd64_pvt * pvt) dct_hw_info_get() argument 3486 umc_hw_info_get(struct amd64_pvt * pvt) umc_hw_info_get() argument 3526 gpu_addr_mask_to_cs_size(struct amd64_pvt * pvt,u8 umc,unsigned int cs_mode,int csrow_nr) gpu_addr_mask_to_cs_size() argument 3535 gpu_debug_display_dimm_sizes(struct amd64_pvt * pvt,u8 ctrl) gpu_debug_display_dimm_sizes() argument 3549 gpu_dump_misc_regs(struct amd64_pvt * pvt) gpu_dump_misc_regs() argument 3566 gpu_get_csrow_nr_pages(struct amd64_pvt * pvt,u8 dct,int csrow_nr) gpu_get_csrow_nr_pages() argument 3582 struct amd64_pvt *pvt = mci->pvt_info; gpu_init_csrows() local 3607 struct amd64_pvt *pvt = mci->pvt_info; gpu_setup_mci_misc_attrs() local 3622 gpu_ecc_enabled(struct amd64_pvt * pvt) gpu_ecc_enabled() argument 3627 gpu_get_umc_base(struct amd64_pvt * pvt,u8 umc,u8 channel) gpu_get_umc_base() argument 3652 gpu_read_mc_regs(struct amd64_pvt * pvt) gpu_read_mc_regs() argument 3674 gpu_read_base_mask(struct amd64_pvt * pvt) gpu_read_base_mask() argument 3701 gpu_prep_chip_selects(struct amd64_pvt * pvt) gpu_prep_chip_selects() argument 3711 gpu_hw_info_get(struct amd64_pvt * pvt) gpu_hw_info_get() argument 3730 hw_info_put(struct amd64_pvt * pvt) hw_info_put() argument 3763 per_family_init(struct amd64_pvt * pvt) per_family_init() argument 3949 get_layer_size(struct amd64_pvt * pvt,u8 layer) get_layer_size() argument 3961 init_one_instance(struct amd64_pvt * pvt) init_one_instance() argument 3993 instance_has_memory(struct amd64_pvt * pvt) instance_has_memory() argument 4009 struct amd64_pvt *pvt = NULL; probe_one_instance() local 4091 struct amd64_pvt *pvt; remove_one_instance() local [all...] |
H A D | dmc520_edac.c | 178 static u32 dmc520_read_reg(struct dmc520_edac *pvt, u32 offset) in dmc520_read_reg() argument 180 return readl(pvt->reg_base + offset); in dmc520_read_reg() 183 static void dmc520_write_reg(struct dmc520_edac *pvt, u32 val, u32 offset) in dmc520_write_reg() argument 185 writel(val, pvt->reg_base + offset); in dmc520_write_reg() 200 static u32 dmc520_get_dram_ecc_error_count(struct dmc520_edac *pvt, in dmc520_get_dram_ecc_error_count() argument 212 err_low = dmc520_read_reg(pvt, reg_offset_low); in dmc520_get_dram_ecc_error_count() 213 err_high = dmc520_read_reg(pvt, reg_offset_high); in dmc520_get_dram_ecc_error_count() 215 dmc520_write_reg(pvt, 0, reg_offset_low); in dmc520_get_dram_ecc_error_count() 216 dmc520_write_reg(pvt, 0, reg_offset_high); in dmc520_get_dram_ecc_error_count() 224 static void dmc520_get_dram_ecc_error_info(struct dmc520_edac *pvt, in dmc520_get_dram_ecc_error_info() argument 260 dmc520_get_scrub_type(struct dmc520_edac * pvt) dmc520_get_scrub_type() argument 276 dmc520_get_memory_width(struct dmc520_edac * pvt) dmc520_get_memory_width() argument 292 dmc520_get_mtype(struct dmc520_edac * pvt) dmc520_get_mtype() argument 314 dmc520_get_dtype(struct dmc520_edac * pvt) dmc520_get_dtype() argument 350 dmc520_get_rank_size(struct dmc520_edac * pvt) dmc520_get_rank_size() argument 368 struct dmc520_edac *pvt = mci->pvt_info; dmc520_handle_dram_ecc_errors() local 395 struct dmc520_edac *pvt = mci->pvt_info; dmc520_edac_dram_ecc_isr() local 410 struct dmc520_edac *pvt = mci->pvt_info; dmc520_edac_dram_all_isr() local 430 struct dmc520_edac *pvt = mci->pvt_info; dmc520_isr() local 445 struct dmc520_edac *pvt = mci->pvt_info; dmc520_init_csrow() local 479 struct dmc520_edac *pvt = NULL; dmc520_edac_probe() local 607 struct dmc520_edac *pvt; dmc520_edac_remove() local [all...] |
H A D | sb_edac.c | 320 u64 (*get_tolm)(struct sbridge_pvt *pvt); 321 u64 (*get_tohm)(struct sbridge_pvt *pvt); 330 u8 (*get_node_id)(struct sbridge_pvt *pvt); 332 enum mem_type (*get_memory_type)(struct sbridge_pvt *pvt); 333 enum dev_type (*get_width)(struct sbridge_pvt *pvt, u32 mtr); 802 static u64 sbridge_get_tolm(struct sbridge_pvt *pvt) in sbridge_get_tolm() argument 807 pci_read_config_dword(pvt->pci_sad1, TOLM, ®); in sbridge_get_tolm() 811 static u64 sbridge_get_tohm(struct sbridge_pvt *pvt) in sbridge_get_tohm() argument 815 pci_read_config_dword(pvt->pci_sad1, TOHM, ®); in sbridge_get_tohm() 819 static u64 ibridge_get_tolm(struct sbridge_pvt *pvt) in ibridge_get_tolm() argument 828 ibridge_get_tohm(struct sbridge_pvt * pvt) ibridge_get_tohm() argument 885 get_memory_type(struct sbridge_pvt * pvt) get_memory_type() argument 904 haswell_get_memory_type(struct sbridge_pvt * pvt) haswell_get_memory_type() argument 936 knl_get_width(struct sbridge_pvt * pvt,u32 mtr) knl_get_width() argument 942 sbridge_get_width(struct sbridge_pvt * pvt,u32 mtr) sbridge_get_width() argument 967 ibridge_get_width(struct sbridge_pvt * pvt,u32 mtr) ibridge_get_width() argument 976 broadwell_get_width(struct sbridge_pvt * pvt,u32 mtr) broadwell_get_width() argument 982 knl_get_memory_type(struct sbridge_pvt * pvt) knl_get_memory_type() argument 988 get_node_id(struct sbridge_pvt * pvt) get_node_id() argument 995 haswell_get_node_id(struct sbridge_pvt * pvt) haswell_get_node_id() argument 1003 knl_get_node_id(struct sbridge_pvt * pvt) knl_get_node_id() argument 1045 haswell_get_tolm(struct sbridge_pvt * pvt) haswell_get_tolm() argument 1053 haswell_get_tohm(struct sbridge_pvt * pvt) haswell_get_tohm() argument 1066 knl_get_tolm(struct sbridge_pvt * pvt) knl_get_tolm() argument 1074 knl_get_tohm(struct sbridge_pvt * pvt) knl_get_tohm() argument 1154 knl_get_tad(const struct sbridge_pvt * pvt,const int entry,const int mc,u64 * offset,u64 * limit,int * ways) knl_get_tad() argument 1348 knl_get_dimm_capacity(struct sbridge_pvt * pvt,u64 * mc_sizes) knl_get_dimm_capacity() argument 1573 struct sbridge_pvt *pvt = mci->pvt_info; get_source_id() local 1592 struct sbridge_pvt *pvt = mci->pvt_info; __populate_dimms() local 1691 struct sbridge_pvt *pvt = mci->pvt_info; get_dimm_config() local 1769 struct sbridge_pvt *pvt = mci->pvt_info; get_memory_layout() local 1984 struct sbridge_pvt *pvt; sb_decode_ddr4() local 2041 struct sbridge_pvt *pvt = mci->pvt_info; get_memory_error_data() local 2377 struct sbridge_pvt *pvt; get_memory_error_data_from_mce() local 2620 struct sbridge_pvt *pvt = mci->pvt_info; sbridge_mci_bind_devs() local 2694 struct sbridge_pvt *pvt = mci->pvt_info; ibridge_mci_bind_devs() local 2780 struct sbridge_pvt *pvt = mci->pvt_info; haswell_mci_bind_devs() local 2865 struct sbridge_pvt *pvt = mci->pvt_info; broadwell_mci_bind_devs() local 2946 struct sbridge_pvt *pvt = mci->pvt_info; knl_mci_bind_devs() local 3082 struct sbridge_pvt *pvt = mci->pvt_info; sbridge_mce_output_error() local 3352 struct sbridge_pvt *pvt; sbridge_register_mci() local [all...] |
H A D | i7core_edac.c | 396 #define CH_ACTIVE(pvt, ch) ((pvt)->info.mc_control & (1 << (8 + ch))) argument 397 #define ECCx8(pvt) ((pvt)->info.mc_control & (1 << 1)) argument 400 #define ECC_ENABLED(pvt) ((pvt)->info.mc_status & (1 << 4)) argument 401 #define CH_DISABLED(pvt, ch) ((pvt)->info.mc_status & (1 << ch)) argument 489 struct i7core_pvt *pvt = mci->pvt_info; in get_dimm_config() local 497 pdev = pvt in get_dimm_config() 662 struct i7core_pvt *pvt = mci->pvt_info; disable_inject() local 687 struct i7core_pvt *pvt = mci->pvt_info; i7core_inject_section_store() local 707 struct i7core_pvt *pvt = mci->pvt_info; i7core_inject_section_show() local 724 struct i7core_pvt *pvt = mci->pvt_info; i7core_inject_type_store() local 744 struct i7core_pvt *pvt = mci->pvt_info; i7core_inject_type_show() local 764 struct i7core_pvt *pvt = mci->pvt_info; i7core_inject_eccmask_store() local 784 struct i7core_pvt *pvt = mci->pvt_info; i7core_inject_eccmask_show() local 915 struct i7core_pvt *pvt = mci->pvt_info; i7core_inject_enable_store() local 1019 struct i7core_pvt *pvt = mci->pvt_info; i7core_inject_enable_show() local 1159 struct i7core_pvt *pvt = mci->pvt_info; i7core_create_sysfs_devices() local 1214 struct i7core_pvt *pvt = mci->pvt_info; i7core_delete_sysfs_devices() local 1455 struct i7core_pvt *pvt = mci->pvt_info; mci_bind_devs() local 1538 struct i7core_pvt *pvt = mci->pvt_info; i7core_rdimm_update_ce_count() local 1584 struct i7core_pvt *pvt = mci->pvt_info; i7core_rdimm_check_mc_ecc_err() local 1629 struct i7core_pvt *pvt = mci->pvt_info; i7core_udimm_check_mc_ecc_err() local 1697 struct i7core_pvt *pvt = mci->pvt_info; i7core_mce_output_error() local 1793 struct i7core_pvt *pvt = mci->pvt_info; i7core_check_error() local 1959 struct i7core_pvt *pvt = mci->pvt_info; set_sdram_scrub_rate() local 2021 struct i7core_pvt *pvt = mci->pvt_info; get_sdram_scrub_rate() local 2050 struct i7core_pvt *pvt = mci->pvt_info; enable_sdram_scrub_setting() local 2065 struct i7core_pvt *pvt = mci->pvt_info; disable_sdram_scrub_setting() local 2075 i7core_pci_ctl_create(struct i7core_pvt * pvt) i7core_pci_ctl_create() argument 2085 i7core_pci_ctl_release(struct i7core_pvt * pvt) i7core_pci_ctl_release() argument 2099 struct i7core_pvt *pvt; i7core_unregister_mci() local 2132 struct i7core_pvt *pvt; i7core_register_mci() local [all...] |
H A D | amd64_edac.h | 135 #define dram_rw(pvt, i) ((u8)(pvt->ranges[i].base.lo & 0x3)) argument 136 #define dram_intlv_sel(pvt, i) ((u8)((pvt->ranges[i].lim.lo >> 8) & 0x7)) argument 137 #define dram_dst_node(pvt, i) ((u8)(pvt->ranges[i].lim.lo & 0x7)) argument 140 #define dhar_mem_hoist_valid(pvt) ((pvt)->dhar & BIT(1)) argument 141 #define dhar_base(pvt) ((pvt) argument 142 k8_dhar_offset(pvt) global() argument 145 f10_dhar_offset(pvt) global() argument 166 csrow_enabled(i,dct,pvt) global() argument 167 csrow_sec_enabled(i,dct,pvt) global() argument 189 dct_high_range_enabled(pvt) global() argument 190 dct_interleave_enabled(pvt) global() argument 192 dct_ganging_enabled(pvt) global() argument 194 dct_data_intlv_enabled(pvt) global() argument 195 dct_memory_cleared(pvt) global() argument 219 online_spare_swap_done(pvt,c) global() argument 220 online_spare_bad_dramcs(pvt,c) global() argument 410 get_dram_base(struct amd64_pvt * pvt,u8 i) get_dram_base() argument 420 get_dram_limit(struct amd64_pvt * pvt,u8 i) get_dram_limit() argument 435 dct_sel_interleave_addr(struct amd64_pvt * pvt) dct_sel_interleave_addr() argument 497 dram_intlv_en(struct amd64_pvt * pvt,unsigned int i) dram_intlv_en() argument 507 dhar_valid(struct amd64_pvt * pvt) dhar_valid() argument 517 dct_sel_baseaddr(struct amd64_pvt * pvt) dct_sel_baseaddr() argument [all...] |
H A D | i7300_edac.c | 354 struct i7300_pvt *pvt; in i7300_process_error_global() local 360 pvt = mci->pvt_info; in i7300_process_error_global() 363 pci_read_config_dword(pvt->pci_dev_16_2_fsb_err_regs, in i7300_process_error_global() 373 pci_write_config_dword(pvt->pci_dev_16_2_fsb_err_regs, in i7300_process_error_global() 379 pci_read_config_dword(pvt->pci_dev_16_2_fsb_err_regs, in i7300_process_error_global() 389 pci_write_config_dword(pvt->pci_dev_16_2_fsb_err_regs, in i7300_process_error_global() 409 struct i7300_pvt *pvt; in i7300_process_fbd_error() local 419 pvt = mci->pvt_info; in i7300_process_fbd_error() 422 pci_read_config_dword(pvt->pci_dev_16_1_fsb_addr_map, in i7300_process_fbd_error() 431 pci_read_config_word(pvt in i7300_process_fbd_error() 522 struct i7300_pvt *pvt = mci->pvt_info; i7300_clear_error() local 559 struct i7300_pvt *pvt = mci->pvt_info; i7300_enable_error_reporting() local 586 decode_mtr(struct i7300_pvt * pvt,int slot,int ch,int branch,struct i7300_dimm_info * dinfo,struct dimm_info * dimm) decode_mtr() argument 683 print_dimm_size(struct i7300_pvt * pvt) print_dimm_size() argument 748 struct i7300_pvt *pvt; i7300_init_csrows() local 841 struct i7300_pvt *pvt; i7300_get_mc_regs() local 912 struct i7300_pvt *pvt; i7300_put_devices() local 937 struct i7300_pvt *pvt; i7300_get_devices() local 1026 struct i7300_pvt *pvt; i7300_init_one() local [all...] |
H A D | i5000_edac.c | 388 struct i5000_pvt *pvt; in i5000_get_error_info() local 391 pvt = mci->pvt_info; in i5000_get_error_info() 394 pci_read_config_dword(pvt->branchmap_werrors, FERR_FAT_FBD, &value); in i5000_get_error_info() 406 pci_read_config_dword(pvt->branchmap_werrors, in i5000_get_error_info() 408 pci_read_config_word(pvt->branchmap_werrors, in i5000_get_error_info() 410 pci_read_config_dword(pvt->branchmap_werrors, in i5000_get_error_info() 414 pci_write_config_dword(pvt->branchmap_werrors, in i5000_get_error_info() 424 pci_read_config_dword(pvt->branchmap_werrors, FERR_NF_FBD, &value); in i5000_get_error_info() 432 pci_read_config_dword(pvt->branchmap_werrors, in i5000_get_error_info() 434 pci_read_config_word(pvt in i5000_get_error_info() 782 struct i5000_pvt *pvt; i5000_get_devices() local 901 struct i5000_pvt *pvt; i5000_put_devices() local 927 determine_amb_present_reg(struct i5000_pvt * pvt,int channel) determine_amb_present_reg() argument 951 determine_mtr(struct i5000_pvt * pvt,int slot,int channel) determine_mtr() argument 992 handle_channel(struct i5000_pvt * pvt,int slot,int channel,struct i5000_dimm_info * dinfo) handle_channel() argument 1034 calculate_dimm_size(struct i5000_pvt * pvt) calculate_dimm_size() argument 1133 struct i5000_pvt *pvt; i5000_get_mc_regs() local 1249 struct i5000_pvt *pvt; i5000_init_csrows() local 1309 struct i5000_pvt *pvt; i5000_enable_error_reporting() local 1358 struct i5000_pvt *pvt; i5000_probe1() local [all...] |
H A D | i5400_edac.c | 440 struct i5400_pvt *pvt; in i5400_get_error_info() local 443 pvt = mci->pvt_info; in i5400_get_error_info() 446 pci_read_config_dword(pvt->branchmap_werrors, FERR_FAT_FBD, &value); in i5400_get_error_info() 459 pci_read_config_dword(pvt->branchmap_werrors, in i5400_get_error_info() 461 pci_read_config_word(pvt->branchmap_werrors, in i5400_get_error_info() 463 pci_read_config_dword(pvt->branchmap_werrors, in i5400_get_error_info() 467 pci_write_config_dword(pvt->branchmap_werrors, in i5400_get_error_info() 477 pci_read_config_dword(pvt->branchmap_werrors, FERR_NF_FBD, &value); in i5400_get_error_info() 485 pci_read_config_dword(pvt->branchmap_werrors, in i5400_get_error_info() 487 pci_read_config_word(pvt in i5400_get_error_info() 702 struct i5400_pvt *pvt; i5400_put_devices() local 721 struct i5400_pvt *pvt; i5400_get_devices() local 839 determine_amb_present_reg(struct i5400_pvt * pvt,int channel) determine_amb_present_reg() argument 863 determine_mtr(struct i5400_pvt * pvt,int dimm,int channel) determine_mtr() argument 920 handle_channel(struct i5400_pvt * pvt,int dimm,int channel,struct i5400_dimm_info * dinfo) handle_channel() argument 958 calculate_dimm_size(struct i5400_pvt * pvt) calculate_dimm_size() argument 1055 struct i5400_pvt *pvt; i5400_get_mc_regs() local 1168 struct i5400_pvt *pvt; i5400_init_dimms() local 1231 struct i5400_pvt *pvt; i5400_enable_error_reporting() local 1257 struct i5400_pvt *pvt; i5400_probe1() local [all...] |
H A D | e752x_edac.c | 308 struct e752x_pvt *pvt = (struct e752x_pvt *)mci->pvt_info; in ctl_page_to_phys() local 312 if (page < pvt->tolm) in ctl_page_to_phys() 315 if ((page >= 0x100000) && (page < pvt->remapbase)) in ctl_page_to_phys() 318 remap = (page - pvt->tolm) + pvt->remapbase; in ctl_page_to_phys() 320 if (remap < pvt->remaplimit) in ctl_page_to_phys() 324 return pvt->tolm - 1; in ctl_page_to_phys() 334 struct e752x_pvt *pvt = (struct e752x_pvt *)mci->pvt_info; in do_process_ce() local 342 if (pvt->mc_symmetric) { in do_process_ce() 347 pvt in do_process_ce() 393 struct e752x_pvt *pvt = (struct e752x_pvt *)mci->pvt_info; do_process_ue() local 465 struct e752x_pvt *pvt = (struct e752x_pvt *)mci->pvt_info; do_process_ded_retry() local 842 struct e752x_pvt *pvt; e752x_get_error_info() local 991 struct e752x_pvt *pvt = (struct e752x_pvt *) mci->pvt_info; set_sdram_scrub_rate() local 1020 struct e752x_pvt *pvt = (struct e752x_pvt *) mci->pvt_info; get_sdram_scrub_rate() local 1057 struct e752x_pvt *pvt = mci->pvt_info; remap_csrow_index() local 1139 e752x_init_mem_map_table(struct pci_dev * pdev,struct e752x_pvt * pvt) e752x_init_mem_map_table() argument 1175 e752x_get_devs(struct pci_dev * pdev,int dev_idx,struct e752x_pvt * pvt) e752x_get_devs() argument 1211 e752x_init_sysbus_parity_mask(struct e752x_pvt * pvt) e752x_init_sysbus_parity_mask() argument 1232 e752x_init_error_reporting_regs(struct e752x_pvt * pvt) e752x_init_error_reporting_regs() argument 1261 struct e752x_pvt *pvt; e752x_probe1() local 1399 struct e752x_pvt *pvt; e752x_remove_one() local [all...] |
H A D | e7xxx_edac.c | 186 struct e7xxx_pvt *pvt = (struct e7xxx_pvt *)mci->pvt_info; in ctl_page_to_phys() local 190 if ((page < pvt->tolm) || in ctl_page_to_phys() 191 ((page >= 0x100000) && (page < pvt->remapbase))) in ctl_page_to_phys() 194 remap = (page - pvt->tolm) + pvt->remapbase; in ctl_page_to_phys() 196 if (remap < pvt->remaplimit) in ctl_page_to_phys() 200 return pvt->tolm - 1; in ctl_page_to_phys() 259 struct e7xxx_pvt *pvt; in e7xxx_get_error_info() local 261 pvt = (struct e7xxx_pvt *)mci->pvt_info; in e7xxx_get_error_info() 262 pci_read_config_byte(pvt in e7xxx_get_error_info() 425 struct e7xxx_pvt *pvt = NULL; e7xxx_probe1() local 540 struct e7xxx_pvt *pvt; e7xxx_remove_one() local [all...] |
H A D | octeon_edac-lmc.c | 73 struct octeon_lmc_pvt *pvt = mci->pvt_info; in octeon_lmc_edac_poll_o2() local 78 if (!pvt->inject) in octeon_lmc_edac_poll_o2() 82 if (pvt->error_type == 1) in octeon_lmc_edac_poll_o2() 84 if (pvt->error_type == 2) in octeon_lmc_edac_poll_o2() 90 if (likely(!pvt->inject)) in octeon_lmc_edac_poll_o2() 93 fadr.cn61xx.fdimm = pvt->dimm; in octeon_lmc_edac_poll_o2() 94 fadr.cn61xx.fbunk = pvt->rank; in octeon_lmc_edac_poll_o2() 95 fadr.cn61xx.fbank = pvt->bank; in octeon_lmc_edac_poll_o2() 96 fadr.cn61xx.frow = pvt->row; in octeon_lmc_edac_poll_o2() 97 fadr.cn61xx.fcol = pvt in octeon_lmc_edac_poll_o2() 173 struct octeon_lmc_pvt *pvt = mci->pvt_info; octeon_mc_inject_error_type_store() local 188 struct octeon_lmc_pvt *pvt = mci->pvt_info; octeon_mc_inject_error_type_show() local [all...] |
H A D | loongson_edac.c | 30 struct loongson_edac_pvt *pvt = mci->pvt_info; in read_ecc() local 34 ecc = readq(pvt->ecc_base + ECC_CS_COUNT_REG); in read_ecc() 46 struct loongson_edac_pvt *pvt = mci->pvt_info; in edac_check() local 50 add = new - pvt->last_ce_count; in edac_check() 51 pvt->last_ce_count = new; in edac_check() 77 struct loongson_edac_pvt *pvt = mci->pvt_info; in pvt_init() local 79 pvt->ecc_base = vbase; in pvt_init() 80 pvt->last_ce_count = read_ecc(mci); in pvt_init()
|
H A D | ghes_edac.c | 277 struct ghes_pvt *pvt; in ghes_edac_report_mem_error() local 291 pvt = ghes_pvt; in ghes_edac_report_mem_error() 292 if (!pvt) in ghes_edac_report_mem_error() 295 mci = pvt->mci; in ghes_edac_report_mem_error() 302 e->msg = pvt->msg; in ghes_edac_report_mem_error() 303 e->other_detail = pvt->other_detail; in ghes_edac_report_mem_error() 307 *pvt->other_detail = '\0'; in ghes_edac_report_mem_error() 308 *pvt->msg = '\0'; in ghes_edac_report_mem_error() 332 p = pvt->msg; in ghes_edac_report_mem_error() 333 p += snprintf(p, sizeof(pvt in ghes_edac_report_mem_error() 392 struct ghes_pvt *pvt; ghes_edac_register() local [all...] |
H A D | i82875p_edac.c | 392 struct i82875p_pvt *pvt; in i82875p_probe1() local 412 mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, sizeof(*pvt)); in i82875p_probe1() 428 edac_dbg(3, "init pvt\n"); in i82875p_probe1() 429 pvt = (struct i82875p_pvt *)mci->pvt_info; in i82875p_probe1() 430 pvt->ovrfl_pdev = ovrfl_pdev; in i82875p_probe1() 431 pvt->ovrfl_window = ovrfl_window; in i82875p_probe1() 493 struct i82875p_pvt *pvt = NULL; in i82875p_remove_one() local 503 pvt = (struct i82875p_pvt *)mci->pvt_info; in i82875p_remove_one() 505 if (pvt->ovrfl_window) in i82875p_remove_one() 506 iounmap(pvt in i82875p_remove_one() [all...] |
H A D | i82975x_edac.c | 3 * (C) 2007 aCarLab (India) Pvt. Ltd. (http://acarlab.com) 468 struct i82975x_pvt *pvt; in i82975x_probe1() local 546 mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, sizeof(*pvt)); in i82975x_probe1() 562 edac_dbg(3, "init pvt\n"); in i82975x_probe1() 563 pvt = (struct i82975x_pvt *) mci->pvt_info; in i82975x_probe1() 564 pvt->mch_window = mch_window; in i82975x_probe1() 610 struct i82975x_pvt *pvt; in i82975x_remove_one() local 618 pvt = mci->pvt_info; in i82975x_remove_one() 619 if (pvt->mch_window) in i82975x_remove_one() 620 iounmap( pvt in i82975x_remove_one() [all...] |
/linux/drivers/hwmon/ |
H A D | mr75203.c | 5 * This driver is a hardware monitoring driver for PVT controller 25 /* PVT Common register */ 188 struct pvt_device *pvt = file->private_data; in pvt_ts_coeff_j_read() local 192 len = scnprintf(buf, sizeof(buf), "%d\n", pvt->ts_coeff.j); in pvt_ts_coeff_j_read() 201 struct pvt_device *pvt = file->private_data; in pvt_ts_coeff_j_write() local 204 ret = kstrtos32_from_user(user_buf, count, 0, &pvt->ts_coeff.j); in pvt_ts_coeff_j_write() 221 struct pvt_device *pvt = (struct pvt_device *)data; in devm_pvt_ts_dbgfs_remove() local 223 debugfs_remove_recursive(pvt->dbgfs_dir); in devm_pvt_ts_dbgfs_remove() 224 pvt->dbgfs_dir = NULL; in devm_pvt_ts_dbgfs_remove() 227 static int pvt_ts_dbgfs_create(struct pvt_device *pvt, struc argument 261 pvt_calc_temp(struct pvt_device * pvt,u32 nbs) pvt_calc_temp() argument 279 struct pvt_device *pvt = dev_get_drvdata(dev); pvt_read_temp() local 313 struct pvt_device *pvt = dev_get_drvdata(dev); pvt_read_in() local 390 pvt_init(struct pvt_device * pvt) pvt_init() argument 583 pvt_get_regmap(struct platform_device * pdev,char * reg_name,struct pvt_device * pvt) pvt_get_regmap() argument 616 struct pvt_device *pvt = data; pvt_reset_control_assert() local 621 pvt_reset_control_deassert(struct device * dev,struct pvt_device * pvt) pvt_reset_control_deassert() argument 632 pvt_get_active_channel(struct device * dev,struct pvt_device * pvt,u32 vm_num,u32 ch_num,u8 * vm_idx) pvt_get_active_channel() argument 686 pvt_get_pre_scaler(struct device * dev,struct pvt_device * pvt) pvt_get_pre_scaler() argument 723 pvt_set_temp_coeff(struct device * dev,struct pvt_device * pvt) pvt_set_temp_coeff() argument 774 struct pvt_device *pvt; mr75203_probe() local [all...] |
H A D | bt1-pvt.h | 17 /* Baikal-T1 PVT registers and their bitfields */ 61 * PVT sensors-related limits and default values 68 * @PVT_DATA_MIN: Minimal PVT raw data value. 69 * @PVT_DATA_MAX: Maximal PVT raw data value. 78 * activated the PVT IRQ is enabled to be raised after each 105 * enum pvt_sensor_type - Baikal-T1 PVT sensor types (correspond to each PVT 108 * @PVT_TEMP: PVT Temperature sensor. 109 * @PVT_VOLT: PVT Voltage sensor. 110 * @PVT_LVT: PVT Lo [all...] |
/linux/Documentation/devicetree/bindings/hwmon/ |
H A D | baikal,bt1-pvt.yaml | 5 $id: http://devicetree.org/schemas/hwmon/baikal,bt1-pvt.yaml# 8 title: Baikal-T1 PVT Sensor 18 is based on the Analog Bits PVT sensor, but is equipped with a dedicated 25 Analog Bits core Bakal-T1 PVT control block 43 This bindings describes the external Baikal-T1 PVT control interfaces 50 const: baikal,bt1-pvt 60 - description: PVT reference clock 72 baikal,pvt-temp-offset-millicelsius: 93 pvt@1f200000 { 94 compatible = "baikal,bt1-pvt"; [all...] |
H A D | moortec,mr75203.yaml | 7 title: Moortec Semiconductor MR75203 PVT Controller 13 A Moortec PVT (Process, Voltage, Temperature) monitoring logic design can 44 - description: PVT common registers 45 - description: PVT temperature sensor registers 46 - description: PVT process detector registers 47 - description: PVT voltage monitor registers 58 PVT controller has 5 VM (voltage monitor) sensors. 149 pvt: pvt@e0680000 {
|
H A D | microchip,lan966x.yaml | 22 - description: PVT registers 27 - const: pvt 50 reg-names = "pvt", "fan";
|
/linux/drivers/s390/crypto/ |
H A D | zcrypt_cca_key.h | 170 struct cca_pvt_ext_crt_sec pvt; in zcrypt_type6_crt_key() member 202 key->pvt.section_identifier = CCA_PVT_EXT_CRT_SEC_ID_PVT; in zcrypt_type6_crt_key() 203 key->pvt.section_length = sizeof(key->pvt) + key_len; in zcrypt_type6_crt_key() 204 key->pvt.key_format = CCA_PVT_EXT_CRT_SEC_FMT_CL; in zcrypt_type6_crt_key() 205 key->pvt.key_use_flags[0] = CCA_PVT_USAGE_ALL; in zcrypt_type6_crt_key() 206 key->pvt.p_len = key->pvt.dp_len = key->pvt.u_len = long_len; in zcrypt_type6_crt_key() 207 key->pvt in zcrypt_type6_crt_key() [all...] |
/linux/sound/pci/asihpi/ |
H A D | hpidspcd.c | 72 dsp_code->pvt = kmalloc(sizeof(*dsp_code->pvt), GFP_KERNEL); in hpi_dsp_code_open() 73 if (!dsp_code->pvt) { in hpi_dsp_code_open() 78 dsp_code->pvt->dev = dev; in hpi_dsp_code_open() 79 dsp_code->pvt->firmware = firmware; in hpi_dsp_code_open() 96 release_firmware(dsp_code->pvt->firmware); in hpi_dsp_code_close() 97 kfree(dsp_code->pvt); in hpi_dsp_code_close() 113 *pword = ((u32 *)(dsp_code->pvt->firmware->data))[dsp_code-> in hpi_dsp_code_read_word() 127 ((u32 *)(dsp_code->pvt->firmware->data)) + in hpi_dsp_code_read_block()
|
/linux/arch/powerpc/kvm/ |
H A D | book3s_hv_uvmem.c | 521 struct kvmppc_uvmem_page_pvt *pvt; in __kvmppc_svm_page_out() local 557 pvt = spage->zone_device_data; in __kvmppc_svm_page_out() 567 if (!pvt->skip_page_out) in __kvmppc_svm_page_out() 614 struct kvmppc_uvmem_page_pvt *pvt; in kvmppc_uvmem_drop_pages() local 640 pvt = uvmem_page->zone_device_data; in kvmppc_uvmem_drop_pages() 641 pvt->skip_page_out = skip_page_out; in kvmppc_uvmem_drop_pages() 642 pvt->remove_gfn = true; in kvmppc_uvmem_drop_pages() 645 PAGE_SHIFT, kvm, pvt->gpa, NULL)) in kvmppc_uvmem_drop_pages() 647 pvt->gpa, addr); in kvmppc_uvmem_drop_pages() 699 struct kvmppc_uvmem_page_pvt *pvt; in kvmppc_uvmem_get_page() local 883 struct kvmppc_uvmem_page_pvt *pvt; kvmppc_share_page() local 1000 struct kvmppc_uvmem_page_pvt *pvt = vmf->page->zone_device_data; kvmppc_uvmem_migrate_to_ram() local 1021 struct kvmppc_uvmem_page_pvt *pvt; kvmppc_uvmem_page_free() local [all...] |
/linux/Documentation/hwmon/ |
H A D | bt1-pvt.rst | 3 Kernel driver bt1-pvt 8 * Baikal-T1 PVT sensor (in SoC) 10 Prefix: 'bt1-pvt' 24 embedded into Baikal-T1 process, voltage and temperature sensors. PVT IP-core 28 for each sensor the PVT controller supports. The alarms functionality is made 38 design it's recommended to have them disabled to prevent the PVT IRQs being
|
/linux/arch/s390/kernel/ |
H A D | cache.c | 151 unsigned int level, idx, pvt; in populate_cache_leaves() local 160 pvt = (ct.ci[level].scope == CACHE_SCOPE_PRIVATE) ? 1 : 0; in populate_cache_leaves() 163 ci_leaf_init(this_leaf++, pvt, CACHE_TYPE_DATA, level, cpu); in populate_cache_leaves() 164 ci_leaf_init(this_leaf++, pvt, CACHE_TYPE_INST, level, cpu); in populate_cache_leaves() 166 ci_leaf_init(this_leaf++, pvt, ctype, level, cpu); in populate_cache_leaves()
|