Home
last modified time | relevance | path

Searched full:buck (Results 1 – 25 of 299) sorted by relevance

12345678910>>...12

/openbmc/linux/drivers/regulator/
H A Dlp8788-buck.c3 * TI LP8788 MFD - buck regulator driver
94 /* BUCK 1 ~ 4 voltage ranges */
100 static void lp8788_buck1_set_dvs(struct lp8788_buck *buck) in lp8788_buck1_set_dvs() argument
102 struct lp8788_buck1_dvs *dvs = (struct lp8788_buck1_dvs *)buck->dvs; in lp8788_buck1_set_dvs()
113 static void lp8788_buck2_set_dvs(struct lp8788_buck *buck) in lp8788_buck2_set_dvs() argument
115 struct lp8788_buck2_dvs *dvs = (struct lp8788_buck2_dvs *)buck->dvs; in lp8788_buck2_set_dvs()
149 static void lp8788_set_dvs(struct lp8788_buck *buck, enum lp8788_buck_id id) in lp8788_set_dvs() argument
153 lp8788_buck1_set_dvs(buck); in lp8788_set_dvs()
156 lp8788_buck2_set_dvs(buck); in lp8788_set_dvs()
164 lp8788_get_buck_dvs_ctrl_mode(struct lp8788_buck *buck, enum lp8788_buck_id id) in lp8788_get_buck_dvs_ctrl_mode() argument
[all …]
H A Drtq2208-regulator.c245 /* write clear all buck irq once */ in rtq2208_init_irq_mask()
248 return dev_err_probe(rdev_map->dev, ret, "Failed to clr buck irqs\n"); in rtq2208_init_irq_mask()
255 /* unmask buck ov/uv irq */ in rtq2208_init_irq_mask()
258 return dev_err_probe(rdev_map->dev, ret, "Failed to unmask buck irqs\n"); in rtq2208_init_irq_mask()
384 RTQ2208_REGULATOR_INFO(buck-b, BUCK_RG_BASE(B)), in rtq2208_init_regulator_desc()
385 RTQ2208_REGULATOR_INFO(buck-c, BUCK_RG_BASE(C)), in rtq2208_init_regulator_desc()
386 RTQ2208_REGULATOR_INFO(buck-d, BUCK_RG_BASE(D)), in rtq2208_init_regulator_desc()
387 RTQ2208_REGULATOR_INFO(buck-a, BUCK_RG_BASE(A)), in rtq2208_init_regulator_desc()
388 RTQ2208_REGULATOR_INFO(buck-f, BUCK_RG_BASE(F)), in rtq2208_init_regulator_desc()
389 RTQ2208_REGULATOR_INFO(buck-g, BUCK_RG_BASE(G)), in rtq2208_init_regulator_desc()
[all …]
H A Dlp3971.c171 int buck = rdev_get_id(dev) - LP3971_DCDC1; in lp3971_dcdc_is_enabled() local
172 u16 mask = 1 << (buck * 2); in lp3971_dcdc_is_enabled()
182 int buck = rdev_get_id(dev) - LP3971_DCDC1; in lp3971_dcdc_enable() local
183 u16 mask = 1 << (buck * 2); in lp3971_dcdc_enable()
191 int buck = rdev_get_id(dev) - LP3971_DCDC1; in lp3971_dcdc_disable() local
192 u16 mask = 1 << (buck * 2); in lp3971_dcdc_disable()
200 int buck = rdev_get_id(dev) - LP3971_DCDC1; in lp3971_dcdc_get_voltage_sel() local
203 reg = lp3971_reg_read(lp3971, LP3971_BUCK_TARGET_VOL1_REG(buck)); in lp3971_dcdc_get_voltage_sel()
213 int buck = rdev_get_id(dev) - LP3971_DCDC1; in lp3971_dcdc_set_voltage_sel() local
216 ret = lp3971_set_bits(lp3971, LP3971_BUCK_TARGET_VOL1_REG(buck), in lp3971_dcdc_set_voltage_sel()
[all …]
H A Dlp3972.c317 int buck = rdev_get_id(dev) - LP3972_DCDC1; in lp3972_dcdc_is_enabled() local
318 u16 mask = 1 << (buck * 2); in lp3972_dcdc_is_enabled()
321 val = lp3972_reg_read(lp3972, LP3972_BUCK_VOL_ENABLE_REG(buck)); in lp3972_dcdc_is_enabled()
328 int buck = rdev_get_id(dev) - LP3972_DCDC1; in lp3972_dcdc_enable() local
329 u16 mask = 1 << (buck * 2); in lp3972_dcdc_enable()
332 val = lp3972_set_bits(lp3972, LP3972_BUCK_VOL_ENABLE_REG(buck), in lp3972_dcdc_enable()
340 int buck = rdev_get_id(dev) - LP3972_DCDC1; in lp3972_dcdc_disable() local
341 u16 mask = 1 << (buck * 2); in lp3972_dcdc_disable()
344 val = lp3972_set_bits(lp3972, LP3972_BUCK_VOL_ENABLE_REG(buck), in lp3972_dcdc_disable()
352 int buck = rdev_get_id(dev) - LP3972_DCDC1; in lp3972_dcdc_get_voltage_sel() local
[all …]
H A DKconfig210 This will enable support for the software controllable buck
222 This will enable support for the software controllable buck
234 This will enable support for the software controllable buck
329 DA9121 is a single channel dual-phase buck converter controlled
332 DA9121 Single-channel dual-phase 10A buck converter
333 DA9130 Single-channel dual-phase 10A buck converter (Automotive)
334 DA9217 Single-channel dual-phase 6A buck converter
335 DA9122 Dual-channel single-phase 5A buck converter
336 DA9131 Dual-channel single-phase 5A buck converter (Automotive)
337 DA9220 Dual-channel single-phase 3A buck converter
[all …]
/openbmc/openbmc/meta-security/recipes-scanners/buck-security/
H A Dbuck-security_0.7.bb2 DESCRIPTION = "Buck-Security is a security scanner for Debian and Ubuntu Linux. It runs a couple of…
8 SRC_URI = "http://sourceforge.net/projects/buck-security/files/buck-security/buck-security_${PV}/${…
19 install -d ${D}${bindir}/buck
20 cp -r ${S}/* ${D}${bindir}/buck
21 cp -r ${S}/buck-security ${D}${bindir}
22 …le::Spec->catfile(dirname(File::Spec->rel2abs(__FILE__)), "buck/checks")!' ${D}${bindir}/buck-secu…
23 …::Spec->catfile(dirname(File::Spec->rel2abs(__FILE__)), "buck/checks/lib")!' ${D}${bindir}/buck-se…
24 …File::Spec->catfile(dirname(File::Spec->rel2abs(__FILE__)), "buck/lib")!' ${D}${bindir}/buck-secur…
25 …= File::Spec->catfile(dirname(File::Spec->rel2abs(__FILE__)), "buck")!' ${D}${bindir}/buck-security
/openbmc/u-boot/drivers/power/regulator/
H A Ds2mps11_regulator.c22 /* BUCK : 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 */
44 static int s2mps11_buck_hex2volt(int buck, int hex) in s2mps11_buck_hex2volt() argument
51 switch (buck) { in s2mps11_buck_hex2volt()
66 if (buck == 5 && hex > S2MPS11_BUCK5_VOLT_MAX_HEX) in s2mps11_buck_hex2volt()
68 else if (buck != 5 && hex > S2MPS11_BUCK_VOLT_MAX_HEX) in s2mps11_buck_hex2volt()
77 pr_err("Value: %#x is wrong for BUCK%d", hex, buck); in s2mps11_buck_hex2volt()
81 static int s2mps11_buck_volt2hex(int buck, int uV) in s2mps11_buck_volt2hex() argument
85 switch (buck) { in s2mps11_buck_volt2hex()
101 if (buck == 5 && hex > S2MPS11_BUCK5_VOLT_MAX_HEX) in s2mps11_buck_volt2hex()
103 else if (buck != 5 && hex > S2MPS11_BUCK_VOLT_MAX_HEX) in s2mps11_buck_volt2hex()
[all …]
H A Dmax77686.c40 /* Buck: 1 */
47 /* Buck: 2,3,4 */
55 /* Buck: 5,6,7,8,9 */
69 static int max77686_buck_volt2hex(int buck, int uV) in max77686_buck_volt2hex() argument
74 switch (buck) { in max77686_buck_volt2hex()
98 pr_err("Value: %d uV is wrong for BUCK%d", uV, buck); in max77686_buck_volt2hex()
102 static int max77686_buck_hex2volt(int buck, int hex) in max77686_buck_hex2volt() argument
110 switch (buck) { in max77686_buck_hex2volt()
134 pr_err("Value: %#x is wrong for BUCK%d", hex, buck); in max77686_buck_hex2volt()
227 static int max77686_buck_hex2mode(int buck, int hex) in max77686_buck_hex2mode() argument
[all …]
H A Drk8xx.c101 static int _buck_set_value(struct udevice *pmic, int buck, int uvolt) in _buck_set_value() argument
103 const struct rk8xx_reg_info *info = get_buck_reg(pmic, buck - 1); in _buck_set_value()
116 static int _buck_set_enable(struct udevice *pmic, int buck, bool enable) in _buck_set_enable() argument
121 buck--; in _buck_set_enable()
122 mask = 1 << buck; in _buck_set_enable()
124 ret = pmic_clrsetbits(pmic, REG_DCDC_ILMAX, 0, 3 << (buck * 2)); in _buck_set_enable()
127 ret = pmic_clrsetbits(pmic, REG_DCDC_UV_ACT, 1 << buck, 0); in _buck_set_enable()
150 int buck = dev->driver_data - 1; in buck_get_value() local
151 const struct rk8xx_reg_info *info = get_buck_reg(dev->parent, buck); in buck_get_value()
167 int buck = dev->driver_data; in buck_set_value() local
[all …]
/openbmc/linux/Documentation/devicetree/bindings/regulator/
H A Dmps,mpq7920.yaml27 after their hardware counterparts BUCK[1-4], one LDORTC, and LDO[2-5]
49 "^buck[1-4]$":
54 mps,buck-softstart:
58 defines the soft start time of this buck, must be one of the following
61 mps,buck-phase-delay:
65 defines the phase delay of this buck, must be one of the following
68 mps,buck-ovp-disable:
71 disables over voltage protection of this buck
104 mps,buck-ovp-disable;
105 mps,buck-phase-delay = /bits/ 8 <2>;
[all …]
H A Drichtek,rtq2208.yaml14 multi-configurable synchronous buck converters and two LDOs.
20 operation modes for all buck rails, automatic power saving mode (Auto mode) and forced continuous
55 "^buck-[a-h]$":
60 description for buck-[a-h] regulator.
65 two buck modes in different switching accuracy.
99 buck-a {
109 buck-b {
119 buck-c {
129 buck-d {
139 buck-e {
[all …]
H A Dmt6380-regulator.txt5 to its regulator type, buck-<name> and ldo-<name>. The definition for each
10 BUCK:
11 buck-core1, buck-vcore, buck-vrf
20 mt6380_vcpu_reg: buck-vcore1 {
29 mt6380_vcore_reg: buck-vcore {
36 mt6380_vrf_reg: buck-vrf {
H A Dmediatek,mt6332-regulator.yaml13 The MT6332 Companion PMIC provides 6 BUCK and 4 LDO (Low Dropout)
15 buck-<name> and ldo-<name>.
19 "^buck-v(dram|dvfs2|pa|rf18a|rf18b|sbst)$":
45 mt6332_vdram_reg: buck-vdram {
53 mt6332_vdvfs2_reg: buck-vdvfs2 {
61 mt6332_vpa_reg: buck-vpa {
66 mt6332_vrf18a_reg: buck-vrf18a {
72 mt6332_vrf18b_reg: buck-vrf18b {
78 mt6332_vsbst_reg: buck-vsbst {
H A Dsamsung,s2mpa01.yaml16 The S2MPA01 provides buck and LDO regulators.
34 "^BUCK([1-9]|10)$":
39 Properties for single BUCK regulator.
46 May be 0 for disabling the ramp delay on BUCK{1,2,3,4}.
55 * buck{1,6},
56 * buck{2,4},
57 * buck{8,9,10}.
H A Dmaxim,max77686.yaml17 The Maxim MAX77686 provides high-efficiency Buck and 26 Low-DropOut (LDO)
55 "^BUCK[1-7]$":
60 Properties for single BUCK regulator.
62 BUCK[1-4]
67 "^BUCK[89]$":
72 Properties for single BUCK regulator.
H A Dadi,max77541-regulator.yaml7 title: Buck Converter for MAX77540/MAX77541
15 The buck converter is represented as a sub-node of the PMIC node on the device tree.
17 The device has two buck regulators.
22 "^buck[12]$":
27 Buck regulator.
H A Ddlg,da9121.yaml13 Dialog Semiconductor DA9121 Single-channel 10A double-phase buck converter
14 Dialog Semiconductor DA9122 Double-channel 5A single-phase buck converter
15 Dialog Semiconductor DA9220 Double-channel 3A single-phase buck converter
16 Dialog Semiconductor DA9217 Single-channel 6A double-phase buck converter
17 Dialog Semiconductor DA9130 Single-channel 10A double-phase buck converter
18 Dialog Semiconductor DA9131 Double-channel 5A single-phase buck converter
19 Dialog Semiconductor DA9132 Double-channel 3A single-phase buck converter
20 Dialog Semiconductor DA9141 Single-channel 40A quad-phase buck converter
21 Dialog Semiconductor DA9142 Single-channel 20A double-phase buck converter
91 "^buck([1-2])$":
[all …]
H A Donnn,fan53880.yaml14 that contains a BUCK (step-down converter), four low dropouts (LDO)
38 description: Input supply phandle(s) for BUCK and BOOST
45 after their hardware counterparts LDO[1-4], BUCK and BOOST
52 "^BUCK|BOOST$":
78 BUCK {
H A Drichtek,rt5739.yaml7 title: Richtek RT5739 Step-Down Buck Converter
13 The RT5739 is a step-down switching buck converter that can deliver the
35 If property is present, use the 'VSEL1' register group for buck control.
42 buck allowed operating mode
67 regulator-name = "richtek,rt5739-buck";
H A Dsamsung,s5m8767.yaml16 The S5M8767 provides buck and LDO regulators.
47 "^BUCK[1-8]$":
52 Properties for single BUCK regulator.
71 # 9 buck
77 Properties for single BUCK regulator.
/openbmc/linux/include/linux/regulator/
H A Dda9121.h3 * DA9121 Single-channel dual-phase 10A buck converter
4 * DA9130 Single-channel dual-phase 10A buck converter (Automotive)
5 * DA9217 Single-channel dual-phase 6A buck converter
6 * DA9122 Dual-channel single-phase 5A buck converter
7 * DA9131 Dual-channel single-phase 5A buck converter (Automotive)
8 * DA9220 Dual-channel single-phase 3A buck converter
9 * DA9132 Dual-channel single-phase 3A buck converter (Automotive)
/openbmc/linux/Documentation/devicetree/bindings/sound/
H A Dqcom,wcd9335.yaml55 vdd-buck-supply:
56 description: 1.8V buck supply
58 vdd-buck-sido-supply:
59 description: 1.8V SIDO buck supply
96 - vdd-buck-supply
97 - vdd-buck-sido-supply
112 vdd-buck-supply: false
113 vdd-buck-sido-supply: false
151 vdd-buck-supply = <&vreg_s4a_1p8>;
152 vdd-buck-sido-supply = <&vreg_s4a_1p8>;
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A Dsamsung,s5m8767.yaml63 s5m8767,pmic-buck-ds-gpios:
82 s5m8767,pmic-buck-default-dvs-idx:
93 s5m8767,pmic-buck-dvs-gpios:
143 - s5m8767,pmic-buck-ds-gpios
146 s5m8767,pmic-buck2-dvs-voltage: [ 's5m8767,pmic-buck-dvs-gpios' ]
147 s5m8767,pmic-buck3-dvs-voltage: [ 's5m8767,pmic-buck-dvs-gpios' ]
148 s5m8767,pmic-buck4-dvs-voltage: [ 's5m8767,pmic-buck-dvs-gpios' ]
149 …s5m8767,pmic-buck2-uses-gpio-dvs: [ 's5m8767,pmic-buck-dvs-gpios', 's5m8767,pmic-buck2-dvs-voltage…
150 …s5m8767,pmic-buck3-uses-gpio-dvs: [ 's5m8767,pmic-buck-dvs-gpios', 's5m8767,pmic-buck3-dvs-voltage…
151 …s5m8767,pmic-buck4-uses-gpio-dvs: [ 's5m8767,pmic-buck-dvs-gpios', 's5m8767,pmic-buck4-dvs-voltage…
[all …]
H A Dmax8998.txt27 for buck 1 dvs. The format of the gpio specifier depends on the gpio
30 for buck 2 dvs. The format of the gpio specifier depends on the gpio
40 - max8998,pmic-buck-voltage-lock: If present, disallows changing of
41 preprogrammed buck dvfs voltages.
60 the 'n' in regulator name, as in LDOn or BUCKn, represents the LDO or BUCK
90 /* Buck 1 DVS settings */
97 /* Buck 2 DVS settings */
/openbmc/linux/drivers/hwmon/pmbus/
H A Dmpq7932.c38 PMBUS_REGULATOR_STEP("buck", 0, MPQ7932_N_VOLTAGES,
40 PMBUS_REGULATOR_STEP("buck", 1, MPQ7932_N_VOLTAGES,
42 PMBUS_REGULATOR_STEP("buck", 2, MPQ7932_N_VOLTAGES,
44 PMBUS_REGULATOR_STEP("buck", 3, MPQ7932_N_VOLTAGES,
46 PMBUS_REGULATOR_STEP("buck", 4, MPQ7932_N_VOLTAGES,
48 PMBUS_REGULATOR_STEP("buck", 5, MPQ7932_N_VOLTAGES,

12345678910>>...12