Searched refs:hgei (Results 1 – 3 of 3) sorted by relevance
34 int i, hgei; in aia_find_hgei() local40 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() local116 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() argument436 if (hgei > 0 && hgei <= kvm_riscv_aia_nr_hgei) { in kvm_riscv_aia_free_hgei()[all …]
365 int hgei; member382 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; member454 new_hstatus |= ((unsigned long)idata->hgei) << HSTATUS_VGEIN_SHIFT; in imsic_vsfile_local_rw()506 rdata.hgei = vsfile_hgei; in imsic_vsfile_rw()
166 void kvm_riscv_aia_free_hgei(int cpu, int hgei);