Home
last modified time | relevance | path

Searched refs:regulator_cfg (Results 1 – 6 of 6) sorted by relevance

/linux-5.19.10/drivers/regulator/
Drt6245-regulator.c192 struct regulator_config regulator_cfg = {}; in rt6245_probe() local
222 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, &regulator_cfg); in rt6245_probe()
Drt6160-regulator.c230 struct regulator_config regulator_cfg = {}; in rt6160_probe() local
286 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, &regulator_cfg); in rt6160_probe()
Drtq2134-regulator.c333 struct regulator_config regulator_cfg = {}; in rtq2134_probe() local
342 regulator_cfg.dev = &i2c->dev; in rtq2134_probe()
343 regulator_cfg.regmap = regmap; in rtq2134_probe()
347 &regulator_cfg); in rtq2134_probe()
/linux-5.19.10/drivers/gpu/drm/msm/dp/
Ddp_power.c31 const struct dp_reg_entry *regs = power->parser->regulator_cfg->regs; in dp_power_regulator_disable()
32 int num = power->parser->regulator_cfg->num; in dp_power_regulator_disable()
47 const struct dp_reg_entry *regs = power->parser->regulator_cfg->regs; in dp_power_regulator_enable()
48 int num = power->parser->regulator_cfg->num; in dp_power_regulator_enable()
81 const struct dp_reg_entry *regs = power->parser->regulator_cfg->regs; in dp_power_regulator_init()
83 int num = power->parser->regulator_cfg->num; in dp_power_regulator_init()
Ddp_parser.h124 const struct dp_regulator_cfg *regulator_cfg; member
Ddp_parser.c305 parser->regulator_cfg = &sdm845_dp_reg_cfg; in dp_parser_parse()