Home
last modified time | relevance | path

Searched refs:pvt (Results 1 – 20 of 20) sorted by relevance

/linux/drivers/edac/
H A Damd64_edac.c19 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, &reg); 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->model == 0x30) ? 3 : dct; in amd64_read_dct_pci_cfg()
[all …]
H A Dsb_edac.c319 u64 (*get_tolm)(struct sbridge_pvt *pvt);
320 u64 (*get_tohm)(struct sbridge_pvt *pvt);
329 u8 (*get_node_id)(struct sbridge_pvt *pvt);
331 enum mem_type (*get_memory_type)(struct sbridge_pvt *pvt);
332 enum dev_type (*get_width)(struct sbridge_pvt *pvt, u32 mtr);
792 static u64 sbridge_get_tolm(struct sbridge_pvt *pvt) in sbridge_get_tolm() argument
797 pci_read_config_dword(pvt->pci_sad1, TOLM, &reg); in sbridge_get_tolm()
801 static u64 sbridge_get_tohm(struct sbridge_pvt *pvt) in sbridge_get_tohm() argument
805 pci_read_config_dword(pvt->pci_sad1, TOHM, &reg); in sbridge_get_tohm()
809 static u64 ibridge_get_tolm(struct sbridge_pvt *pvt) in ibridge_get_tolm() argument
[all …]
H A Ddmc520_edac.c178 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
[all …]
H A Docteon_edac-lmc.c73 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->col; in octeon_lmc_edac_poll_o2()
[all …]
H A Dloongson_edac.c30 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 Dedac_device.c65 void *pvt; in edac_device_alloc_ctl_info() local
88 pvt = kzalloc(pvt_sz, GFP_KERNEL); in edac_device_alloc_ctl_info()
89 if (!pvt) in edac_device_alloc_ctl_info()
92 dev_ctl->pvt_info = pvt; in edac_device_alloc_ctl_info()
H A Digen6_edac.c1551 struct igen6_pvt *pvt; in igen6_pvt_setup() local
1570 pvt = kzalloc_flex(*pvt, imc, imc_num); in igen6_pvt_setup()
1571 if (!pvt) in igen6_pvt_setup()
1576 kfree(pvt); in igen6_pvt_setup()
1579 pvt->memss_pma_cr = memss_pma_cr; in igen6_pvt_setup()
1581 return pvt; in igen6_pvt_setup()
1584 static void igen6_pvt_release(struct igen6_pvt *pvt) in igen6_pvt_release() argument
1586 iounmap(pvt->memss_pma_cr); in igen6_pvt_release()
1587 kfree(pvt); in igen6_pvt_release()
H A Dpnd2_edac.c908 struct pnd2_pvt *pvt = mci->pvt_info; in apl_pmi2mem() local
909 int g = pvt->dimm_geom[pmiidx]; in apl_pmi2mem()
1202 struct pnd2_pvt *pvt = mci->pvt_info; in apl_get_dimm_config() local
1227 pvt->dimm_geom[i] = g; in apl_get_dimm_config()
1310 struct pnd2_pvt *pvt; in pnd2_register_mci() local
1324 mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, sizeof(*pvt)); in pnd2_register_mci()
1328 pvt = mci->pvt_info; in pnd2_register_mci()
1329 memset(pvt, 0, sizeof(*pvt)); in pnd2_register_mci()
H A Dskx_base.c182 struct skx_pvt *pvt = mci->pvt_info; in skx_get_dimm_config() local
184 struct skx_imc *imc = pvt->imc; in skx_get_dimm_config()
H A Di10nm_base.c876 struct skx_pvt *pvt = mci->pvt_info; in i10nm_get_dimm_config() local
877 struct skx_imc *imc = pvt->imc; in i10nm_get_dimm_config()
/linux/drivers/hwmon/
H A Dmr75203.c186 struct pvt_device *pvt = file->private_data; in pvt_ts_coeff_j_read() local
190 len = scnprintf(buf, sizeof(buf), "%d\n", pvt->ts_coeff.j); in pvt_ts_coeff_j_read()
199 struct pvt_device *pvt = file->private_data; in pvt_ts_coeff_j_write() local
202 ret = kstrtos32_from_user(user_buf, count, 0, &pvt->ts_coeff.j); in pvt_ts_coeff_j_write()
219 struct pvt_device *pvt = (struct pvt_device *)data; in devm_pvt_ts_dbgfs_remove() local
221 debugfs_remove_recursive(pvt->dbgfs_dir); in devm_pvt_ts_dbgfs_remove()
222 pvt->dbgfs_dir = NULL; in devm_pvt_ts_dbgfs_remove()
225 static int pvt_ts_dbgfs_create(struct pvt_device *pvt, struct device *dev) in pvt_ts_dbgfs_create() argument
227 pvt->dbgfs_dir = debugfs_create_dir(dev_name(dev), NULL); in pvt_ts_dbgfs_create()
229 debugfs_create_u32("ts_coeff_h", 0644, pvt in pvt_ts_dbgfs_create()
259 pvt_calc_temp(struct pvt_device * pvt,u32 nbs) pvt_calc_temp() argument
277 struct pvt_device *pvt = dev_get_drvdata(dev); pvt_read_temp() local
311 struct pvt_device *pvt = dev_get_drvdata(dev); pvt_read_in() local
388 pvt_init(struct pvt_device * pvt) pvt_init() argument
581 pvt_get_regmap(struct platform_device * pdev,char * reg_name,struct pvt_device * pvt) pvt_get_regmap() argument
614 struct pvt_device *pvt = data; pvt_reset_control_assert() local
619 pvt_reset_control_deassert(struct device * dev,struct pvt_device * pvt) pvt_reset_control_deassert() argument
630 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
684 pvt_get_pre_scaler(struct device * dev,struct pvt_device * pvt) pvt_get_pre_scaler() argument
721 pvt_set_temp_coeff(struct device * dev,struct pvt_device * pvt) pvt_set_temp_coeff() argument
772 struct pvt_device *pvt; mr75203_probe() local
[all...]
H A DKconfig2139 called eic7700-pvt.
/linux/drivers/s390/crypto/
H A Dzcrypt_cca_key.h170 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.q_len = key->pvt.dq_len = short_len; in zcrypt_type6_crt_key()
208 key->pvt.mod_len = crt->inputdatalength; in zcrypt_type6_crt_key()
209 key->pvt.pad_len = pad_len; in zcrypt_type6_crt_key()
/linux/sound/pci/asihpi/
H A Dhpidspcd.c72 dsp_code->pvt = kmalloc_obj(*dsp_code->pvt); 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 = no_free_ptr(firmware); in hpi_dsp_code_open()
94 release_firmware(dsp_code->pvt->firmware); in hpi_dsp_code_close()
95 kfree(dsp_code->pvt); in hpi_dsp_code_close()
111 *pword = ((u32 *)(dsp_code->pvt->firmware->data))[dsp_code-> in hpi_dsp_code_read_word()
125 ((u32 *)(dsp_code->pvt->firmware->data)) + in hpi_dsp_code_read_block()
H A Dhpidspcd.h54 struct dsp_code_private *pvt; member
/linux/arch/powerpc/kvm/
H A Dbook3s_hv_uvmem.c521 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
[all …]
/linux/arch/s390/kernel/
H A Dcache.c151 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()
/linux/drivers/net/dsa/mv88e6xxx/
H A Dchip.c5835 .pvt = true,
5880 .pvt = true,
5905 .pvt = true,
5952 .pvt = true,
5977 .pvt = true,
6003 .pvt = true,
6028 .pvt = true,
6054 .pvt = true,
6079 .pvt = true,
6105 .pvt
[all...]
/linux/arch/arm/boot/dts/microchip/
H A Dlan966x.dtsi592 reg-names = "pvt", "fan";
/linux/tools/testing/selftests/net/openvswitch/
H A Dopenvswitch.sh1652 while getopts :pvt o