Home
last modified time | relevance | path

Searched refs:hgei (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/arch/riscv/kvm/
Daia.c34 int i, hgei; in aia_find_hgei() local
40 hgei = -1; in aia_find_hgei()
43 hgei = i; in aia_find_hgei()
51 return hgei; in aia_find_hgei()
97 int hgei; in kvm_riscv_vcpu_aia_has_interrupts() local
116 hgei = aia_find_hgei(vcpu); in kvm_riscv_vcpu_aia_has_interrupts()
117 if (hgei > 0) in kvm_riscv_vcpu_aia_has_interrupts()
118 return !!(csr_read(CSR_HGEIP) & BIT(hgei)); in kvm_riscv_vcpu_aia_has_interrupts()
426 void kvm_riscv_aia_free_hgei(int cpu, int hgei) in kvm_riscv_aia_free_hgei() argument
436 if (hgei > 0 && hgei <= kvm_riscv_aia_nr_hgei) { in kvm_riscv_aia_free_hgei()
[all …]
Daia_imsic.c365 int hgei; member
382 new_hstatus |= ((unsigned long)idata->hgei) << HSTATUS_VGEIN_SHIFT; in imsic_vsfile_local_read()
431 idata.hgei = vsfile_hgei; in imsic_vsfile_read()
440 int hgei; member
454 new_hstatus |= ((unsigned long)idata->hgei) << HSTATUS_VGEIN_SHIFT; in imsic_vsfile_local_rw()
506 rdata.hgei = vsfile_hgei; in imsic_vsfile_rw()
/linux-6.12.1/arch/riscv/include/asm/
Dkvm_aia.h166 void kvm_riscv_aia_free_hgei(int cpu, int hgei);