Searched refs:reg_gpio (Results 1 – 2 of 2) sorted by relevance
163 return !!(readl(priv->reg_gpio + reg) & BIT(bit)); in meson_gpio_get()176 clrsetbits_le32(priv->reg_gpio + reg, BIT(bit), value ? BIT(bit) : 0); in meson_gpio_set()191 val = readl(priv->reg_gpio + reg); in meson_gpio_get_direction()206 clrsetbits_le32(priv->reg_gpio + reg, BIT(bit), 1); in meson_gpio_direction_input()222 clrsetbits_le32(priv->reg_gpio + reg, BIT(bit), 0); in meson_gpio_direction_output()228 clrsetbits_le32(priv->reg_gpio + reg, BIT(bit), value ? BIT(bit) : 0); in meson_gpio_direction_output()324 priv->reg_gpio = (void __iomem *)addr; in meson_pinctrl_probe()
42 void __iomem *reg_gpio; member