Home
last modified time | relevance | path

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

/openbmc/u-boot/env/
H A Denv.c180 int best_prio = -1; in env_load() local
204 if (best_prio == -1) in env_load()
205 best_prio = prio; in env_load()
220 if (best_prio >= 0) in env_load()
223 best_prio = 0; in env_load()
224 env_get_location(ENVOP_LOAD, best_prio); in env_load()
/openbmc/qemu/hw/intc/
H A Darm_gic.c92 *best_prio = 0x100; in gic_get_best_irq()
98 if (GIC_DIST_GET_PRIORITY(irq, cpu) < *best_prio) { in gic_get_best_irq()
99 *best_prio = GIC_DIST_GET_PRIORITY(irq, cpu); in gic_get_best_irq()
116 *best_prio = 0x100; in gic_get_best_virq()
125 if (prio < *best_prio) { in gic_get_best_virq()
126 *best_prio = prio; in gic_get_best_virq()
167 int best_prio; in gic_update_internal() local
188 gic_get_best_irq(s, cpu, &best_irq, &best_prio, &group); in gic_update_internal()
193 best_irq, best_prio, in gic_update_internal()
200 if (best_prio < s->priority_mask[cpu_iface]) { in gic_update_internal()
[all …]
/openbmc/qemu/target/riscv/
H A Dcpu_helper.c349 unsigned int prio, best_prio = UINT_MAX; in riscv_cpu_pending_to_irq() local
372 if ((pending & 0x1) && (prio <= best_prio)) { in riscv_cpu_pending_to_irq()
374 best_prio = prio; in riscv_cpu_pending_to_irq()