Searched refs:best_irq (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/hw/intc/ |
H A D | arm_gic.c | 86 int *best_irq, int *best_prio, int *group) in gic_get_best_irq() argument 91 *best_irq = 1023; in gic_get_best_irq() 100 *best_irq = irq; in gic_get_best_irq() 105 if (*best_irq < 1023) { in gic_get_best_irq() 106 *group = GIC_DIST_TEST_GROUP(*best_irq, cm); in gic_get_best_irq() 111 int *best_irq, int *best_prio, int *group) in gic_get_best_virq() argument 115 *best_irq = 1023; in gic_get_best_virq() 127 *best_irq = GICH_LR_VIRT_ID(lr_entry); in gic_get_best_virq() 166 int best_irq; in gic_update_internal() local 186 gic_get_best_virq(s, cpu, &best_irq, &best_prio, &group); in gic_update_internal() [all …]
|
H A D | riscv_aplic.c | 439 uint32_t best_irq, best_iprio; in riscv_aplic_idc_topi() local 447 best_irq = best_iprio = UINT32_MAX; in riscv_aplic_idc_topi() 466 best_irq = irq; in riscv_aplic_idc_topi() 471 if (best_irq < aplic->num_irqs && best_iprio <= aplic->iprio_mask) { in riscv_aplic_idc_topi() 472 return (best_irq << APLIC_IDC_TOPI_ID_SHIFT) | best_iprio; in riscv_aplic_idc_topi()
|
/openbmc/qemu/target/riscv/ |
H A D | cpu_helper.c | 419 int irq, best_irq = RISCV_EXCP_NONE; in riscv_cpu_pending_to_irq() local 444 best_irq = irq; in riscv_cpu_pending_to_irq() 451 return best_irq; in riscv_cpu_pending_to_irq()
|