/openbmc/linux/drivers/spi/ |
H A D | spi-rspi.c | 191 u8 spsr; member 653 u8 spsr; in rspi_receive_init() local 656 if (spsr & SPSR_SPRF) in rspi_receive_init() 658 if (spsr & SPSR_OVRF) in rspi_receive_init() 672 u8 spsr; in qspi_receive_init() local 1044 u8 spsr; in rspi_irq_mux() local 1048 rspi->spsr = spsr = rspi_read8(rspi, RSPI_SPSR); in rspi_irq_mux() 1066 u8 spsr; in rspi_irq_rx() local 1068 rspi->spsr = spsr = rspi_read8(rspi, RSPI_SPSR); in rspi_irq_rx() 1081 u8 spsr; in rspi_irq_tx() local [all …]
|
H A D | spi-loongson-core.c | 118 loongson_spi->spsr, (loongson_spi->spsr & in loongson_spi_write_read_8bit() 244 loongson_spi->spsr = loongson_spi_read_reg(loongson_spi, LOONGSON_SPI_SPSR_REG); in loongson_spi_suspend() 262 loongson_spi_write_reg(loongson_spi, LOONGSON_SPI_SPSR_REG, loongson_spi->spsr); in loongson_spi_resume()
|
H A D | spi-loongson.h | 39 unsigned char spsr; member
|
H A D | spi-topcliff-pch.c | 270 void __iomem *spsr; in pch_spi_handler_sub() local 274 spsr = io_remap_addr + PCH_SPSR; in pch_spi_handler_sub() 275 iowrite32(reg_spsr_val, spsr); in pch_spi_handler_sub() 340 void __iomem *spsr; in pch_spi_handler() local 353 spsr = io_remap_addr + PCH_SPSR; in pch_spi_handler() 355 reg_spsr_val = ioread32(spsr); in pch_spi_handler()
|
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/trusted-firmware-a/files/corstone1000/ |
H A D | 0002-fix-corstone1000-pass-spsr-value-explicitly.patch | 4 Subject: [PATCH] fix(corstone1000): pass spsr value explicitly 6 Passes spsr value for BL32 (OPTEE) explicitly between different boot 24 + .ep_info.spsr = SPSR_64(MODE_EL2, MODE_SP_ELX,
|
/openbmc/u-boot/arch/arm/lib/ |
H A D | vectors.S | 211 mrs r6, spsr 229 mrs lr, spsr @ get the spsr 230 str lr, [r13, #4] @ save spsr in position 1 of saved stack 233 msr spsr, r13 @ switch modes, make sure moves will execute
|
/openbmc/qemu/bsd-user/aarch64/ |
H A D | target_arch_reg.h | 30 uint64_t spsr; member 51 regs->spsr = tswapreg(pstate_read(env)); in target_copy_regs()
|
/openbmc/linux/arch/arm64/kvm/hyp/vhe/ |
H A D | switch.c | 296 static void __hyp_call_panic(u64 spsr, u64 elr, u64 par) in __hyp_call_panic() argument 308 spsr, elr, in __hyp_call_panic() 316 u64 spsr = read_sysreg_el2(SYS_SPSR); in hyp_panic() local 320 __hyp_call_panic(spsr, elr, par); in hyp_panic()
|
/openbmc/linux/arch/arm64/kvm/hyp/ |
H A D | exception.c | 288 unsigned long spsr = *vcpu_cpsr(vcpu); in enter_exception32() local 289 bool is_thumb = (spsr & PSR_AA32_T_BIT); in enter_exception32() 300 __vcpu_write_spsr_abt(vcpu, host_spsr_to_spsr32(spsr)); in enter_exception32() 305 __vcpu_write_spsr_und(vcpu, host_spsr_to_spsr32(spsr)); in enter_exception32()
|
/openbmc/linux/tools/testing/selftests/kvm/aarch64/ |
H A D | get-reg-list.c | 129 case KVM_REG_ARM_CORE_REG(spsr[0]) ... in core_id_to_str() 130 KVM_REG_ARM_CORE_REG(spsr[KVM_NR_SPSR - 1]): in core_id_to_str() 131 idx = (core_off - KVM_REG_ARM_CORE_REG(spsr[0])) / CORE_SPSR_XX_NR_WORDS; in core_id_to_str() 309 KVM_REG_ARM64 | KVM_REG_SIZE_U64 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(spsr[0]), 310 KVM_REG_ARM64 | KVM_REG_SIZE_U64 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(spsr[1]), 311 KVM_REG_ARM64 | KVM_REG_SIZE_U64 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(spsr[2]), 312 KVM_REG_ARM64 | KVM_REG_SIZE_U64 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(spsr[3]), 313 KVM_REG_ARM64 | KVM_REG_SIZE_U64 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(spsr[4]),
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | kvm_emulate.h | 269 static inline unsigned long host_spsr_to_spsr32(unsigned long spsr) in host_spsr_to_spsr32() argument 272 unsigned long dit = !!(spsr & PSR_AA32_DIT_BIT); in host_spsr_to_spsr32() 274 spsr &= ~overlap; in host_spsr_to_spsr32() 276 spsr |= dit << 21; in host_spsr_to_spsr32() 278 return spsr; in host_spsr_to_spsr32()
|
H A D | kvm_asm.h | 260 u64 spsr, elr; \ 272 : "+r" (__kvm_at_err), "=&r" (spsr), "=&r" (elr) \ 293 void __noreturn __cold nvhe_hyp_panic_handler(u64 esr, u64 spsr, u64 elr_virt,
|
H A D | kvm_hyp.h | 124 void __noreturn __hyp_do_panic(struct kvm_cpu_context *host_ctxt, u64 spsr,
|
/openbmc/qemu/target/arm/tcg/ |
H A D | helper-a64.c | 714 static int el_from_spsr(uint32_t spsr) in el_from_spsr() argument 719 if (spsr & PSTATE_nRW) { in el_from_spsr() 720 switch (spsr & CPSR_M) { in el_from_spsr() 740 if (extract32(spsr, 1, 1)) { in el_from_spsr() 744 if (extract32(spsr, 0, 4) == 1) { in el_from_spsr() 748 return extract32(spsr, 2, 2); in el_from_spsr() 792 spsr &= ~PSTATE_SS; in HELPER() 804 new_el = el_from_spsr(spsr); in HELPER() 840 if (spsr & CPSR_T) { in HELPER() 854 pstate_write(env, spsr); in HELPER() [all …]
|
/openbmc/linux/arch/arm64/kvm/ |
H A D | handle_exit.c | 386 void __noreturn __cold nvhe_hyp_panic_handler(u64 esr, u64 spsr, in nvhe_hyp_panic_handler() argument 392 u64 mode = spsr & PSR_MODE_MASK; in nvhe_hyp_panic_handler() 433 spsr, elr_virt, esr, far, hpfar, par, vcpu); in nvhe_hyp_panic_handler()
|
H A D | guest.c | 88 case KVM_REG_ARM_CORE_REG(spsr[0]) ... in core_reg_size_from_offset() 89 KVM_REG_ARM_CORE_REG(spsr[KVM_NR_SPSR - 1]): in core_reg_size_from_offset() 154 case KVM_REG_ARM_CORE_REG(spsr[KVM_SPSR_EL1]): in core_reg_addr() 157 case KVM_REG_ARM_CORE_REG(spsr[KVM_SPSR_ABT]): in core_reg_addr() 160 case KVM_REG_ARM_CORE_REG(spsr[KVM_SPSR_UND]): in core_reg_addr() 163 case KVM_REG_ARM_CORE_REG(spsr[KVM_SPSR_IRQ]): in core_reg_addr() 166 case KVM_REG_ARM_CORE_REG(spsr[KVM_SPSR_FIQ]): in core_reg_addr()
|
H A D | emulate-nested.c | 1873 u64 mode = spsr & PSR_MODE_MASK; in kvm_check_illegal_exception_return() 1884 (spsr & PSR_MODE32_BIT) || in kvm_check_illegal_exception_return() 1893 spsr = *vcpu_cpsr(vcpu); in kvm_check_illegal_exception_return() 1898 spsr |= PSR_IL_BIT; in kvm_check_illegal_exception_return() 1901 return spsr; in kvm_check_illegal_exception_return() 1906 u64 spsr, elr, mode; in kvm_emulate_nested_eret() local 1916 spsr = vcpu_read_sys_reg(vcpu, SPSR_EL2); in kvm_emulate_nested_eret() 1917 spsr = kvm_check_illegal_exception_return(vcpu, spsr); in kvm_emulate_nested_eret() 1928 *vcpu_cpsr(vcpu) = spsr; in kvm_emulate_nested_eret() 1938 trace_kvm_nested_eret(vcpu, elr, spsr); in kvm_emulate_nested_eret() [all …]
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | signal32.c | 320 compat_ulong_t spsr = regs->pstate & ~(PSR_f | PSR_AA32_E_BIT); in compat_setup_return() local 327 spsr |= PSR_AA32_T_BIT; in compat_setup_return() 329 spsr &= ~PSR_AA32_T_BIT; in compat_setup_return() 332 spsr &= ~PSR_AA32_IT_MASK; in compat_setup_return() 335 spsr |= PSR_AA32_ENDSTATE; in compat_setup_return() 354 regs->pstate = spsr; in compat_setup_return()
|
/openbmc/u-boot/drivers/spi/ |
H A D | sh_qspi.c | 46 u8 spsr; member 194 ret = wait_for_bit_8(&ss->regs->spsr, SPSR_SPTEF, in sh_qspi_xfer_common() 205 ret = wait_for_bit_8(&ss->regs->spsr, SPSR_SPRFF, in sh_qspi_xfer_common()
|
/openbmc/qemu/bsd-user/arm/ |
H A D | target_arch_thread.h | 41 env->spsr = ARM_CPU_MODE_USR; in target_thread_set_upcall()
|
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/ |
H A D | switch.c | 362 u64 spsr = read_sysreg_el2(SYS_SPSR); in hyp_panic() local 382 __hyp_do_panic(host_ctxt, spsr, elr, par); in hyp_panic()
|
/openbmc/u-boot/include/ |
H A D | atf_common.h | 109 uint32_t spsr; member
|
/openbmc/u-boot/common/spl/ |
H A D | spl_atf.c | 71 bl33_ep_info->spsr = SPSR_64(MODE_EL2, MODE_SP_ELX, in bl2_plat_get_bl31_params()
|
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/trusted-firmware-a/ |
H A D | trusted-firmware-a-corstone1000.inc | 8 file://0002-fix-corstone1000-pass-spsr-value-explicitly.patch \
|
/openbmc/linux/arch/arm/kernel/ |
H A D | entry-armv.S | 320 mrs r2, spsr @ Save spsr_abt, abort is now safe 842 * Enter in IRQ mode, spsr = SVC/USR CPSR, lr = SVC/USR PC 866 mrs lr, spsr 867 str lr, [sp, #8] @ save spsr
|