Home
last modified time | relevance | path

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

12

/linux/drivers/regulator/
H A Dlp8788-buck.c102 static void lp8788_buck1_set_dvs(struct lp8788_buck *buck) in lp8788_buck1_set_dvs() argument
104 struct lp8788_buck1_dvs *dvs = (struct lp8788_buck1_dvs *)buck->dvs; in lp8788_buck1_set_dvs()
111 gpiod_set_value(buck->gpio1, pinstate); in lp8788_buck1_set_dvs()
114 static void lp8788_buck2_set_dvs(struct lp8788_buck *buck) in lp8788_buck2_set_dvs() argument
116 struct lp8788_buck2_dvs *dvs = (struct lp8788_buck2_dvs *)buck->dvs; in lp8788_buck2_set_dvs()
143 gpiod_set_value(buck->gpio1, pin1); in lp8788_buck2_set_dvs()
144 gpiod_set_value(buck->gpio2, pin2); in lp8788_buck2_set_dvs()
147 static void lp8788_set_dvs(struct lp8788_buck *buck, enum lp8788_buck_id id) in lp8788_set_dvs() argument
151 lp8788_buck1_set_dvs(buck); in lp8788_set_dvs()
154 lp8788_buck2_set_dvs(buck); in lp8788_set_dvs()
[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 Dlp872x.c262 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 DKconfig130 This driver controls an Analog Devices ADP5055 with triple buck
237 This will enable support for the software controllable buck
250 support for the software controllable buck and LDO regulators.
261 This will enable support for the software controllable buck
294 This will enable support for the software controllable buck
376 DA9121 is a single channel dual-phase buck converter controlled
379 DA9121 Single-channel dual-phase 10A buck converter
380 DA9130 Single-channel dual-phase 10A buck converter (Automotive)
381 DA9217 Single-channel dual-phase 6A buck converter
382 DA9122 Dual-channel single-phase 5A buck converter
[all …]
H A Dmax8998.c250 int buck = rdev_get_id(rdev); in max8998_set_voltage_buck_sel() local
258 switch (buck) { in max8998_set_voltage_buck_sel()
351 int buck = rdev_get_id(rdev); in max8998_set_voltage_buck_time_sel() local
355 if (buck < MAX8998_BUCK1 || buck > MAX8998_BUCK4) in max8998_set_voltage_buck_time_sel()
H A Dspacemit-p1.c90 P1_REG_DESC(BUCK, buck, _n, "vin", 0x47, BUCK_MASK, 255, p1_buck_ranges)
/linux/Documentation/devicetree/bindings/regulator/
H A Dmt6380-regulator.txt5 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 Dlp872x.txt34 LP8720 has maximum 6 nodes. (child name: ldo1 ~ 5 and buck)
88 vcc: buck {
/linux/arch/arm64/boot/dts/mediatek/
H A Dmt6380.dtsi14 mt6380_vcpu_reg: buck-vcore1 {
23 mt6380_vcore_reg: buck-vcore {
32 mt6380_vrf_reg: buck-vrf {
H A Dmt6357.dtsi19 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 {
/linux/arch/arm/boot/dts/st/
H A Dstm32mp15xx-dhcor-io1v8.dtsi10 vdd_io: regulator-buck-io {
12 regulator-name = "buck-io";
/linux/arch/arm/boot/dts/samsung/
H A Dexynos4412-itop-scp-core.dtsi145 s5m8767,pmic-buck-default-dvs-idx = <3>;
147 s5m8767,pmic-buck-dvs-gpios = <&gpb 5 GPIO_ACTIVE_HIGH>,
151 s5m8767,pmic-buck-ds-gpios = <&gpm3 5 GPIO_ACTIVE_HIGH>,
H A Dexynos4412-origen.dts128 s5m8767,pmic-buck-default-dvs-idx = <3>;
130 s5m8767,pmic-buck-dvs-gpios = <&gpx2 3 GPIO_ACTIVE_HIGH>,
134 s5m8767,pmic-buck-ds-gpios = <&gpm3 5 GPIO_ACTIVE_HIGH>,
H A Dexynos5250-spring.dts123 s5m8767,pmic-buck-dvs-gpios = <&gpd1 0 GPIO_ACTIVE_LOW>, /* DVS1 */
127 s5m8767,pmic-buck-ds-gpios = <&gpx2 3 GPIO_ACTIVE_LOW>, /* SET1 */
H A Dexynos5250-arndale.dts264 s5m8767,pmic-buck-dvs-gpios = <&gpd1 0 GPIO_ACTIVE_HIGH>,
267 s5m8767,pmic-buck-ds-gpios = <&gpx2 3 GPIO_ACTIVE_HIGH>,
/linux/Documentation/hwmon/
H A Dir36021.rst22 The IR36021 is a dual-loop digital multi-phase buck controller designed for
/linux/arch/arm64/boot/dts/allwinner/
H A Daxp803.dtsi37 /* Default work frequency for buck regulators */
/linux/arch/arm/boot/dts/rockchip/
H A Drk3288-veyron-speedy.dts303 buck-5v {
H A Drk3288-veyron-jaq.dts313 buck-5v {
/linux/arch/arm/boot/dts/allwinner/
H A Daxp81x.dtsi73 /* Default work frequency for buck regulators */
H A Daxp209.dtsi85 /* Default work frequency for buck regulators */
H A Daxp22x.dtsi77 /* Default work frequency for buck regulators */
/linux/arch/arm64/boot/dts/qcom/
H A Dsdm850-samsung-w737.dts649 vdd-buck-supply = <&vreg_s4a_1p8>;
650 vdd-buck-sido-supply = <&vreg_s4a_1p8>;
H A Dmsm8996-oneplus-common.dtsi538 vdd-buck-supply = <&vreg_s4a_1p8>;
539 vdd-buck-sido-supply = <&vreg_s4a_1p8>;

12