Home
last modified time | relevance | path

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

12345

/drivers/regulator/
Dsy8827n.c32 unsigned int vsel_reg; member
41 regmap_update_bits(rdev->regmap, di->vsel_reg, in sy8827n_set_mode()
45 regmap_update_bits(rdev->regmap, di->vsel_reg, in sy8827n_set_mode()
60 ret = regmap_read(rdev->regmap, di->vsel_reg, &val); in sy8827n_get_mode()
93 rdesc->enable_reg = di->vsel_reg; in sy8827n_regulator_register()
97 rdesc->vsel_reg = di->vsel_reg; in sy8827n_regulator_register()
134 di->vsel_reg = SY8827N_VSEL1; in sy8827n_i2c_probe()
136 di->vsel_reg = SY8827N_VSEL0; in sy8827n_i2c_probe()
Das3722-regulator.c50 u8 vsel_reg; member
79 .vsel_reg = AS3722_SD0_VOLTAGE_REG,
91 .vsel_reg = AS3722_SD1_VOLTAGE_REG,
104 .vsel_reg = AS3722_SD2_VOLTAGE_REG,
118 .vsel_reg = AS3722_SD3_VOLTAGE_REG,
132 .vsel_reg = AS3722_SD4_VOLTAGE_REG,
146 .vsel_reg = AS3722_SD5_VOLTAGE_REG,
159 .vsel_reg = AS3722_SD6_VOLTAGE_REG,
172 .vsel_reg = AS3722_LDO0_VOLTAGE_REG,
184 .vsel_reg = AS3722_LDO1_VOLTAGE_REG,
[all …]
Dlm363x-regulator.c115 .vsel_reg = LM3631_REG_VOUT_BOOST,
128 .vsel_reg = LM3631_REG_VOUT_CONT,
143 .vsel_reg = LM3631_REG_VOUT_OREF,
158 .vsel_reg = LM3631_REG_VOUT_POS,
173 .vsel_reg = LM3631_REG_VOUT_NEG,
189 .vsel_reg = LM3632_REG_VOUT_BOOST,
202 .vsel_reg = LM3632_REG_VOUT_POS,
217 .vsel_reg = LM3632_REG_VOUT_NEG,
234 .vsel_reg = LM36274_REG_VOUT_BOOST,
247 .vsel_reg = LM36274_REG_VOUT_POS,
[all …]
Dpca9450-regulator.c250 .vsel_reg = PCA9450_REG_BUCK1OUT_DVS0,
275 .vsel_reg = PCA9450_REG_BUCK2OUT_DVS0,
300 .vsel_reg = PCA9450_REG_BUCK3OUT_DVS0,
325 .vsel_reg = PCA9450_REG_BUCK4OUT,
343 .vsel_reg = PCA9450_REG_BUCK5OUT,
361 .vsel_reg = PCA9450_REG_BUCK6OUT,
379 .vsel_reg = PCA9450_REG_LDO1CTRL,
397 .vsel_reg = PCA9450_REG_LDO2CTRL,
415 .vsel_reg = PCA9450_REG_LDO3CTRL,
433 .vsel_reg = PCA9450_REG_LDO4CTRL,
[all …]
Dmax8649.c66 ret = regmap_read(info->regmap, rdev->desc->vsel_reg, &val); in max8649_enable_time()
88 regmap_update_bits(info->regmap, rdev->desc->vsel_reg, in max8649_set_mode()
92 regmap_update_bits(info->regmap, rdev->desc->vsel_reg, in max8649_set_mode()
107 ret = regmap_read(info->regmap, rdev->desc->vsel_reg, &val); in max8649_get_mode()
177 dcdc_desc.vsel_reg = MAX8649_MODE0; in max8649_regulator_probe()
180 dcdc_desc.vsel_reg = MAX8649_MODE1; in max8649_regulator_probe()
183 dcdc_desc.vsel_reg = MAX8649_MODE2; in max8649_regulator_probe()
186 dcdc_desc.vsel_reg = MAX8649_MODE3; in max8649_regulator_probe()
206 regmap_update_bits(info->regmap, dcdc_desc.vsel_reg, in max8649_regulator_probe()
Dbd70528-regulator.c58 return regmap_update_bits(rdev->regmap, rdev->desc->vsel_reg, in bd70528_set_ramp_delay()
128 .vsel_reg = BD70528_REG_BUCK1_VOLT,
144 .vsel_reg = BD70528_REG_BUCK2_VOLT,
160 .vsel_reg = BD70528_REG_BUCK3_VOLT,
176 .vsel_reg = BD70528_REG_LDO1_VOLT,
192 .vsel_reg = BD70528_REG_LDO2_VOLT,
208 .vsel_reg = BD70528_REG_LDO3_VOLT,
223 .vsel_reg = BD70528_REG_LED_VOLT,
238 .vsel_reg = BD70528_REG_LED_VOLT,
Drk808-regulator.c82 .vsel_reg = (_vreg), \
106 .vsel_reg = (_vreg), \
230 rdev->desc->vsel_reg + RK808_DVS_REG_OFFSET, in rk808_buck1_2_get_voltage_sel_regmap()
247 ret = regmap_read(rdev->regmap, rdev->desc->vsel_reg, &val); in rk808_buck1_2_i2c_set_voltage_sel()
272 ret = regmap_write(rdev->regmap, rdev->desc->vsel_reg, val); in rk808_buck1_2_i2c_set_voltage_sel()
278 ret = regmap_write(rdev->regmap, rdev->desc->vsel_reg, val); in rk808_buck1_2_i2c_set_voltage_sel()
296 unsigned int reg = rdev->desc->vsel_reg; in rk808_buck1_2_set_voltage_sel()
306 ret = regmap_read(rdev->regmap, rdev->desc->vsel_reg, &old_sel); in rk808_buck1_2_set_voltage_sel()
407 reg = rdev->desc->vsel_reg + RK808_SLP_REG_OFFSET; in rk808_set_suspend_voltage()
422 reg = rdev->desc->vsel_reg + RK808_SLP_REG_OFFSET; in rk808_set_suspend_voltage_range()
[all …]
Dlp8788-ldo.c194 .vsel_reg = LP8788_DLDO1_VOUT,
207 .vsel_reg = LP8788_DLDO2_VOUT,
220 .vsel_reg = LP8788_DLDO3_VOUT,
233 .vsel_reg = LP8788_DLDO4_VOUT,
246 .vsel_reg = LP8788_DLDO5_VOUT,
259 .vsel_reg = LP8788_DLDO6_VOUT,
272 .vsel_reg = LP8788_DLDO7_VOUT,
285 .vsel_reg = LP8788_DLDO8_VOUT,
298 .vsel_reg = LP8788_DLDO9_VOUT,
311 .vsel_reg = LP8788_DLDO10_VOUT,
[all …]
Dbd718x7-regulator.c642 .vsel_reg = BD718XX_REG_BUCK1_VOLT_RUN,
676 .vsel_reg = BD718XX_REG_BUCK2_VOLT_RUN,
708 .vsel_reg = BD718XX_REG_1ST_NODVS_BUCK_VOLT,
736 .vsel_reg = BD718XX_REG_2ND_NODVS_BUCK_VOLT,
760 .vsel_reg = BD718XX_REG_3RD_NODVS_BUCK_VOLT,
784 .vsel_reg = BD718XX_REG_4TH_NODVS_BUCK_VOLT,
807 .vsel_reg = BD718XX_REG_LDO1_VOLT,
831 .vsel_reg = BD718XX_REG_LDO2_VOLT,
855 .vsel_reg = BD718XX_REG_LDO3_VOLT,
878 .vsel_reg = BD718XX_REG_LDO4_VOLT,
[all …]
Dbd71828-regulator.c220 .vsel_reg = BD71828_REG_BUCK1_VOLT,
262 .vsel_reg = BD71828_REG_BUCK2_VOLT,
299 .vsel_reg = BD71828_REG_BUCK3_VOLT,
340 .vsel_reg = BD71828_REG_BUCK4_VOLT,
381 .vsel_reg = BD71828_REG_BUCK5_VOLT,
422 .vsel_reg = BD71828_REG_BUCK6_VOLT,
459 .vsel_reg = BD71828_REG_BUCK7_VOLT,
496 .vsel_reg = BD71828_REG_LDO1_VOLT,
536 .vsel_reg = BD71828_REG_LDO2_VOLT,
576 .vsel_reg = BD71828_REG_LDO3_VOLT,
[all …]
Ds2mps11.c367 .vsel_reg = S2MPS11_REG_L1CTRL + num - 1, \
384 .vsel_reg = S2MPS11_REG_B1CTRL2 + (num - 1) * 2, \
401 .vsel_reg = S2MPS11_REG_B5CTRL2, \
418 .vsel_reg = S2MPS11_REG_B6CTRL2 + (num - 6) * 2, \
434 .vsel_reg = S2MPS11_REG_B9CTRL2, \
507 .vsel_reg = S2MPS13_REG_L1CTRL + num - 1, \
524 .vsel_reg = S2MPS13_REG_B1OUT + (num - 1) * 2, \
541 .vsel_reg = S2MPS13_REG_B1OUT + (num) * 2 - 1, \
558 .vsel_reg = S2MPS13_REG_B1OUT + (num) * 2 - 1, \
638 .vsel_reg = S2MPS14_REG_L1CTRL + num - 1, \
[all …]
Dwm8400-regulator.c125 .vsel_reg = WM8400_LDO1_CONTROL,
140 .vsel_reg = WM8400_LDO2_CONTROL,
153 .vsel_reg = WM8400_LDO3_CONTROL,
167 .vsel_reg = WM8400_LDO4_CONTROL,
179 .vsel_reg = WM8400_DCDC1_CONTROL_1,
193 .vsel_reg = WM8400_DCDC2_CONTROL_1,
Disl9305.c77 .vsel_reg = ISL9305_DCD1OUT,
92 .vsel_reg = ISL9305_DCD2OUT,
107 .vsel_reg = ISL9305_LDO1OUT,
122 .vsel_reg = ISL9305_LDO2OUT,
Dda9062-regulator.c374 .desc.vsel_reg = DA9062AA_VBUCK1_A,
411 .desc.vsel_reg = DA9062AA_VBUCK3_A,
448 .desc.vsel_reg = DA9062AA_VBUCK4_A,
482 .desc.vsel_reg = DA9062AA_VLDO1_A,
515 .desc.vsel_reg = DA9062AA_VLDO2_A,
548 .desc.vsel_reg = DA9062AA_VLDO3_A,
581 .desc.vsel_reg = DA9062AA_VLDO4_A,
621 .desc.vsel_reg = DA9062AA_VBUCK1_A,
658 .desc.vsel_reg = DA9062AA_VBUCK2_A,
695 .desc.vsel_reg = DA9062AA_VBUCK3_A,
[all …]
Dbd9576-regulator.c102 .vsel_reg = BD957X_REG_VOUT1_TUNE,
121 .vsel_reg = BD957X_REG_VOUT2_TUNE,
139 .vsel_reg = BD957X_REG_VOUT3_TUNE,
158 .vsel_reg = BD957X_REG_VOUT4_TUNE,
177 .vsel_reg = BD957X_REG_VOUTL1_TUNE,
Dmax77650-regulator.c161 .vsel_reg = MAX77650_REG_CNFG_LDO_A,
187 .vsel_reg = MAX77650_REG_CNFG_SBB0_A,
217 .vsel_reg = MAX77650_REG_CNFG_SBB1_A,
250 .vsel_reg = MAX77650_REG_CNFG_SBB1_A,
280 .vsel_reg = MAX77650_REG_CNFG_SBB2_A,
310 .vsel_reg = MAX77650_REG_CNFG_SBB2_A,
Dwm8994-regulator.c79 .vsel_reg = WM8994_LDO_1,
93 .vsel_reg = WM8994_LDO_2,
108 .vsel_reg = WM8994_LDO_1,
121 .vsel_reg = WM8994_LDO_2,
Dmc13892-regulator.c257 #define MC13892_SW_DEFINE(name, node, reg, vsel_reg, voltages) \ argument
258 MC13xxx_DEFINE(MC13892_, name, node, reg, vsel_reg, voltages, \
261 #define MC13892_DEFINE_REGU(name, node, reg, vsel_reg, voltages) \ argument
262 MC13xxx_DEFINE(MC13892_, name, node, reg, vsel_reg, voltages, \
408 mc13892_regulators[id].vsel_reg, &val); in mc13892_sw_regulator_get_voltage_sel()
426 if ((mc13892_regulators[id].vsel_reg != MC13892_SWITCHERS0) && in mc13892_sw_regulator_get_voltage_sel()
463 if (mc13892_regulators[id].vsel_reg != MC13892_SWITCHERS0) { in mc13892_sw_regulator_set_voltage_sel()
475 ret = mc13xxx_reg_rmw(priv->mc13xxx, mc13892_regulators[id].vsel_reg, in mc13892_sw_regulator_set_voltage_sel()
Dlp872x.c468 .vsel_reg = LP872X_LDO1_VOUT,
482 .vsel_reg = LP872X_LDO2_VOUT,
496 .vsel_reg = LP872X_LDO3_VOUT,
510 .vsel_reg = LP872X_LDO4_VOUT,
524 .vsel_reg = LP872X_LDO5_VOUT,
553 .vsel_reg = LP872X_LDO1_VOUT,
567 .vsel_reg = LP872X_LDO2_VOUT,
581 .vsel_reg = LP872X_LDO3_VOUT,
595 .vsel_reg = LP872X_LDO4_VOUT,
609 .vsel_reg = LP872X_LDO5_VOUT,
[all …]
Dmax77686-regulator.c350 .vsel_reg = MAX77686_REG_LDO1CTRL1 + num - 1, \
368 .vsel_reg = MAX77686_REG_LDO1CTRL1 + num - 1, \
386 .vsel_reg = MAX77686_REG_LDO1CTRL1 + num - 1, \
404 .vsel_reg = MAX77686_REG_LDO1CTRL1 + num - 1, \
424 .vsel_reg = MAX77686_REG_BUCK5OUT + (num - 5) * 2, \
442 .vsel_reg = MAX77686_REG_BUCK1OUT, \
460 .vsel_reg = MAX77686_REG_BUCK2DVS1 + (num - 2) * 10, \
Drt4801-regulator.c77 ret = regmap_write(rdev->regmap, rdev->desc->vsel_reg, priv->volt_sel[id]); in rt4801_enable()
131 .vsel_reg = RT4801_REG_VOP,
144 .vsel_reg = RT4801_REG_VON,
190 ret = regmap_read(regmap, desc->vsel_reg, &val); in rt4801_probe()
Dfan53880.c55 .vsel_reg = FAN53880_LDO ## _num ## VOUT, \
81 .vsel_reg = FAN53880_BUCKVOUT,
101 .vsel_reg = FAN53880_BOOSTVOUT,
Dmax77802-regulator.c378 .vsel_reg = MAX77802_REG_LDO1CTRL1 + num - 1, \
399 .vsel_reg = MAX77802_REG_LDO1CTRL1 + num - 1, \
420 .vsel_reg = MAX77802_REG_BUCK ## num ## DVS1, \
441 .vsel_reg = MAX77802_REG_BUCK ## num ## DVS1, \
463 .vsel_reg = MAX77802_REG_BUCK5OUT, \
484 .vsel_reg = MAX77802_REG_BUCK7OUT + (num - 7) * 3, \
Dpfuze100-regulator.c158 rdev->desc->vsel_reg + 4, in pfuze100_set_ramp_delay()
254 .vsel_reg = (base) + PFUZE100_VOL_OFFSET, \
274 .vsel_reg = (base), \
292 .vsel_reg = (base), \
311 .vsel_reg = (base), \
328 .vsel_reg = (base), \
348 .vsel_reg = (base) + PFUZE100_VOL_OFFSET, \
370 .vsel_reg = (base) + PFUZE100_VOL_OFFSET, \
815 desc->vsel_reg, &val); in pfuze100_regulator_probe()
/drivers/staging/hikey9xx/
Dhi6421v600-regulator.c119 reg_val = hi6421_spmi_pmic_read(pmic, rdev->desc->vsel_reg); in hi6421_spmi_regulator_get_voltage_sel()
125 rdev->desc->vsel_reg, reg_val, selector, in hi6421_spmi_regulator_get_voltage_sel()
146 rdev->desc->vsel_reg, rdev->desc->vsel_mask, reg_val, in hi6421_spmi_regulator_set_voltage_sel()
149 hi6421_spmi_pmic_rmw(pmic, rdev->desc->vsel_reg, in hi6421_spmi_regulator_set_voltage_sel()
233 ret = of_property_read_u32(np, "vsel-reg", &rdesc->vsel_reg); in hi6421_spmi_dt_parse()
306 rdesc->vsel_reg, rdesc->vsel_mask); in hi6421_spmi_dt_parse()

12345