Searched refs:reg_gpio (Results 1 – 2 of 2) sorted by relevance
162 return !!(readl(priv->reg_gpio + reg) & BIT(bit)); in meson_gpio_get()175 clrsetbits_le32(priv->reg_gpio + reg, BIT(bit), value ? BIT(bit) : 0); in meson_gpio_set()190 val = readl(priv->reg_gpio + reg); in meson_gpio_get_direction()205 clrsetbits_le32(priv->reg_gpio + reg, BIT(bit), 1); in meson_gpio_direction_input()221 clrsetbits_le32(priv->reg_gpio + reg, BIT(bit), 0); in meson_gpio_direction_output()227 clrsetbits_le32(priv->reg_gpio + reg, BIT(bit), value ? BIT(bit) : 0); in meson_gpio_direction_output()323 priv->reg_gpio = (void __iomem *)addr; in meson_pinctrl_probe()
41 void __iomem *reg_gpio; member