Home
last modified time | relevance | path

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

/openbmc/qemu/hw/intc/
H A Driscv_imsic.c130 uint32_t base, topei = riscv_imsic_topei(imsic, page); in riscv_imsic_topei_rmw() local
134 *val = topei; in riscv_imsic_topei_rmw()
138 if (topei && wr_mask) { in riscv_imsic_topei_rmw()
139 topei >>= IMSIC_TOPEI_IID_SHIFT; in riscv_imsic_topei_rmw()
141 if (topei) { in riscv_imsic_topei_rmw()
142 qatomic_and(&imsic->eistate[base + topei], ~IMSIC_EISTATE_PENDING); in riscv_imsic_topei_rmw()
/openbmc/linux/arch/riscv/kvm/
H A Daia_imsic.c845 u32 topei; in kvm_riscv_vcpu_aia_imsic_rmw() local
852 topei = imsic_mrif_topei(imsic->swfile, imsic->nr_eix, in kvm_riscv_vcpu_aia_imsic_rmw()
855 *val = topei; in kvm_riscv_vcpu_aia_imsic_rmw()
858 if (topei && wr_mask) { in kvm_riscv_vcpu_aia_imsic_rmw()
859 topei >>= TOPEI_ID_SHIFT; in kvm_riscv_vcpu_aia_imsic_rmw()
860 if (topei) { in kvm_riscv_vcpu_aia_imsic_rmw()
861 eix = &imsic->swfile->eix[topei / in kvm_riscv_vcpu_aia_imsic_rmw()
863 clear_bit(topei & (BITS_PER_TYPE(u64) - 1), in kvm_riscv_vcpu_aia_imsic_rmw()
/openbmc/qemu/target/riscv/
H A Dcsr.c3409 target_ulong topei; in read_vstopi() local
3433 &topei, 0, 0); in read_vstopi()
3434 if (!ret && topei) { in read_vstopi()
3435 siprio[scount] = topei & IMSIC_TOPEI_IPRIO_MASK; in read_vstopi()