Searched refs:regulators (Results 76 - 100 of 107) sorted by relevance

12345

/linux-master/drivers/iio/accel/
H A Dbmc150-accel-core.c1653 data->regulators[0].supply = "vdd";
1654 data->regulators[1].supply = "vddio";
1656 ARRAY_SIZE(data->regulators),
1657 data->regulators);
1659 return dev_err_probe(dev, ret, "failed to get regulators\n");
1661 ret = regulator_bulk_enable(ARRAY_SIZE(data->regulators),
1662 data->regulators);
1664 dev_err(dev, "failed to enable regulators: %d\n", ret);
1759 regulator_bulk_disable(ARRAY_SIZE(data->regulators),
1760 data->regulators);
[all...]
/linux-master/drivers/regulator/
H A Dmax77686-regulator.c38 * It is the same as 'off' for other regulators.
96 * Map normal mode to proper value for such regulators.
312 .regulators_node = of_match_ptr("voltage-regulators"), \
331 .regulators_node = of_match_ptr("voltage-regulators"), \
349 .regulators_node = of_match_ptr("voltage-regulators"), \
367 .regulators_node = of_match_ptr("voltage-regulators"), \
385 .regulators_node = of_match_ptr("voltage-regulators"), \
404 .regulators_node = of_match_ptr("voltage-regulators"), \
422 .regulators_node = of_match_ptr("voltage-regulators"), \
443 static const struct regulator_desc regulators[] variable in typeref:struct:regulator_desc
[all...]
H A Dlp3971.c242 static const struct regulator_desc regulators[] = { variable in typeref:struct:regulator_desc
380 /* Instantiate the regulators */
383 struct lp3971_regulator_subdev *reg = &pdata->regulators[i];
391 &regulators[reg->id], &config);
H A Dlp3972.c395 static const struct regulator_desc regulators[] = { variable in typeref:struct:regulator_desc
475 /* Instantiate the regulators */
477 struct lp3972_regulator_subdev *reg = &pdata->regulators[i];
486 &regulators[reg->id], &config);
H A Ds2mps11.c24 /* The highest number of possible regulators for supported devices. */
43 * Array (size: number of regulators) with GPIO-s for external
872 reg_np = of_get_child_by_name(pdev->dev.parent->of_node, "regulators");
874 dev_err(&pdev->dev, "could not find regulators sub-node\n");
1128 const struct regulator_desc *regulators; local
1139 regulators = s2mps11_regulators;
1144 regulators = s2mps13_regulators;
1149 regulators = s2mps14_regulators;
1154 regulators = s2mps15_regulators;
1159 regulators
[all...]
H A Ds2mpa01.c232 .regulators_node = of_match_ptr("regulators"), \
249 .regulators_node = of_match_ptr("regulators"), \
267 .regulators_node = of_match_ptr("regulators"), \
285 .regulators_node = of_match_ptr("regulators"), \
300 static const struct regulator_desc regulators[] = { variable in typeref:struct:regulator_desc
358 &regulators[i], &config);
H A Dtps65910-regulator.c1003 struct device_node *np, *regulators; local
1014 regulators = of_get_child_by_name(np, "regulators");
1015 if (!regulators) {
1030 of_node_put(regulators);
1035 ret = of_regulator_match(&pdev->dev, regulators, matches, count);
1036 of_node_put(regulators);
1153 /* Register the regulators */
H A Drk808-regulator.c82 .regulators_node = of_match_ptr("regulators"), \
106 .regulators_node = of_match_ptr("regulators"), \
135 .regulators_node = of_match_ptr("regulators"),\
177 .regulators_node = of_match_ptr("regulators"), \
1057 .regulators_node = of_match_ptr("regulators"),
1073 .regulators_node = of_match_ptr("regulators"),
1089 .regulators_node = of_match_ptr("regulators"),
1225 .regulators_node = of_match_ptr("regulators"),
1245 .regulators_node = of_match_ptr("regulators"),
1265 .regulators_node = of_match_ptr("regulators"),
1875 const struct regulator_desc *regulators; local
[all...]
H A Dmax5970-regulator.c3 * Device driver for regulators in MAX5970 and MAX5978 IC
370 .regulators_node = of_match_ptr("regulators"), \
380 static const struct regulator_desc regulators[] = { variable in typeref:struct:regulator_desc
610 &regulators[i], &config);
613 regulators[i].name);
H A Dpfuze100-regulator.c78 struct regulator_dev *regulators[PFUZE100_MAX_REGULATOR]; member in struct:pfuze_chip
522 parent = of_get_child_by_name(np, "regulators");
524 dev_err(dev, "regulators node not found\n");
732 /* use the right regulators after identify the right device */
806 * Allow SW regulators to turn off. Checking it trough a flag is
828 pfuze_chip->regulators[i] =
830 if (IS_ERR(pfuze_chip->regulators[i])) {
833 return PTR_ERR(pfuze_chip->regulators[i]);
H A Dpalmas-regulator.c689 * setup the hardware based sleep configuration of the SMPS/LDO regulators
908 /* Miss out regulators which are not available due
912 /* Register the regulators */
1025 /* Miss out regulators which are not available due
1030 /* Register the regulators */
1131 * Miss out regulators which are not available due
1192 /* Register the regulators */
1299 * Miss out regulators which are not available due
1319 /* Register the regulators */
1470 struct device_node *regulators; local
[all...]
H A Dda9052-regulator.c291 .regulators_node = of_match_ptr("regulators"),\
313 .regulators_node = of_match_ptr("regulators"),\
421 config.init_data = pdata->regulators[cell->id];
/linux-master/drivers/input/touchscreen/
H A Dcyttsp_core.h125 struct regulator_bulk_data regulators[2]; member in struct:cyttsp
H A Datmel_mxt_ts.c316 struct regulator_bulk_data regulators[2]; member in struct:mxt_data
3270 data->regulators[0].supply = "vdda";
3271 data->regulators[1].supply = "vdd";
3272 error = devm_regulator_bulk_get(&client->dev, ARRAY_SIZE(data->regulators),
3273 data->regulators);
3276 dev_err(&client->dev, "Failed to get regulators %d\n",
3308 error = regulator_bulk_enable(ARRAY_SIZE(data->regulators),
3309 data->regulators);
3311 dev_err(&client->dev, "failed to enable regulators: %d\n",
3364 regulator_bulk_disable(ARRAY_SIZE(data->regulators),
[all...]
/linux-master/drivers/opp/
H A Dopp.h188 * @regulators: Supply regulators
189 * @regulator_count: Number of power supply regulators. Its value can be -1
238 struct regulator **regulators; member in struct:opp_table
/linux-master/drivers/mfd/
H A Dmc13xxx-core.c470 &pdata->regulators, sizeof(pdata->regulators));
/linux-master/drivers/misc/lis3lv02d/
H A Dlis3lv02d.h286 struct regulator_bulk_data regulators[2]; member in struct:lis3lv02d
/linux-master/drivers/pinctrl/sunxi/
H A Dpinctrl-sunxi.h167 struct sunxi_pinctrl_regulator regulators[9]; member in struct:sunxi_pinctrl
/linux-master/drivers/media/i2c/ccs/
H A Dccs.h211 struct regulator_bulk_data *regulators; member in struct:ccs_sensor
/linux-master/drivers/gpu/drm/panfrost/
H A Dpanfrost_device.h38 * @GPU_PM_VREG_OFF: Allow turning off regulators during system suspend
110 struct regulator_bulk_data *regulators; member in struct:panfrost_device
/linux-master/include/linux/mfd/
H A D88pm80x.h309 * For the regulator not defined, set regulators[not_defined] to be
310 * NULL. num_regulators are the number of regulators supposed to be
311 * initialized. If all regulators are not defined, set num_regulators
314 struct regulator_init_data *regulators[PM800_ID_RG_MAX]; member in struct:pm80x_platform_data
/linux-master/drivers/iio/gyro/
H A Dbmg160_core.c1072 static const char * const regulators[] = { "vdd", "vddio" }; local
1086 ret = devm_regulator_bulk_get_enable(dev, ARRAY_SIZE(regulators),
1087 regulators);
1089 return dev_err_probe(dev, ret, "Failed to get regulators\n");
/linux-master/drivers/media/platform/qcom/camss/
H A Dcamss-csid.c657 for (i = 0; i < ARRAY_SIZE(res->regulators); i++) {
658 if (res->regulators[i])
672 csid->supplies[i].supply = res->regulators[i];
/linux-master/drivers/iio/dac/
H A Dltc2688.c948 static const char * const regulators[] = { "vcc", "iovcc" }; local
972 ret = devm_regulator_bulk_get_enable(dev, ARRAY_SIZE(regulators),
973 regulators);
975 return dev_err_probe(dev, ret, "Failed to enable regulators\n");
990 "Failed to enable vref regulators\n");
/linux-master/include/linux/
H A Dpm_opp.h51 struct regulator **regulators, unsigned int count);
656 /* config-regulators helpers */

Completed in 522 milliseconds

12345