Lines Matching refs:base
108 #define padgroup_offset(g, p) ((p) - (g)->base)
136 if (pin >= padgrp->base && pin < padgrp->base + padgrp->size)
911 pin = pgrp->base + offset - pgrp->gpio_base;
947 return pin - padgrp->base + padgrp->gpio_base;
1029 return pinctrl_gpio_direction_input(chip->base + offset);
1036 return pinctrl_gpio_direction_output(chip->base + offset);
1267 void __iomem *base;
1271 base = community->regs;
1275 writel(0, base + community->ie_offset + gpp * 4);
1276 writel(0xffff, base + community->is_offset + gpp * 4);
1306 gpp->gpio_base, gpp->base,
1366 pctrl->chip.base = -1;
1418 /* Special treatment for GPIO base */
1421 gpps[i].gpio_base = gpps[i].base;
1460 gpps[i].base = community->pin_base + i * gpp_size;
1464 gpps[i].gpio_base = gpps[i].base;
1792 void __iomem *base;
1795 base = community->regs + community->ie_offset;
1797 communities[i].intmask[gpp] = readl(base + gpp * 4);
1799 base = community->regs + community->hostown_offset;
1801 communities[i].hostown[gpp] = readl(base + gpp * 4);
1823 void __iomem *base, unsigned int gpp, u32 saved)
1838 if (!intel_gpio_update_reg(base + gpp * 4, requested, saved))
1841 dev_dbg(dev, "restored hostown %u/%u %#08x\n", c, gpp, readl(base + gpp * 4));
1845 void __iomem *base, unsigned int gpp, u32 saved)
1849 if (!intel_gpio_update_reg(base + gpp * 4, ~0U, saved))
1852 dev_dbg(dev, "restored mask %u/%u %#08x\n", c, gpp, readl(base + gpp * 4));
1903 void __iomem *base;
1906 base = community->regs + community->ie_offset;
1908 intel_restore_intmask(pctrl, i, base, gpp, communities[i].intmask[gpp]);
1910 base = community->regs + community->hostown_offset;
1912 intel_restore_hostown(pctrl, i, base, gpp, communities[i].hostown[gpp]);