| /linux/drivers/edac/ |
| 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 [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->map[0], pvt->map[1], pvt->map[2], pvt->map[3], in do_process_ce() 348 pvt->map[4], pvt->map[5], pvt->map[6], in do_process_ce() [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->bridge_ck, E7XXX_DRAM_FERR, &info->dram_ferr); in e7xxx_get_error_info() 263 pci_read_config_byte(pvt->bridge_ck, E7XXX_DRAM_NERR, &info->dram_nerr); in e7xxx_get_error_info() [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->col; in octeon_lmc_edac_poll_o2() [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() 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->ovrfl_window); in i82875p_remove_one() 508 if (pvt->ovrfl_pdev) { in i82875p_remove_one() [all …]
|
| H A D | i82975x_edac.c | 468 struct i82975x_pvt *pvt; in i82975x_probe1() local 546 mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, sizeof(*pvt)); 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->mch_window ); in i82975x_remove_one()
|
| H A D | edac_device.c | 65 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 D | skx_common.c | 569 struct skx_pvt *pvt; in skx_register_mci() local 589 pvt = mci->pvt_info; in skx_register_mci() 590 pvt->imc = imc; in skx_register_mci()
|
| H A D | imh_base.c | 412 struct skx_pvt *pvt = mci->pvt_info; in imh_get_dimm_config() local 413 struct skx_imc *imc = pvt->imc; in imh_get_dimm_config()
|
| /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.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 D | hpidspcd.c | 72 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 = 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()
|
| H A D | hpidspcd.h | 54 struct dsp_code_private *pvt; member
|
| /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 [all …]
|
| /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()
|
| /linux/drivers/net/dsa/mv88e6xxx/ |
| H A D | devlink.c | 578 u16 *pvt, *cur; in mv88e6xxx_region_pvt_snapshot() local 580 pvt = kcalloc(MV88E6XXX_MAX_PVT_ENTRIES, sizeof(*pvt), GFP_KERNEL); in mv88e6xxx_region_pvt_snapshot() 581 if (!pvt) in mv88e6xxx_region_pvt_snapshot() 586 cur = pvt; in mv88e6xxx_region_pvt_snapshot() 600 kfree(pvt); in mv88e6xxx_region_pvt_snapshot() 604 *data = (u8 *)pvt; in mv88e6xxx_region_pvt_snapshot()
|
| /linux/arch/arm/boot/dts/microchip/ |
| H A D | lan966x.dtsi | 592 reg-names = "pvt", "fan";
|
| /linux/tools/testing/selftests/net/openvswitch/ |
| H A D | openvswitch.sh | 942 while getopts :pvt o
|