Home
last modified time | relevance | path

Searched refs:spsr (Results 1 – 19 of 19) sorted by relevance

/linux/drivers/spi/
A Dspi-rspi.c190 u8 spsr; member
648 u8 spsr; in rspi_receive_init() local
651 if (spsr & SPSR_SPRF) in rspi_receive_init()
653 if (spsr & SPSR_OVRF) in rspi_receive_init()
667 u8 spsr; in qspi_receive_init() local
1039 u8 spsr; in rspi_irq_mux() local
1043 rspi->spsr = spsr = rspi_read8(rspi, RSPI_SPSR); in rspi_irq_mux()
1061 u8 spsr; in rspi_irq_rx() local
1063 rspi->spsr = spsr = rspi_read8(rspi, RSPI_SPSR); in rspi_irq_rx()
1076 u8 spsr; in rspi_irq_tx() local
[all …]
A Dspi-topcliff-pch.c269 void __iomem *spsr; in pch_spi_handler_sub() local
273 spsr = io_remap_addr + PCH_SPSR; in pch_spi_handler_sub()
274 iowrite32(reg_spsr_val, spsr); in pch_spi_handler_sub()
339 void __iomem *spsr; in pch_spi_handler() local
352 spsr = io_remap_addr + PCH_SPSR; in pch_spi_handler()
354 reg_spsr_val = ioread32(spsr); in pch_spi_handler()
/linux/arch/arm64/kvm/hyp/vhe/
A Dswitch.c208 static void __hyp_call_panic(u64 spsr, u64 elr, u64 par) in __hyp_call_panic() argument
220 spsr, elr, in __hyp_call_panic()
228 u64 spsr = read_sysreg_el2(SYS_SPSR); in hyp_panic() local
232 __hyp_call_panic(spsr, elr, par); in hyp_panic()
/linux/arch/arm64/kvm/hyp/
A Dexception.c269 unsigned long spsr = *vcpu_cpsr(vcpu); in enter_exception32() local
270 bool is_thumb = (spsr & PSR_AA32_T_BIT); in enter_exception32()
281 __vcpu_write_spsr_abt(vcpu, host_spsr_to_spsr32(spsr)); in enter_exception32()
286 __vcpu_write_spsr_und(vcpu, host_spsr_to_spsr32(spsr)); in enter_exception32()
/linux/arch/arm64/include/asm/
A Dkvm_emulate.h199 static inline unsigned long host_spsr_to_spsr32(unsigned long spsr) in host_spsr_to_spsr32() argument
202 unsigned long dit = !!(spsr & PSR_AA32_DIT_BIT); in host_spsr_to_spsr32()
204 spsr &= ~overlap; in host_spsr_to_spsr32()
206 spsr |= dit << 21; in host_spsr_to_spsr32()
208 return spsr; in host_spsr_to_spsr32()
A Dkvm_asm.h232 u64 spsr, elr; \
244 : "+r" (__kvm_at_err), "=&r" (spsr), "=&r" (elr) \
A Dkvm_hyp.h106 void __noreturn __hyp_do_panic(struct kvm_cpu_context *host_ctxt, u64 spsr,
/linux/arch/arm64/kvm/
A Dhandle_exit.c281 void __noreturn __cold nvhe_hyp_panic_handler(u64 esr, u64 spsr, in nvhe_hyp_panic_handler() argument
287 u64 mode = spsr & PSR_MODE_MASK; in nvhe_hyp_panic_handler()
328 spsr, elr_virt, esr, far, hpfar, par, vcpu); in nvhe_hyp_panic_handler()
A Dguest.c87 case KVM_REG_ARM_CORE_REG(spsr[0]) ... in core_reg_size_from_offset()
88 KVM_REG_ARM_CORE_REG(spsr[KVM_NR_SPSR - 1]): in core_reg_size_from_offset()
153 case KVM_REG_ARM_CORE_REG(spsr[KVM_SPSR_EL1]): in core_reg_addr()
156 case KVM_REG_ARM_CORE_REG(spsr[KVM_SPSR_ABT]): in core_reg_addr()
159 case KVM_REG_ARM_CORE_REG(spsr[KVM_SPSR_UND]): in core_reg_addr()
162 case KVM_REG_ARM_CORE_REG(spsr[KVM_SPSR_IRQ]): in core_reg_addr()
165 case KVM_REG_ARM_CORE_REG(spsr[KVM_SPSR_FIQ]): in core_reg_addr()
/linux/arch/arm64/kernel/
A Dsignal32.c320 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()
/linux/tools/testing/selftests/kvm/aarch64/
A Dget-reg-list.c177 case KVM_REG_ARM_CORE_REG(spsr[0]) ... in core_id_to_str()
178 KVM_REG_ARM_CORE_REG(spsr[KVM_NR_SPSR - 1]): in core_id_to_str()
179 idx = (core_off - KVM_REG_ARM_CORE_REG(spsr[0])) / CORE_SPSR_XX_NR_WORDS; in core_id_to_str()
679 KVM_REG_ARM64 | KVM_REG_SIZE_U64 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(spsr[0]),
680 KVM_REG_ARM64 | KVM_REG_SIZE_U64 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(spsr[1]),
681 KVM_REG_ARM64 | KVM_REG_SIZE_U64 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(spsr[2]),
682 KVM_REG_ARM64 | KVM_REG_SIZE_U64 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(spsr[3]),
683 KVM_REG_ARM64 | KVM_REG_SIZE_U64 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(spsr[4]),
/linux/arch/arm64/kvm/hyp/nvhe/
A Dswitch.c353 u64 spsr = read_sysreg_el2(SYS_SPSR); in hyp_panic() local
369 __hyp_do_panic(host_ctxt, spsr, elr, par); in hyp_panic()
/linux/arch/arm/kernel/
A Dentry-armv.S311 mrs r2, spsr @ Save spsr_abt, abort is now safe
992 * Enter in IRQ mode, spsr = SVC/USR CPSR, lr = SVC/USR PC
1010 mrs lr, spsr
1011 str lr, [sp, #8] @ save spsr
A Dentry-common.S167 mrs saved_psr, spsr @ called from non-FIQ mode, so ok.
/linux/tools/arch/arm64/include/uapi/asm/
A Dkvm.h56 __u64 spsr[KVM_NR_SPSR]; member
/linux/arch/arm64/include/uapi/asm/
A Dkvm.h56 __u64 spsr[KVM_NR_SPSR]; member
/linux/arch/arm/boot/compressed/
A Dhead.S491 mrs r0, spsr
647 mrs r0, spsr @ Get saved CPU boot mode
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
A Dsdio.c347 __le32 spsr; member
3060 le32_to_cpu(tr.cpsr), le32_to_cpu(tr.spsr), in brcmf_sdio_trap_info()
3074 le32_to_cpu(tr.cpsr), le32_to_cpu(tr.spsr), in brcmf_sdio_trap_info()
/linux/Documentation/virt/kvm/
A Dapi.rst2476 0x6030 0000 0010 0048 SPSR_EL1 64 spsr[KVM_SPSR_EL1] (alias SPSR_SVC)
2477 0x6030 0000 0010 004a SPSR_ABT 64 spsr[KVM_SPSR_ABT]
2478 0x6030 0000 0010 004c SPSR_UND 64 spsr[KVM_SPSR_UND]
2479 0x6030 0000 0010 004e SPSR_IRQ 64 spsr[KVM_SPSR_IRQ]
2480 0x6060 0000 0010 0050 SPSR_FIQ 64 spsr[KVM_SPSR_FIQ]

Completed in 68 milliseconds