/linux-master/drivers/hwmon/ |
H A D | bt1-pvt.c | 34 #include "bt1-pvt.h" 134 static inline void pvt_set_mode(struct pvt_hwmon *pvt, u32 mode) argument 140 old = pvt_update(pvt->regs + PVT_CTRL, PVT_CTRL_EN, 0); 141 pvt_update(pvt->regs + PVT_CTRL, PVT_CTRL_MODE_MASK | PVT_CTRL_EN, 152 static inline void pvt_set_trim(struct pvt_hwmon *pvt, u32 trim) argument 158 old = pvt_update(pvt->regs + PVT_CTRL, PVT_CTRL_EN, 0); 159 pvt_update(pvt->regs + PVT_CTRL, PVT_CTRL_TRIM_MASK | PVT_CTRL_EN, 163 static inline void pvt_set_tout(struct pvt_hwmon *pvt, u32 tout) argument 167 old = pvt_update(pvt->regs + PVT_CTRL, PVT_CTRL_EN, 0); 168 writel(tout, pvt 207 struct pvt_hwmon *pvt = data; local 290 pvt_read_data(struct pvt_hwmon *pvt, enum pvt_sensor_type type, long *val) argument 310 pvt_read_limit(struct pvt_hwmon *pvt, enum pvt_sensor_type type, bool is_low, long *val) argument 331 pvt_write_limit(struct pvt_hwmon *pvt, enum pvt_sensor_type type, bool is_low, long val) argument 371 pvt_read_alarm(struct pvt_hwmon *pvt, enum pvt_sensor_type type, bool is_low, long *val) argument 410 struct pvt_hwmon *pvt = data; local 452 pvt_read_data(struct pvt_hwmon *pvt, enum pvt_sensor_type type, long *val) argument 508 pvt_read_limit(struct pvt_hwmon *pvt, enum pvt_sensor_type type, bool is_low, long *val) argument 514 pvt_write_limit(struct pvt_hwmon *pvt, enum pvt_sensor_type type, bool is_low, long val) argument 520 pvt_read_alarm(struct pvt_hwmon *pvt, enum pvt_sensor_type type, bool is_low, long *val) argument 612 pvt_read_trim(struct pvt_hwmon *pvt, long *val) argument 622 pvt_write_trim(struct pvt_hwmon *pvt, long val) argument 643 pvt_read_timeout(struct pvt_hwmon *pvt, long *val) argument 659 pvt_write_timeout(struct pvt_hwmon *pvt, long val) argument 714 struct pvt_hwmon *pvt = dev_get_drvdata(dev); local 798 struct pvt_hwmon *pvt = dev_get_drvdata(dev); local 849 struct pvt_hwmon *pvt = data; local 863 struct pvt_hwmon *pvt; local 891 pvt_request_regs(struct pvt_hwmon *pvt) argument 904 struct pvt_hwmon *pvt = data; local 909 pvt_request_clks(struct pvt_hwmon *pvt) argument 937 pvt_check_pwr(struct pvt_hwmon *pvt) argument 972 pvt_init_iface(struct pvt_hwmon *pvt) argument 1030 pvt_request_irq(struct pvt_hwmon *pvt) argument 1056 pvt_create_hwmon(struct pvt_hwmon *pvt) argument 1072 struct pvt_hwmon *pvt = data; local 1081 pvt_enable_iface(struct pvt_hwmon *pvt) argument 1107 pvt_enable_iface(struct pvt_hwmon *pvt) argument 1116 struct pvt_hwmon *pvt; local [all...] |
H A D | mr75203.c | 188 struct pvt_device *pvt = file->private_data; local 192 len = scnprintf(buf, sizeof(buf), "%d\n", pvt->ts_coeff.j); 201 struct pvt_device *pvt = file->private_data; local 204 ret = kstrtos32_from_user(user_buf, count, 0, &pvt->ts_coeff.j); 221 struct pvt_device *pvt = (struct pvt_device *)data; local 223 debugfs_remove_recursive(pvt->dbgfs_dir); 224 pvt->dbgfs_dir = NULL; 227 static int pvt_ts_dbgfs_create(struct pvt_device *pvt, struct device *dev) argument 229 pvt->dbgfs_dir = debugfs_create_dir(dev_name(dev), NULL); 231 debugfs_create_u32("ts_coeff_h", 0644, pvt 261 pvt_calc_temp(struct pvt_device *pvt, u32 nbs) argument 279 struct pvt_device *pvt = dev_get_drvdata(dev); local 313 struct pvt_device *pvt = dev_get_drvdata(dev); local 390 pvt_init(struct pvt_device *pvt) argument 582 pvt_get_regmap(struct platform_device *pdev, char *reg_name, struct pvt_device *pvt) argument 616 struct pvt_device *pvt = data; local 621 pvt_reset_control_deassert(struct device *dev, struct pvt_device *pvt) argument 632 pvt_get_active_channel(struct device *dev, struct pvt_device *pvt, u32 vm_num, u32 ch_num, u8 *vm_idx) argument 686 pvt_get_pre_scaler(struct device *dev, struct pvt_device *pvt) argument 723 pvt_set_temp_coeff(struct device *dev, struct pvt_device *pvt) argument 774 struct pvt_device *pvt; local [all...] |
/linux-master/drivers/edac/ |
H A D | amd64_edac.c | 17 static inline u32 get_umc_reg(struct amd64_pvt *pvt, u32 reg) argument 19 if (!pvt->flags.zn_regs_v2) 103 static void f15h_select_dct(struct amd64_pvt *pvt, u8 dct) argument 107 amd64_read_pci_cfg(pvt->F1, DCT_CFG_SEL, ®); 108 reg &= (pvt->model == 0x30) ? ~3 : ~1; 110 amd64_write_pci_cfg(pvt->F1, DCT_CFG_SEL, reg); 127 static inline int amd64_read_dct_pci_cfg(struct amd64_pvt *pvt, u8 dct, argument 130 switch (pvt->fam) { 143 if (dct_ganging_enabled(pvt)) 155 dct = (dct && pvt 188 __set_scrub_rate(struct amd64_pvt *pvt, u32 new_bw, u32 min_rate) argument 233 struct amd64_pvt *pvt = mci->pvt_info; local 252 struct amd64_pvt *pvt = mci->pvt_info; local 284 base_limit_match(struct amd64_pvt *pvt, u64 sys_addr, u8 nid) argument 309 struct amd64_pvt *pvt; local 373 get_cs_base_and_mask(struct amd64_pvt *pvt, int csrow, u8 dct, u64 *base, u64 *mask) argument 447 struct amd64_pvt *pvt; local 494 struct amd64_pvt *pvt = mci->pvt_info; local 603 struct amd64_pvt *pvt = mci->pvt_info; local 618 struct amd64_pvt *pvt = mci->pvt_info; local 639 struct amd64_pvt *pvt = mci->pvt_info; local 654 struct amd64_pvt *pvt = mci->pvt_info; local 676 struct amd64_pvt *pvt = mci->pvt_info; local 690 struct amd64_pvt *pvt = mci->pvt_info; local 716 struct amd64_pvt *pvt = mci->pvt_info; local 749 struct amd64_pvt *pvt = mci->pvt_info; local 812 struct amd64_pvt *pvt = mci->pvt_info; local 858 struct amd64_pvt *pvt = mci->pvt_info; local 913 struct amd64_pvt *pvt; local 1000 gpu_get_node_map(struct amd64_pvt *pvt) argument 1061 dct_determine_edac_cap(struct amd64_pvt *pvt) argument 1076 umc_determine_edac_cap(struct amd64_pvt *pvt) argument 1102 dct_debug_display_dimm_sizes(struct amd64_pvt *pvt, u8 ctrl) argument 1158 debug_dump_dramcfg_low(struct amd64_pvt *pvt, u32 dclr, int chan) argument 1199 umc_get_cs_mode(int dimm, u8 ctrl, struct amd64_pvt *pvt) argument 1267 umc_addr_mask_to_cs_size(struct amd64_pvt *pvt, u8 umc, unsigned int cs_mode, int csrow_nr) argument 1318 umc_debug_display_dimm_sizes(struct amd64_pvt *pvt, u8 ctrl) argument 1339 umc_dump_misc_regs(struct amd64_pvt *pvt) argument 1382 dct_dump_misc_regs(struct amd64_pvt *pvt) argument 1422 dct_prep_chip_selects(struct amd64_pvt *pvt) argument 1436 umc_prep_chip_selects(struct amd64_pvt *pvt) argument 1446 umc_read_base_mask(struct amd64_pvt *pvt) argument 1500 dct_read_base_mask(struct amd64_pvt *pvt) argument 1543 umc_determine_memory_type(struct amd64_pvt *pvt) argument 1580 dct_determine_memory_type(struct amd64_pvt *pvt) argument 1642 get_error_address(struct amd64_pvt *pvt, struct mce *m) argument 1723 read_dram_base_limit_regs(struct amd64_pvt *pvt, unsigned range) argument 1780 struct amd64_pvt *pvt = mci->pvt_info; local 1845 k8_dbam_to_chip_select(struct amd64_pvt *pvt, u8 dct, unsigned cs_mode, int cs_mask_nr) argument 1949 f10_dbam_to_chip_select(struct amd64_pvt *pvt, u8 dct, unsigned cs_mode, int cs_mask_nr) argument 1965 f15_dbam_to_chip_select(struct amd64_pvt *pvt, u8 dct, unsigned cs_mode, int cs_mask_nr) argument 1974 f15_m60h_dbam_to_chip_select(struct amd64_pvt *pvt, u8 dct, unsigned cs_mode, int cs_mask_nr) argument 2007 f16_dbam_to_chip_select(struct amd64_pvt *pvt, u8 dct, unsigned cs_mode, int cs_mask_nr) argument 2019 read_dram_ctl_register(struct amd64_pvt *pvt) argument 2053 f15_m30h_determine_channel(struct amd64_pvt *pvt, u64 sys_addr, u8 intlv_en, int num_dcts_intlv, u32 dct_sel) argument 2084 f1x_determine_channel(struct amd64_pvt *pvt, u64 sys_addr, bool hi_range_sel, u8 intlv_en) argument 2128 f1x_get_norm_dct_addr(struct amd64_pvt *pvt, u8 range, u64 sys_addr, bool hi_rng, u32 dct_sel_base_addr) argument 2179 f10_process_possible_spare(struct amd64_pvt *pvt, u8 dct, int csrow) argument 2207 struct amd64_pvt *pvt; local 2253 f1x_swap_interleaved_region(struct amd64_pvt *pvt, u64 sys_addr) argument 2283 f1x_match_to_this_node(struct amd64_pvt *pvt, unsigned range, u64 sys_addr, int *chan_sel) argument 2363 f15_m30h_match_to_this_node(struct amd64_pvt *pvt, unsigned range, u64 sys_addr, int *chan_sel) argument 2485 f1x_translate_sysaddr_to_cs(struct amd64_pvt *pvt, u64 sys_addr, int *chan_sel) argument 2522 struct amd64_pvt *pvt = mci->pvt_info; local 2678 struct amd64_pvt *pvt = mci->pvt_info; local 2747 struct amd64_pvt *pvt; local 2803 struct amd64_pvt *pvt; local 2857 reserve_mc_sibling_devs(struct amd64_pvt *pvt, u16 pci_id1, u16 pci_id2) argument 2886 determine_ecc_sym_sz(struct amd64_pvt *pvt) argument 2907 umc_read_mc_regs(struct amd64_pvt *pvt) argument 2931 dct_read_mc_regs(struct amd64_pvt *pvt) argument 3029 dct_get_csrow_nr_pages(struct amd64_pvt *pvt, u8 dct, int csrow_nr) argument 3047 umc_get_csrow_nr_pages(struct amd64_pvt *pvt, u8 dct, int csrow_nr_orig) argument 3066 struct amd64_pvt *pvt = mci->pvt_info; local 3110 struct amd64_pvt *pvt = mci->pvt_info; local 3335 dct_ecc_enabled(struct amd64_pvt *pvt) argument 3359 umc_ecc_enabled(struct amd64_pvt *pvt) argument 3394 umc_determine_edac_ctl_cap(struct mem_ctl_info *mci, struct amd64_pvt *pvt) argument 3426 struct amd64_pvt *pvt = mci->pvt_info; local 3452 struct amd64_pvt *pvt = mci->pvt_info; local 3468 dct_hw_info_get(struct amd64_pvt *pvt) argument 3483 umc_hw_info_get(struct amd64_pvt *pvt) argument 3523 gpu_addr_mask_to_cs_size(struct amd64_pvt *pvt, u8 umc, unsigned int cs_mode, int csrow_nr) argument 3531 gpu_debug_display_dimm_sizes(struct amd64_pvt *pvt, u8 ctrl) argument 3545 gpu_dump_misc_regs(struct amd64_pvt *pvt) argument 3562 gpu_get_csrow_nr_pages(struct amd64_pvt *pvt, u8 dct, int csrow_nr) argument 3578 struct amd64_pvt *pvt = mci->pvt_info; local 3603 struct amd64_pvt *pvt = mci->pvt_info; local 3618 gpu_ecc_enabled(struct amd64_pvt *pvt) argument 3623 gpu_get_umc_base(struct amd64_pvt *pvt, u8 umc, u8 channel) argument 3648 gpu_read_mc_regs(struct amd64_pvt *pvt) argument 3665 gpu_read_base_mask(struct amd64_pvt *pvt) argument 3692 gpu_prep_chip_selects(struct amd64_pvt *pvt) argument 3702 gpu_hw_info_get(struct amd64_pvt *pvt) argument 3721 hw_info_put(struct amd64_pvt *pvt) argument 3754 per_family_init(struct amd64_pvt *pvt) argument 3939 get_layer_size(struct amd64_pvt *pvt, u8 layer) argument 3951 init_one_instance(struct amd64_pvt *pvt) argument 3983 instance_has_memory(struct amd64_pvt *pvt) argument 3999 struct amd64_pvt *pvt = NULL; local 4081 struct amd64_pvt *pvt; local [all...] |
H A D | amd64_edac.h | 135 #define dram_rw(pvt, i) ((u8)(pvt->ranges[i].base.lo & 0x3)) 136 #define dram_intlv_sel(pvt, i) ((u8)((pvt->ranges[i].lim.lo >> 8) & 0x7)) 137 #define dram_dst_node(pvt, i) ((u8)(pvt->ranges[i].lim.lo & 0x7)) 140 #define dhar_mem_hoist_valid(pvt) ((pvt)->dhar & BIT(1)) 141 #define dhar_base(pvt) ((pvt) 415 get_dram_base(struct amd64_pvt *pvt, u8 i) argument 425 get_dram_limit(struct amd64_pvt *pvt, u8 i) argument 440 dct_sel_interleave_addr(struct amd64_pvt *pvt) argument 502 dram_intlv_en(struct amd64_pvt *pvt, unsigned int i) argument 512 dhar_valid(struct amd64_pvt *pvt) argument 522 dct_sel_baseaddr(struct amd64_pvt *pvt) argument [all...] |
H A D | i7core_edac.c | 396 #define CH_ACTIVE(pvt, ch) ((pvt)->info.mc_control & (1 << (8 + ch))) 397 #define ECCx8(pvt) ((pvt)->info.mc_control & (1 << 1)) 400 #define ECC_ENABLED(pvt) ((pvt)->info.mc_status & (1 << 4)) 401 #define CH_DISABLED(pvt, ch) ((pvt)->info.mc_status & (1 << ch)) 489 struct i7core_pvt *pvt = mci->pvt_info; local 497 pdev = pvt 662 struct i7core_pvt *pvt = mci->pvt_info; local 687 struct i7core_pvt *pvt = mci->pvt_info; local 707 struct i7core_pvt *pvt = mci->pvt_info; local 724 struct i7core_pvt *pvt = mci->pvt_info; local 744 struct i7core_pvt *pvt = mci->pvt_info; local 764 struct i7core_pvt *pvt = mci->pvt_info; local 784 struct i7core_pvt *pvt = mci->pvt_info; local 915 struct i7core_pvt *pvt = mci->pvt_info; local 1019 struct i7core_pvt *pvt = mci->pvt_info; local 1159 struct i7core_pvt *pvt = mci->pvt_info; local 1214 struct i7core_pvt *pvt = mci->pvt_info; local 1455 struct i7core_pvt *pvt = mci->pvt_info; local 1538 struct i7core_pvt *pvt = mci->pvt_info; local 1584 struct i7core_pvt *pvt = mci->pvt_info; local 1629 struct i7core_pvt *pvt = mci->pvt_info; local 1697 struct i7core_pvt *pvt = mci->pvt_info; local 1793 struct i7core_pvt *pvt = mci->pvt_info; local 1959 struct i7core_pvt *pvt = mci->pvt_info; local 2021 struct i7core_pvt *pvt = mci->pvt_info; local 2050 struct i7core_pvt *pvt = mci->pvt_info; local 2065 struct i7core_pvt *pvt = mci->pvt_info; local 2075 i7core_pci_ctl_create(struct i7core_pvt *pvt) argument 2085 i7core_pci_ctl_release(struct i7core_pvt *pvt) argument 2099 struct i7core_pvt *pvt; local 2132 struct i7core_pvt *pvt; local [all...] |
H A D | i5000_edac.c | 388 struct i5000_pvt *pvt; local 391 pvt = mci->pvt_info; 394 pci_read_config_dword(pvt->branchmap_werrors, FERR_FAT_FBD, &value); 406 pci_read_config_dword(pvt->branchmap_werrors, 408 pci_read_config_word(pvt->branchmap_werrors, 410 pci_read_config_dword(pvt->branchmap_werrors, 414 pci_write_config_dword(pvt->branchmap_werrors, 424 pci_read_config_dword(pvt->branchmap_werrors, FERR_NF_FBD, &value); 432 pci_read_config_dword(pvt->branchmap_werrors, 434 pci_read_config_word(pvt 782 struct i5000_pvt *pvt; local 901 struct i5000_pvt *pvt; local 927 determine_amb_present_reg(struct i5000_pvt *pvt, int channel) argument 951 determine_mtr(struct i5000_pvt *pvt, int slot, int channel) argument 992 handle_channel(struct i5000_pvt *pvt, int slot, int channel, struct i5000_dimm_info *dinfo) argument 1034 calculate_dimm_size(struct i5000_pvt *pvt) argument 1133 struct i5000_pvt *pvt; local 1249 struct i5000_pvt *pvt; local 1309 struct i5000_pvt *pvt; local 1358 struct i5000_pvt *pvt; local [all...] |
H A D | i5400_edac.c | 439 struct i5400_pvt *pvt; local 442 pvt = mci->pvt_info; 445 pci_read_config_dword(pvt->branchmap_werrors, FERR_FAT_FBD, &value); 458 pci_read_config_dword(pvt->branchmap_werrors, 460 pci_read_config_word(pvt->branchmap_werrors, 462 pci_read_config_dword(pvt->branchmap_werrors, 466 pci_write_config_dword(pvt->branchmap_werrors, 476 pci_read_config_dword(pvt->branchmap_werrors, FERR_NF_FBD, &value); 484 pci_read_config_dword(pvt->branchmap_werrors, 486 pci_read_config_word(pvt 701 struct i5400_pvt *pvt; local 720 struct i5400_pvt *pvt; local 838 determine_amb_present_reg(struct i5400_pvt *pvt, int channel) argument 862 determine_mtr(struct i5400_pvt *pvt, int dimm, int channel) argument 919 handle_channel(struct i5400_pvt *pvt, int dimm, int channel, struct i5400_dimm_info *dinfo) argument 957 calculate_dimm_size(struct i5400_pvt *pvt) argument 1054 struct i5400_pvt *pvt; local 1167 struct i5400_pvt *pvt; local 1230 struct i5400_pvt *pvt; local 1256 struct i5400_pvt *pvt; local [all...] |
H A D | i7300_edac.c | 353 struct i7300_pvt *pvt; local 359 pvt = mci->pvt_info; 362 pci_read_config_dword(pvt->pci_dev_16_2_fsb_err_regs, 372 pci_write_config_dword(pvt->pci_dev_16_2_fsb_err_regs, 378 pci_read_config_dword(pvt->pci_dev_16_2_fsb_err_regs, 388 pci_write_config_dword(pvt->pci_dev_16_2_fsb_err_regs, 408 struct i7300_pvt *pvt; local 418 pvt = mci->pvt_info; 421 pci_read_config_dword(pvt->pci_dev_16_1_fsb_addr_map, 430 pci_read_config_word(pvt 521 struct i7300_pvt *pvt = mci->pvt_info; local 558 struct i7300_pvt *pvt = mci->pvt_info; local 585 decode_mtr(struct i7300_pvt *pvt, int slot, int ch, int branch, struct i7300_dimm_info *dinfo, struct dimm_info *dimm) argument 682 print_dimm_size(struct i7300_pvt *pvt) argument 747 struct i7300_pvt *pvt; local 840 struct i7300_pvt *pvt; local 911 struct i7300_pvt *pvt; local 936 struct i7300_pvt *pvt; local 1025 struct i7300_pvt *pvt; local [all...] |
H A D | dmc520_edac.c | 178 static u32 dmc520_read_reg(struct dmc520_edac *pvt, u32 offset) argument 180 return readl(pvt->reg_base + offset); 183 static void dmc520_write_reg(struct dmc520_edac *pvt, u32 val, u32 offset) argument 185 writel(val, pvt->reg_base + offset); 200 static u32 dmc520_get_dram_ecc_error_count(struct dmc520_edac *pvt, argument 212 err_low = dmc520_read_reg(pvt, reg_offset_low); 213 err_high = dmc520_read_reg(pvt, reg_offset_high); 215 dmc520_write_reg(pvt, 0, reg_offset_low); 216 dmc520_write_reg(pvt, 0, reg_offset_high); 224 static void dmc520_get_dram_ecc_error_info(struct dmc520_edac *pvt, argument 260 dmc520_get_scrub_type(struct dmc520_edac *pvt) argument 276 dmc520_get_memory_width(struct dmc520_edac *pvt) argument 292 dmc520_get_mtype(struct dmc520_edac *pvt) argument 314 dmc520_get_dtype(struct dmc520_edac *pvt) argument 350 dmc520_get_rank_size(struct dmc520_edac *pvt) argument 368 struct dmc520_edac *pvt = mci->pvt_info; local 395 struct dmc520_edac *pvt = mci->pvt_info; local 410 struct dmc520_edac *pvt = mci->pvt_info; local 430 struct dmc520_edac *pvt = mci->pvt_info; local 445 struct dmc520_edac *pvt = mci->pvt_info; local 479 struct dmc520_edac *pvt = NULL; local 609 struct dmc520_edac *pvt; local [all...] |
H A D | sb_edac.c | 318 u64 (*get_tolm)(struct sbridge_pvt *pvt); 319 u64 (*get_tohm)(struct sbridge_pvt *pvt); 328 u8 (*get_node_id)(struct sbridge_pvt *pvt); 330 enum mem_type (*get_memory_type)(struct sbridge_pvt *pvt); 331 enum dev_type (*get_width)(struct sbridge_pvt *pvt, u32 mtr); 800 static u64 sbridge_get_tolm(struct sbridge_pvt *pvt) argument 805 pci_read_config_dword(pvt->pci_sad1, TOLM, ®); 809 static u64 sbridge_get_tohm(struct sbridge_pvt *pvt) argument 813 pci_read_config_dword(pvt->pci_sad1, TOHM, ®); 817 static u64 ibridge_get_tolm(struct sbridge_pvt *pvt) argument 826 ibridge_get_tohm(struct sbridge_pvt *pvt) argument 883 get_memory_type(struct sbridge_pvt *pvt) argument 902 haswell_get_memory_type(struct sbridge_pvt *pvt) argument 934 knl_get_width(struct sbridge_pvt *pvt, u32 mtr) argument 940 sbridge_get_width(struct sbridge_pvt *pvt, u32 mtr) argument 965 ibridge_get_width(struct sbridge_pvt *pvt, u32 mtr) argument 974 broadwell_get_width(struct sbridge_pvt *pvt, u32 mtr) argument 980 knl_get_memory_type(struct sbridge_pvt *pvt) argument 986 get_node_id(struct sbridge_pvt *pvt) argument 993 haswell_get_node_id(struct sbridge_pvt *pvt) argument 1001 knl_get_node_id(struct sbridge_pvt *pvt) argument 1043 haswell_get_tolm(struct sbridge_pvt *pvt) argument 1051 haswell_get_tohm(struct sbridge_pvt *pvt) argument 1064 knl_get_tolm(struct sbridge_pvt *pvt) argument 1072 knl_get_tohm(struct sbridge_pvt *pvt) argument 1152 knl_get_tad(const struct sbridge_pvt *pvt, const int entry, const int mc, u64 *offset, u64 *limit, int *ways) argument 1346 knl_get_dimm_capacity(struct sbridge_pvt *pvt, u64 *mc_sizes) argument 1571 struct sbridge_pvt *pvt = mci->pvt_info; local 1590 struct sbridge_pvt *pvt = mci->pvt_info; local 1689 struct sbridge_pvt *pvt = mci->pvt_info; local 1767 struct sbridge_pvt *pvt = mci->pvt_info; local 1982 struct sbridge_pvt *pvt; local 2039 struct sbridge_pvt *pvt = mci->pvt_info; local 2375 struct sbridge_pvt *pvt; local 2618 struct sbridge_pvt *pvt = mci->pvt_info; local 2692 struct sbridge_pvt *pvt = mci->pvt_info; local 2778 struct sbridge_pvt *pvt = mci->pvt_info; local 2863 struct sbridge_pvt *pvt = mci->pvt_info; local 2944 struct sbridge_pvt *pvt = mci->pvt_info; local 3080 struct sbridge_pvt *pvt = mci->pvt_info; local 3351 struct sbridge_pvt *pvt; local [all...] |
H A D | e752x_edac.c | 308 struct e752x_pvt *pvt = (struct e752x_pvt *)mci->pvt_info; local 312 if (page < pvt->tolm) 315 if ((page >= 0x100000) && (page < pvt->remapbase)) 318 remap = (page - pvt->tolm) + pvt->remapbase; 320 if (remap < pvt->remaplimit) 324 return pvt->tolm - 1; 334 struct e752x_pvt *pvt = (struct e752x_pvt *)mci->pvt_info; local 342 if (pvt->mc_symmetric) { 347 pvt 393 struct e752x_pvt *pvt = (struct e752x_pvt *)mci->pvt_info; local 465 struct e752x_pvt *pvt = (struct e752x_pvt *)mci->pvt_info; local 842 struct e752x_pvt *pvt; local 991 struct e752x_pvt *pvt = (struct e752x_pvt *) mci->pvt_info; local 1020 struct e752x_pvt *pvt = (struct e752x_pvt *) mci->pvt_info; local 1057 struct e752x_pvt *pvt = mci->pvt_info; local 1138 e752x_init_mem_map_table(struct pci_dev *pdev, struct e752x_pvt *pvt) argument 1174 e752x_get_devs(struct pci_dev *pdev, int dev_idx, struct e752x_pvt *pvt) argument 1211 e752x_init_sysbus_parity_mask(struct e752x_pvt *pvt) argument 1232 e752x_init_error_reporting_regs(struct e752x_pvt *pvt) argument 1261 struct e752x_pvt *pvt; local 1399 struct e752x_pvt *pvt; local [all...] |
H A D | e7xxx_edac.c | 186 struct e7xxx_pvt *pvt = (struct e7xxx_pvt *)mci->pvt_info; local 190 if ((page < pvt->tolm) || 191 ((page >= 0x100000) && (page < pvt->remapbase))) 194 remap = (page - pvt->tolm) + pvt->remapbase; 196 if (remap < pvt->remaplimit) 200 return pvt->tolm - 1; 259 struct e7xxx_pvt *pvt; local 261 pvt = (struct e7xxx_pvt *)mci->pvt_info; 262 pci_read_config_byte(pvt 425 struct e7xxx_pvt *pvt = NULL; local 540 struct e7xxx_pvt *pvt; local [all...] |
H A D | octeon_edac-lmc.c | 73 struct octeon_lmc_pvt *pvt = mci->pvt_info; local 78 if (!pvt->inject) 82 if (pvt->error_type == 1) 84 if (pvt->error_type == 2) 90 if (likely(!pvt->inject)) 93 fadr.cn61xx.fdimm = pvt->dimm; 94 fadr.cn61xx.fbunk = pvt->rank; 95 fadr.cn61xx.fbank = pvt->bank; 96 fadr.cn61xx.frow = pvt->row; 97 fadr.cn61xx.fcol = pvt 173 struct octeon_lmc_pvt *pvt = mci->pvt_info; local 188 struct octeon_lmc_pvt *pvt = mci->pvt_info; local [all...] |
H A D | ghes_edac.c | 277 struct ghes_pvt *pvt; local 291 pvt = ghes_pvt; 292 if (!pvt) 295 mci = pvt->mci; 302 e->msg = pvt->msg; 303 e->other_detail = pvt->other_detail; 307 *pvt->other_detail = '\0'; 308 *pvt->msg = '\0'; 332 p = pvt->msg; 333 p += snprintf(p, sizeof(pvt 392 struct ghes_pvt *pvt; local [all...] |
H A D | i82875p_edac.c | 392 struct i82875p_pvt *pvt; local 412 mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, sizeof(*pvt)); 428 edac_dbg(3, "init pvt\n"); 429 pvt = (struct i82875p_pvt *)mci->pvt_info; 430 pvt->ovrfl_pdev = ovrfl_pdev; 431 pvt->ovrfl_window = ovrfl_window; 493 struct i82875p_pvt *pvt = NULL; local 503 pvt = (struct i82875p_pvt *)mci->pvt_info; 505 if (pvt->ovrfl_window) 506 iounmap(pvt [all...] |
H A D | i82975x_edac.c | 468 struct i82975x_pvt *pvt; local 546 mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, sizeof(*pvt)); 562 edac_dbg(3, "init pvt\n"); 563 pvt = (struct i82975x_pvt *) mci->pvt_info; 564 pvt->mch_window = mch_window; 610 struct i82975x_pvt *pvt; local 618 pvt = mci->pvt_info; 619 if (pvt->mch_window) 620 iounmap( pvt->mch_window );
|
H A D | edac_device.c | 67 void *pvt; local 98 pvt = kzalloc(pvt_sz, GFP_KERNEL); 99 if (!pvt) 102 dev_ctl->pvt_info = pvt;
|
H A D | pnd2_edac.c | 909 struct pnd2_pvt *pvt = mci->pvt_info; local 910 int g = pvt->dimm_geom[pmiidx]; 1203 struct pnd2_pvt *pvt = mci->pvt_info; local 1228 pvt->dimm_geom[i] = g; 1311 struct pnd2_pvt *pvt; local 1325 mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, sizeof(*pvt)); 1329 pvt = mci->pvt_info; 1330 memset(pvt, 0, sizeof(*pvt));
|
H A D | skx_common.c | 453 struct skx_pvt *pvt; local 473 pvt = mci->pvt_info; 474 pvt->imc = imc;
|
/linux-master/sound/pci/asihpi/ |
H A D | hpidspcd.c | 72 dsp_code->pvt = kmalloc(sizeof(*dsp_code->pvt), GFP_KERNEL); 73 if (!dsp_code->pvt) { 78 dsp_code->pvt->dev = dev; 79 dsp_code->pvt->firmware = firmware; 96 release_firmware(dsp_code->pvt->firmware); 97 kfree(dsp_code->pvt); 113 *pword = ((u32 *)(dsp_code->pvt->firmware->data))[dsp_code-> 127 ((u32 *)(dsp_code->pvt->firmware->data)) +
|
H A D | hpidspcd.h | 54 struct dsp_code_private *pvt; member in struct:dsp_code
|
/linux-master/drivers/s390/crypto/ |
H A D | zcrypt_cca_key.h | 170 struct cca_pvt_ext_crt_sec pvt; member in struct:__anon161 202 key->pvt.section_identifier = CCA_PVT_EXT_CRT_SEC_ID_PVT; 203 key->pvt.section_length = sizeof(key->pvt) + key_len; 204 key->pvt.key_format = CCA_PVT_EXT_CRT_SEC_FMT_CL; 205 key->pvt.key_use_flags[0] = CCA_PVT_USAGE_ALL; 206 key->pvt.p_len = key->pvt.dp_len = key->pvt.u_len = long_len; 207 key->pvt [all...] |
/linux-master/arch/powerpc/kvm/ |
H A D | book3s_hv_uvmem.c | 521 struct kvmppc_uvmem_page_pvt *pvt; local 557 pvt = spage->zone_device_data; 567 if (!pvt->skip_page_out) 614 struct kvmppc_uvmem_page_pvt *pvt; local 640 pvt = uvmem_page->zone_device_data; 641 pvt->skip_page_out = skip_page_out; 642 pvt->remove_gfn = true; 645 PAGE_SHIFT, kvm, pvt->gpa, NULL)) 647 pvt->gpa, addr); 699 struct kvmppc_uvmem_page_pvt *pvt; local 883 struct kvmppc_uvmem_page_pvt *pvt; local 1001 struct kvmppc_uvmem_page_pvt *pvt = vmf->page->zone_device_data; local 1022 struct kvmppc_uvmem_page_pvt *pvt; local [all...] |
/linux-master/arch/s390/kernel/ |
H A D | cache.c | 151 unsigned int level, idx, pvt; local 160 pvt = (ct.ci[level].scope == CACHE_SCOPE_PRIVATE) ? 1 : 0; 163 ci_leaf_init(this_leaf++, pvt, CACHE_TYPE_DATA, level, cpu); 164 ci_leaf_init(this_leaf++, pvt, CACHE_TYPE_INST, level, cpu); 166 ci_leaf_init(this_leaf++, pvt, ctype, level, cpu);
|
/linux-master/drivers/net/dsa/mv88e6xxx/ |
H A D | devlink.c | 593 u16 *pvt, *cur; local 595 pvt = kcalloc(MV88E6XXX_MAX_PVT_ENTRIES, sizeof(*pvt), GFP_KERNEL); 596 if (!pvt) 601 cur = pvt; 615 kfree(pvt); 619 *data = (u8 *)pvt; 694 .name = "pvt",
|