Searched refs:regulators (Results 26 - 50 of 107) sorted by relevance

12345

/linux-master/drivers/regulator/
H A Dmax77693-regulator.c26 * ID for MAX77843 regulators.
151 .regulators_node = of_match_ptr("regulators"), \
170 .regulators_node = of_match_ptr("regulators"),
193 .regulators_node = of_match_ptr("regulators"), \
212 .regulators_node = of_match_ptr("regulators"),
232 const struct regulator_desc *regulators; local
241 regulators = max77693_supported_regulators;
246 regulators = max77843_supported_regulators;
259 regulators[i].id);
262 &regulators[
[all...]
H A Dhi655x-regulator.c3 // Device driver for regulators in Hi655x IC
113 .regulators_node = of_match_ptr("regulators"), \
134 .regulators_node = of_match_ptr("regulators"), \
150 static const struct hi655x_regulator regulators[] = { variable in typeref:struct:hi655x_regulator
184 for (i = 0; i < ARRAY_SIZE(regulators); i++) {
185 config.driver_data = (void *) &regulators[i];
188 &regulators[i].rdesc,
192 regulators[i].rdesc.name);
H A Daxp20x-regulator.c2 * AXP20x regulators driver.
357 .regulators_node = of_match_ptr("regulators"), \
379 .regulators_node = of_match_ptr("regulators"), \
398 .regulators_node = of_match_ptr("regulators"), \
412 .regulators_node = of_match_ptr("regulators"), \
427 .regulators_node = of_match_ptr("regulators"), \
711 .regulators_node = of_match_ptr("regulators"),
1374 struct device_node *np, *regulators; local
1382 regulators = of_get_child_by_name(np, "regulators");
1532 const struct regulator_desc *regulators; local
[all...]
H A Dtps65912-regulator.c26 .regulators_node = "regulators", \
72 static const struct regulator_desc regulators[] = { variable in typeref:struct:regulator_desc
131 for (i = 0; i < ARRAY_SIZE(regulators); i++) {
132 rdev = devm_regulator_register(&pdev->dev, &regulators[i],
H A Dtps68470-regulator.c102 static const struct regulator_desc regulators[] = { variable in typeref:struct:regulator_desc
165 rdev = devm_regulator_register(dev, &regulators[i], &config);
169 regulators[i].name);
H A Dtps65219-regulator.c98 .regulators_node = of_match_ptr("regulators"), \
219 static const struct regulator_desc regulators[] = { variable in typeref:struct:regulator_desc
296 for (i = 0; i < ARRAY_SIZE(regulators); i++) {
297 if (strcmp(regulator_name, regulators[i].name) == 0) {
321 for (i = 0; i < ARRAY_SIZE(regulators); i++) {
323 rdev = devm_regulator_register(&pdev->dev, &regulators[i],
327 regulators[i].name);
H A Dpcf50633-regulator.c49 static const struct regulator_desc regulators[] = { variable in typeref:struct:regulator_desc
88 rdev = devm_regulator_register(&pdev->dev, &regulators[pdev->id],
H A Dtps65086-regulator.c33 .regulators_node = "regulators", \
57 .regulators_node = "regulators", \
115 /* Operations permitted on regulators */
307 struct tps65086_regulator *regulators = tps->reg_config->config; local
316 regulators[desc->id].desc.linear_ranges =
318 regulators[desc->id].desc.n_linear_ranges =
324 regulators[desc->id].desc.linear_ranges =
326 regulators[desc->id].desc.n_linear_ranges =
330 dev_warn(config->dev, "25mV step mode only valid for BUCK regulators\n");
337 regulators[des
[all...]
H A Dda9062-regulator.c71 /* Encapsulates all information for the regulators driver */
363 .desc.regulators_node = of_match_ptr("regulators"),
400 .desc.regulators_node = of_match_ptr("regulators"),
437 .desc.regulators_node = of_match_ptr("regulators"),
474 .desc.regulators_node = of_match_ptr("regulators"),
507 .desc.regulators_node = of_match_ptr("regulators"),
540 .desc.regulators_node = of_match_ptr("regulators"),
573 .desc.regulators_node = of_match_ptr("regulators"),
610 .desc.regulators_node = of_match_ptr("regulators"),
647 .desc.regulators_node = of_match_ptr("regulators"),
891 struct da9062_regulators *regulators = data; local
923 struct da9062_regulators *regulators; local
[all...]
H A Dmc13xxx-regulator-core.c148 parent = of_get_child_by_name(pdev->dev.parent->of_node, "regulators");
159 struct platform_device *pdev, struct mc13xxx_regulator *regulators,
170 parent = of_get_child_by_name(pdev->dev.parent->of_node, "regulators");
187 if (!regulators[i].desc.name)
190 regulators[i].desc.name)) {
194 &regulators[i].desc);
158 mc13xxx_parse_regulators_dt( struct platform_device *pdev, struct mc13xxx_regulator *regulators, int num_regulators) argument
H A Das3711-regulator.c176 struct device_node *regulators = local
177 of_get_child_by_name(dev->parent->of_node, "regulators");
181 if (!regulators) {
186 ret = of_regulator_match(dev->parent, regulators,
188 of_node_put(regulators);
H A Dsc2731-regulator.c149 static const struct regulator_desc regulators[] = { variable in typeref:struct:regulator_desc
232 for (i = 0; i < ARRAY_SIZE(regulators); i++) {
233 rdev = devm_regulator_register(&pdev->dev, &regulators[i],
237 regulators[i].name);
H A Dtps65217-regulator.c28 .regulators_node= of_match_ptr("regulators"), \
169 static const struct regulator_desc regulators[] = { variable in typeref:struct:regulator_desc
232 /* Register the regulators */
239 rdev = devm_regulator_register(&pdev->dev, &regulators[i],
248 ret = tps65217_reg_read(tps, regulators[i].bypass_reg, &val);
252 tps->strobes[i] = val & regulators[i].bypass_mask;
H A Dlp87565-regulator.c34 .regulators_node = "regulators", \
60 static const struct lp87565_regulator regulators[]; variable in typeref:struct:lp87565_regulator
101 ret = regmap_update_bits(rdev->regmap, regulators[id].ctrl2_reg,
133 static const struct lp87565_regulator regulators[] = { variable in typeref:struct:lp87565_regulator
219 rdev = devm_regulator_register(&pdev->dev, &regulators[i].desc,
H A Dmax8998.c513 static const struct regulator_desc regulators[] = { variable in typeref:struct:regulator_desc
552 regulators_np = of_get_child_by_name(pmic_np, "regulators");
554 dev_err(iodev->dev, "could not find regulators sub-node\n");
558 /* count the number of regulators to be supported in pmic */
569 pdata->regulators = rdata;
570 for (i = 0; i < ARRAY_SIZE(regulators); ++i) {
572 regulators[i].name);
576 rdata->id = regulators[i].id;
579 &regulators[i]);
583 pdata->num_regulators = rdata - pdata->regulators;
[all...]
H A Dact8945a-regulator.c240 .regulators_node = of_match_ptr("regulators"), \
277 const struct regulator_desc *regulators; local
298 regulators = act8945a_alt_regulators;
301 regulators = act8945a_regulators;
309 rdev = devm_regulator_register(&pdev->dev, &regulators[i],
314 regulators[i].name);
H A Dtps65218-regulator.c244 static const struct regulator_desc regulators[] = { variable in typeref:struct:regulator_desc
324 for (i = 0; i < ARRAY_SIZE(regulators); i++) {
325 rdev = devm_regulator_register(&pdev->dev, &regulators[i],
333 ret = regmap_read(tps->regmap, regulators[i].bypass_reg, &val);
337 tps->strobes[i] = val & regulators[i].bypass_mask;
H A Dbd9571mwv-regulator.c39 .regulators_node = "regulators", \
111 /* Operations permitted on voltage regulators */
126 static const struct regulator_desc regulators[] = { variable in typeref:struct:regulator_desc
295 for (i = 0; i < ARRAY_SIZE(regulators); i++) {
297 if (chip == ROHM_CHIP_TYPE_BD9574 && regulators[i].id != DVFS)
299 rdev = devm_regulator_register(&pdev->dev, &regulators[i],
303 regulators[i].name);
/linux-master/drivers/gpu/drm/panfrost/
H A Dpanfrost_device.c90 pfdev->regulators = devm_kcalloc(pfdev->dev, pfdev->comp->num_supplies,
91 sizeof(*pfdev->regulators),
93 if (!pfdev->regulators)
97 pfdev->regulators[i].supply = pfdev->comp->supply_names[i];
101 pfdev->regulators);
104 dev_err(pfdev->dev, "failed to get regulators: %d\n",
110 pfdev->regulators);
112 dev_err(pfdev->dev, "failed to enable regulators: %d\n", ret);
121 if (!pfdev->regulators)
124 regulator_bulk_disable(pfdev->comp->num_supplies, pfdev->regulators);
[all...]
/linux-master/drivers/iio/accel/
H A Dbmc150-accel.h60 struct regulator_bulk_data regulators[2]; member in struct:bmc150_accel_data
/linux-master/include/linux/mfd/samsung/
H A Dcore.h77 struct sec_regulator_data *regulators; member in struct:sec_platform_data
/linux-master/include/linux/mfd/
H A Dmax8997.h167 struct max8997_regulator_data *regulators; member in struct:max8997_platform_data
/linux-master/drivers/video/fbdev/
H A Dsimplefb.c90 struct regulator **regulators; member in struct:simplefb_par
337 * that any regulators needed by the display hardware that the bootloader
342 * regulators.
373 par->regulators = devm_kcalloc(&pdev->dev, count,
375 if (!par->regulators)
378 /* Get all the regulators */
396 par->regulators[i++] = regulator;
408 /* Enable all the regulators */
410 ret = regulator_enable(par->regulators[i]);
415 devm_regulator_put(par->regulators[
[all...]
/linux-master/drivers/input/touchscreen/
H A Dstmfts.c85 struct regulator_bulk_data regulators[2]; member in struct:stmfts_data
527 err = regulator_bulk_enable(ARRAY_SIZE(sdata->regulators),
528 sdata->regulators);
593 regulator_bulk_disable(ARRAY_SIZE(sdata->regulators),
594 sdata->regulators);
644 sdata->regulators[STMFTS_REGULATOR_VDD].supply = "vdd";
645 sdata->regulators[STMFTS_REGULATOR_AVDD].supply = "avdd";
647 ARRAY_SIZE(sdata->regulators),
648 sdata->regulators);
H A Dsilead.c71 struct regulator_bulk_data regulators[2]; member in struct:silead_ts_data
652 regulator_bulk_disable(ARRAY_SIZE(data->regulators), data->regulators);
687 data->regulators[0].supply = "vddio";
688 data->regulators[1].supply = "avdd";
689 error = devm_regulator_bulk_get(dev, ARRAY_SIZE(data->regulators),
690 data->regulators);
695 * Enable regulators at probe and disable them at remove, we need
698 error = regulator_bulk_enable(ARRAY_SIZE(data->regulators),
699 data->regulators);
[all...]

Completed in 391 milliseconds

12345