/linux/drivers/edac/ |
A D | amd64_edac.c | 511 pvt->ext_model, pvt->mc_node_id); in get_dram_hole_info() 827 if (pvt->fam >= 0x10 && pvt->fam <= 0x16) in inj_is_visible() 1167 pvt->dhar, dhar_base(pvt)); in __dump_misc_regs_df() 1187 pvt->dhar, dhar_base(pvt), in __dump_misc_regs() 2173 if (pvt->model < 4 || (pvt->model < 0xa && pvt->stepping < 3)) in f1x_swap_interleaved_region() 2965 pvt->F0 = pci_get_related_function(pvt->F3->vendor, pci_id1, pvt->F3); in reserve_mc_sibling_devs() 2971 pvt->F6 = pci_get_related_function(pvt->F3->vendor, pci_id2, pvt->F3); in reserve_mc_sibling_devs() 2991 pvt->F1 = pci_get_related_function(pvt->F3->vendor, pci_id1, pvt->F3); in reserve_mc_sibling_devs() 2998 pvt->F2 = pci_get_related_function(pvt->F3->vendor, pci_id2, pvt->F3); in reserve_mc_sibling_devs() 3745 if (pvt->F0 || pvt->F1) in hw_info_put() [all …]
|
A D | i7300_edac.c | 353 struct i7300_pvt *pvt; in i7300_process_error_global() local 359 pvt = mci->pvt_info; in i7300_process_error_global() 418 pvt = mci->pvt_info; in i7300_process_fbd_error() 754 pvt = mci->pvt_info; in i7300_init_csrows() 844 pvt = mci->pvt_info; in i7300_get_mc_regs() 852 pci_read_config_word(pvt->pci_dev_16_1_fsb_addr_map, TOLM, &pvt->tolm); in i7300_get_mc_regs() 853 pvt->tolm >>= 12; in i7300_get_mc_regs() 855 pvt->tolm, pvt->tolm); in i7300_get_mc_regs() 914 pvt = mci->pvt_info; in i7300_put_devices() 939 pvt = mci->pvt_info; in i7300_get_devices() [all …]
|
A D | sb_edac.c | 1681 pvt->sbridge_dev->node_id = pvt->info.get_node_id(pvt); in get_dimm_config() 1766 pvt->tolm = pvt->info.get_tolm(pvt); in get_memory_layout() 1774 pvt->tohm = pvt->info.get_tohm(pvt); in get_memory_layout() 2542 if (!pvt->pci_sad0 || !pvt->pci_sad1 || !pvt->pci_ha || in sbridge_mci_bind_devs() 2626 if (!pvt->pci_sad0 || !pvt->pci_ha || !pvt->pci_br0 || in ibridge_mci_bind_devs() 2627 !pvt->pci_br1 || !pvt->pci_ras || !pvt->pci_ta) in ibridge_mci_bind_devs() 2717 if (!pvt->pci_sad0 || !pvt->pci_ha || !pvt->pci_sad1 || in haswell_mci_bind_devs() 2718 !pvt->pci_ras || !pvt->pci_ta || !pvt->info.pci_vtd) in haswell_mci_bind_devs() 2798 if (!pvt->pci_sad0 || !pvt->pci_ha || !pvt->pci_sad1 || in broadwell_mci_bind_devs() 2799 !pvt->pci_ras || !pvt->pci_ta || !pvt->info.pci_vtd) in broadwell_mci_bind_devs() [all …]
|
A D | i7core_edac.c | 508 pvt->i7core_dev->socket, pvt->info.mc_control, in get_dimm_config() 509 pvt->info.mc_status, pvt->info.max_dod, pvt->info.ch_map); in get_dimm_config() 666 if (!pvt->pci_ch[pvt->inject.channel][0]) in disable_inject() 921 if (!pvt->pci_ch[pvt->inject.channel][0]) in i7core_inject_enable_store() 939 if (pvt->channel[pvt->inject.channel].dimms > 2) in i7core_inject_enable_store() 949 if (pvt->channel[pvt->inject.channel].dimms > 2) in i7core_inject_enable_store() 988 write_and_test(pvt->pci_ch[pvt->inject.channel][0], in i7core_inject_enable_store() 990 write_and_test(pvt->pci_ch[pvt->inject.channel][0], in i7core_inject_enable_store() 993 write_and_test(pvt->pci_ch[pvt->inject.channel][0], in i7core_inject_enable_store() 1022 if (!pvt->pci_ch[pvt->inject.channel][0]) in i7core_inject_enable_show() [all …]
|
A D | i5400_edac.c | 441 pvt = mci->pvt_info; in i5400_get_error_info() 702 pvt = mci->pvt_info; in i5400_put_devices() 722 pvt = mci->pvt_info; in i5400_get_devices() 777 pvt->system_address->vendor, pvt->system_address->device); in i5400_get_devices() 784 pvt->fsb_error_regs->vendor, pvt->fsb_error_regs->device); in i5400_get_devices() 1067 (long unsigned int)pvt->ambase, pvt->maxch, pvt->maxdimmperch); in i5400_get_mc_regs() 1070 pci_read_config_word(pvt->branchmap_werrors, TOLM, &pvt->tolm); in i5400_get_mc_regs() 1071 pvt->tolm >>= 12; in i5400_get_mc_regs() 1073 pvt->tolm, pvt->tolm); in i5400_get_mc_regs() 1079 pci_read_config_word(pvt->branchmap_werrors, MIR0, &pvt->mir0); in i5400_get_mc_regs() [all …]
|
A D | amd64_edac.h | 147 #define dram_rw(pvt, i) ((u8)(pvt->ranges[i].base.lo & 0x3)) argument 152 #define dhar_mem_hoist_valid(pvt) ((pvt)->dhar & BIT(1)) argument 153 #define dhar_base(pvt) ((pvt)->dhar & 0xff000000) argument 154 #define k8_dhar_offset(pvt) (((pvt)->dhar & 0x0000ff00) << 16) argument 157 #define f10_dhar_offset(pvt) (((pvt)->dhar & 0x0000ff80) << 16) argument 201 #define dct_high_range_enabled(pvt) ((pvt)->dct_sel_lo & BIT(0)) argument 207 #define dct_memory_cleared(pvt) ((pvt)->dct_sel_lo & BIT(10)) argument 446 if (pvt->fam == 0x15 && pvt->model >= 0x30) in dct_sel_interleave_addr() 512 if (pvt->fam == 0x15 && pvt->model >= 0x30) { in dram_intlv_en() 522 if (pvt->fam == 0x15 && pvt->model >= 0x30) { in dhar_valid() [all …]
|
A D | i5000_edac.c | 391 pvt = mci->pvt_info; in i5000_get_error_info() 785 pvt = mci->pvt_info; in i5000_get_devices() 841 pvt->system_address->vendor, pvt->system_address->device); in i5000_get_devices() 848 pvt->fsb_error_regs->vendor, pvt->fsb_error_regs->device); in i5000_get_devices() 1147 (long unsigned int)pvt->ambase, pvt->maxch, pvt->maxdimmperch); in i5000_get_mc_regs() 1150 pci_read_config_word(pvt->branchmap_werrors, TOLM, &pvt->tolm); in i5000_get_mc_regs() 1151 pvt->tolm >>= 12; in i5000_get_mc_regs() 1153 pvt->tolm, pvt->tolm); in i5000_get_mc_regs() 1159 pci_read_config_word(pvt->branchmap_werrors, MIR0, &pvt->mir0); in i5000_get_mc_regs() 1160 pci_read_config_word(pvt->branchmap_werrors, MIR1, &pvt->mir1); in i5000_get_mc_regs() [all …]
|
A D | dmc520_edac.c | 384 spin_lock(&pvt->error_lock); in dmc520_handle_dram_ecc_errors() 435 if (pvt->irqs[idx] == irq) { in dmc520_isr() 436 mask = pvt->masks[idx]; in dmc520_isr() 454 dt = dmc520_get_dtype(pvt); in dmc520_init_csrow() 455 mt = dmc520_get_mtype(pvt); in dmc520_init_csrow() 528 pvt = mci->pvt_info; in dmc520_edac_probe() 530 pvt->reg_base = reg_base; in dmc520_edac_probe() 549 pvt->mem_width_in_bytes = dmc520_get_memory_width(pvt); in dmc520_edac_probe() 609 struct dmc520_edac *pvt; in dmc520_edac_remove() local 612 pvt = mci->pvt_info; in dmc520_edac_remove() [all …]
|
A D | e752x_edac.c | 312 if (page < pvt->tolm) in ctl_page_to_phys() 318 remap = (page - pvt->tolm) + pvt->remapbase; in ctl_page_to_phys() 324 return pvt->tolm - 1; in ctl_page_to_phys() 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() 349 pvt->map[7]); in do_process_ce() 842 struct e752x_pvt *pvt; in e752x_get_error_info() local 846 dev = pvt->dev_d0f1; in e752x_get_error_info() 1059 if (!pvt->map_type) in remap_csrow_index() 1236 dev = pvt->dev_d0f1; in e752x_init_error_reporting_regs() [all …]
|
A D | e7xxx_edac.c | 190 if ((page < pvt->tolm) || 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 464 pvt->dev_info->err_dev, pvt->bridge_ck); in e7xxx_probe1() 466 if (!pvt->bridge_ck) { in e7xxx_probe1() 490 pvt->remapbase, pvt->remaplimit); in e7xxx_probe1() 519 pci_dev_put(pvt->bridge_ck); in e7xxx_probe1() 540 struct e7xxx_pvt *pvt; in e7xxx_remove_one() local [all …]
|
A D | octeon_edac-lmc.c | 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() 96 fadr.cn61xx.frow = pvt->row; in octeon_lmc_edac_poll_o2() 97 fadr.cn61xx.fcol = pvt->col; in octeon_lmc_edac_poll_o2() 120 if (likely(!pvt->inject)) in octeon_lmc_edac_poll_o2() 123 pvt->inject = 0; in octeon_lmc_edac_poll_o2() 176 pvt->error_type = 1; in octeon_mc_inject_error_type_store() 178 pvt->error_type = 2; in octeon_mc_inject_error_type_store() [all …]
|
A D | i82875p_edac.c | 392 struct i82875p_pvt *pvt; in i82875p_probe1() local 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 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() 510 pci_release_regions(pvt->ovrfl_pdev); in i82875p_remove_one() 512 pci_disable_device(pvt->ovrfl_pdev); in i82875p_remove_one() [all …]
|
A D | ghes_edac.c | 242 struct ghes_pvt *pvt; in ghes_edac_report_mem_error() local 256 pvt = ghes_pvt; in ghes_edac_report_mem_error() 257 if (!pvt) in ghes_edac_report_mem_error() 260 mci = pvt->mci; in ghes_edac_report_mem_error() 267 e->msg = pvt->msg; in ghes_edac_report_mem_error() 273 *pvt->msg = '\0'; in ghes_edac_report_mem_error() 295 p = pvt->msg; in ghes_edac_report_mem_error() 512 struct ghes_pvt *pvt; in ghes_edac_register() local 556 pvt = mci->pvt_info; in ghes_edac_register() 557 pvt->mci = mci; in ghes_edac_register() [all …]
|
A D | edac_pci.c | 35 void *p = NULL, *pvt; in edac_pci_alloc_ctl_info() local 41 pvt = edac_align_ptr(&p, 1, sz_pvt); in edac_pci_alloc_ctl_info() 42 size = ((unsigned long)pvt) + sz_pvt; in edac_pci_alloc_ctl_info() 50 pvt = sz_pvt ? ((char *)pci) + ((unsigned long)pvt) : NULL; in edac_pci_alloc_ctl_info() 52 pci->pvt_info = pvt; in edac_pci_alloc_ctl_info()
|
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()
|
A D | edac_device.c | 65 void *pvt, *p; in edac_device_alloc_ctl_info() local 100 pvt = edac_align_ptr(&p, sz_private, 1); in edac_device_alloc_ctl_info() 106 total_size = ((unsigned long)pvt) + sz_private; in edac_device_alloc_ctl_info() 126 pvt = sz_private ? (((char *)dev_ctl) + ((unsigned long)pvt)) : NULL; in edac_device_alloc_ctl_info() 132 dev_ctl->pvt_info = pvt; in edac_device_alloc_ctl_info() 142 dev_ctl, pvt + sz_private); in edac_device_alloc_ctl_info()
|
/linux/drivers/hwmon/ |
A D | bt1-pvt.c | 247 cache = &pvt->cache[pvt->sensor]; in pvt_soft_isr() 249 pvt->sensor = (pvt->sensor == PVT_SENSOR_LAST) ? in pvt_soft_isr() 268 pvt_set_mode(pvt, pvt_info[pvt->sensor].mode); in pvt_soft_isr() 455 cache = &pvt->cache[pvt->sensor]; in pvt_hard_isr() 890 pvt = devm_kzalloc(dev, sizeof(*pvt), GFP_KERNEL); in pvt_create_data() 891 if (!pvt) in pvt_create_data() 926 pvt->regs = devm_ioremap_resource(pvt->dev, res); in pvt_request_regs() 1025 pvt_set_mode(pvt, pvt_info[pvt->sensor].mode); in pvt_init_iface() 1043 pvt->timeout = ktime_divns(pvt->timeout, rate); in pvt_init_iface() 1047 pvt->timeout = ktime_divns(pvt->timeout, rate); in pvt_init_iface() [all …]
|
A D | mr75203.c | 510 pvt = devm_kzalloc(dev, sizeof(*pvt), GFP_KERNEL); in mr75203_probe() 511 if (!pvt) in mr75203_probe() 519 if (IS_ERR(pvt->clk)) in mr75203_probe() 529 if (IS_ERR(pvt->rst)) in mr75203_probe() 544 pvt->t_num = ts_num; in mr75203_probe() 545 pvt->p_num = pd_num; in mr75203_probe() 546 pvt->v_num = vm_num; in mr75203_probe() 589 pvt->vm_idx = devm_kcalloc(dev, vm_num, sizeof(*pvt->vm_idx), in mr75203_probe() 591 if (!pvt->vm_idx) in mr75203_probe() 626 ret = pvt_init(pvt); in mr75203_probe() [all …]
|
/linux/drivers/s390/crypto/ |
A D | zcrypt_cca_key.h | 182 struct cca_pvt_ext_CRT_sec pvt; in zcrypt_type6_crt_key() member 214 key->pvt.section_identifier = CCA_PVT_EXT_CRT_SEC_ID_PVT; in zcrypt_type6_crt_key() 215 key->pvt.section_length = sizeof(key->pvt) + key_len; in zcrypt_type6_crt_key() 216 key->pvt.key_format = CCA_PVT_EXT_CRT_SEC_FMT_CL; in zcrypt_type6_crt_key() 217 key->pvt.key_use_flags[0] = CCA_PVT_USAGE_ALL; in zcrypt_type6_crt_key() 218 key->pvt.p_len = key->pvt.dp_len = key->pvt.u_len = long_len; in zcrypt_type6_crt_key() 219 key->pvt.q_len = key->pvt.dq_len = short_len; in zcrypt_type6_crt_key() 220 key->pvt.mod_len = crt->inputdatalength; in zcrypt_type6_crt_key() 221 key->pvt.pad_len = pad_len; in zcrypt_type6_crt_key()
|
/linux/arch/powerpc/kvm/ |
A D | book3s_hv_uvmem.c | 558 if (!pvt->skip_page_out) in __kvmppc_svm_page_out() 631 pvt->remove_gfn = true; in kvmppc_uvmem_drop_pages() 703 pvt = kzalloc(sizeof(*pvt), GFP_KERNEL); in kvmppc_uvmem_get_page() 704 if (!pvt) in kvmppc_uvmem_get_page() 710 pvt->gpa = gpa; in kvmppc_uvmem_get_page() 711 pvt->kvm = kvm; in kvmppc_uvmem_get_page() 995 pvt->kvm, pvt->gpa)) in kvmppc_uvmem_migrate_to_ram() 1020 if (pvt->remove_gfn) in kvmppc_uvmem_page_free() 1021 kvmppc_gfn_remove(pvt->gpa >> PAGE_SHIFT, pvt->kvm); in kvmppc_uvmem_page_free() 1023 kvmppc_gfn_secure_mem_pfn(pvt->gpa >> PAGE_SHIFT, pvt->kvm); in kvmppc_uvmem_page_free() [all …]
|
/linux/sound/pci/asihpi/ |
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/Documentation/devicetree/bindings/hwmon/ |
A D | baikal,bt1-pvt.yaml | 5 $id: http://devicetree.org/schemas/hwmon/baikal,bt1-pvt.yaml# 50 const: baikal,bt1-pvt 72 baikal,pvt-temp-offset-millicelsius: 93 pvt@1f200000 { 94 compatible = "baikal,bt1-pvt"; 100 baikal,pvt-temp-offset-millicelsius = <1000>;
|
A D | moortec,mr75203.yaml | 60 pvt: pvt@e0680000 {
|
/linux/arch/s390/kernel/ |
A D | cache.c | 156 unsigned int level, idx, pvt; in populate_cache_leaves() local 167 pvt = (ct.ci[level].scope == CACHE_SCOPE_PRIVATE) ? 1 : 0; in populate_cache_leaves() 170 ci_leaf_init(this_leaf++, pvt, CACHE_TYPE_DATA, level, cpu); in populate_cache_leaves() 171 ci_leaf_init(this_leaf++, pvt, CACHE_TYPE_INST, level, cpu); in populate_cache_leaves() 173 ci_leaf_init(this_leaf++, pvt, ctype, level, cpu); in populate_cache_leaves()
|
/linux/drivers/net/dsa/mv88e6xxx/ |
A D | devlink.c | 514 u16 *pvt, *cur; in mv88e6xxx_region_pvt_snapshot() local 516 pvt = kcalloc(MV88E6XXX_MAX_PVT_ENTRIES, sizeof(*pvt), GFP_KERNEL); in mv88e6xxx_region_pvt_snapshot() 517 if (!pvt) in mv88e6xxx_region_pvt_snapshot() 522 cur = pvt; in mv88e6xxx_region_pvt_snapshot() 536 kfree(pvt); in mv88e6xxx_region_pvt_snapshot() 540 *data = (u8 *)pvt; in mv88e6xxx_region_pvt_snapshot()
|