/linux-master/drivers/regulator/ |
H A D | max77693-regulator.c | 26 * 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 ®ulators[ [all...] |
H A D | hi655x-regulator.c | 3 // 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 *) ®ulators[i]; 188 ®ulators[i].rdesc, 192 regulators[i].rdesc.name);
|
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 | tps65912-regulator.c | 26 .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, ®ulators[i],
|
H A D | tps68470-regulator.c | 102 static const struct regulator_desc regulators[] = { variable in typeref:struct:regulator_desc 165 rdev = devm_regulator_register(dev, ®ulators[i], &config); 169 regulators[i].name);
|
H A D | tps65219-regulator.c | 98 .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, ®ulators[i], 327 regulators[i].name);
|
H A D | pcf50633-regulator.c | 49 static const struct regulator_desc regulators[] = { variable in typeref:struct:regulator_desc 88 rdev = devm_regulator_register(&pdev->dev, ®ulators[pdev->id],
|
H A D | tps65086-regulator.c | 33 .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 D | da9062-regulator.c | 71 /* 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 D | mc13xxx-regulator-core.c | 148 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 ®ulators[i].desc); 158 mc13xxx_parse_regulators_dt( struct platform_device *pdev, struct mc13xxx_regulator *regulators, int num_regulators) argument
|
H A D | as3711-regulator.c | 176 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 D | sc2731-regulator.c | 149 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, ®ulators[i], 237 regulators[i].name);
|
H A D | tps65217-regulator.c | 28 .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, ®ulators[i], 248 ret = tps65217_reg_read(tps, regulators[i].bypass_reg, &val); 252 tps->strobes[i] = val & regulators[i].bypass_mask;
|
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 | 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 | act8945a-regulator.c | 240 .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, ®ulators[i], 314 regulators[i].name);
|
H A D | tps65218-regulator.c | 244 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, ®ulators[i], 333 ret = regmap_read(tps->regmap, regulators[i].bypass_reg, &val); 337 tps->strobes[i] = val & regulators[i].bypass_mask;
|
H A D | bd9571mwv-regulator.c | 39 .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, ®ulators[i], 303 regulators[i].name);
|
/linux-master/drivers/gpu/drm/panfrost/ |
H A D | panfrost_device.c | 90 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 D | bmc150-accel.h | 60 struct regulator_bulk_data regulators[2]; member in struct:bmc150_accel_data
|
/linux-master/include/linux/mfd/samsung/ |
H A D | core.h | 77 struct sec_regulator_data *regulators; member in struct:sec_platform_data
|
/linux-master/include/linux/mfd/ |
H A D | max8997.h | 167 struct max8997_regulator_data *regulators; member in struct:max8997_platform_data
|
/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/input/touchscreen/ |
H A D | stmfts.c | 85 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 D | silead.c | 71 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...] |