lib: sbi_irqchip: Rename irq_handle() callback to process_hwirqs()

The irq_handle() callback of irqchip device is meant to process
hardware interrupt of the irqchip hence rename it accordingly.

Signed-off-by: Anup Patel <anup.patel@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260213055342.3124872-3-anup.patel@oss.qualcomm.com
Signed-off-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
Anup Patel
2026-02-13 11:23:36 +05:30
committed by Anup Patel
parent 51837c731b
commit 2110aab68f
3 changed files with 6 additions and 6 deletions

View File

@@ -23,8 +23,8 @@ struct sbi_irqchip_device {
/** Initialize per-hart state for the current hart */
int (*warm_init)(struct sbi_irqchip_device *chip);
/** Handle an IRQ from this irqchip */
int (*irq_handle)(void);
/** Process hardware interrupts from this irqchip */
int (*process_hwirqs)(void);
};
/**

View File

@@ -29,8 +29,8 @@ void sbi_irqchip_add_device(struct sbi_irqchip_device *chip)
{
sbi_list_add_tail(&chip->node, &irqchip_list);
if (chip->irq_handle)
ext_irqfn = chip->irq_handle;
if (chip->process_hwirqs)
ext_irqfn = chip->process_hwirqs;
}
int sbi_irqchip_init(struct sbi_scratch *scratch, bool cold_boot)

View File

@@ -147,7 +147,7 @@ int imsic_get_target_file(u32 hartindex)
return imsic_get_hart_file(scratch);
}
static int imsic_external_irqfn(void)
static int imsic_process_hwirqs(void)
{
ulong mirq;
@@ -348,7 +348,7 @@ int imsic_data_check(struct imsic_data *imsic)
static struct sbi_irqchip_device imsic_device = {
.warm_init = imsic_warm_irqchip_init,
.irq_handle = imsic_external_irqfn,
.process_hwirqs = imsic_process_hwirqs,
};
int imsic_cold_irqchip_init(struct imsic_data *imsic)