Home
last modified time | relevance | path

Searched refs:iprio (Results 1 – 4 of 4) sorted by relevance

/openbmc/qemu/target/riscv/
H A Dcsr.c1932 uint8_t iprio; in read_mtopi() local
1938 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() argument
2025 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() local
2067 iprio = env->miprio; in rmw_xireg()
[all …]
H A Dcpu.c930 uint8_t iprio; in riscv_cpu_reset_hold() local
976 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()
H A Dcpu_helper.c417 uint64_t pending, uint8_t *iprio) in riscv_cpu_pending_to_irq() argument
434 prio = iprio[irq]; in riscv_cpu_pending_to_irq()
/openbmc/qemu/hw/intc/
H A Driscv_aplic.c440 uint32_t irq, iprio, ihartidx, ithres; in riscv_aplic_idc_topi() local
460 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()