/linux-master/drivers/iio/accel/ |
H A D | bmc150-accel-core.c | 1653 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 D | max77686-regulator.c | 38 * 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 D | lp3971.c | 242 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 ®ulators[reg->id], &config);
|
H A D | lp3972.c | 395 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 ®ulators[reg->id], &config);
|
H A D | s2mps11.c | 24 /* 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 D | s2mpa01.c | 232 .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 ®ulators[i], &config);
|
H A D | tps65910-regulator.c | 1003 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 D | rk808-regulator.c | 82 .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 D | max5970-regulator.c | 3 * 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 ®ulators[i], &config); 613 regulators[i].name);
|
H A D | pfuze100-regulator.c | 78 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 D | palmas-regulator.c | 689 * 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 D | da9052-regulator.c | 291 .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 D | cyttsp_core.h | 125 struct regulator_bulk_data regulators[2]; member in struct:cyttsp
|
H A D | atmel_mxt_ts.c | 316 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 D | opp.h | 188 * @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 D | mc13xxx-core.c | 470 &pdata->regulators, sizeof(pdata->regulators));
|
/linux-master/drivers/misc/lis3lv02d/ |
H A D | lis3lv02d.h | 286 struct regulator_bulk_data regulators[2]; member in struct:lis3lv02d
|
/linux-master/drivers/pinctrl/sunxi/ |
H A D | pinctrl-sunxi.h | 167 struct sunxi_pinctrl_regulator regulators[9]; member in struct:sunxi_pinctrl
|
/linux-master/drivers/media/i2c/ccs/ |
H A D | ccs.h | 211 struct regulator_bulk_data *regulators; member in struct:ccs_sensor
|
/linux-master/drivers/gpu/drm/panfrost/ |
H A D | panfrost_device.h | 38 * @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 D | 88pm80x.h | 309 * 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 D | bmg160_core.c | 1072 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 D | camss-csid.c | 657 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 D | ltc2688.c | 948 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 D | pm_opp.h | 51 struct regulator **regulators, unsigned int count); 656 /* config-regulators helpers */
|