Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/power/regulator/
H A 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 …]
H A 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 …]
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 …]
H A 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()
H A Dstpmu1.c138 static int stpmu1_buck_get_uv(struct udevice *dev, int buck) in stpmu1_buck_get_uv() argument
142 sel = pmic_reg_read(dev, STPMU1_BUCKX_CTRL_REG(buck)); in stpmu1_buck_get_uv()
149 return stpmu1_output_find_uv(sel, &buck_voltage_range[buck]); in stpmu1_buck_get_uv()
159 int sel, buck = dev->driver_data - 1; in stpmu1_buck_set_value() local
161 sel = stpmu1_output_find_sel(uv, &buck_voltage_range[buck]); in stpmu1_buck_set_value()
166 STPMU1_BUCKX_CTRL_REG(buck), in stpmu1_buck_set_value()
/openbmc/openbmc/meta-security/recipes-scanners/buck-security/
H A Dbuck-security_0.7.bb8 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/openbmc/meta-security/classes/
H A Dcheck_security.bbclass2 …${STAGING_BINDIR_NATIVE}/buck-security -sysroot ${IMAGE_ROOTFS} -log ${T}/log.do_checksecurity.${P…
5 EXTRA_IMAGEDEPENDS += "buck-security-native"
/openbmc/u-boot/include/power/
H A Dstpmu1.h10 #define STPMU1_BUCKX_CTRL_REG(buck) (0x20 + (buck)) argument
H A 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);
H A Drk8xx_pmic.h190 int rk8xx_spl_configure_buck(struct udevice *pmic, int buck, int uvolt);
/openbmc/openbmc/meta-security/docs/
H A Doverview.txt41 Alternatives to Bastille include buck-security and checksecurity,
133 == buck-security ==
145 switch to directory /usr/local/buck-security.
146 … before running the script, you should check the activated checks in conf/buck-security.conf file.
149 ./buck-security
153 More detailed usage can be found typing ./buck-security --help
/openbmc/u-boot/doc/device-tree-bindings/pmic/
H A Dsandbox.txt23 - ldo/buck subnodes of each device's regulator (see regulator binding info)
/openbmc/u-boot/drivers/power/pmic/
H A 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
128 The Rockchip RK808 PMIC provides four buck DC-DC convertors, 8 LDOs,
223 SoC. It provides 4 buck DC-DC convertors and 5 LDOs, and it is accessed
230 The TPS65910 is a PMIC containing 3 buck DC-DC converters, one boost
/openbmc/u-boot/arch/arm/dts/
H A Drk3288-veyron-speedy.dts112 buck-5v {
H A Daxp803.dtsi53 /* Default work frequency for buck regulators */
H A Daxp81x.dtsi78 /* Default work frequency for buck regulators */
H A Daxp209.dtsi78 /* Default work frequency for buck regulators */
H A Drk3288-veyron-jerry.dts145 buck-5v {
H A Daxp22x.dtsi66 /* Default work frequency for buck regulators */
H A 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 */
H A Drk3288-veyron-minnie.dts244 buck-5v {
/openbmc/openbmc/meta-security/conf/distro/include/
H A Dmaintainers-meta-security.inc25 RECIPE_MAINTAINER:pn-buck-security = "Armin Kuster <akuster808@gmail.com>"
/openbmc/openbmc/meta-security/recipes-core/packagegroup/
H A Dpackagegroup-core-security.bb66 buck-security \
/openbmc/
Dopengrok1.0.log[all...]
Dopengrok2.0.log[all...]