Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mfd/
H A Dmt6358-irq.c102 unsigned int i, top_gp, gp_offset, en_reg, int_regs, shift; in pmic_irq_sync_unlock() local
117 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()