Lines Matching refs:gpp

158 	unsigned int gpp, offset, gpp_offset;  in intel_pad_owned_by_host()  local
172 gpp = PADOWN_GPP(gpp_offset); in intel_pad_owned_by_host()
173 offset = community->padown_offset + padgrp->padown_num * 4 + gpp * 4; in intel_pad_owned_by_host()
1033 unsigned int gpp, gpp_offset, is_offset; in intel_gpio_irq_ack() local
1035 gpp = padgrp->reg_num; in intel_gpio_irq_ack()
1037 is_offset = community->is_offset + gpp * 4; in intel_gpio_irq_ack()
1055 unsigned int gpp, gpp_offset; in intel_gpio_irq_mask_unmask() local
1060 gpp = padgrp->reg_num; in intel_gpio_irq_mask_unmask()
1063 reg = community->regs + community->ie_offset + gpp * 4; in intel_gpio_irq_mask_unmask()
1064 is = community->regs + community->is_offset + gpp * 4; in intel_gpio_irq_mask_unmask()
1170 unsigned int gpp; in intel_gpio_community_irq_handler() local
1173 for (gpp = 0; gpp < community->ngpps; gpp++) { in intel_gpio_community_irq_handler()
1174 const struct intel_padgroup *padgrp = &community->gpps[gpp]; in intel_gpio_community_irq_handler()
1225 const struct intel_padgroup *gpp = &community->gpps[i]; in intel_gpio_add_community_ranges() local
1227 if (gpp->gpio_base == INTEL_GPIO_BASE_NOMAP) in intel_gpio_add_community_ranges()
1231 gpp->gpio_base, gpp->base, in intel_gpio_add_community_ranges()
1232 gpp->size); in intel_gpio_add_community_ranges()
1267 const struct intel_padgroup *gpp = &community->gpps[j]; in intel_gpio_ngpio() local
1269 if (gpp->gpio_base == INTEL_GPIO_BASE_NOMAP) in intel_gpio_ngpio()
1272 if (gpp->gpio_base + gpp->size > ngpio) in intel_gpio_ngpio()
1273 ngpio = gpp->gpio_base + gpp->size; in intel_gpio_ngpio()
1683 unsigned int gpp; in intel_pinctrl_suspend_noirq() local
1686 for (gpp = 0; gpp < community->ngpps; gpp++) in intel_pinctrl_suspend_noirq()
1687 communities[i].intmask[gpp] = readl(base + gpp * 4); in intel_pinctrl_suspend_noirq()
1690 for (gpp = 0; gpp < community->ngpps; gpp++) in intel_pinctrl_suspend_noirq()
1691 communities[i].hostown[gpp] = readl(base + gpp * 4); in intel_pinctrl_suspend_noirq()
1705 unsigned int gpp; in intel_gpio_irq_init() local
1710 for (gpp = 0; gpp < community->ngpps; gpp++) { in intel_gpio_irq_init()
1712 writel(0, base + community->ie_offset + gpp * 4); in intel_gpio_irq_init()
1713 writel(0xffff, base + community->is_offset + gpp * 4); in intel_gpio_irq_init()
1733 void __iomem *base, unsigned int gpp, u32 saved) in intel_restore_hostown() argument
1736 const struct intel_padgroup *padgrp = &community->gpps[gpp]; in intel_restore_hostown()
1748 if (!intel_gpio_update_reg(base + gpp * 4, requested, saved)) in intel_restore_hostown()
1751 dev_dbg(dev, "restored hostown %u/%u %#08x\n", c, gpp, readl(base + gpp * 4)); in intel_restore_hostown()
1755 void __iomem *base, unsigned int gpp, u32 saved) in intel_restore_intmask() argument
1759 if (!intel_gpio_update_reg(base + gpp * 4, ~0U, saved)) in intel_restore_intmask()
1762 dev_dbg(dev, "restored mask %u/%u %#08x\n", c, gpp, readl(base + gpp * 4)); in intel_restore_intmask()
1809 unsigned int gpp; in intel_pinctrl_resume_noirq() local
1812 for (gpp = 0; gpp < community->ngpps; gpp++) in intel_pinctrl_resume_noirq()
1813 intel_restore_intmask(pctrl, i, base, gpp, communities[i].intmask[gpp]); in intel_pinctrl_resume_noirq()
1816 for (gpp = 0; gpp < community->ngpps; gpp++) in intel_pinctrl_resume_noirq()
1817 intel_restore_hostown(pctrl, i, base, gpp, communities[i].hostown[gpp]); in intel_pinctrl_resume_noirq()