Home
last modified time | relevance | path

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

12345678910>>...30

/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()
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 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 Dtps65217.txt1 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 Dtps65023.txt1 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 Dmt6311-regulator.txt6 - 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 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 Dda9211.txt9 - regulators: A node that houses a sub-node for each regulator within the
12 standard binding for regulators; see regulator.txt.
27 regulators {
47 regulators {
73 regulators {
91 regulators {
109 regulators {
135 regulators {
161 regulators {
187 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.txt4 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 {
/linux/drivers/regulator/
H A DKconfig9 and current regulators within the Linux kernel. It's intended to
16 to both voltage regulators (where voltage output is controllable) and
21 regulators.
36 This driver provides support for fixed voltage regulators,
38 managed regulators and simple non-configurable regulators.
70 tristate "Marvell 88PG86X voltage regulators"
74 This driver supports Marvell 88PG867 and 88PG868 voltage regulators.
79 tristate "Marvell 88PM800 Power regulators"
89 tristate "Marvell 88PM8607 Power regulators"
95 tristate "Marvell 88PM886 voltage regulators"
[all …]
H A Ds5m8767.c385 static struct regulator_desc regulators[] = { variable
558 pdata->regulators = rdata; in s5m8767_pmic_dt_parse_pdata()
561 for (i = 0; i < ARRAY_SIZE(regulators); i++) in s5m8767_pmic_dt_parse_pdata()
562 if (of_node_name_eq(reg_np, regulators[i].name)) in s5m8767_pmic_dt_parse_pdata()
565 if (i == ARRAY_SIZE(regulators)) { in s5m8767_pmic_dt_parse_pdata()
588 &regulators[i]); in s5m8767_pmic_dt_parse_pdata()
916 unsigned int id = pdata->regulators[i].id; in s5m8767_pmic_probe()
920 BUILD_BUG_ON(ARRAY_SIZE(regulators) != ARRAY_SIZE(reg_voltage_map)); in s5m8767_pmic_probe()
921 if (WARN_ON_ONCE(id >= ARRAY_SIZE(regulators))) in s5m8767_pmic_probe()
926 regulators[id].n_voltages = in s5m8767_pmic_probe()
[all …]
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 Daxp20x-regulator.c1396 struct device_node *np, *regulators; in axp20x_regulator_parse_dt() local
1404 regulators = of_get_child_by_name(np, "regulators"); in axp20x_regulator_parse_dt()
1405 if (!regulators) { in axp20x_regulator_parse_dt()
1408 of_property_read_u32(regulators, "x-powers,dcdc-freq", &dcdcfreq); in axp20x_regulator_parse_dt()
1413 of_node_put(regulators); in axp20x_regulator_parse_dt()
1563 const struct regulator_desc *regulators; in axp20x_regulator_probe() local
1579 regulators = axp20x_regulators; in axp20x_regulator_probe()
1584 regulators = axp22x_regulators; in axp20x_regulator_probe()
1591 regulators = axp313a_regulators; in axp20x_regulator_probe()
1595 regulators = axp717_regulators; in axp20x_regulator_probe()
[all …]
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 Dmax8998.c513 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 &regulators[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 …]
/linux/drivers/input/touchscreen/
H A Dnovatek-nvt-ts.c60 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 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()
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()
/linux/drivers/misc/lis3lv02d/
H A Dlis3lv02d_i2c.c35 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 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()
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/gpu/drm/panel/
H A Dpanel-samsung-s6d27a1.c47 struct regulator_bulk_data regulators[2]; member
104 ret = regulator_bulk_enable(ARRAY_SIZE(ctx->regulators), in s6d27a1_power_on()
105 ctx->regulators); in s6d27a1_power_on()
167 return regulator_bulk_disable(ARRAY_SIZE(ctx->regulators), in s6d27a1_power_off()
168 ctx->regulators); in s6d27a1_power_off()
260 ctx->regulators[0].supply = "vci"; in s6d27a1_probe()
261 ctx->regulators[1].supply = "vccio"; in s6d27a1_probe()
263 ARRAY_SIZE(ctx->regulators), in s6d27a1_probe()
264 ctx->regulators); in s6d27a1_probe()
H A Dpanel-samsung-db7430.c62 struct regulator_bulk_data regulators[2]; member
95 ret = regulator_bulk_enable(ARRAY_SIZE(db->regulators), in db7430_power_on()
96 db->regulators); in db7430_power_on()
168 return regulator_bulk_disable(ARRAY_SIZE(db->regulators), in db7430_power_off()
169 db->regulators); in db7430_power_off()
279 db->regulators[0].supply = "vci"; in db7430_probe()
280 db->regulators[1].supply = "vccio"; in db7430_probe()
282 ARRAY_SIZE(db->regulators), in db7430_probe()
283 db->regulators); in db7430_probe()
H A Dpanel-widechips-ws2401.c75 struct regulator_bulk_data regulators[2]; member
134 ret = regulator_bulk_enable(ARRAY_SIZE(ws->regulators), in ws2401_power_on()
135 ws->regulators); in ws2401_power_on()
227 return regulator_bulk_disable(ARRAY_SIZE(ws->regulators), in ws2401_power_off()
228 ws->regulators); in ws2401_power_off()
359 ws->regulators[0].supply = "vci"; in ws2401_probe()
360 ws->regulators[1].supply = "vccio"; in ws2401_probe()
362 ARRAY_SIZE(ws->regulators), in ws2401_probe()
363 ws->regulators); in ws2401_probe()
/linux/drivers/leds/rgb/
H A Dleds-ktd202x.c98 struct regulator_bulk_data regulators[2]; member
115 ret = regulator_bulk_disable(ARRAY_SIZE(chip->regulators), chip->regulators); in ktd202x_chip_disable()
132 ret = regulator_bulk_enable(ARRAY_SIZE(chip->regulators), chip->regulators); in ktd202x_chip_enable()
563 chip->regulators[0].supply = "vin"; in ktd202x_probe()
564 chip->regulators[1].supply = "vio"; in ktd202x_probe()
565 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(chip->regulators), chip->regulators); in ktd202x_probe()
571 ret = regulator_bulk_enable(ARRAY_SIZE(chip->regulators), chip->regulators); in ktd202x_probe()
579 regulator_bulk_disable(ARRAY_SIZE(chip->regulators), chip->regulators); in ktd202x_probe()
583 ret = regulator_bulk_disable(ARRAY_SIZE(chip->regulators), chip->regulators); in ktd202x_probe()
/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 {

12345678910>>...30