Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/mfd/
Dmt6358-irq.c102 unsigned int i, top_gp, gp_offset, en_reg, int_regs, shift; in pmic_irq_sync_unlock() local
111 top_gp = 0; in pmic_irq_sync_unlock()
112 while ((top_gp + 1) < irqd->num_top && in pmic_irq_sync_unlock()
113 i >= irqd->pmic_ints[top_gp + 1].hwirq_base) in pmic_irq_sync_unlock()
114 top_gp++; in pmic_irq_sync_unlock()
117 gp_offset = i - irqd->pmic_ints[top_gp].hwirq_base; in pmic_irq_sync_unlock()
120 en_reg = irqd->pmic_ints[top_gp].en_reg + in pmic_irq_sync_unlock()
121 (irqd->pmic_ints[top_gp].en_reg_shift * int_regs); in pmic_irq_sync_unlock()
141 unsigned int top_gp) in mt6358_irq_sp_handler() argument
148 for (i = 0; i < irqd->pmic_ints[top_gp].num_int_regs; i++) { in mt6358_irq_sp_handler()
[all …]