regulators 292 arch/arm/mach-imx/mach-mx27_3ds.c .regulators = { regulators 293 arch/arm/mach-imx/mach-mx27_3ds.c .regulators = mx27_3ds_regulators, regulators 354 arch/arm/mach-imx/mach-mx31_3ds.c .regulators = { regulators 355 arch/arm/mach-imx/mach-mx31_3ds.c .regulators = mx31_3ds_regulators, regulators 264 arch/arm/mach-imx/mach-mx31moboard.c .regulators = { regulators 265 arch/arm/mach-imx/mach-mx31moboard.c .regulators = moboard_regulators, regulators 371 arch/arm/mach-imx/mach-mx35_3ds.c .regulators = { regulators 373 arch/arm/mach-imx/mach-mx35_3ds.c .regulators = mx35_3ds_regulators, regulators 51 drivers/input/keyboard/tm2-touchkey.c struct regulator_bulk_data regulators[2]; regulators 115 drivers/input/keyboard/tm2-touchkey.c error = regulator_bulk_enable(ARRAY_SIZE(touchkey->regulators), regulators 116 drivers/input/keyboard/tm2-touchkey.c touchkey->regulators); regulators 130 drivers/input/keyboard/tm2-touchkey.c regulator_bulk_disable(ARRAY_SIZE(touchkey->regulators), regulators 131 drivers/input/keyboard/tm2-touchkey.c touchkey->regulators); regulators 205 drivers/input/keyboard/tm2-touchkey.c touchkey->regulators[0].supply = "vcc"; regulators 206 drivers/input/keyboard/tm2-touchkey.c touchkey->regulators[1].supply = "vdd"; regulators 208 drivers/input/keyboard/tm2-touchkey.c ARRAY_SIZE(touchkey->regulators), regulators 209 drivers/input/keyboard/tm2-touchkey.c touchkey->regulators); regulators 216 drivers/input/keyboard/tm2-touchkey.c touchkey->vdd = touchkey->regulators[1].consumer; regulators 103 drivers/input/touchscreen/s6sy761.c struct regulator_bulk_data regulators[2]; regulators 300 drivers/input/touchscreen/s6sy761.c ret = regulator_bulk_enable(ARRAY_SIZE(sdata->regulators), regulators 301 drivers/input/touchscreen/s6sy761.c sdata->regulators); regulators 388 drivers/input/touchscreen/s6sy761.c regulator_bulk_disable(ARRAY_SIZE(sdata->regulators), regulators 389 drivers/input/touchscreen/s6sy761.c sdata->regulators); regulators 411 drivers/input/touchscreen/s6sy761.c sdata->regulators[S6SY761_REGULATOR_VDD].supply = "vdd"; regulators 412 drivers/input/touchscreen/s6sy761.c sdata->regulators[S6SY761_REGULATOR_AVDD].supply = "avdd"; regulators 414 drivers/input/touchscreen/s6sy761.c ARRAY_SIZE(sdata->regulators), regulators 415 drivers/input/touchscreen/s6sy761.c sdata->regulators); regulators 69 drivers/input/touchscreen/silead.c struct regulator_bulk_data regulators[2]; regulators 458 drivers/input/touchscreen/silead.c regulator_bulk_disable(ARRAY_SIZE(data->regulators), data->regulators); regulators 493 drivers/input/touchscreen/silead.c data->regulators[0].supply = "vddio"; regulators 494 drivers/input/touchscreen/silead.c data->regulators[1].supply = "avdd"; regulators 495 drivers/input/touchscreen/silead.c error = devm_regulator_bulk_get(dev, ARRAY_SIZE(data->regulators), regulators 496 drivers/input/touchscreen/silead.c data->regulators); regulators 504 drivers/input/touchscreen/silead.c error = regulator_bulk_enable(ARRAY_SIZE(data->regulators), regulators 505 drivers/input/touchscreen/silead.c data->regulators); regulators 85 drivers/input/touchscreen/stmfts.c struct regulator_bulk_data regulators[2]; regulators 528 drivers/input/touchscreen/stmfts.c err = regulator_bulk_enable(ARRAY_SIZE(sdata->regulators), regulators 529 drivers/input/touchscreen/stmfts.c sdata->regulators); regulators 594 drivers/input/touchscreen/stmfts.c regulator_bulk_disable(ARRAY_SIZE(sdata->regulators), regulators 595 drivers/input/touchscreen/stmfts.c sdata->regulators); regulators 646 drivers/input/touchscreen/stmfts.c sdata->regulators[STMFTS_REGULATOR_VDD].supply = "vdd"; regulators 647 drivers/input/touchscreen/stmfts.c sdata->regulators[STMFTS_REGULATOR_AVDD].supply = "avdd"; regulators 649 drivers/input/touchscreen/stmfts.c ARRAY_SIZE(sdata->regulators), regulators 650 drivers/input/touchscreen/stmfts.c sdata->regulators); regulators 129 drivers/media/i2c/mt9p031.c struct regulator_bulk_data regulators[3]; regulators 315 drivers/media/i2c/mt9p031.c ret = regulator_bulk_enable(ARRAY_SIZE(mt9p031->regulators), regulators 316 drivers/media/i2c/mt9p031.c mt9p031->regulators); regulators 324 drivers/media/i2c/mt9p031.c regulator_bulk_disable(ARRAY_SIZE(mt9p031->regulators), regulators 325 drivers/media/i2c/mt9p031.c mt9p031->regulators); regulators 346 drivers/media/i2c/mt9p031.c regulator_bulk_disable(ARRAY_SIZE(mt9p031->regulators), regulators 347 drivers/media/i2c/mt9p031.c mt9p031->regulators); regulators 1059 drivers/media/i2c/mt9p031.c mt9p031->regulators[0].supply = "vdd"; regulators 1060 drivers/media/i2c/mt9p031.c mt9p031->regulators[1].supply = "vdd_io"; regulators 1061 drivers/media/i2c/mt9p031.c mt9p031->regulators[2].supply = "vaa"; regulators 1063 drivers/media/i2c/mt9p031.c ret = devm_regulator_bulk_get(&client->dev, 3, mt9p031->regulators); regulators 120 drivers/media/i2c/mt9t001.c struct regulator_bulk_data regulators[2]; regulators 194 drivers/media/i2c/mt9t001.c ret = regulator_bulk_enable(ARRAY_SIZE(mt9t001->regulators), regulators 195 drivers/media/i2c/mt9t001.c mt9t001->regulators); regulators 202 drivers/media/i2c/mt9t001.c regulator_bulk_disable(ARRAY_SIZE(mt9t001->regulators), regulators 203 drivers/media/i2c/mt9t001.c mt9t001->regulators); regulators 210 drivers/media/i2c/mt9t001.c regulator_bulk_disable(ARRAY_SIZE(mt9t001->regulators), regulators 211 drivers/media/i2c/mt9t001.c mt9t001->regulators); regulators 878 drivers/media/i2c/mt9t001.c mt9t001->regulators[0].supply = "vdd"; regulators 879 drivers/media/i2c/mt9t001.c mt9t001->regulators[1].supply = "vaa"; regulators 881 drivers/media/i2c/mt9t001.c ret = devm_regulator_bulk_get(&client->dev, 2, mt9t001->regulators); regulators 468 drivers/mfd/mc13xxx-core.c &pdata->regulators, sizeof(pdata->regulators)); regulators 286 drivers/misc/lis3lv02d/lis3lv02d.h struct regulator_bulk_data regulators[2]; regulators 35 drivers/misc/lis3lv02d/lis3lv02d_i2c.c ret = regulator_bulk_disable(ARRAY_SIZE(lis3->regulators), regulators 36 drivers/misc/lis3lv02d/lis3lv02d_i2c.c lis3->regulators); regulators 38 drivers/misc/lis3lv02d/lis3lv02d_i2c.c ret = regulator_bulk_enable(ARRAY_SIZE(lis3->regulators), regulators 39 drivers/misc/lis3lv02d/lis3lv02d_i2c.c lis3->regulators); regulators 141 drivers/misc/lis3lv02d/lis3lv02d_i2c.c lis3_dev.regulators[0].supply = reg_vdd; regulators 142 drivers/misc/lis3lv02d/lis3lv02d_i2c.c lis3_dev.regulators[1].supply = reg_vdd_io; regulators 144 drivers/misc/lis3lv02d/lis3lv02d_i2c.c ARRAY_SIZE(lis3_dev.regulators), regulators 145 drivers/misc/lis3lv02d/lis3lv02d_i2c.c lis3_dev.regulators); regulators 172 drivers/misc/lis3lv02d/lis3lv02d_i2c.c regulator_bulk_free(ARRAY_SIZE(lis3_dev.regulators), regulators 173 drivers/misc/lis3lv02d/lis3lv02d_i2c.c lis3_dev.regulators); regulators 191 drivers/misc/lis3lv02d/lis3lv02d_i2c.c regulator_bulk_free(ARRAY_SIZE(lis3->regulators), regulators 192 drivers/misc/lis3lv02d/lis3lv02d_i2c.c lis3_dev.regulators); regulators 215 drivers/opp/core.c if (!opp_table->regulators) regulators 248 drivers/opp/core.c reg = opp_table->regulators[i]; regulators 674 drivers/opp/core.c struct regulator *reg = opp_table->regulators[0]; regulators 726 drivers/opp/core.c data->regulators = opp_table->regulators; regulators 882 drivers/opp/core.c } else if (opp_table->regulators) { regulators 1266 drivers/opp/core.c if (!opp_table->regulators) regulators 1270 drivers/opp/core.c reg = opp_table->regulators[i]; regulators 1550 drivers/opp/core.c if (WARN_ON(!opp_table->regulators)) regulators 1608 drivers/opp/core.c if (opp_table->regulators) regulators 1611 drivers/opp/core.c opp_table->regulators = kmalloc_array(count, regulators 1612 drivers/opp/core.c sizeof(*opp_table->regulators), regulators 1614 drivers/opp/core.c if (!opp_table->regulators) { regulators 1629 drivers/opp/core.c opp_table->regulators[i] = reg; regulators 1643 drivers/opp/core.c regulator_put(opp_table->regulators[--i]); regulators 1645 drivers/opp/core.c kfree(opp_table->regulators); regulators 1646 drivers/opp/core.c opp_table->regulators = NULL; regulators 1663 drivers/opp/core.c if (!opp_table->regulators) regulators 1670 drivers/opp/core.c regulator_put(opp_table->regulators[i]); regulators 1674 drivers/opp/core.c kfree(opp_table->regulators); regulators 1675 drivers/opp/core.c opp_table->regulators = NULL; regulators 192 drivers/opp/opp.h struct regulator **regulators; regulators 285 drivers/opp/ti-opp-supply.c struct regulator *vdd_reg = data->regulators[0]; regulators 286 drivers/opp/ti-opp-supply.c struct regulator *vbb_reg = data->regulators[1]; regulators 767 drivers/pinctrl/sunxi/pinctrl-sunxi.c struct sunxi_pinctrl_regulator *s_reg = &pctl->regulators[bank_offset]; regulators 811 drivers/pinctrl/sunxi/pinctrl-sunxi.c struct sunxi_pinctrl_regulator *s_reg = &pctl->regulators[bank_offset]; regulators 162 drivers/pinctrl/sunxi/pinctrl-sunxi.h struct sunxi_pinctrl_regulator regulators[9]; regulators 238 drivers/regulator/88pm800-regulator.c for (i = 0; i < ARRAY_SIZE(pdata->regulators); i++) { regulators 239 drivers/regulator/88pm800-regulator.c if (pdata->regulators[i]) regulators 252 drivers/regulator/88pm800-regulator.c init_data = pdata->regulators[i]; regulators 568 drivers/regulator/act8865-regulator.c if (pdata->regulators[i].id == id) regulators 569 drivers/regulator/act8865-regulator.c return &pdata->regulators[i]; regulators 657 drivers/regulator/act8865-regulator.c const struct regulator_desc *regulators; regulators 686 drivers/regulator/act8865-regulator.c regulators = act8600_regulators; regulators 693 drivers/regulator/act8865-regulator.c regulators = act8846_regulators; regulators 701 drivers/regulator/act8865-regulator.c regulators = act8865_alt_regulators; regulators 704 drivers/regulator/act8865-regulator.c regulators = act8865_regulators; regulators 740 drivers/regulator/act8865-regulator.c const struct regulator_desc *desc = ®ulators[i]; regulators 277 drivers/regulator/act8945a-regulator.c const struct regulator_desc *regulators; regulators 298 drivers/regulator/act8945a-regulator.c regulators = act8945a_alt_regulators; regulators 301 drivers/regulator/act8945a-regulator.c regulators = act8945a_regulators; regulators 309 drivers/regulator/act8945a-regulator.c rdev = devm_regulator_register(&pdev->dev, ®ulators[i], regulators 314 drivers/regulator/act8945a-regulator.c regulators[i].name); regulators 176 drivers/regulator/as3711-regulator.c struct device_node *regulators = regulators 181 drivers/regulator/as3711-regulator.c if (!regulators) { regulators 186 drivers/regulator/as3711-regulator.c ret = of_regulator_match(dev->parent, regulators, regulators 188 drivers/regulator/as3711-regulator.c of_node_put(regulators); regulators 1073 drivers/regulator/axp20x-regulator.c struct device_node *np, *regulators; regulators 1081 drivers/regulator/axp20x-regulator.c regulators = of_get_child_by_name(np, "regulators"); regulators 1082 drivers/regulator/axp20x-regulator.c if (!regulators) { regulators 1085 drivers/regulator/axp20x-regulator.c of_property_read_u32(regulators, "x-powers,dcdc-freq", &dcdcfreq); regulators 1092 drivers/regulator/axp20x-regulator.c of_node_put(regulators); regulators 1212 drivers/regulator/axp20x-regulator.c const struct regulator_desc *regulators; regulators 1227 drivers/regulator/axp20x-regulator.c regulators = axp20x_regulators; regulators 1232 drivers/regulator/axp20x-regulator.c regulators = axp22x_regulators; regulators 1238 drivers/regulator/axp20x-regulator.c regulators = axp803_regulators; regulators 1244 drivers/regulator/axp20x-regulator.c regulators = axp806_regulators; regulators 1248 drivers/regulator/axp20x-regulator.c regulators = axp809_regulators; regulators 1252 drivers/regulator/axp20x-regulator.c regulators = axp813_regulators; regulators 1267 drivers/regulator/axp20x-regulator.c const struct regulator_desc *desc = ®ulators[i]; regulators 1291 drivers/regulator/axp20x-regulator.c if ((regulators == axp22x_regulators && i == AXP22X_DC1SW) || regulators 1292 drivers/regulator/axp20x-regulator.c (regulators == axp803_regulators && i == AXP803_DC1SW) || regulators 1293 drivers/regulator/axp20x-regulator.c (regulators == axp809_regulators && i == AXP809_DC1SW)) { regulators 1299 drivers/regulator/axp20x-regulator.c *new_desc = regulators[i]; regulators 1304 drivers/regulator/axp20x-regulator.c if ((regulators == axp22x_regulators && i == AXP22X_DC5LDO) || regulators 1305 drivers/regulator/axp20x-regulator.c (regulators == axp809_regulators && i == AXP809_DC5LDO)) { regulators 1311 drivers/regulator/axp20x-regulator.c *new_desc = regulators[i]; regulators 1319 drivers/regulator/axp20x-regulator.c regulators[i].name); regulators 1336 drivers/regulator/axp20x-regulator.c if ((regulators == axp22x_regulators && i == AXP22X_DCDC1) || regulators 1337 drivers/regulator/axp20x-regulator.c (regulators == axp809_regulators && i == AXP809_DCDC1)) regulators 1342 drivers/regulator/axp20x-regulator.c if ((regulators == axp22x_regulators && i == AXP22X_DCDC5) || regulators 1343 drivers/regulator/axp20x-regulator.c (regulators == axp809_regulators && i == AXP809_DCDC5)) regulators 125 drivers/regulator/bd9571mwv-regulator.c static const struct regulator_desc regulators[] = { regulators 291 drivers/regulator/bd9571mwv-regulator.c for (i = 0; i < ARRAY_SIZE(regulators); i++) { regulators 292 drivers/regulator/bd9571mwv-regulator.c rdev = devm_regulator_register(&pdev->dev, ®ulators[i], regulators 420 drivers/regulator/da9052-regulator.c config.init_data = pdata->regulators[cell->id]; regulators 535 drivers/regulator/da9055-regulator.c config.init_data = pdata->regulators[pdev->id]; regulators 881 drivers/regulator/da9062-regulator.c struct da9062_regulators *regulators = data; regulators 882 drivers/regulator/da9062-regulator.c struct da9062 *hw = regulators->regulator[0].hw; regulators 894 drivers/regulator/da9062-regulator.c for (i = regulators->n_regulators - 1; i >= 0; i--) { regulators 895 drivers/regulator/da9062-regulator.c regl = ®ulators->regulator[i]; regulators 915 drivers/regulator/da9062-regulator.c struct da9062_regulators *regulators; regulators 937 drivers/regulator/da9062-regulator.c regulators = devm_kzalloc(&pdev->dev, struct_size(regulators, regulator, regulators 939 drivers/regulator/da9062-regulator.c if (!regulators) regulators 942 drivers/regulator/da9062-regulator.c regulators->n_regulators = max_regulators; regulators 943 drivers/regulator/da9062-regulator.c platform_set_drvdata(pdev, regulators); regulators 946 drivers/regulator/da9062-regulator.c while (n < regulators->n_regulators) { regulators 948 drivers/regulator/da9062-regulator.c regl = ®ulators->regulator[n]; regulators 1013 drivers/regulator/da9062-regulator.c regulators->irq_ldo_lim = irq; regulators 1018 drivers/regulator/da9062-regulator.c "LDO_LIM", regulators); regulators 1022 drivers/regulator/da9062-regulator.c regulators->irq_ldo_lim = -ENXIO; regulators 596 drivers/regulator/da9063-regulator.c struct da9063_regulators *regulators = data; regulators 597 drivers/regulator/da9063-regulator.c struct da9063 *hw = regulators->regulator[0].hw; regulators 605 drivers/regulator/da9063-regulator.c for (i = regulators->n_regulators - 1; i >= 0; i--) { regulators 606 drivers/regulator/da9063-regulator.c regl = ®ulators->regulator[i]; regulators 721 drivers/regulator/da9063-regulator.c struct da9063_regulators *regulators; regulators 766 drivers/regulator/da9063-regulator.c regulators = devm_kzalloc(&pdev->dev, struct_size(regulators, regulators 768 drivers/regulator/da9063-regulator.c if (!regulators) regulators 771 drivers/regulator/da9063-regulator.c regulators->n_regulators = n_regulators; regulators 772 drivers/regulator/da9063-regulator.c platform_set_drvdata(pdev, regulators); regulators 777 drivers/regulator/da9063-regulator.c while (n < regulators->n_regulators) { regulators 809 drivers/regulator/da9063-regulator.c regl = ®ulators->regulator[n]; regulators 872 drivers/regulator/da9063-regulator.c "LDO_LIM", regulators); regulators 150 drivers/regulator/hi655x-regulator.c static const struct hi655x_regulator regulators[] = { regulators 192 drivers/regulator/hi655x-regulator.c for (i = 0; i < ARRAY_SIZE(regulators); i++) { regulators 194 drivers/regulator/hi655x-regulator.c ®ulators[i].rdesc, regulators 242 drivers/regulator/lp3971.c static const struct regulator_desc regulators[] = { regulators 383 drivers/regulator/lp3971.c struct lp3971_regulator_subdev *reg = &pdata->regulators[i]; regulators 391 drivers/regulator/lp3971.c ®ulators[reg->id], &config); regulators 395 drivers/regulator/lp3972.c static const struct regulator_desc regulators[] = { regulators 477 drivers/regulator/lp3972.c struct lp3972_regulator_subdev *reg = &pdata->regulators[i]; regulators 486 drivers/regulator/lp3972.c ®ulators[reg->id], &config); regulators 55 drivers/regulator/lp873x-regulator.c static const struct lp873x_regulator regulators[]; regulators 102 drivers/regulator/lp873x-regulator.c ret = regmap_update_bits(lp873->regmap, regulators[id].ctrl2_reg, regulators 141 drivers/regulator/lp873x-regulator.c static const struct lp873x_regulator regulators[] = { regulators 176 drivers/regulator/lp873x-regulator.c for (i = 0; i < ARRAY_SIZE(regulators); i++) { regulators 177 drivers/regulator/lp873x-regulator.c rdev = devm_regulator_register(&pdev->dev, ®ulators[i].desc, regulators 47 drivers/regulator/lp87565-regulator.c static const struct lp87565_regulator regulators[]; regulators 88 drivers/regulator/lp87565-regulator.c ret = regmap_update_bits(rdev->regmap, regulators[id].ctrl2_reg, regulators 120 drivers/regulator/lp87565-regulator.c static const struct lp87565_regulator regulators[] = { regulators 190 drivers/regulator/lp87565-regulator.c rdev = devm_regulator_register(&pdev->dev, ®ulators[i].desc, regulators 80 drivers/regulator/ltc3589.c struct regulator_dev *regulators[LTC3589_NUM_REGULATORS]; regulators 361 drivers/regulator/ltc3589.c regulator_lock(ltc3589->regulators[i]); regulators 362 drivers/regulator/ltc3589.c regulator_notifier_call_chain(ltc3589->regulators[i], regulators 364 drivers/regulator/ltc3589.c regulator_unlock(ltc3589->regulators[i]); regulators 371 drivers/regulator/ltc3589.c regulator_lock(ltc3589->regulators[i]); regulators 372 drivers/regulator/ltc3589.c regulator_notifier_call_chain(ltc3589->regulators[i], regulators 374 drivers/regulator/ltc3589.c regulator_unlock(ltc3589->regulators[i]); regulators 428 drivers/regulator/ltc3589.c ltc3589->regulators[i] = devm_regulator_register(dev, desc, regulators 430 drivers/regulator/ltc3589.c if (IS_ERR(ltc3589->regulators[i])) { regulators 431 drivers/regulator/ltc3589.c ret = PTR_ERR(ltc3589->regulators[i]); regulators 70 drivers/regulator/ltc3676.c struct regulator_dev *regulators[LTC3676_NUM_REGULATORS]; regulators 280 drivers/regulator/ltc3676.c regulator_lock(ltc3676->regulators[i]); regulators 281 drivers/regulator/ltc3676.c regulator_notifier_call_chain(ltc3676->regulators[i], regulators 283 drivers/regulator/ltc3676.c regulator_unlock(ltc3676->regulators[i]); regulators 291 drivers/regulator/ltc3676.c regulator_lock(ltc3676->regulators[i]); regulators 292 drivers/regulator/ltc3676.c regulator_notifier_call_chain(ltc3676->regulators[i], regulators 294 drivers/regulator/ltc3676.c regulator_unlock(ltc3676->regulators[i]); regulators 341 drivers/regulator/ltc3676.c ltc3676->regulators[i] = devm_regulator_register(dev, desc, regulators 343 drivers/regulator/ltc3676.c if (IS_ERR(ltc3676->regulators[i])) { regulators 344 drivers/regulator/ltc3676.c ret = PTR_ERR(ltc3676->regulators[i]); regulators 213 drivers/regulator/max14577-regulator.c if (pdata && pdata->regulators) { regulators 214 drivers/regulator/max14577-regulator.c config.init_data = pdata->regulators[i].initdata; regulators 215 drivers/regulator/max14577-regulator.c config.of_node = pdata->regulators[i].of_node; regulators 466 drivers/regulator/max77686-regulator.c static const struct regulator_desc regulators[] = { regulators 526 drivers/regulator/max77686-regulator.c int id = regulators[i].id; regulators 530 drivers/regulator/max77686-regulator.c ®ulators[i], &config); regulators 232 drivers/regulator/max77693-regulator.c const struct regulator_desc *regulators; regulators 241 drivers/regulator/max77693-regulator.c regulators = max77693_supported_regulators; regulators 246 drivers/regulator/max77693-regulator.c regulators = max77843_supported_regulators; regulators 259 drivers/regulator/max77693-regulator.c regulators[i].id); regulators 262 drivers/regulator/max77693-regulator.c ®ulators[i], &config); regulators 479 drivers/regulator/max77802-regulator.c static const struct regulator_desc regulators[] = { regulators 544 drivers/regulator/max77802-regulator.c int id = regulators[i].id; regulators 548 drivers/regulator/max77802-regulator.c ret = regmap_read(iodev->regmap, regulators[i].enable_reg, &val); regulators 568 drivers/regulator/max77802-regulator.c ®ulators[i], &config); regulators 223 drivers/regulator/max8907-regulator.c struct device_node *np, *regulators; regulators 230 drivers/regulator/max8907-regulator.c regulators = of_get_child_by_name(np, "regulators"); regulators 231 drivers/regulator/max8907-regulator.c if (!regulators) { regulators 236 drivers/regulator/max8907-regulator.c ret = of_regulator_match(&pdev->dev, regulators, max8907_matches, regulators 238 drivers/regulator/max8907-regulator.c of_node_put(regulators); regulators 837 drivers/regulator/max8997-regulator.c static struct regulator_desc regulators[] = { regulators 925 drivers/regulator/max8997-regulator.c pdata->regulators = rdata; regulators 927 drivers/regulator/max8997-regulator.c for (i = 0; i < ARRAY_SIZE(regulators); i++) regulators 928 drivers/regulator/max8997-regulator.c if (of_node_name_eq(reg_np, regulators[i].name)) regulators 931 drivers/regulator/max8997-regulator.c if (i == ARRAY_SIZE(regulators)) { regulators 940 drivers/regulator/max8997-regulator.c ®ulators[i]); regulators 1166 drivers/regulator/max8997-regulator.c int id = pdata->regulators[i].id; regulators 1170 drivers/regulator/max8997-regulator.c regulators[id].n_voltages = regulators 1173 drivers/regulator/max8997-regulator.c regulators[id].volt_table = safeoutvolt; regulators 1174 drivers/regulator/max8997-regulator.c regulators[id].n_voltages = ARRAY_SIZE(safeoutvolt); regulators 1176 drivers/regulator/max8997-regulator.c regulators[id].n_voltages = 16; regulators 1180 drivers/regulator/max8997-regulator.c config.init_data = pdata->regulators[i].initdata; regulators 1182 drivers/regulator/max8997-regulator.c config.of_node = pdata->regulators[i].reg_node; regulators 1184 drivers/regulator/max8997-regulator.c rdev = devm_regulator_register(&pdev->dev, ®ulators[id], regulators 409 drivers/regulator/max8998.c static const struct regulator_desc regulators[] = { regulators 493 drivers/regulator/max8998.c pdata->regulators = rdata; regulators 494 drivers/regulator/max8998.c for (i = 0; i < ARRAY_SIZE(regulators); ++i) { regulators 496 drivers/regulator/max8998.c regulators[i].name); regulators 500 drivers/regulator/max8998.c rdata->id = regulators[i].id; regulators 503 drivers/regulator/max8998.c ®ulators[i]); regulators 507 drivers/regulator/max8998.c pdata->num_regulators = rdata - pdata->regulators; regulators 628 drivers/regulator/max8998.c while (regulators[index].min_uV + regulators 629 drivers/regulator/max8998.c regulators[index].uV_step * i regulators 658 drivers/regulator/max8998.c while (regulators[index].min_uV + regulators 659 drivers/regulator/max8998.c regulators[index].uV_step * i regulators 672 drivers/regulator/max8998.c int index = pdata->regulators[i].id - MAX8998_LDO2; regulators 675 drivers/regulator/max8998.c config.of_node = pdata->regulators[i].reg_node; regulators 676 drivers/regulator/max8998.c config.init_data = pdata->regulators[i].initdata; regulators 679 drivers/regulator/max8998.c rdev = devm_regulator_register(&pdev->dev, ®ulators[index], regulators 684 drivers/regulator/max8998.c regulators[index].name, ret); regulators 409 drivers/regulator/mc13783-regulator.c struct_size(priv, regulators, num_regulators), regulators 433 drivers/regulator/mc13783-regulator.c id = pdata->regulators[i].id; regulators 434 drivers/regulator/mc13783-regulator.c init_data = pdata->regulators[i].init_data; regulators 443 drivers/regulator/mc13783-regulator.c priv->regulators[i] = devm_regulator_register(&pdev->dev, desc, regulators 445 drivers/regulator/mc13783-regulator.c if (IS_ERR(priv->regulators[i])) { regulators 448 drivers/regulator/mc13783-regulator.c return PTR_ERR(priv->regulators[i]); regulators 547 drivers/regulator/mc13892-regulator.c struct_size(priv, regulators, num_regulators), regulators 603 drivers/regulator/mc13892-regulator.c id = pdata->regulators[i].id; regulators 604 drivers/regulator/mc13892-regulator.c init_data = pdata->regulators[i].init_data; regulators 613 drivers/regulator/mc13892-regulator.c priv->regulators[i] = devm_regulator_register(&pdev->dev, desc, regulators 615 drivers/regulator/mc13892-regulator.c if (IS_ERR(priv->regulators[i])) { regulators 618 drivers/regulator/mc13892-regulator.c return PTR_ERR(priv->regulators[i]); regulators 159 drivers/regulator/mc13xxx-regulator-core.c struct platform_device *pdev, struct mc13xxx_regulator *regulators, regulators 187 drivers/regulator/mc13xxx-regulator-core.c if (!regulators[i].desc.name) regulators 190 drivers/regulator/mc13xxx-regulator-core.c regulators[i].desc.name)) { regulators 194 drivers/regulator/mc13xxx-regulator-core.c ®ulators[i].desc); regulators 27 drivers/regulator/mc13xxx.h struct regulator_dev *regulators[]; regulators 36 drivers/regulator/mc13xxx.h struct platform_device *pdev, struct mc13xxx_regulator *regulators, regulators 45 drivers/regulator/mc13xxx.h struct platform_device *pdev, struct mc13xxx_regulator *regulators, regulators 1471 drivers/regulator/palmas-regulator.c struct device_node *regulators; regulators 1475 drivers/regulator/palmas-regulator.c regulators = of_get_child_by_name(node, "regulators"); regulators 1476 drivers/regulator/palmas-regulator.c if (!regulators) { regulators 1481 drivers/regulator/palmas-regulator.c ret = of_regulator_match(dev, regulators, ddata->palmas_matches, regulators 1483 drivers/regulator/palmas-regulator.c of_node_put(regulators); regulators 49 drivers/regulator/pcf50633-regulator.c static const struct regulator_desc regulators[] = { regulators 88 drivers/regulator/pcf50633-regulator.c rdev = devm_regulator_register(&pdev->dev, ®ulators[pdev->id], regulators 77 drivers/regulator/pfuze100-regulator.c struct regulator_dev *regulators[PFUZE100_MAX_REGULATOR]; regulators 831 drivers/regulator/pfuze100-regulator.c pfuze_chip->regulators[i] = regulators 833 drivers/regulator/pfuze100-regulator.c if (IS_ERR(pfuze_chip->regulators[i])) { regulators 836 drivers/regulator/pfuze100-regulator.c return PTR_ERR(pfuze_chip->regulators[i]); regulators 1322 drivers/regulator/rk808-regulator.c const struct regulator_desc *regulators; regulators 1338 drivers/regulator/rk808-regulator.c regulators = rk805_reg; regulators 1342 drivers/regulator/rk808-regulator.c regulators = rk808_reg; regulators 1346 drivers/regulator/rk808-regulator.c regulators = rk809_reg; regulators 1350 drivers/regulator/rk808-regulator.c regulators = rk817_reg; regulators 1354 drivers/regulator/rk808-regulator.c regulators = rk818_reg; regulators 1370 drivers/regulator/rk808-regulator.c ®ulators[i], &config); regulators 104 drivers/regulator/rn5t618-regulator.c const struct regulator_desc *regulators; regulators 110 drivers/regulator/rn5t618-regulator.c regulators = rn5t567_regulators; regulators 114 drivers/regulator/rn5t618-regulator.c regulators = rn5t618_regulators; regulators 118 drivers/regulator/rn5t618-regulator.c regulators = rc5t619_regulators; regulators 130 drivers/regulator/rn5t618-regulator.c ®ulators[i], regulators 134 drivers/regulator/rn5t618-regulator.c regulators[i].name); regulators 301 drivers/regulator/s2mpa01.c static const struct regulator_desc regulators[] = { regulators 360 drivers/regulator/s2mpa01.c config.init_data = pdata->regulators[i].initdata; regulators 363 drivers/regulator/s2mpa01.c ®ulators[i], &config); regulators 1130 drivers/regulator/s2mps11.c const struct regulator_desc *regulators; regulators 1141 drivers/regulator/s2mps11.c regulators = s2mps11_regulators; regulators 1146 drivers/regulator/s2mps11.c regulators = s2mps13_regulators; regulators 1151 drivers/regulator/s2mps11.c regulators = s2mps14_regulators; regulators 1156 drivers/regulator/s2mps11.c regulators = s2mps15_regulators; regulators 1161 drivers/regulator/s2mps11.c regulators = s2mpu02_regulators; regulators 1191 drivers/regulator/s2mps11.c rdata[i].name = regulators[i].name; regulators 1207 drivers/regulator/s2mps11.c config.init_data = pdata->regulators[i].initdata; regulators 1208 drivers/regulator/s2mps11.c config.of_node = pdata->regulators[i].reg_node; regulators 1221 drivers/regulator/s2mps11.c ®ulators[i], &config); regulators 384 drivers/regulator/s5m8767.c static struct regulator_desc regulators[] = { regulators 556 drivers/regulator/s5m8767.c pdata->regulators = rdata; regulators 559 drivers/regulator/s5m8767.c for (i = 0; i < ARRAY_SIZE(regulators); i++) regulators 560 drivers/regulator/s5m8767.c if (of_node_name_eq(reg_np, regulators[i].name)) regulators 563 drivers/regulator/s5m8767.c if (i == ARRAY_SIZE(regulators)) { regulators 585 drivers/regulator/s5m8767.c ®ulators[i]); regulators 923 drivers/regulator/s5m8767.c int id = pdata->regulators[i].id; regulators 929 drivers/regulator/s5m8767.c regulators[id].n_voltages = regulators 931 drivers/regulator/s5m8767.c regulators[id].min_uV = desc->min; regulators 932 drivers/regulator/s5m8767.c regulators[id].uV_step = desc->step; regulators 933 drivers/regulator/s5m8767.c regulators[id].vsel_reg = regulators 936 drivers/regulator/s5m8767.c regulators[id].vsel_mask = 0x3f; regulators 938 drivers/regulator/s5m8767.c regulators[id].vsel_mask = 0xff; regulators 946 drivers/regulator/s5m8767.c regulators[id].enable_reg = enable_reg; regulators 947 drivers/regulator/s5m8767.c regulators[id].enable_mask = S5M8767_ENCTRL_MASK; regulators 948 drivers/regulator/s5m8767.c regulators[id].enable_val = enable_val; regulators 952 drivers/regulator/s5m8767.c config.init_data = pdata->regulators[i].initdata; regulators 955 drivers/regulator/s5m8767.c config.of_node = pdata->regulators[i].reg_node; regulators 957 drivers/regulator/s5m8767.c if (pdata->regulators[i].ext_control_gpiod) { regulators 960 drivers/regulator/s5m8767.c &pdata->regulators[i], &config); regulators 968 drivers/regulator/s5m8767.c rdev = devm_regulator_register(&pdev->dev, ®ulators[id], regulators 977 drivers/regulator/s5m8767.c if (pdata->regulators[i].ext_control_gpiod) { regulators 149 drivers/regulator/sc2731-regulator.c static const struct regulator_desc regulators[] = { regulators 232 drivers/regulator/sc2731-regulator.c for (i = 0; i < ARRAY_SIZE(regulators); i++) { regulators 233 drivers/regulator/sc2731-regulator.c rdev = devm_regulator_register(&pdev->dev, ®ulators[i], regulators 237 drivers/regulator/sc2731-regulator.c regulators[i].name); regulators 125 drivers/regulator/tps65086-regulator.c static struct tps65086_regulator regulators[] = { regulators 177 drivers/regulator/tps65086-regulator.c regulators[desc->id].desc.linear_ranges = regulators 179 drivers/regulator/tps65086-regulator.c regulators[desc->id].desc.n_linear_ranges = regulators 185 drivers/regulator/tps65086-regulator.c regulators[desc->id].desc.linear_ranges = regulators 187 drivers/regulator/tps65086-regulator.c regulators[desc->id].desc.n_linear_ranges = regulators 198 drivers/regulator/tps65086-regulator.c regulators[desc->id].decay_reg, regulators 199 drivers/regulator/tps65086-regulator.c regulators[desc->id].decay_mask, regulators 200 drivers/regulator/tps65086-regulator.c regulators[desc->id].decay_mask); regulators 224 drivers/regulator/tps65086-regulator.c for (i = 0; i < ARRAY_SIZE(regulators); i++) { regulators 225 drivers/regulator/tps65086-regulator.c rdev = devm_regulator_register(&pdev->dev, ®ulators[i].desc, regulators 315 drivers/regulator/tps65090-regulator.c struct device_node *regulators; regulators 330 drivers/regulator/tps65090-regulator.c regulators = of_get_child_by_name(np, "regulators"); regulators 331 drivers/regulator/tps65090-regulator.c if (!regulators) { regulators 336 drivers/regulator/tps65090-regulator.c ret = of_regulator_match(&pdev->dev, regulators, tps65090_matches, regulators 338 drivers/regulator/tps65090-regulator.c of_node_put(regulators); regulators 177 drivers/regulator/tps65217-regulator.c static const struct regulator_desc regulators[] = { regulators 247 drivers/regulator/tps65217-regulator.c rdev = devm_regulator_register(&pdev->dev, ®ulators[i], regulators 256 drivers/regulator/tps65217-regulator.c ret = tps65217_reg_read(tps, regulators[i].bypass_reg, &val); regulators 257 drivers/regulator/tps65217-regulator.c tps->strobes[i] = val & regulators[i].bypass_mask; regulators 252 drivers/regulator/tps65218-regulator.c static const struct regulator_desc regulators[] = { regulators 332 drivers/regulator/tps65218-regulator.c for (i = 0; i < ARRAY_SIZE(regulators); i++) { regulators 333 drivers/regulator/tps65218-regulator.c rdev = devm_regulator_register(&pdev->dev, ®ulators[i], regulators 341 drivers/regulator/tps65218-regulator.c ret = regmap_read(tps->regmap, regulators[i].bypass_reg, &val); regulators 345 drivers/regulator/tps65218-regulator.c tps->strobes[i] = val & regulators[i].bypass_mask; regulators 1003 drivers/regulator/tps65910-regulator.c struct device_node *np, *regulators; regulators 1014 drivers/regulator/tps65910-regulator.c regulators = of_get_child_by_name(np, "regulators"); regulators 1015 drivers/regulator/tps65910-regulator.c if (!regulators) { regulators 1030 drivers/regulator/tps65910-regulator.c of_node_put(regulators); regulators 1035 drivers/regulator/tps65910-regulator.c ret = of_regulator_match(&pdev->dev, regulators, matches, count); regulators 1036 drivers/regulator/tps65910-regulator.c of_node_put(regulators); regulators 80 drivers/regulator/tps65912-regulator.c static const struct regulator_desc regulators[] = { regulators 139 drivers/regulator/tps65912-regulator.c for (i = 0; i < ARRAY_SIZE(regulators); i++) { regulators 140 drivers/regulator/tps65912-regulator.c rdev = devm_regulator_register(&pdev->dev, ®ulators[i], regulators 115 drivers/regulator/wm8400-regulator.c static struct regulator_desc regulators[] = { regulators 204 drivers/regulator/wm8400-regulator.c struct wm8400 *wm8400 = container_of(pdev, struct wm8400, regulators[pdev->id]); regulators 213 drivers/regulator/wm8400-regulator.c rdev = devm_regulator_register(&pdev->dev, ®ulators[pdev->id], regulators 246 drivers/regulator/wm8400-regulator.c if (wm8400->regulators[reg].name) regulators 251 drivers/regulator/wm8400-regulator.c wm8400->regulators[reg].name = "wm8400-regulator"; regulators 252 drivers/regulator/wm8400-regulator.c wm8400->regulators[reg].id = reg; regulators 253 drivers/regulator/wm8400-regulator.c wm8400->regulators[reg].dev.parent = dev; regulators 254 drivers/regulator/wm8400-regulator.c wm8400->regulators[reg].dev.platform_data = initdata; regulators 256 drivers/regulator/wm8400-regulator.c return platform_device_register(&wm8400->regulators[reg]); regulators 82 drivers/staging/media/soc_camera/soc_camera.c ssdd->sd_pdata.regulators); regulators 101 drivers/staging/media/soc_camera/soc_camera.c ssdd->sd_pdata.regulators); regulators 126 drivers/staging/media/soc_camera/soc_camera.c ssdd->sd_pdata.regulators); regulators 143 drivers/staging/media/soc_camera/soc_camera.c ssdd->sd_pdata.regulators); regulators 1257 drivers/staging/media/soc_camera/soc_camera.c ssdd->sd_pdata.regulators = NULL; regulators 2105 drivers/staging/media/soc_camera/soc_camera.c ssdd->sd_pdata.regulators); regulators 182 drivers/video/fbdev/simplefb.c struct regulator **regulators; regulators 334 drivers/video/fbdev/simplefb.c par->regulators = devm_kcalloc(&pdev->dev, count, regulators 336 drivers/video/fbdev/simplefb.c if (!par->regulators) regulators 357 drivers/video/fbdev/simplefb.c par->regulators[i++] = regulator; regulators 371 drivers/video/fbdev/simplefb.c ret = regulator_enable(par->regulators[i]); regulators 376 drivers/video/fbdev/simplefb.c devm_regulator_put(par->regulators[i]); regulators 377 drivers/video/fbdev/simplefb.c par->regulators[i] = NULL; regulators 387 drivers/video/fbdev/simplefb.c if (!par->regulators || !par->regulators_enabled) regulators 391 drivers/video/fbdev/simplefb.c if (par->regulators[i]) regulators 392 drivers/video/fbdev/simplefb.c regulator_disable(par->regulators[i]); regulators 314 include/linux/mfd/88pm80x.h struct regulator_init_data *regulators[PM800_ID_RG_MAX]; regulators 23 include/linux/mfd/da9052/pdata.h struct regulator_init_data *regulators[DA9052_MAX_REGULATORS]; regulators 23 include/linux/mfd/da9055/pdata.h struct regulator_init_data *regulators[DA9055_MAX_REGULATORS]; regulators 72 include/linux/mfd/max14577.h struct max14577_regulator_platform_data *regulators; regulators 170 include/linux/mfd/max8997.h struct max8997_regulator_data *regulators; regulators 86 include/linux/mfd/max8998.h struct max8998_regulator_data *regulators; regulators 89 include/linux/mfd/mc13xxx.h struct mc13xxx_regulator_init_data *regulators; regulators 228 include/linux/mfd/mc13xxx.h struct mc13xxx_regulator_platform_data regulators; regulators 82 include/linux/mfd/samsung/core.h struct sec_regulator_data *regulators; regulators 22 include/linux/mfd/wm8400-private.h struct platform_device regulators[6]; regulators 70 include/linux/pm_opp.h struct regulator **regulators; regulators 80 include/linux/regulator/act8865.h struct act8865_regulator_data *regulators; regulators 35 include/linux/regulator/lp3971.h struct lp3971_regulator_subdev *regulators; regulators 32 include/linux/regulator/lp3972.h struct lp3972_regulator_subdev *regulators; regulators 218 include/media/soc_camera.h struct regulator_bulk_data *regulators; regulators 798 include/media/v4l2-subdev.h struct regulator_bulk_data *regulators;