Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/spi/
Dspi-rspi.c191 u8 spsr; member
464 rspi->spsr = rspi_read8(rspi, RSPI_SPSR); in rspi_wait_for_interrupt()
465 if (rspi->spsr & wait_mask) in rspi_wait_for_interrupt()
469 ret = wait_event_timeout(rspi->wait, rspi->spsr & wait_mask, HZ); in rspi_wait_for_interrupt()
470 if (ret == 0 && !(rspi->spsr & wait_mask)) in rspi_wait_for_interrupt()
653 u8 spsr; in rspi_receive_init() local
655 spsr = rspi_read8(rspi, RSPI_SPSR); in rspi_receive_init()
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
[all …]
Dspi-topcliff-pch.c270 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()
/linux-6.1.9/arch/arm64/kvm/hyp/vhe/
Dswitch.c214 static void __hyp_call_panic(u64 spsr, u64 elr, u64 par) in __hyp_call_panic() argument
226 spsr, elr, in __hyp_call_panic()
234 u64 spsr = read_sysreg_el2(SYS_SPSR); in hyp_panic() local
238 __hyp_call_panic(spsr, elr, par); in hyp_panic()
/linux-6.1.9/arch/arm64/kvm/hyp/
Dexception.c273 unsigned long spsr = *vcpu_cpsr(vcpu); in enter_exception32() local
274 bool is_thumb = (spsr & PSR_AA32_T_BIT); in enter_exception32()
285 __vcpu_write_spsr_abt(vcpu, host_spsr_to_spsr32(spsr)); in enter_exception32()
290 __vcpu_write_spsr_und(vcpu, host_spsr_to_spsr32(spsr)); in enter_exception32()
/linux-6.1.9/arch/arm64/include/asm/
Dkvm_emulate.h206 static inline unsigned long host_spsr_to_spsr32(unsigned long spsr) in host_spsr_to_spsr32() argument
209 unsigned long dit = !!(spsr & PSR_AA32_DIT_BIT); in host_spsr_to_spsr32()
211 spsr &= ~overlap; in host_spsr_to_spsr32()
213 spsr |= dit << 21; in host_spsr_to_spsr32()
215 return spsr; in host_spsr_to_spsr32()
Dkvm_asm.h250 u64 spsr, elr; \
262 : "+r" (__kvm_at_err), "=&r" (spsr), "=&r" (elr) \
Dkvm_hyp.h105 void __noreturn __hyp_do_panic(struct kvm_cpu_context *host_ctxt, u64 spsr,
/linux-6.1.9/arch/arm64/kvm/
Dhandle_exit.c328 void __noreturn __cold nvhe_hyp_panic_handler(u64 esr, u64 spsr, in nvhe_hyp_panic_handler() argument
334 u64 mode = spsr & PSR_MODE_MASK; in nvhe_hyp_panic_handler()
375 spsr, elr_virt, esr, far, hpfar, par, vcpu); in nvhe_hyp_panic_handler()
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-6.1.9/arch/arm64/kernel/
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-6.1.9/tools/testing/selftests/kvm/aarch64/
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()
693 KVM_REG_ARM64 | KVM_REG_SIZE_U64 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(spsr[0]),
694 KVM_REG_ARM64 | KVM_REG_SIZE_U64 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(spsr[1]),
695 KVM_REG_ARM64 | KVM_REG_SIZE_U64 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(spsr[2]),
696 KVM_REG_ARM64 | KVM_REG_SIZE_U64 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(spsr[3]),
697 KVM_REG_ARM64 | KVM_REG_SIZE_U64 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(spsr[4]),
/linux-6.1.9/arch/arm64/kvm/hyp/nvhe/
Dswitch.c338 u64 spsr = read_sysreg_el2(SYS_SPSR); in hyp_panic() local
358 __hyp_do_panic(host_ctxt, spsr, elr, par); in hyp_panic()
/linux-6.1.9/arch/arm/kernel/
Dentry-armv.S320 mrs r2, spsr @ Save spsr_abt, abort is now safe
1074 * Enter in IRQ mode, spsr = SVC/USR CPSR, lr = SVC/USR PC
1098 mrs lr, spsr
1099 str lr, [sp, #8] @ save spsr
Dentry-common.S193 mrs saved_psr, spsr @ called from non-FIQ mode, so ok.
/linux-6.1.9/tools/arch/arm64/include/uapi/asm/
Dkvm.h56 __u64 spsr[KVM_NR_SPSR]; member
/linux-6.1.9/arch/arm64/include/uapi/asm/
Dkvm.h56 __u64 spsr[KVM_NR_SPSR]; member
/linux-6.1.9/arch/arm/boot/compressed/
Dhead.S488 mrs r0, spsr
644 mrs r0, spsr @ Get saved CPU boot mode
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dsdio.c347 __le32 spsr; member
3062 le32_to_cpu(tr.cpsr), le32_to_cpu(tr.spsr), in brcmf_sdio_trap_info()
3076 le32_to_cpu(tr.cpsr), le32_to_cpu(tr.spsr), in brcmf_sdio_trap_info()
/linux-6.1.9/Documentation/virt/kvm/
Dapi.rst2553 0x6030 0000 0010 0048 SPSR_EL1 64 spsr[KVM_SPSR_EL1] (alias SPSR_SVC)
2554 0x6030 0000 0010 004a SPSR_ABT 64 spsr[KVM_SPSR_ABT]
2555 0x6030 0000 0010 004c SPSR_UND 64 spsr[KVM_SPSR_UND]
2556 0x6030 0000 0010 004e SPSR_IRQ 64 spsr[KVM_SPSR_IRQ]
2557 0x6060 0000 0010 0050 SPSR_FIQ 64 spsr[KVM_SPSR_FIQ]