Searched refs:vec_type (Results 1 – 2 of 2) sorted by relevance
100 void riscv_iommu_notify(RISCVIOMMUState *s, int vec_type);
75 static uint8_t riscv_iommu_get_icvec_vector(uint32_t icvec, uint32_t vec_type) in riscv_iommu_get_icvec_vector() argument77 switch (vec_type) { in riscv_iommu_get_icvec_vector()91 void riscv_iommu_notify(RISCVIOMMUState *s, int vec_type) in riscv_iommu_notify() argument100 ipsr = riscv_iommu_reg_mod32(s, RISCV_IOMMU_REG_IPSR, (1 << vec_type), 0); in riscv_iommu_notify()102 if (!(ipsr & (1 << vec_type))) { in riscv_iommu_notify()103 vector = riscv_iommu_get_icvec_vector(icvec, vec_type); in riscv_iommu_notify()105 trace_riscv_iommu_notify_int_vector(vec_type, vector); in riscv_iommu_notify()