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