Searched refs:iprio (Results 1 – 4 of 4) sorted by relevance
1932 uint8_t iprio; in read_mtopi() local1938 iprio = env->miprio[irq]; in read_mtopi()1939 if (!iprio) { in read_mtopi()1941 iprio = IPRIO_MMAXIPRIO; in read_mtopi()1945 *val |= iprio; in read_mtopi()2006 target_ulong iselect, uint8_t *iprio, in rmw_iprio() argument2025 old_val |= ((target_ulong)iprio[firq + i]) << (IPRIO_IRQ_BITS * i); in rmw_iprio()2043 iprio[firq + i] = (new_val >> (IPRIO_IRQ_BITS * i)) & 0xff; in rmw_iprio()2055 uint8_t *iprio; in rmw_xireg() local2067 iprio = env->miprio; in rmw_xireg()[all …]
930 uint8_t iprio; in riscv_cpu_reset_hold() local976 iprio = riscv_cpu_default_priority(i); in riscv_cpu_reset_hold()977 env->miprio[i] = (i == IRQ_M_EXT) ? 0 : iprio; in riscv_cpu_reset_hold()978 env->siprio[i] = (i == IRQ_S_EXT) ? 0 : iprio; in riscv_cpu_reset_hold()
417 uint64_t pending, uint8_t *iprio) in riscv_cpu_pending_to_irq() argument434 prio = iprio[irq]; in riscv_cpu_pending_to_irq()
440 uint32_t irq, iprio, ihartidx, ithres; in riscv_aplic_idc_topi() local460 iprio = aplic->target[irq] & aplic->iprio_mask; in riscv_aplic_idc_topi()461 if (ithres && iprio >= ithres) { in riscv_aplic_idc_topi()465 if (iprio < best_iprio) { in riscv_aplic_idc_topi()467 best_iprio = iprio; in riscv_aplic_idc_topi()