Searched refs:fscr (Results 1 – 13 of 13) sorted by relevance
| /linux/arch/powerpc/kernel/ |
| H A D | cpu_setup_power.c | 62 u64 fscr; in init_FSCR() local 64 fscr = mfspr(SPRN_FSCR); in init_FSCR() 65 fscr |= FSCR_TAR|FSCR_EBB; in init_FSCR() 66 mtspr(SPRN_FSCR, fscr); in init_FSCR() 71 u64 fscr; in init_FSCR_power9() local 73 fscr = mfspr(SPRN_FSCR); in init_FSCR_power9() 74 fscr |= FSCR_SCV; in init_FSCR_power9() 75 mtspr(SPRN_FSCR, fscr); in init_FSCR_power9() 81 u64 fscr; in init_FSCR_power10() local 83 fscr = mfspr(SPRN_FSCR); in init_FSCR_power10() [all …]
|
| H A D | setup_64.c | 233 init_task.thread.fscr &= ~FSCR_SCV; in configure_exceptions() 239 init_task.thread.fscr &= ~FSCR_SCV; in configure_exceptions()
|
| H A D | process.c | 1173 t->fscr = mfspr(SPRN_FSCR); in save_sprs() 1257 if (old_thread->fscr != new_thread->fscr) in restore_sprs() 1258 mtspr(SPRN_FSCR, new_thread->fscr); in restore_sprs()
|
| H A D | asm-offsets.c | 471 OFFSET(VCPU_FSCR, kvm_vcpu, arch.fscr); in main()
|
| /linux/arch/powerpc/kvm/ |
| H A D | book3s_hv_tm.c | 96 if ((msr & MSR_PR) && !(vcpu->arch.fscr & FSCR_EBB)) { in kvmhv_p9_tm_emulation() 98 vcpu->arch.fscr &= ~FSCR_INTR_CAUSE; in kvmhv_p9_tm_emulation() 99 vcpu->arch.fscr |= (u64)FSCR_EBB_LG << 56; in kvmhv_p9_tm_emulation() 149 vcpu->arch.fscr &= ~FSCR_INTR_CAUSE; in kvmhv_p9_tm_emulation() 150 vcpu->arch.fscr |= (u64)FSCR_TM_LG << 56; in kvmhv_p9_tm_emulation() 181 vcpu->arch.fscr &= ~FSCR_INTR_CAUSE; in kvmhv_p9_tm_emulation() 182 vcpu->arch.fscr |= (u64)FSCR_TM_LG << 56; in kvmhv_p9_tm_emulation() 221 vcpu->arch.fscr &= ~FSCR_INTR_CAUSE; in kvmhv_p9_tm_emulation() 222 vcpu->arch.fscr |= (u64)FSCR_TM_LG << 56; in kvmhv_p9_tm_emulation()
|
| H A D | book3s_hv_p9_entry.c | 40 if (current->thread.fscr != vcpu->arch.fscr) in load_spr_state() 41 mtspr(SPRN_FSCR, vcpu->arch.fscr); in load_spr_state() 78 vcpu->arch.fscr = mfspr(SPRN_FSCR); in store_spr_state() 177 if (current->thread.fscr != vcpu->arch.fscr) in restore_p9_host_os_sprs() 178 mtspr(SPRN_FSCR, current->thread.fscr); in restore_p9_host_os_sprs()
|
| H A D | book3s_hv.h | 106 KVMPPC_BOOK3S_HV_VCPU_ACCESSOR(fscr, 64, KVMPPC_GSID_FSCR)
|
| H A D | book3s_emulate.c | 948 *spr_val = vcpu->arch.fscr; in kvmppc_core_emulate_mfspr_pr()
|
| /linux/arch/powerpc/boot/dts/ |
| H A D | microwatt.dts | 85 fscr-bit-nr = <13>; 94 fscr-bit-nr = <8>; 111 fscr-bit-nr = <12>;
|
| /linux/arch/powerpc/platforms/powernv/ |
| H A D | idle.c | 301 u64 fscr; member 352 sprs.fscr = mfspr(SPRN_FSCR); in power7_idle_insn() 486 mtspr(SPRN_FSCR, sprs.fscr); in power7_idle_insn() 589 u64 fscr; member 666 sprs.fscr = mfspr(SPRN_FSCR); in power9_idle_stop() 782 mtspr(SPRN_FSCR, sprs.fscr); in power9_idle_stop()
|
| /linux/Documentation/devicetree/bindings/powerpc/ |
| H A D | ibm,powerpc-cpu-features.txt | 144 If the FSCR bit is set, then the fscr-bit-nr property will exist and 161 - fscr-bit-nr 243 fscr-bit-nr = <xx>;
|
| /linux/sound/soc/rockchip/ |
| H A D | rockchip_sai.c | 565 unsigned int val, fscr, reg; in rockchip_sai_hw_params() local 639 fscr = SAI_FSCR_FW(sai->fw_ratio * slot_width * ch_per_lane); in rockchip_sai_hw_params() 643 fscr |= SAI_FSCR_FPW(1); in rockchip_sai_hw_params() 646 fscr |= SAI_FSCR_FPW(slot_width); in rockchip_sai_hw_params() 649 fscr |= SAI_FSCR_FPW(sai->fw_ratio * slot_width * ch_per_lane / 2); in rockchip_sai_hw_params() 658 SAI_FSCR_FW_MASK | SAI_FSCR_FPW_MASK, fscr); in rockchip_sai_hw_params()
|
| /linux/arch/powerpc/include/asm/ |
| H A D | processor.h | 234 unsigned long fscr; member
|