Searched refs:IRQ_VS_SOFT (Results 1 – 5 of 5) sorted by relevance
348 if ((csr->hvip ^ hvip) & (1UL << IRQ_VS_SOFT)) { in kvm_riscv_vcpu_sync_interrupts()349 if (hvip & (1UL << IRQ_VS_SOFT)) { in kvm_riscv_vcpu_sync_interrupts()350 if (!test_and_set_bit(IRQ_VS_SOFT, in kvm_riscv_vcpu_sync_interrupts()352 set_bit(IRQ_VS_SOFT, v->irqs_pending); in kvm_riscv_vcpu_sync_interrupts()354 if (!test_and_set_bit(IRQ_VS_SOFT, in kvm_riscv_vcpu_sync_interrupts()356 clear_bit(IRQ_VS_SOFT, v->irqs_pending); in kvm_riscv_vcpu_sync_interrupts()375 irq != IRQ_VS_SOFT && in kvm_riscv_vcpu_set_interrupt()397 irq != IRQ_VS_SOFT && in kvm_riscv_vcpu_unset_interrupt()
46 ret = kvm_riscv_vcpu_unset_interrupt(vcpu, IRQ_VS_SOFT); in kvm_sbi_ext_v01_handler()58 ret = kvm_riscv_vcpu_set_interrupt(rvcpu, IRQ_VS_SOFT); in kvm_sbi_ext_v01_handler()
37 hideleg |= (1UL << IRQ_VS_SOFT); in kvm_arch_hardware_enable()
68 ret = kvm_riscv_vcpu_set_interrupt(tmp, IRQ_VS_SOFT); in kvm_sbi_ext_ipi_handler()
77 #define IRQ_VS_SOFT 2 macro168 #define VSIP_TO_HVIP_SHIFT (IRQ_VS_SOFT - IRQ_S_SOFT)