/linux-master/include/linux/ |
H A D | pm_opp.h | 51 struct regulator **regulators, unsigned int count); 656 /* config-regulators helpers */
|
/linux-master/drivers/regulator/ |
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 | axp20x-regulator.c | 2 * 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 D | max8997-regulator.c | 836 static struct regulator_desc regulators[] = { variable in typeref:struct:regulator_desc 889 regulators_np = of_get_child_by_name(pmic_np, "regulators"); 891 dev_err(&pdev->dev, "could not find regulators sub-node\n"); 895 /* count the number of regulators to be supported in pmic */ 906 pdata->regulators = rdata; 908 for (i = 0; i < ARRAY_SIZE(regulators); i++) 909 if (of_node_name_eq(reg_np, regulators[i].name)) 912 if (i == ARRAY_SIZE(regulators)) { 921 ®ulators[i]); 1126 int id = pdata->regulators[ [all...] |
H A D | max8998.c | 513 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 ®ulators[i]); 583 pdata->num_regulators = rdata - pdata->regulators; [all...] |
H A D | lp87565-regulator.c | 34 .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, ®ulators[i].desc,
|
H A D | lp873x-regulator.c | 23 .regulators_node = of_match_ptr("regulators"),\ 48 static const struct lp873x_regulator regulators[]; variable in typeref:struct:lp873x_regulator 95 ret = regmap_update_bits(lp873->regmap, regulators[id].ctrl2_reg, 134 static const struct lp873x_regulator regulators[] = { variable in typeref:struct:lp873x_regulator 169 for (i = 0; i < ARRAY_SIZE(regulators); i++) { 170 rdev = devm_regulator_register(&pdev->dev, ®ulators[i].desc,
|
H A D | da9055-regulator.c | 335 .regulators_node = of_match_ptr("regulators"),\ 365 .regulators_node = of_match_ptr("regulators"),\ 533 config.init_data = pdata->regulators[pdev->id];
|
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"),\ 172 .regulators_node = of_match_ptr("regulators"), \ 962 .regulators_node = of_match_ptr("regulators"), 978 .regulators_node = of_match_ptr("regulators"), 994 .regulators_node = of_match_ptr("regulators"), 1130 .regulators_node = of_match_ptr("regulators"), 1150 .regulators_node = of_match_ptr("regulators"), 1170 .regulators_node = of_match_ptr("regulators"), 1669 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);
|
/linux-master/drivers/of/ |
H A D | property.c | 1257 DEFINE_SUFFIX_PROP(regulators, "-supply", NULL)
|
/linux-master/drivers/iio/imu/st_lsm6dsx/ |
H A D | st_lsm6dsx_core.c | 2635 /* vdd-vddio power regulators */ 2636 static const char * const regulators[] = { "vdd", "vddio" }; local 2639 err = devm_regulator_bulk_get_enable(dev, ARRAY_SIZE(regulators), 2640 regulators); 2642 return dev_err_probe(dev, err, "failed to enable regulators\n");
|
/linux-master/drivers/iio/adc/ |
H A D | ad4130.c | 266 struct regulator_bulk_data regulators[4]; member in struct:ad4130_state 1384 return regulator_get_voltage(st->regulators[2].consumer); 1386 return regulator_get_voltage(st->regulators[3].consumer); 1388 return regulator_get_voltage(st->regulators[0].consumer); 1679 avdd_uv = regulator_get_voltage(st->regulators[0].consumer); 1935 regulator_bulk_disable(ARRAY_SIZE(st->regulators), st->regulators); 1976 st->regulators[0].supply = "avdd"; 1977 st->regulators[1].supply = "iovdd"; 1978 st->regulators[ [all...] |
/linux-master/drivers/media/i2c/ |
H A D | mt9p031.c | 130 struct regulator_bulk_data regulators[3]; member in struct:mt9p031 320 ret = regulator_bulk_enable(ARRAY_SIZE(mt9p031->regulators), 321 mt9p031->regulators); 329 regulator_bulk_disable(ARRAY_SIZE(mt9p031->regulators), 330 mt9p031->regulators); 356 regulator_bulk_disable(ARRAY_SIZE(mt9p031->regulators), 357 mt9p031->regulators); 1132 mt9p031->regulators[0].supply = "vdd"; 1133 mt9p031->regulators[1].supply = "vdd_io"; 1134 mt9p031->regulators[ [all...] |
/linux-master/include/linux/mfd/ |
H A D | max8997.h | 167 struct max8997_regulator_data *regulators; member in struct:max8997_platform_data
|
H A D | max8998.h | 59 * @regulators: array of defined regulators 60 * @num_regulators: number of regulators used 84 struct max8998_regulator_data *regulators; member in struct:max8998_platform_data
|
/linux-master/include/linux/mfd/da9055/ |
H A D | pdata.h | 22 struct regulator_init_data *regulators[DA9055_MAX_REGULATORS]; member in struct:da9055_pdata
|
/linux-master/drivers/video/fbdev/ |
H A D | simplefb.c | 90 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/opp/ |
H A D | core.c | 316 if (!opp_table->regulators) 349 reg = opp_table->regulators[i]; 1008 struct regulator **regulators, unsigned int count) 1010 struct regulator *reg = regulators[0]; 1015 dev_err(dev, "multiple regulators are not supported\n"); 1025 * some boot-enabled regulators. 1171 if (opp_table->regulators) 1172 regulator_disable(opp_table->regulators[0]); 1235 opp_table->regulators, 1255 opp_table->regulators, 1006 _opp_config_regulator_single(struct device *dev, struct dev_pm_opp *old_opp, struct dev_pm_opp *new_opp, struct regulator **regulators, unsigned int count) argument [all...] |
/linux-master/drivers/mfd/ |
H A D | rohm-bd9576.c | 138 struct mfd_cell *regulators; local 140 regulators = &bd9576_mfd_cells[BD957X_REGULATOR_CELL]; 141 regulators->resources = bd9576_regulator_irqs; 142 regulators->num_resources = ARRAY_SIZE(bd9576_regulator_irqs);
|
H A D | mc13xxx-core.c | 470 &pdata->regulators, sizeof(pdata->regulators));
|
/linux-master/drivers/media/i2c/ccs/ |
H A D | ccs-core.c | 1557 sensor->regulators); 1685 sensor->regulators); 1712 sensor->regulators); 3233 sensor->regulators = devm_kcalloc(&client->dev, 3235 sizeof(*sensor->regulators), 3237 if (!sensor->regulators) 3241 sensor->regulators[i].supply = ccs_regulators[i]; 3244 sensor->regulators); 3246 dev_err(&client->dev, "could not get regulators\n");
|
/linux-master/drivers/leds/ |
H A D | leds-aw2013.c | 65 struct regulator_bulk_data regulators[2]; member in struct:aw2013 109 ret = regulator_bulk_disable(ARRAY_SIZE(chip->regulators), 110 chip->regulators); 113 "Failed to disable regulators: %d\n", ret); 127 ret = regulator_bulk_enable(ARRAY_SIZE(chip->regulators), 128 chip->regulators); 131 "Failed to enable regulators: %d\n", ret); 353 chip->regulators[0].supply = "vcc"; 354 chip->regulators[1].supply = "vio"; 356 ARRAY_SIZE(chip->regulators), [all...] |
/linux-master/drivers/misc/lis3lv02d/ |
H A D | lis3lv02d_i2c.c | 35 ret = regulator_bulk_disable(ARRAY_SIZE(lis3->regulators), 36 lis3->regulators); 38 ret = regulator_bulk_enable(ARRAY_SIZE(lis3->regulators), 39 lis3->regulators); 140 lis3_dev.regulators[0].supply = reg_vdd; 141 lis3_dev.regulators[1].supply = reg_vdd_io; 143 ARRAY_SIZE(lis3_dev.regulators), 144 lis3_dev.regulators); 172 regulator_bulk_free(ARRAY_SIZE(lis3_dev.regulators), 173 lis3_dev.regulators); [all...] |
/linux-master/drivers/input/touchscreen/ |
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...] |