/openbmc/linux/drivers/regulator/ |
H A D | lp8788-buck.c | 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 179 lp8788_read_byte(buck->lp, LP8788_BUCK_DVS_SEL, &val); in lp8788_get_buck_dvs_ctrl_mode() 201 static u8 lp8788_select_buck_vout_addr(struct lp8788_buck *buck, in lp8788_select_buck_vout_addr() argument [all …]
|
H A D | lp3971.c | 171 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 D | lp3972.c | 317 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 D | rtq2208-regulator.c | 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() 390 RTQ2208_REGULATOR_INFO(buck-h, BUCK_RG_BASE(H)), in rtq2208_init_regulator_desc() 391 RTQ2208_REGULATOR_INFO(buck-e, BUCK_RG_BASE(E)), in rtq2208_init_regulator_desc()
|
H A D | lp872x.c | 262 enum lp872x_regulator_id buck) in lp872x_select_buck_vout_addr() argument 269 switch (buck) { in lp872x_select_buck_vout_addr() 319 enum lp872x_regulator_id buck = rdev_get_id(rdev); in lp872x_buck_set_voltage_sel() local 326 addr = lp872x_select_buck_vout_addr(lp, buck); in lp872x_buck_set_voltage_sel() 336 enum lp872x_regulator_id buck = rdev_get_id(rdev); in lp872x_buck_get_voltage_sel() local 340 addr = lp872x_select_buck_vout_addr(lp, buck); in lp872x_buck_get_voltage_sel() 354 enum lp872x_regulator_id buck = rdev_get_id(rdev); in lp872x_buck_set_mode() local 357 switch (buck) { in lp872x_buck_set_mode() 390 enum lp872x_regulator_id buck = rdev_get_id(rdev); in lp872x_buck_get_mode() local 394 switch (buck) { in lp872x_buck_get_mode()
|
H A D | max8998.c | 247 int buck = rdev_get_id(rdev); in max8998_set_voltage_buck_sel() local 255 switch (buck) { in max8998_set_voltage_buck_sel() 350 int buck = rdev_get_id(rdev); in max8998_set_voltage_buck_time_sel() local 354 if (buck < MAX8998_BUCK1 || buck > MAX8998_BUCK4) in max8998_set_voltage_buck_time_sel()
|
H A D | Kconfig | 210 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/u-boot/drivers/power/regulator/ |
H A D | max77686.c | 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 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 D | s2mps11_regulator.c | 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() 112 pr_err("Value: %d uV is wrong for BUCK%d", uV, buck); in s2mps11_buck_volt2hex() [all …]
|
H A D | rk8xx.c | 101 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 D | s5m8767.c | 214 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 D | stpmu1.c | 138 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 D | buck-security_0.7.bb | 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/linux/Documentation/devicetree/bindings/regulator/ |
H A D | mt6380-regulator.txt | 5 to its regulator type, buck-<name> and ldo-<name>. The definition for each 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 D | lp872x.txt | 34 LP8720 has maximum 6 nodes. (child name: ldo1 ~ 5 and buck) 88 vcc: buck {
|
/openbmc/openbmc/meta-security/classes/ |
H A D | check_security.bbclass | 2 …${STAGING_BINDIR_NATIVE}/buck-security -sysroot ${IMAGE_ROOTFS} -log ${T}/log.do_checksecurity.${P… 5 EXTRA_IMAGEDEPENDS += "buck-security-native"
|
/openbmc/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt6331.dtsi | 17 mt6331_vdvfs11_reg: buck-vdvfs11 { 27 mt6331_vdvfs12_reg: buck-vdvfs12 { 37 mt6331_vdvfs13_reg: buck-vdvfs13 { 47 mt6331_vdvfs14_reg: buck-vdvfs14 { 57 mt6331_vcore2_reg: buck-vcore2 { 67 mt6331_vio18_reg: buck-vio18 {
|
H A D | mt6380.dtsi | 14 mt6380_vcpu_reg: buck-vcore1 { 23 mt6380_vcore_reg: buck-vcore { 32 mt6380_vrf_reg: buck-vrf {
|
H A D | mt6357.dtsi | 19 mt6357_vproc_reg: buck-vproc { 28 mt6357_vcore_reg: buck-vcore { 37 mt6357_vmodem_reg: buck-vmodem { 45 mt6357_vs1_reg: buck-vs1 { 54 mt6357_vpa_reg: buck-vpa {
|
/openbmc/linux/arch/arm/boot/dts/st/ |
H A D | stm32mp15xx-dhcor-io1v8.dtsi | 10 vdd_io: regulator-buck-io { 12 regulator-name = "buck-io";
|
/openbmc/u-boot/include/power/ |
H A D | stpmu1.h | 10 #define STPMU1_BUCKX_CTRL_REG(buck) (0x20 + (buck)) argument
|
H A D | max77686_pmic.h | 160 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);
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | max8998.txt | 27 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.
|
/openbmc/openbmc/meta-security/docs/ |
H A D | overview.txt | 41 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/drivers/power/pmic/ |
H A D | Kconfig | 38 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
|