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