lpcr 490 arch/powerpc/include/asm/hvcall.h u64 lpcr; lpcr 89 arch/powerpc/include/asm/kvm_book3s.h ulong lpcr; lpcr 263 arch/powerpc/include/asm/kvm_book3s.h extern void kvmppc_update_lpcr(struct kvm *kvm, unsigned long lpcr, lpcr 304 arch/powerpc/include/asm/kvm_book3s.h u64 time_limit, unsigned long lpcr); lpcr 290 arch/powerpc/include/asm/kvm_host.h unsigned long lpcr; lpcr 35 arch/powerpc/include/asm/opal.h uint64_t lpcr); lpcr 577 arch/powerpc/kernel/asm-offsets.c OFFSET(VCORE_LPCR, kvmppc_vcore, lpcr); lpcr 73 arch/powerpc/kernel/dt_cpu_ftrs.c u64 lpcr; lpcr 83 arch/powerpc/kernel/dt_cpu_ftrs.c u64 lpcr; lpcr 97 arch/powerpc/kernel/dt_cpu_ftrs.c lpcr = mfspr(SPRN_LPCR); lpcr 98 arch/powerpc/kernel/dt_cpu_ftrs.c lpcr |= system_registers.lpcr; lpcr 99 arch/powerpc/kernel/dt_cpu_ftrs.c lpcr &= ~system_registers.lpcr_clear; lpcr 100 arch/powerpc/kernel/dt_cpu_ftrs.c mtspr(SPRN_LPCR, lpcr); lpcr 232 arch/powerpc/kernel/dt_cpu_ftrs.c u64 lpcr; lpcr 241 arch/powerpc/kernel/dt_cpu_ftrs.c lpcr = mfspr(SPRN_LPCR); lpcr 242 arch/powerpc/kernel/dt_cpu_ftrs.c lpcr &= ~LPCR_LPES0; /* HV external interrupts */ lpcr 243 arch/powerpc/kernel/dt_cpu_ftrs.c mtspr(SPRN_LPCR, lpcr); lpcr 265 arch/powerpc/kernel/dt_cpu_ftrs.c u64 lpcr; lpcr 268 arch/powerpc/kernel/dt_cpu_ftrs.c lpcr = mfspr(SPRN_LPCR); lpcr 269 arch/powerpc/kernel/dt_cpu_ftrs.c lpcr |= LPCR_PECE0; lpcr 270 arch/powerpc/kernel/dt_cpu_ftrs.c lpcr |= LPCR_PECE1; lpcr 271 arch/powerpc/kernel/dt_cpu_ftrs.c lpcr |= LPCR_PECE2; lpcr 272 arch/powerpc/kernel/dt_cpu_ftrs.c mtspr(SPRN_LPCR, lpcr); lpcr 286 arch/powerpc/kernel/dt_cpu_ftrs.c u64 lpcr; lpcr 289 arch/powerpc/kernel/dt_cpu_ftrs.c lpcr = mfspr(SPRN_LPCR); lpcr 290 arch/powerpc/kernel/dt_cpu_ftrs.c lpcr |= LPCR_PECE0; lpcr 291 arch/powerpc/kernel/dt_cpu_ftrs.c lpcr |= LPCR_PECE1; lpcr 292 arch/powerpc/kernel/dt_cpu_ftrs.c lpcr |= LPCR_PECE2; lpcr 293 arch/powerpc/kernel/dt_cpu_ftrs.c mtspr(SPRN_LPCR, lpcr); lpcr 300 arch/powerpc/kernel/dt_cpu_ftrs.c u64 lpcr; lpcr 302 arch/powerpc/kernel/dt_cpu_ftrs.c lpcr = mfspr(SPRN_LPCR); lpcr 303 arch/powerpc/kernel/dt_cpu_ftrs.c lpcr &= ~LPCR_ISL; lpcr 306 arch/powerpc/kernel/dt_cpu_ftrs.c lpcr |= LPCR_VPM0; lpcr 307 arch/powerpc/kernel/dt_cpu_ftrs.c lpcr &= ~LPCR_VPM1; lpcr 308 arch/powerpc/kernel/dt_cpu_ftrs.c lpcr |= 0x10UL << LPCR_VRMASD_SH; /* L=1 LP=00 */ lpcr 309 arch/powerpc/kernel/dt_cpu_ftrs.c mtspr(SPRN_LPCR, lpcr); lpcr 319 arch/powerpc/kernel/dt_cpu_ftrs.c u64 lpcr; lpcr 322 arch/powerpc/kernel/dt_cpu_ftrs.c lpcr = mfspr(SPRN_LPCR); lpcr 323 arch/powerpc/kernel/dt_cpu_ftrs.c lpcr &= ~(LPCR_ISL | LPCR_UPRT | LPCR_HR); lpcr 324 arch/powerpc/kernel/dt_cpu_ftrs.c mtspr(SPRN_LPCR, lpcr); lpcr 347 arch/powerpc/kernel/dt_cpu_ftrs.c u64 lpcr; lpcr 351 arch/powerpc/kernel/dt_cpu_ftrs.c lpcr = mfspr(SPRN_LPCR); lpcr 352 arch/powerpc/kernel/dt_cpu_ftrs.c lpcr &= ~LPCR_DPFD; lpcr 353 arch/powerpc/kernel/dt_cpu_ftrs.c lpcr |= (4UL << LPCR_DPFD_SH); lpcr 354 arch/powerpc/kernel/dt_cpu_ftrs.c mtspr(SPRN_LPCR, lpcr); lpcr 509 arch/powerpc/kernel/dt_cpu_ftrs.c u64 lpcr; lpcr 516 arch/powerpc/kernel/dt_cpu_ftrs.c lpcr = mfspr(SPRN_LPCR); lpcr 517 arch/powerpc/kernel/dt_cpu_ftrs.c lpcr |= LPCR_PECEDH; /* hyp doorbell wakeup */ lpcr 518 arch/powerpc/kernel/dt_cpu_ftrs.c mtspr(SPRN_LPCR, lpcr); lpcr 525 arch/powerpc/kernel/dt_cpu_ftrs.c u64 lpcr; lpcr 539 arch/powerpc/kernel/dt_cpu_ftrs.c lpcr = mfspr(SPRN_LPCR); lpcr 540 arch/powerpc/kernel/dt_cpu_ftrs.c lpcr |= LPCR_HVICE; /* enable hvi interrupts */ lpcr 541 arch/powerpc/kernel/dt_cpu_ftrs.c lpcr |= LPCR_HEIC; /* disable ee interrupts when MSR_HV */ lpcr 542 arch/powerpc/kernel/dt_cpu_ftrs.c lpcr |= LPCR_PECE_HVEE; /* hvi can wake from stop */ lpcr 543 arch/powerpc/kernel/dt_cpu_ftrs.c mtspr(SPRN_LPCR, lpcr); lpcr 767 arch/powerpc/kernel/dt_cpu_ftrs.c system_registers.lpcr = mfspr(SPRN_LPCR); lpcr 237 arch/powerpc/kernel/setup_64.c unsigned long lpcr = mfspr(SPRN_LPCR); lpcr 238 arch/powerpc/kernel/setup_64.c mtspr(SPRN_LPCR, lpcr | LPCR_AIL_3); lpcr 1924 arch/powerpc/kvm/book3s_64_mmu_hv.c unsigned long senc, lpcr; lpcr 1930 arch/powerpc/kvm/book3s_64_mmu_hv.c lpcr = senc << (LPCR_VRMASD_SH - 4); lpcr 1931 arch/powerpc/kvm/book3s_64_mmu_hv.c kvmppc_update_lpcr(kvm, lpcr, lpcr 443 arch/powerpc/kvm/book3s_hv.c vcpu->arch.vcore->lpcr, vcpu->kvm->arch.sdr1, lpcr 1586 arch/powerpc/kvm/book3s_hv.c if ((new_lpcr & LPCR_ILE) != (vc->lpcr & LPCR_ILE)) { lpcr 1618 arch/powerpc/kvm/book3s_hv.c vc->lpcr = (vc->lpcr & ~mask) | (new_lpcr & mask); lpcr 1751 arch/powerpc/kvm/book3s_hv.c *val = get_reg_val(id, vcpu->arch.vcore->lpcr); lpcr 2104 arch/powerpc/kvm/book3s_hv.c vcore->lpcr = kvm->arch.lpcr; lpcr 3188 arch/powerpc/kvm/book3s_hv.c split_info.lpcr_req = vc->lpcr; lpcr 3390 arch/powerpc/kvm/book3s_hv.c unsigned long lpcr) lpcr 3447 arch/powerpc/kvm/book3s_hv.c mtspr(SPRN_LPCR, lpcr); lpcr 3520 arch/powerpc/kvm/book3s_hv.c unsigned long lpcr) lpcr 3602 arch/powerpc/kvm/book3s_hv.c hvregs.lpcr = lpcr; lpcr 3630 arch/powerpc/kvm/book3s_hv.c trap = kvmhv_load_hv_regs_and_go(vcpu, time_limit, lpcr); lpcr 3635 arch/powerpc/kvm/book3s_hv.c if (!(lpcr & LPCR_LD)) /* Sign extend if not using large decrementer */ lpcr 4038 arch/powerpc/kvm/book3s_hv.c unsigned long lpcr) lpcr 4097 arch/powerpc/kvm/book3s_hv.c lpcr |= LPCR_MER; lpcr 4133 arch/powerpc/kvm/book3s_hv.c trap = kvmhv_p9_guest_entry(vcpu, time_limit, lpcr); lpcr 4301 arch/powerpc/kvm/book3s_hv.c vcpu->arch.vcore->lpcr); lpcr 4524 arch/powerpc/kvm/book3s_hv.c void kvmppc_update_lpcr(struct kvm *kvm, unsigned long lpcr, unsigned long mask) lpcr 4529 arch/powerpc/kvm/book3s_hv.c if ((kvm->arch.lpcr & mask) == lpcr) lpcr 4532 arch/powerpc/kvm/book3s_hv.c kvm->arch.lpcr = (kvm->arch.lpcr & ~mask) | lpcr; lpcr 4539 arch/powerpc/kvm/book3s_hv.c vc->lpcr = (vc->lpcr & ~mask) | lpcr; lpcr 4583 arch/powerpc/kvm/book3s_hv.c unsigned long lpcr = 0, senc; lpcr 4645 arch/powerpc/kvm/book3s_hv.c lpcr = senc << (LPCR_VRMASD_SH - 4); lpcr 4646 arch/powerpc/kvm/book3s_hv.c kvmppc_update_lpcr(kvm, lpcr, LPCR_VRMASD); lpcr 4786 arch/powerpc/kvm/book3s_hv.c unsigned long lpcr, lpid; lpcr 4823 arch/powerpc/kvm/book3s_hv.c kvm->arch.host_lpcr = lpcr = mfspr(SPRN_LPCR); lpcr 4824 arch/powerpc/kvm/book3s_hv.c lpcr &= LPCR_PECE | LPCR_LPES; lpcr 4826 arch/powerpc/kvm/book3s_hv.c lpcr = 0; lpcr 4828 arch/powerpc/kvm/book3s_hv.c lpcr |= (4UL << LPCR_DPFD_SH) | LPCR_HDICE | lpcr 4834 arch/powerpc/kvm/book3s_hv.c lpcr |= LPCR_ONL; lpcr 4843 arch/powerpc/kvm/book3s_hv.c lpcr &= ~LPCR_VPM0; lpcr 4844 arch/powerpc/kvm/book3s_hv.c lpcr |= LPCR_HVICE | LPCR_HEIC; lpcr 4851 arch/powerpc/kvm/book3s_hv.c lpcr |= LPCR_LPES; lpcr 4860 arch/powerpc/kvm/book3s_hv.c lpcr &= ~LPCR_VPM1; lpcr 4861 arch/powerpc/kvm/book3s_hv.c lpcr |= LPCR_UPRT | LPCR_GTSE | LPCR_HR; lpcr 4870 arch/powerpc/kvm/book3s_hv.c kvm->arch.lpcr = lpcr; lpcr 5288 arch/powerpc/kvm/book3s_hv.c unsigned long lpcr; lpcr 5340 arch/powerpc/kvm/book3s_hv.c lpcr = (cfg->flags & KVM_PPC_MMUV3_GTSE) ? LPCR_GTSE : 0; lpcr 5341 arch/powerpc/kvm/book3s_hv.c kvmppc_update_lpcr(kvm, lpcr, LPCR_GTSE); lpcr 766 arch/powerpc/kvm/book3s_hv_builtin.c unsigned long lpcr; lpcr 770 arch/powerpc/kvm/book3s_hv_builtin.c lpcr = mfspr(SPRN_LPCR); lpcr 771 arch/powerpc/kvm/book3s_hv_builtin.c lpcr |= ext << LPCR_MER_SH; lpcr 772 arch/powerpc/kvm/book3s_hv_builtin.c mtspr(SPRN_LPCR, lpcr); lpcr 780 arch/powerpc/kvm/book3s_hv_builtin.c if (!(lpcr & LPCR_LD)) lpcr 67 arch/powerpc/kvm/book3s_hv_nested.c hr->lpcr = swab64(hr->lpcr); lpcr 229 arch/powerpc/kvm/book3s_hv_nested.c unsigned long lpcr; lpcr 281 arch/powerpc/kvm/book3s_hv_nested.c lpcr = (vc->lpcr & ~mask) | (l2_hv.lpcr & mask); lpcr 294 arch/powerpc/kvm/book3s_hv_nested.c lpcr); lpcr 543 arch/powerpc/mm/book3s64/radix_pgtable.c unsigned long lpcr; lpcr 598 arch/powerpc/mm/book3s64/radix_pgtable.c lpcr = mfspr(SPRN_LPCR); lpcr 599 arch/powerpc/mm/book3s64/radix_pgtable.c mtspr(SPRN_LPCR, lpcr | LPCR_UPRT | LPCR_HR); lpcr 615 arch/powerpc/mm/book3s64/radix_pgtable.c unsigned long lpcr; lpcr 620 arch/powerpc/mm/book3s64/radix_pgtable.c lpcr = mfspr(SPRN_LPCR); lpcr 621 arch/powerpc/mm/book3s64/radix_pgtable.c mtspr(SPRN_LPCR, lpcr | LPCR_UPRT | LPCR_HR); lpcr 635 arch/powerpc/mm/book3s64/radix_pgtable.c unsigned long lpcr; lpcr 638 arch/powerpc/mm/book3s64/radix_pgtable.c lpcr = mfspr(SPRN_LPCR); lpcr 639 arch/powerpc/mm/book3s64/radix_pgtable.c mtspr(SPRN_LPCR, lpcr & ~LPCR_UPRT); lpcr 297 arch/powerpc/platforms/powernv/idle.c u64 lpcr; lpcr 347 arch/powerpc/platforms/powernv/idle.c sprs.lpcr = mfspr(SPRN_LPCR); lpcr 482 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_LPCR, sprs.lpcr); lpcr 584 arch/powerpc/platforms/powernv/idle.c u64 lpcr; lpcr 661 arch/powerpc/platforms/powernv/idle.c sprs.lpcr = mfspr(SPRN_LPCR); lpcr 780 arch/powerpc/platforms/powernv/idle.c mtspr(SPRN_LPCR, sprs.lpcr); lpcr 273 arch/powerpc/platforms/powernv/vas-window.c u64 lpcr, val; lpcr 288 arch/powerpc/platforms/powernv/vas-window.c lpcr = mfspr(SPRN_LPCR); lpcr 298 arch/powerpc/platforms/powernv/vas-window.c val = SET_FIELD(VAS_XLATE_LPCR_ISL, val, lpcr & LPCR_ISL); lpcr 299 arch/powerpc/platforms/powernv/vas-window.c val = SET_FIELD(VAS_XLATE_LPCR_TC, val, lpcr & LPCR_TC); lpcr 126 drivers/rtc/rtc-snvs.c u32 lpcr; lpcr 132 drivers/rtc/rtc-snvs.c regmap_read(data->regmap, data->offset + SNVS_LPCR, &lpcr); lpcr 135 drivers/rtc/rtc-snvs.c if (lpcr & SNVS_LPCR_SRTC_ENV) lpcr 138 drivers/rtc/rtc-snvs.c if (!(lpcr & SNVS_LPCR_SRTC_ENV))