Searched refs:best_irq (Results 1 – 3 of 3) sorted by relevance
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()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() local191 if (best_irq != 1023) { in gic_update_internal()201 s->current_pending[cpu_iface] = best_irq; in gic_update_internal()207 best_irq, cpu_iface); in gic_update_internal()[all …]
439 uint32_t best_irq, best_iprio; in riscv_aplic_idc_topi() local447 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()
348 int irq, best_irq = RISCV_EXCP_NONE; in riscv_cpu_pending_to_irq() local373 best_irq = irq; in riscv_cpu_pending_to_irq()380 return best_irq; in riscv_cpu_pending_to_irq()