/openbmc/linux/drivers/hwmon/ |
H A D | bt1-pvt.c | 134 static inline void pvt_set_mode(struct pvt_hwmon *pvt, u32 mode) in pvt_set_mode() 152 static inline void pvt_set_trim(struct pvt_hwmon *pvt, u32 trim) in pvt_set_trim() 163 static inline void pvt_set_tout(struct pvt_hwmon *pvt, u32 tout) in pvt_set_tout() 207 struct pvt_hwmon *pvt = data; in pvt_soft_isr() local 290 static int pvt_read_data(struct pvt_hwmon *pvt, enum pvt_sensor_type type, in pvt_read_data() 310 static int pvt_read_limit(struct pvt_hwmon *pvt, enum pvt_sensor_type type, in pvt_read_limit() 331 static int pvt_write_limit(struct pvt_hwmon *pvt, enum pvt_sensor_type type, in pvt_write_limit() 371 static int pvt_read_alarm(struct pvt_hwmon *pvt, enum pvt_sensor_type type, in pvt_read_alarm() 410 struct pvt_hwmon *pvt = data; in pvt_hard_isr() local 452 static int pvt_read_data(struct pvt_hwmon *pvt, enum pvt_sensor_type type, in pvt_read_data() [all …]
|
H A D | mr75203.c | 188 struct pvt_device *pvt = file->private_data; in pvt_ts_coeff_j_read() local 201 struct pvt_device *pvt = file->private_data; in pvt_ts_coeff_j_write() local 221 struct pvt_device *pvt = (struct pvt_device *)data; in devm_pvt_ts_dbgfs_remove() local 227 static int pvt_ts_dbgfs_create(struct pvt_device *pvt, struct device *dev) in pvt_ts_dbgfs_create() 261 static long pvt_calc_temp(struct pvt_device *pvt, u32 nbs) in pvt_calc_temp() 279 struct pvt_device *pvt = dev_get_drvdata(dev); in pvt_read_temp() local 313 struct pvt_device *pvt = dev_get_drvdata(dev); in pvt_read_in() local 390 static int pvt_init(struct pvt_device *pvt) in pvt_init() 583 struct pvt_device *pvt) in pvt_get_regmap() 616 struct pvt_device *pvt = data; in pvt_reset_control_assert() local [all …]
|
/openbmc/linux/drivers/edac/ |
H A D | amd64_edac.c | 16 static inline u32 get_umc_reg(struct amd64_pvt *pvt, u32 reg) in get_umc_reg() 102 static void f15h_select_dct(struct amd64_pvt *pvt, u8 dct) in f15h_select_dct() 126 static inline int amd64_read_dct_pci_cfg(struct amd64_pvt *pvt, u8 dct, in amd64_read_dct_pci_cfg() 187 static int __set_scrub_rate(struct amd64_pvt *pvt, u32 new_bw, u32 min_rate) in __set_scrub_rate() 232 struct amd64_pvt *pvt = mci->pvt_info; in set_scrub_rate() local 251 struct amd64_pvt *pvt = mci->pvt_info; in get_scrub_rate() local 283 static bool base_limit_match(struct amd64_pvt *pvt, u64 sys_addr, u8 nid) in base_limit_match() 308 struct amd64_pvt *pvt; in find_mc_by_sys_addr() local 372 static void get_cs_base_and_mask(struct amd64_pvt *pvt, int csrow, u8 dct, in get_cs_base_and_mask() 428 #define for_each_chip_select(i, dct, pvt) \ argument [all …]
|
H A D | dmc520_edac.c | 178 static u32 dmc520_read_reg(struct dmc520_edac *pvt, u32 offset) in dmc520_read_reg() 183 static void dmc520_write_reg(struct dmc520_edac *pvt, u32 val, u32 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() 224 static void dmc520_get_dram_ecc_error_info(struct dmc520_edac *pvt, in dmc520_get_dram_ecc_error_info() 260 static enum scrub_type dmc520_get_scrub_type(struct dmc520_edac *pvt) in dmc520_get_scrub_type() 276 static u32 dmc520_get_memory_width(struct dmc520_edac *pvt) in dmc520_get_memory_width() 292 static enum mem_type dmc520_get_mtype(struct dmc520_edac *pvt) in dmc520_get_mtype() 314 static enum dev_type dmc520_get_dtype(struct dmc520_edac *pvt) in dmc520_get_dtype() 350 static u64 dmc520_get_rank_size(struct dmc520_edac *pvt) in dmc520_get_rank_size() 368 struct dmc520_edac *pvt = mci->pvt_info; in dmc520_handle_dram_ecc_errors() 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)->dhar & 0xff000000) argument 142 #define k8_dhar_offset(pvt) (((pvt)->dhar & 0x0000ff00) << 16) argument 145 #define f10_dhar_offset(pvt) (((pvt)->dhar & 0x0000ff80) << 16) argument 166 #define csrow_enabled(i, dct, pvt) ((pvt)->csels[(dct)].csbases[(i)] & DCSB_CS_ENABLE) argument 167 #define csrow_sec_enabled(i, dct, pvt) ((pvt)->csels[(dct)].csbases_sec[(i)] & DCSB_CS_ENABLE) argument 189 #define dct_high_range_enabled(pvt) ((pvt)->dct_sel_lo & BIT(0)) argument [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 662 struct i7core_pvt *pvt = mci->pvt_info; in disable_inject() local 687 struct i7core_pvt *pvt = mci->pvt_info; in i7core_inject_section_store() local 707 struct i7core_pvt *pvt = mci->pvt_info; in i7core_inject_section_show() local 724 struct i7core_pvt *pvt = mci->pvt_info; in i7core_inject_type_store() local 744 struct i7core_pvt *pvt = mci->pvt_info; in i7core_inject_type_show() local [all …]
|
H A D | sb_edac.c | 800 static u64 sbridge_get_tolm(struct sbridge_pvt *pvt) in sbridge_get_tolm() 809 static u64 sbridge_get_tohm(struct sbridge_pvt *pvt) in sbridge_get_tohm() 817 static u64 ibridge_get_tolm(struct sbridge_pvt *pvt) in ibridge_get_tolm() 826 static u64 ibridge_get_tohm(struct sbridge_pvt *pvt) in ibridge_get_tohm() 883 static enum mem_type get_memory_type(struct sbridge_pvt *pvt) in get_memory_type() 902 static enum mem_type haswell_get_memory_type(struct sbridge_pvt *pvt) in haswell_get_memory_type() 934 static enum dev_type knl_get_width(struct sbridge_pvt *pvt, u32 mtr) in knl_get_width() 940 static enum dev_type sbridge_get_width(struct sbridge_pvt *pvt, u32 mtr) in sbridge_get_width() 965 static enum dev_type ibridge_get_width(struct sbridge_pvt *pvt, u32 mtr) in ibridge_get_width() 974 static enum dev_type broadwell_get_width(struct sbridge_pvt *pvt, u32 mtr) in broadwell_get_width() [all …]
|
H A D | i7300_edac.c | 353 struct i7300_pvt *pvt; in i7300_process_error_global() local 408 struct i7300_pvt *pvt; in i7300_process_fbd_error() local 521 struct i7300_pvt *pvt = mci->pvt_info; in i7300_clear_error() local 558 struct i7300_pvt *pvt = mci->pvt_info; in i7300_enable_error_reporting() local 585 static int decode_mtr(struct i7300_pvt *pvt, in decode_mtr() 682 static void print_dimm_size(struct i7300_pvt *pvt) in print_dimm_size() 747 struct i7300_pvt *pvt; in i7300_init_csrows() local 840 struct i7300_pvt *pvt; in i7300_get_mc_regs() local 911 struct i7300_pvt *pvt; in i7300_put_devices() local 936 struct i7300_pvt *pvt; in i7300_get_devices() 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 334 struct e752x_pvt *pvt = (struct e752x_pvt *)mci->pvt_info; in do_process_ce() local 393 struct e752x_pvt *pvt = (struct e752x_pvt *)mci->pvt_info; in do_process_ue() local 465 struct e752x_pvt *pvt = (struct e752x_pvt *)mci->pvt_info; in do_process_ded_retry() local 842 struct e752x_pvt *pvt; in e752x_get_error_info() local 991 struct e752x_pvt *pvt = (struct e752x_pvt *) mci->pvt_info; in set_sdram_scrub_rate() local 1020 struct e752x_pvt *pvt = (struct e752x_pvt *) mci->pvt_info; in get_sdram_scrub_rate() local 1057 struct e752x_pvt *pvt = mci->pvt_info; in remap_csrow_index() local 1139 struct e752x_pvt *pvt) in e752x_init_mem_map_table() 1175 struct e752x_pvt *pvt) in e752x_get_devs() [all …]
|
H A D | octeon_edac-lmc.c | 73 struct octeon_lmc_pvt *pvt = mci->pvt_info; in octeon_lmc_edac_poll_o2() local 173 struct octeon_lmc_pvt *pvt = mci->pvt_info; in octeon_mc_inject_error_type_store() local 188 struct octeon_lmc_pvt *pvt = mci->pvt_info; in octeon_mc_inject_error_type_show() local
|
H A D | i5400_edac.c | 439 struct i5400_pvt *pvt; in i5400_get_error_info() local 701 struct i5400_pvt *pvt; in i5400_put_devices() local 720 struct i5400_pvt *pvt; in i5400_get_devices() local 838 static int determine_amb_present_reg(struct i5400_pvt *pvt, int channel) in determine_amb_present_reg() 862 static int determine_mtr(struct i5400_pvt *pvt, int dimm, int channel) in determine_mtr() 919 static void handle_channel(struct i5400_pvt *pvt, int dimm, int channel, in handle_channel() 957 static void calculate_dimm_size(struct i5400_pvt *pvt) in calculate_dimm_size() 1054 struct i5400_pvt *pvt; in i5400_get_mc_regs() local 1167 struct i5400_pvt *pvt; in i5400_init_dimms() local 1230 struct i5400_pvt *pvt; in i5400_enable_error_reporting() local [all …]
|
H A D | i5000_edac.c | 388 struct i5000_pvt *pvt; in i5000_get_error_info() local 782 struct i5000_pvt *pvt; in i5000_get_devices() local 901 struct i5000_pvt *pvt; in i5000_put_devices() local 927 static int determine_amb_present_reg(struct i5000_pvt *pvt, int channel) in determine_amb_present_reg() 951 static int determine_mtr(struct i5000_pvt *pvt, int slot, int channel) in determine_mtr() 992 static void handle_channel(struct i5000_pvt *pvt, int slot, int channel, in handle_channel() 1034 static void calculate_dimm_size(struct i5000_pvt *pvt) in calculate_dimm_size() 1133 struct i5000_pvt *pvt; in i5000_get_mc_regs() local 1249 struct i5000_pvt *pvt; in i5000_init_csrows() local 1309 struct i5000_pvt *pvt; in i5000_enable_error_reporting() 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 259 struct e7xxx_pvt *pvt; in e7xxx_get_error_info() local 425 struct e7xxx_pvt *pvt = NULL; in e7xxx_probe1() local 540 struct e7xxx_pvt *pvt; in e7xxx_remove_one() local
|
H A D | i82875p_edac.c | 392 struct i82875p_pvt *pvt; in i82875p_probe1() local 493 struct i82875p_pvt *pvt = NULL; in i82875p_remove_one() local
|
H A D | ghes_edac.c | 277 struct ghes_pvt *pvt; in ghes_edac_report_mem_error() local 392 struct ghes_pvt *pvt; in ghes_edac_register() local
|
H A D | i82975x_edac.c | 468 struct i82975x_pvt *pvt; in i82975x_probe1() local 610 struct i82975x_pvt *pvt; in i82975x_remove_one() local
|
H A D | edac_device.c | 67 void *pvt; in edac_device_alloc_ctl_info() local
|
H A D | pnd2_edac.c | 908 struct pnd2_pvt *pvt = mci->pvt_info; in apl_pmi2mem() local 1202 struct pnd2_pvt *pvt = mci->pvt_info; in apl_get_dimm_config() local 1314 struct pnd2_pvt *pvt; in pnd2_register_mci() local
|
/openbmc/linux/arch/powerpc/kvm/ |
H A D | book3s_hv_uvmem.c | 521 struct kvmppc_uvmem_page_pvt *pvt; in __kvmppc_svm_page_out() local 614 struct kvmppc_uvmem_page_pvt *pvt; in kvmppc_uvmem_drop_pages() local 699 struct kvmppc_uvmem_page_pvt *pvt; in kvmppc_uvmem_get_page() local 883 struct kvmppc_uvmem_page_pvt *pvt; in kvmppc_share_page() local 1001 struct kvmppc_uvmem_page_pvt *pvt = vmf->page->zone_device_data; in kvmppc_uvmem_migrate_to_ram() local 1022 struct kvmppc_uvmem_page_pvt *pvt; in kvmppc_uvmem_page_free() local
|
/openbmc/linux/sound/pci/asihpi/ |
H A D | hpidspcd.h | 54 struct dsp_code_private *pvt; member
|
/openbmc/qemu/include/qemu/ |
H A D | vhost-user-server.h | 25 void *pvt; member
|
/openbmc/qemu/subprojects/libvhost-user/ |
H A D | libvhost-user-glib.c | 105 set_watch(VuDev *vu_dev, int fd, int vu_evt, vu_watch_cb cb, void *pvt) in set_watch()
|
/openbmc/linux/arch/s390/kernel/ |
H A D | cache.c | 151 unsigned int level, idx, pvt; in populate_cache_leaves() local
|
/openbmc/qemu/util/ |
H A D | vhost-user-server.c | 289 vu_watch_cb cb, void *pvt) in set_watch()
|
/openbmc/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
|