Searched refs:gp_offset (Results 1 – 1 of 1) sorted by relevance
103 unsigned int i, top_gp, gp_offset, en_reg, int_regs, shift; in pmic_irq_sync_unlock() local118 gp_offset = i - irqd->pmic_ints[top_gp].hwirq_base; in pmic_irq_sync_unlock()119 int_regs = gp_offset / MTK_PMIC_REG_WIDTH; in pmic_irq_sync_unlock()120 shift = gp_offset % MTK_PMIC_REG_WIDTH; in pmic_irq_sync_unlock()