Home
last modified time | relevance | path

Searched refs:regulators (Results 1 – 25 of 568) sorted by relevance

12345678910>>...23

/linux/drivers/input/keyboard/
H A Dcypress-sf.c25 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()
91 dev_err(&client->dev, "Failed to get regulators: %d\n", error); in cypress_sf_probe()
123 error = regulator_bulk_enable(ARRAY_SIZE(touchkey->regulators), in cypress_sf_probe()
124 touchkey->regulators); in cypress_sf_probe()
[all...]
H A Dtm2-touchkey.c50 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 Dtps65023.txt
H A Dtps65218.txt1 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 Das3722-regulator.txt2 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 D88pm800.txt6 - 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 Dnvidia,tegra-regulators-coupling.txt
H A Dmt6380-regulator.txt
H A Dhisilicon,hi655x-regulator.txt1 Hisilicon Hi655x Voltage regulators
11 The valid names for regulators are:
20 regulators {
H A Dlm363x-regulator.txt4 LM3631 has five regulators and LM3632 supports three regulators.
37 regulators {
79 regulators {
/linux/drivers/input/touchscreen/
H A Dnovatek-nvt-ts.c58 struct regulator_bulk_data regulators[2]; member
148 error = regulator_bulk_enable(ARRAY_SIZE(data->regulators), data->regulators); in nvt_ts_start()
150 dev_err(&data->client->dev, "failed to enable regulators\n"); in nvt_ts_start()
166 regulator_bulk_disable(ARRAY_SIZE(data->regulators), data->regulators); in nvt_ts_stop()
223 data->regulators[0].supply = "vcc"; in nvt_ts_probe()
224 data->regulators[1].supply = "iovcc"; in nvt_ts_probe()
225 error = devm_regulator_bulk_get(dev, ARRAY_SIZE(data->regulators), data->regulators); in nvt_ts_probe()
[all...]
H A Dcy8ctma140.c49 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()
178 dev_err(ts->dev, "failed to enable regulators\n"); 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()
[all...]
H A Ds6sy761.c103 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/leds/
H A Dleds-aw2013.c65 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()
113 "Failed to disable regulators: %d\n", ret); in aw2013_chip_disable()
127 ret = regulator_bulk_enable(ARRAY_SIZE(chip->regulators), in aw2013_chip_enable()
128 chip->regulators); in aw2013_chip_enable()
131 "Failed to enable regulators: %d\n", ret); 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()
[all...]
/linux/drivers/regulator/
H A Dwm8400-regulator.c115 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, &regulators[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 Drn5t618-regulator.c104 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 &regulators[i], in rn5t618_regulator_probe()
134 regulators[i].name); in rn5t618_regulator_probe()
H A Dda9062-regulator.c71 /* 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; da9062_ldo_lim_event() local
923 struct da9062_regulators *regulators; da9062_regulator_probe() local
[all...]
/linux/Documentation/devicetree/bindings/mfd/
H A Dtps6507x.txt6 - 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/drivers/clk/qcom/
H A Dclk-ref.c40 ret = regulator_bulk_enable(rclk->desc.num_regulators, rclk->regulators); in qcom_clk_ref_prepare()
42 pr_err("Failed to enable regulators for %s: %d\n", in qcom_clk_ref_prepare()
53 regulator_bulk_disable(rclk->desc.num_regulators, rclk->regulators); in qcom_clk_ref_unprepare()
126 clk_ref->regulators = devm_kzalloc_objs(dev, in qcom_clk_ref_register()
127 *clk_ref->regulators, in qcom_clk_ref_register()
129 if (!clk_ref->regulators) in qcom_clk_ref_register()
133 clk_ref->regulators[i].supply = in qcom_clk_ref_register()
137 clk_ref->regulators); in qcom_clk_ref_register()
140 "Failed to get regulators for %s\n", in qcom_clk_ref_register()
/linux/arch/arm/boot/dts/qcom/
H A Dqcom-msm8660-surf.dts69 regulators-0 {
70 compatible = "qcom,rpm-pm8901-regulators";
73 regulators-1 {
74 compatible = "qcom,rpm-pm8058-regulators";
/linux/Documentation/driver-api/
H A Dregulator.rst18 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
/linux/arch/arm64/boot/dts/qcom/
H A Dipq6018-mp5496.dtsi3 * ipq6018-mp5496.dtsi describes common properties (e.g. regulators) that
26 regulators {
27 compatible = "qcom,rpm-mp5496-regulators";
/linux/Documentation/ABI/testing/
H A Dsysfs-class-regulator8 regulators which can report that input value.
34 regulators which can report that output value.
98 measured in microvolts (i.e. E-6 Volts), for regulators
113 setting measured in microamps (i.e. E-6 Amps), for regulators
128 for regulators which can report that control input value.
154 for regulators which support voltage constraints.
169 for regulators which support voltage constraints.
184 microamps, for regulators which support current constraints.
199 microamps, for regulators which support current constraints.
256 the system is suspended to memory, for voltage regulators
[all …]
/linux/Documentation/power/regulator/
H A Doverview.rst9 voltage and current regulators.
13 regulators (where voltage output is controllable) and current sinks (where
28 Most regulators can enable and disable their output while
36 regulators and often contains other subsystems.
75 A power domain may have regulators that are supplied power
76 by other regulators. i.e.::
82 This gives us two regulators and two power domains:
155 This allows regulator drivers to register their regulators and provide
167 allows the creation of a regulator tree whereby some regulators are
/linux/drivers/mfd/
H A Drohm-bd9576.c138 struct mfd_cell *regulators; in bd957x_i2c_probe() local
140 regulators = &bd9576_mfd_cells[BD957X_REGULATOR_CELL]; in bd957x_i2c_probe()
141 regulators->resources = bd9576_regulator_irqs; in bd957x_i2c_probe()
142 regulators->num_resources = ARRAY_SIZE(bd9576_regulator_irqs); in bd957x_i2c_probe()

12345678910>>...23