Home
last modified time | relevance | path

Searched refs:buck (Results 1 – 25 of 41) sorted by relevance

12

/external/u-boot/drivers/power/regulator/
Dmax77686.c69 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
238 switch (buck) { in max77686_buck_hex2mode()
248 switch (buck) { in max77686_buck_hex2mode()
261 static int max77686_buck_modes(int buck, struct dm_regulator_mode **modesp) in max77686_buck_modes() argument
[all …]
Ds2mps11_regulator.c44 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()
112 pr_err("Value: %d uV is wrong for BUCK%d", uV, buck); in s2mps11_buck_volt2hex()
[all …]
Drk8xx.c274 static int _buck_set_value(struct udevice *pmic, int buck, int uvolt) in _buck_set_value() argument
276 const struct rk8xx_reg_info *info = get_buck_reg(pmic, buck, uvolt); in _buck_set_value()
290 __func__, uvolt, buck + 1, info->vsel_reg, mask, val); in _buck_set_value()
301 static int _buck_set_enable(struct udevice *pmic, int buck, bool enable) in _buck_set_enable() argument
310 if (buck >= 4) { in _buck_set_enable()
311 buck -= 4; in _buck_set_enable()
317 value = ((1 << buck) | (1 << (buck + 4))); in _buck_set_enable()
319 value = ((0 << buck) | (1 << (buck + 4))); in _buck_set_enable()
325 mask = 1 << buck; in _buck_set_enable()
328 0, 3 << (buck * 2)); in _buck_set_enable()
[all …]
Ds5m8767.c214 int buck = dev->driver_data; in buck_get_value() local
216 return reg_get_value(dev, &buck_param[buck]); in buck_get_value()
221 int buck = dev->driver_data; in buck_set_value() local
223 return reg_set_value(dev, &buck_param[buck], uv); in buck_set_value()
228 int buck = dev->driver_data; in buck_get_enable() local
230 return reg_get_enable(dev, &buck_param[buck]); in buck_get_enable()
235 int buck = dev->driver_data; in buck_set_enable() local
237 return reg_set_enable(dev, &buck_param[buck], enable); in buck_set_enable()
Dstpmic1.c139 static int stpmic1_buck_get_uv(struct udevice *dev, int buck) in stpmic1_buck_get_uv() argument
143 sel = pmic_reg_read(dev, STPMIC1_BUCKX_MAIN_CR(buck)); in stpmic1_buck_get_uv()
150 return stpmic1_output_find_uv(sel, &buck_voltage_range[buck]); in stpmic1_buck_get_uv()
160 int sel, buck = dev->driver_data - 1; in stpmic1_buck_set_value() local
162 sel = stpmic1_output_find_sel(uv, &buck_voltage_range[buck]); in stpmic1_buck_set_value()
167 STPMIC1_BUCKX_MAIN_CR(buck), in stpmic1_buck_set_value()
/external/u-boot/include/power/
Dstpmic1.h12 #define STPMIC1_BUCKX_MAIN_CR(buck) (0x20 + (buck)) argument
24 #define STPMIC1_MRST_BUCK(buck) BIT(buck) argument
Dmax77686_pmic.h160 int max77686_set_buck_voltage(struct pmic *p, int buck, ulong uV);
161 int max77686_set_buck_mode(struct pmic *p, int buck, char opmode);
Drk8xx_pmic.h232 int rk8xx_spl_configure_buck(struct udevice *pmic, int buck, int uvolt);
/external/u-boot/drivers/power/pmic/
DKconfig38 This PMIC includes 4 DC/DC step-down buck regulators and 8 low-dropout
46 The AS3722 includes 7 DC/DC buck convertors, 11 low-noise LDOs, a
143 The Rockchip RK808 PMIC provides four buck DC-DC convertors, 8 LDOs,
238 SoC. It provides 4 buck DC-DC convertors and 5 LDOs, and it is accessed
245 The TPS65910 is a PMIC containing 3 buck DC-DC converters, one boost
/external/u-boot/doc/device-tree-bindings/pmic/
Dsandbox.txt23 - ldo/buck subnodes of each device's regulator (see regulator binding info)
/external/protobuf/examples/
Dlist_people_test.go87 E-mail address: buck@example.com
/external/u-boot/arch/arm/dts/
Drk3288-veyron-speedy.dts112 buck-5v {
Drk3288-veyron-jerry.dts145 buck-5v {
Daxp803.dtsi53 /* Default work frequency for buck regulators */
Daxp209.dtsi78 /* Default work frequency for buck regulators */
Daxp81x.dtsi78 /* Default work frequency for buck regulators */
Daxp22x.dtsi66 /* Default work frequency for buck regulators */
Dexynos5250-spring.dts246 s5m8767,pmic-buck-dvs-gpios = <&gpd1 0 GPIO_ACTIVE_LOW>, /* DVS1 */
250 s5m8767,pmic-buck-ds-gpios = <&gpx2 3 GPIO_ACTIVE_LOW>, /* SET1 */
Drk3288-veyron-minnie.dts256 buck-5v {
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/
DIntStream.as117 * pass the buck all the way to the lexer who can ask its input stream
/external/cpuinfo/test/dmesg/
Dmeizu-pro-7-plus.log146 [ 0.002457] (0)[0:swapper/0]pmic & external buck: 0xd5
512 [ 0.343208] (5)[1:swapper/0][PMIC] register buck id=0
513 [ 0.343220] (5)[1:swapper/0][PMIC] register buck id=1
514 [ 0.343231] (5)[1:swapper/0][PMIC] register buck id=2
515 [ 0.343241] (5)[1:swapper/0][PMIC] register buck id=3
516 [ 0.343252] (5)[1:swapper/0][PMIC] register buck id=4
517 [ 0.343262] (5)[1:swapper/0][PMIC] register buck id=5
518 [ 0.343272] (5)[1:swapper/0][PMIC] register buck id=6
519 [ 0.343282] (5)[1:swapper/0][PMIC] register buck id=7
Dnexus6.log1288 [ 3.575637] taiko-slim taiko-slim-pgd: cdc-vdd-buck: vol=[2150000 2150000]uV, curr=[650000]uA, o…
1313 [ 3.646385] tomtom-slim tomtom-slim-pgd: cdc-vdd-buck: vol=[2150000 2150000]uV, curr=[650000]uA,…
Dxiaomi-redmi-note-3.log1612 <6>[ 3.931986] wcd9335-slim tasha-slim-pgd: cdc-vdd-buck: vol=[1800000 1800000]uV, curr=[650000]…
1613 <6>[ 3.932062] wcd9335-slim tasha-slim-pgd: cdc-buck-sido: vol=[1800000 1800000]uV, curr=[250000…
Dgalaxy-s5-us.log1567 <6>[ 3.864225] taiko-slim taiko-slim-pgd: cdc-vdd-buck: vol=[2150000 2150000]uV, curr=[650000]uA…
1575 …865519] wcd9xxx_init_supplies: Setting regulator voltage success for regulator cdc-vdd-buck err = 0
Doneplus-3t.log1444 [ 3.752926]@1 wcd9335-slim tasha-slim-pgd: cdc-vdd-buck: vol=[1800000 1800000]uV, curr=[650000]u…
1445 [ 3.752942]@1 wcd9335-slim tasha-slim-pgd: cdc-buck-sido: vol=[1800000 1800000]uV, curr=[250000]…

12