Searched refs:regulator_cfg (Results 1 – 3 of 3) sorted by relevance
192 struct regulator_config regulator_cfg = {}; in rt6245_probe() local222 regulator_cfg.dev = &i2c->dev; in rt6245_probe()223 regulator_cfg.of_node = i2c->dev.of_node; in rt6245_probe()224 regulator_cfg.regmap = regmap; in rt6245_probe()225 regulator_cfg.driver_data = priv; in rt6245_probe()226 regulator_cfg.init_data = of_get_regulator_init_data(&i2c->dev, i2c->dev.of_node, in rt6245_probe()228 rdev = devm_regulator_register(&i2c->dev, &rt6245_regulator_desc, ®ulator_cfg); in rt6245_probe()
230 struct regulator_config regulator_cfg = {}; in rt6160_probe() local286 regulator_cfg.dev = &i2c->dev; in rt6160_probe()287 regulator_cfg.of_node = i2c->dev.of_node; in rt6160_probe()288 regulator_cfg.regmap = priv->regmap; in rt6160_probe()289 regulator_cfg.driver_data = priv; in rt6160_probe()290 regulator_cfg.init_data = of_get_regulator_init_data(&i2c->dev, i2c->dev.of_node, in rt6160_probe()293 rdev = devm_regulator_register(&i2c->dev, &priv->desc, ®ulator_cfg); in rt6160_probe()
333 struct regulator_config regulator_cfg = {}; in rtq2134_probe() local342 regulator_cfg.dev = &i2c->dev; in rtq2134_probe()343 regulator_cfg.regmap = regmap; in rtq2134_probe()347 ®ulator_cfg); in rtq2134_probe()
Completed in 8 milliseconds