| /linux/drivers/input/keyboard/ |
| H A D | cypress-sf.c | 25 struct regulator_bulk_data regulators[2]; member 68 regulator_bulk_disable(ARRAY_SIZE(touchkey->regulators), in cypress_sf_disable_regulators() 69 touchkey->regulators); in cypress_sf_disable_regulators() 84 touchkey->regulators[0].supply = "vdd"; in cypress_sf_probe() 85 touchkey->regulators[1].supply = "avdd"; in cypress_sf_probe() 88 ARRAY_SIZE(touchkey->regulators), in cypress_sf_probe() 89 touchkey->regulators); in cypress_sf_probe() 124 error = regulator_bulk_enable(ARRAY_SIZE(touchkey->regulators), in cypress_sf_probe() 125 touchkey->regulators); in cypress_sf_probe() 179 error = regulator_bulk_disable(ARRAY_SIZE(touchkey->regulators), in cypress_sf_suspend() [all …]
|
| H A D | tm2-touchkey.c | 50 struct regulator_bulk_data regulators[3]; member 114 error = regulator_bulk_enable(ARRAY_SIZE(touchkey->regulators), in tm2_touchkey_power_enable() 115 touchkey->regulators); in tm2_touchkey_power_enable() 129 regulator_bulk_disable(ARRAY_SIZE(touchkey->regulators), in tm2_touchkey_power_disable() 130 touchkey->regulators); in tm2_touchkey_power_disable() 205 touchkey->regulators[0].supply = "vcc"; in tm2_touchkey_probe() 206 touchkey->regulators[1].supply = "vdd"; in tm2_touchkey_probe() 207 touchkey->regulators[2].supply = "vddio"; in tm2_touchkey_probe() 209 ARRAY_SIZE(touchkey->regulators), in tm2_touchkey_probe() 210 touchkey->regulators); in tm2_touchkey_probe() [all …]
|
| /linux/Documentation/devicetree/bindings/regulator/ |
| H A D | tps65217.txt | 1 TPS65217 family of regulators 6 - regulators: list of regulators provided by this controller, must be named 8 - regulators: This is the list of child nodes that specify the regulator 9 initialization data for defined regulators. Not all regulators for the given 11 using the standard binding for regulators found at 17 The valid names for regulators are: 20 Each regulator is defined using the standard binding for regulators. 28 regulators {
|
| H A D | tps65023.txt | 1 TPS65023 family of regulators 9 - regulators: list of regulators provided by this controller, must be named 11 - regulators: This is the list of child nodes that specify the regulator 12 initialization data for defined regulators. The definition for each of 13 these nodes is defined using the standard binding for regulators found at 16 Each regulator is defined using the standard binding for regulators. 24 regulators {
|
| H A D | mt6311-regulator.txt | 6 - regulators: List of regulators provided by this controller. It is named 9 for regulators at Documentation/devicetree/bindings/regulator/regulator.txt. 11 The valid names for regulators are: 22 regulators {
|
| H A D | tps65218.txt | 1 TPS65218 family of regulators 7 - List of regulators provided by this controller, must be named 10 initialization data for defined regulators. Not all regulators for the given 12 using the standard binding for regulators found at ./regulator.txt. 14 The valid names for regulators are: 17 Each regulator is defined using the standard binding for regulators.
|
| H A D | as3722-regulator.txt | 2 Name of the regulator subnode must be "regulators". 6 The input supply of regulators are the optional properties on the 7 regulator node. The AS3722 is having 7 DCDC step-down regulators as 9 regulators are provided through following properties: 23 - regulators : Must contain a sub-node per regulator from the list below. 49 regulators {
|
| H A D | 88pm800.txt | 6 - regulators: A node that houses a sub-node for each regulator within the 10 regulators; see regulator.txt. 12 The valid names for regulators are: 23 regulators {
|
| H A D | nvidia,tegra-regulators-coupling.txt | 4 NVIDIA Tegra SoC's have a mandatory voltage-coupling between regulators. 5 Thus on Tegra20 there are 3 coupled regulators and on NVIDIA Tegra30 11 On Tegra20 SoC's there are 3 coupled regulators: CORE, RTC and CPU. 18 On Tegra30 SoC's there are 2 coupled regulators: CORE and CPU. The CORE 34 regulators {
|
| H A D | mt6380-regulator.txt | 3 All voltage regulators provided by the MT6380 PMIC are described as the 4 subnodes of the MT6380 regulators node. Each regulator is named according 6 of these nodes is defined using the standard binding for regulators at 9 The valid names for regulators are: 17 regulators {
|
| /linux/drivers/input/touchscreen/ |
| H A D | novatek-nvt-ts.c | 60 struct regulator_bulk_data regulators[2]; member 150 error = regulator_bulk_enable(ARRAY_SIZE(data->regulators), data->regulators); in nvt_ts_start() 168 regulator_bulk_disable(ARRAY_SIZE(data->regulators), data->regulators); in nvt_ts_stop() 225 data->regulators[0].supply = "vcc"; in nvt_ts_probe() 226 data->regulators[1].supply = "iovcc"; in nvt_ts_probe() 227 error = devm_regulator_bulk_get(dev, ARRAY_SIZE(data->regulators), data->regulators); in nvt_ts_probe() 233 error = regulator_bulk_enable(ARRAY_SIZE(data->regulators), data->regulators); in nvt_ts_probe() 242 regulator_bulk_disable(ARRAY_SIZE(data->regulators), data->regulators); in nvt_ts_probe() 252 regulator_bulk_disable(ARRAY_SIZE(data->regulators), data->regulators); in nvt_ts_probe()
|
| H A D | cy8ctma140.c | 49 struct regulator_bulk_data regulators[2]; member 175 error = regulator_bulk_enable(ARRAY_SIZE(ts->regulators), in cy8ctma140_power_up() 176 ts->regulators); in cy8ctma140_power_up() 189 regulator_bulk_disable(ARRAY_SIZE(ts->regulators), in cy8ctma140_power_down() 190 ts->regulators); in cy8ctma140_power_down() 257 ts->regulators[0].supply = "vcpin"; in cy8ctma140_probe() 258 ts->regulators[1].supply = "vdd"; in cy8ctma140_probe() 259 error = devm_regulator_bulk_get(dev, ARRAY_SIZE(ts->regulators), in cy8ctma140_probe() 260 ts->regulators); in cy8ctma140_probe()
|
| H A D | s6sy761.c | 103 struct regulator_bulk_data regulators[2]; member 297 ret = regulator_bulk_enable(ARRAY_SIZE(sdata->regulators), in s6sy761_power_on() 298 sdata->regulators); in s6sy761_power_on() 385 regulator_bulk_disable(ARRAY_SIZE(sdata->regulators), in s6sy761_power_off() 386 sdata->regulators); in s6sy761_power_off() 407 sdata->regulators[S6SY761_REGULATOR_VDD].supply = "vdd"; in s6sy761_probe() 408 sdata->regulators[S6SY761_REGULATOR_AVDD].supply = "avdd"; in s6sy761_probe() 410 ARRAY_SIZE(sdata->regulators), in s6sy761_probe() 411 sdata->regulators); in s6sy761_probe()
|
| /linux/drivers/misc/lis3lv02d/ |
| H A D | lis3lv02d_i2c.c | 35 ret = regulator_bulk_disable(ARRAY_SIZE(lis3->regulators), in lis3_reg_ctrl() 36 lis3->regulators); in lis3_reg_ctrl() 38 ret = regulator_bulk_enable(ARRAY_SIZE(lis3->regulators), in lis3_reg_ctrl() 39 lis3->regulators); in lis3_reg_ctrl() 140 lis3_dev.regulators[0].supply = reg_vdd; in lis3lv02d_i2c_probe() 141 lis3_dev.regulators[1].supply = reg_vdd_io; in lis3lv02d_i2c_probe() 143 ARRAY_SIZE(lis3_dev.regulators), in lis3lv02d_i2c_probe() 144 lis3_dev.regulators); in lis3lv02d_i2c_probe() 172 regulator_bulk_free(ARRAY_SIZE(lis3_dev.regulators), in lis3lv02d_i2c_probe() 173 lis3_dev.regulators); in lis3lv02d_i2c_probe() [all …]
|
| /linux/drivers/leds/ |
| H A D | leds-aw2013.c | 65 struct regulator_bulk_data regulators[2]; member 109 ret = regulator_bulk_disable(ARRAY_SIZE(chip->regulators), in aw2013_chip_disable() 110 chip->regulators); in aw2013_chip_disable() 127 ret = regulator_bulk_enable(ARRAY_SIZE(chip->regulators), in aw2013_chip_enable() 128 chip->regulators); in aw2013_chip_enable() 359 chip->regulators[0].supply = "vcc"; in aw2013_probe() 360 chip->regulators[1].supply = "vio"; in aw2013_probe() 362 ARRAY_SIZE(chip->regulators), in aw2013_probe() 363 chip->regulators); in aw2013_probe() 371 ret = regulator_bulk_enable(ARRAY_SIZE(chip->regulators), in aw2013_probe() [all …]
|
| /linux/drivers/regulator/ |
| H A D | s5m8767.c | 385 static struct regulator_desc regulators[] = { variable 522 pdata->regulators = rdata; in s5m8767_pmic_dt_parse_pdata() 525 for (i = 0; i < ARRAY_SIZE(regulators); i++) in s5m8767_pmic_dt_parse_pdata() 526 if (of_node_name_eq(reg_np, regulators[i].name)) in s5m8767_pmic_dt_parse_pdata() 529 if (i == ARRAY_SIZE(regulators)) { in s5m8767_pmic_dt_parse_pdata() 552 ®ulators[i]); in s5m8767_pmic_dt_parse_pdata() 846 unsigned int id = pdata->regulators[i].id; in s5m8767_pmic_probe() 850 BUILD_BUG_ON(ARRAY_SIZE(regulators) != ARRAY_SIZE(reg_voltage_map)); in s5m8767_pmic_probe() 851 if (WARN_ON_ONCE(id >= ARRAY_SIZE(regulators))) in s5m8767_pmic_probe() 856 regulators[id].n_voltages = in s5m8767_pmic_probe() [all …]
|
| H A D | wm8400-regulator.c | 115 static const struct regulator_desc regulators[] = { variable 204 struct wm8400 *wm8400 = container_of(pdev, struct wm8400, regulators[pdev->id]); in wm8400_regulator_probe() 213 rdev = devm_regulator_register(&pdev->dev, ®ulators[pdev->id], in wm8400_regulator_probe() 247 if (wm8400->regulators[reg].name) in wm8400_register_regulator() 252 wm8400->regulators[reg].name = "wm8400-regulator"; in wm8400_register_regulator() 253 wm8400->regulators[reg].id = reg; in wm8400_register_regulator() 254 wm8400->regulators[reg].dev.parent = dev; in wm8400_register_regulator() 255 wm8400->regulators[reg].dev.platform_data = initdata; in wm8400_register_regulator() 257 return platform_device_register(&wm8400->regulators[reg]); in wm8400_register_regulator()
|
| H A D | rn5t618-regulator.c | 104 const struct regulator_desc *regulators; in rn5t618_regulator_probe() local 110 regulators = rn5t567_regulators; in rn5t618_regulator_probe() 114 regulators = rn5t618_regulators; in rn5t618_regulator_probe() 118 regulators = rc5t619_regulators; in rn5t618_regulator_probe() 130 ®ulators[i], in rn5t618_regulator_probe() 134 regulators[i].name); in rn5t618_regulator_probe()
|
| H A D | max8998.c | 513 static const struct regulator_desc regulators[] = { variable 569 pdata->regulators = rdata; in max8998_pmic_dt_parse_pdata() 570 for (i = 0; i < ARRAY_SIZE(regulators); ++i) { in max8998_pmic_dt_parse_pdata() 572 regulators[i].name); in max8998_pmic_dt_parse_pdata() 576 rdata->id = regulators[i].id; in max8998_pmic_dt_parse_pdata() 579 ®ulators[i]); in max8998_pmic_dt_parse_pdata() 583 pdata->num_regulators = rdata - pdata->regulators; in max8998_pmic_dt_parse_pdata() 701 while (regulators[index].min_uV + in max8998_pmic_probe() 702 regulators[index].uV_step * i in max8998_pmic_probe() 720 while (regulators[index].min_uV + in max8998_pmic_probe() [all …]
|
| H A D | lp873x-regulator.c | 48 static const struct lp873x_regulator regulators[]; variable 95 ret = regmap_update_bits(lp873->regmap, regulators[id].ctrl2_reg, in lp873x_buck_set_ramp_delay() 134 static const struct lp873x_regulator regulators[] = { variable 169 for (i = 0; i < ARRAY_SIZE(regulators); i++) { in lp873x_regulator_probe() 170 rdev = devm_regulator_register(&pdev->dev, ®ulators[i].desc, in lp873x_regulator_probe()
|
| H A D | hi655x-regulator.c | 150 static const struct hi655x_regulator regulators[] = { variable 184 for (i = 0; i < ARRAY_SIZE(regulators); i++) { in hi655x_regulator_probe() 185 config.driver_data = (void *) ®ulators[i]; in hi655x_regulator_probe() 188 ®ulators[i].rdesc, in hi655x_regulator_probe() 192 regulators[i].rdesc.name); in hi655x_regulator_probe()
|
| /linux/Documentation/devicetree/bindings/mfd/ |
| H A D | tps6507x.txt | 6 - regulators: This is the list of child nodes that specify the regulator 7 initialization data for defined regulators. Not all regulators for the 9 is defined using the standard binding for regulators found at 16 These entries are required if regulators are enabled for a device. 28 - defdcdc_default: It's property of DCDC2 and DCDC3 regulators. 43 regulators {
|
| /linux/arch/arm/boot/dts/qcom/ |
| H A D | qcom-msm8660-surf.dts | 69 regulators-0 { 70 compatible = "qcom,rpm-pm8901-regulators"; 73 regulators-1 { 74 compatible = "qcom,rpm-pm8058-regulators";
|
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | hamoa-iot-som.dtsi | 24 regulators-0 { 25 compatible = "qcom,pm8550-rpmh-regulators"; 162 regulators-1 { 163 compatible = "qcom,pm8550ve-rpmh-regulators"; 201 regulators-2 { 202 compatible = "qcom,pmc8380-rpmh-regulators"; 233 regulators-3 { 234 compatible = "qcom,pmc8380-rpmh-regulators"; 256 regulators-4 { 257 compatible = "qcom,pmc8380-rpmh-regulators"; [all …]
|
| /linux/Documentation/driver-api/ |
| H A D | regulator.rst | 18 control voltage and current regulators. 22 both voltage regulators (where voltage output is controllable) and 36 Electronic device that supplies power to other devices. Most regulators 54 An IC which contains numerous regulators and often also other 64 regulators. Functions are provided to `enable <#API-regulator-enable>`__ 68 When requesting regulators consumers use symbolic names for their 79 regulators. Consumer devices use the :c:func:`regulator_enable()` and 81 regulators. Calls to the two functions must be balanced. 114 Drivers for regulator chips register the regulators with the regulator 125 This interface provides a way to define how regulators are connected to
|