Lines Matching refs:gpp

202 	unsigned int gpp, offset, gpp_offset;  in intel_pad_owned_by_host()  local
216 gpp = PADOWN_GPP(gpp_offset); in intel_pad_owned_by_host()
217 offset = community->padown_offset + padgrp->padown_num * 4 + gpp * 4; in intel_pad_owned_by_host()
1131 unsigned int gpp, gpp_offset; in intel_gpio_irq_ack() local
1134 gpp = padgrp->reg_num; in intel_gpio_irq_ack()
1137 is = community->regs + community->is_offset + gpp * 4; in intel_gpio_irq_ack()
1154 unsigned int gpp, gpp_offset; in intel_gpio_irq_mask_unmask() local
1158 gpp = padgrp->reg_num; in intel_gpio_irq_mask_unmask()
1161 reg = community->regs + community->ie_offset + gpp * 4; in intel_gpio_irq_mask_unmask()
1162 is = community->regs + community->is_offset + gpp * 4; in intel_gpio_irq_mask_unmask()
1291 unsigned int gpp, gpp_offset; in intel_gpio_irq() local
1294 gpp = padgrp->reg_num; in intel_gpio_irq()
1296 reg = community->regs + community->ie_offset + gpp * 4; in intel_gpio_irq()
1297 is = community->regs + community->is_offset + gpp * 4; in intel_gpio_irq()
1322 unsigned int gpp; in intel_gpio_irq_init() local
1324 for (gpp = 0; gpp < community->ngpps; gpp++) { in intel_gpio_irq_init()
1325 reg = community->regs + community->ie_offset + gpp * 4; in intel_gpio_irq_init()
1326 is = community->regs + community->is_offset + gpp * 4; in intel_gpio_irq_init()
1817 unsigned int gpp; in intel_pinctrl_suspend_noirq() local
1820 for (gpp = 0; gpp < community->ngpps; gpp++) in intel_pinctrl_suspend_noirq()
1821 communities[i].intmask[gpp] = readl(base + gpp * 4); in intel_pinctrl_suspend_noirq()
1824 for (gpp = 0; gpp < community->ngpps; gpp++) in intel_pinctrl_suspend_noirq()
1825 communities[i].hostown[gpp] = readl(base + gpp * 4); in intel_pinctrl_suspend_noirq()
1846 void __iomem *base, unsigned int gpp, u32 saved) in intel_restore_hostown() argument
1849 const struct intel_padgroup *padgrp = &community->gpps[gpp]; in intel_restore_hostown()
1861 if (!intel_gpio_update_reg(base + gpp * 4, requested, saved)) in intel_restore_hostown()
1864 dev_dbg(dev, "restored hostown %u/%u %#08x\n", c, gpp, readl(base + gpp * 4)); in intel_restore_hostown()
1868 void __iomem *base, unsigned int gpp, u32 saved) in intel_restore_intmask() argument
1872 if (!intel_gpio_update_reg(base + gpp * 4, ~0U, saved)) in intel_restore_intmask()
1875 dev_dbg(dev, "restored mask %u/%u %#08x\n", c, gpp, readl(base + gpp * 4)); in intel_restore_intmask()
1927 unsigned int gpp; in intel_pinctrl_resume_noirq() local
1930 for (gpp = 0; gpp < community->ngpps; gpp++) in intel_pinctrl_resume_noirq()
1931 intel_restore_intmask(pctrl, i, base, gpp, communities[i].intmask[gpp]); in intel_pinctrl_resume_noirq()
1934 for (gpp = 0; gpp < community->ngpps; gpp++) in intel_pinctrl_resume_noirq()
1935 intel_restore_hostown(pctrl, i, base, gpp, communities[i].hostown[gpp]); in intel_pinctrl_resume_noirq()