Lines Matching refs:syscon
52 struct regmap *syscon; member
66 ret = regmap_read(priv->syscon, in syscon_gpio_get()
81 regmap_update_bits(priv->syscon, in syscon_gpio_set()
97 regmap_update_bits(priv->syscon, in syscon_gpio_dir_in()
115 regmap_update_bits(priv->syscon, in syscon_gpio_dir_out()
146 ret = regmap_write(priv->syscon, in rockchip_gpio_set()
175 priv->syscon, in keystone_gpio_set()
223 priv->syscon = syscon_regmap_lookup_by_compatible( in syscon_gpio_probe()
225 if (IS_ERR(priv->syscon)) in syscon_gpio_probe()
226 return PTR_ERR(priv->syscon); in syscon_gpio_probe()
228 priv->syscon = in syscon_gpio_probe()
230 if (IS_ERR(priv->syscon) && np->parent) in syscon_gpio_probe()
231 priv->syscon = syscon_node_to_regmap(np->parent); in syscon_gpio_probe()
232 if (IS_ERR(priv->syscon)) in syscon_gpio_probe()
233 return PTR_ERR(priv->syscon); in syscon_gpio_probe()