| /linux/arch/arm/mach-omap2/ |
| A D | pmic-cpcap.c | 29 if (vsel > 0x44) in omap_cpcap_vsel_to_uv() 30 vsel = 0x44; in omap_cpcap_vsel_to_uv() 93 if (vsel > 0x3F) in omap_max8952_vsel_to_uv() 94 vsel = 0x3F; in omap_max8952_vsel_to_uv() 141 vsel &= 0x3F; in omap_fan535503_vsel_to_uv() 156 vsel &= 0x3F; in omap_fan535508_vsel_to_uv() 158 if (vsel > 0x37) in omap_fan535508_vsel_to_uv() 159 vsel = 0x37; in omap_fan535508_vsel_to_uv() 173 unsigned char vsel; in omap_fan535503_uv_to_vsel() local 180 return vsel | 0xC0; in omap_fan535503_uv_to_vsel() [all …]
|
| A D | omap_twl.c | 44 static unsigned long twl4030_vsel_to_uv(const u8 vsel) in twl4030_vsel_to_uv() argument 46 return (((vsel * 125) + 6000)) * 100; in twl4030_vsel_to_uv() 54 static unsigned long twl6030_vsel_to_uv(const u8 vsel) in twl6030_vsel_to_uv() argument 70 if (!vsel) in twl6030_vsel_to_uv() 79 if (vsel == 0x3A) in twl6030_vsel_to_uv() 83 return ((((vsel - 1) * 1266) + 70900)) * 10; in twl6030_vsel_to_uv() 85 return ((((vsel - 1) * 1266) + 60770)) * 10; in twl6030_vsel_to_uv()
|
| A D | vp.c | 17 char vsel; in _vp_set_init_voltage() local 19 vsel = voltdm->pmic->uv_to_vsel(volt); in _vp_set_init_voltage() 25 vpconfig |= vsel << __ffs(vp->common->vpconfig_initvoltage_mask); in _vp_set_init_voltage()
|
| /linux/drivers/regulator/ |
| A D | twl6030-regulator.c | 272 return vsel; in twl6030ldo_get_voltage_sel() 402 vsel = 0; in twl6030smps_map_voltage() 405 vsel++; in twl6030smps_map_voltage() 411 vsel = 62; in twl6030smps_map_voltage() 413 vsel = 61; in twl6030smps_map_voltage() 425 vsel = 0; in twl6030smps_map_voltage() 428 vsel++; in twl6030smps_map_voltage() 446 vsel = 0; in twl6030smps_map_voltage() 449 vsel++; in twl6030smps_map_voltage() 454 vsel = 0; in twl6030smps_map_voltage() [all …]
|
| A D | twl-regulator.c | 393 int vsel = twlreg_read(info, TWL_MODULE_PM_RECEIVER, VREG_VOLTAGE); in twl4030ldo_get_voltage_sel() local 395 if (vsel < 0) in twl4030ldo_get_voltage_sel() 396 return vsel; in twl4030ldo_get_voltage_sel() 398 vsel &= info->table_len - 1; in twl4030ldo_get_voltage_sel() 399 return vsel; in twl4030ldo_get_voltage_sel() 422 int vsel = DIV_ROUND_UP(min_uV - 600000, 12500); in twl4030smps_set_voltage() local 424 twlreg_write(info, TWL_MODULE_PM_RECEIVER, VREG_VOLTAGE_SMPS_4030, vsel); in twl4030smps_set_voltage() 432 int vsel; in twl4030smps_get_voltage() local 434 vsel = twlreg_read(info, TWL_MODULE_PM_RECEIVER, in twl4030smps_get_voltage() 437 return vsel * 12500 + 600000; in twl4030smps_get_voltage()
|
| A D | wm831x-dcdc.c | 227 unsigned vsel) in wm831x_buckv_set_voltage_sel() argument 236 if (dcdc->dvs_gpiod && dcdc->on_vsel == vsel) in wm831x_buckv_set_voltage_sel() 239 if (dcdc->dvs_gpiod && dcdc->dvs_vsel == vsel) in wm831x_buckv_set_voltage_sel() 246 dcdc->on_vsel = vsel; in wm831x_buckv_set_voltage_sel() 262 if (vsel > dcdc->dvs_vsel) { in wm831x_buckv_set_voltage_sel() 265 vsel); in wm831x_buckv_set_voltage_sel() 267 dcdc->dvs_vsel = vsel; in wm831x_buckv_set_voltage_sel() 282 int vsel; in wm831x_buckv_set_suspend_voltage() local 284 vsel = regulator_map_voltage_linear_range(rdev, uV, uV); in wm831x_buckv_set_suspend_voltage() 285 if (vsel < 0) in wm831x_buckv_set_suspend_voltage() [all …]
|
| A D | rt6160-regulator.c | 132 int vsel; in rt6160_set_suspend_voltage() local 134 vsel = regulator_map_voltage_linear(rdev, uV, uV); in rt6160_set_suspend_voltage() 135 if (vsel < 0) in rt6160_set_suspend_voltage() 136 return vsel; in rt6160_set_suspend_voltage() 144 RT6160_VSEL_MASK, vsel); in rt6160_set_suspend_voltage()
|
| A D | sy8106a-regulator.c | 70 unsigned int reg, vsel; in sy8106a_i2c_probe() local 106 vsel = (fixed_voltage / 1000 - SY8106A_MIN_MV) / in sy8106a_i2c_probe() 110 vsel | SY8106A_GO_BIT); in sy8106a_i2c_probe()
|
| A D | tps51632-regulator.c | 124 int vsel; in tps51632_init_dcdc() local 130 vsel = TPS51632_VOLT_VSEL(pdata->base_voltage_uV); in tps51632_init_dcdc() 131 ret = regmap_write(tps->regmap, TPS51632_VOLTAGE_BASE_REG, vsel); in tps51632_init_dcdc() 154 vsel = TPS51632_VOLT_VSEL(pdata->max_voltage_uV); in tps51632_init_dcdc() 156 vsel); in tps51632_init_dcdc()
|
| A D | bd71815-regulator.c | 427 #define BD71815_BUCK_REG(_name, _id, vsel, ereg, min, max, step, _dvs) \ argument 440 .vsel_reg = (vsel), \ 449 #define BD71815_BUCK12_REG(_name, _id, vsel, ereg, min, max, step, \ argument 463 .vsel_reg = (vsel), \ 495 #define BD71815_LDO_REG(_name, _id, vsel, ereg, emsk, min, max, step, \ argument 509 .vsel_reg = (vsel), \
|
| A D | rc5t583-regulator.c | 40 int vsel = regulator_get_voltage_sel_regmap(rdev); in rc5t583_regulator_enable_time() local 41 int curr_uV = regulator_list_voltage_linear(rdev, vsel); in rc5t583_regulator_enable_time()
|
| A D | tps65910-regulator.c | 599 int id = rdev_get_id(dev), vsel; in tps65910_set_voltage_dcdc_sel() local 607 vsel = (selector % VDD1_2_NUM_VOLT_FINE) + 3; in tps65910_set_voltage_dcdc_sel() 611 regmap_write(regmap, TPS65910_VDD1_OP, vsel); in tps65910_set_voltage_dcdc_sel() 617 vsel = (selector % VDD1_2_NUM_VOLT_FINE) + 3; in tps65910_set_voltage_dcdc_sel() 621 regmap_write(regmap, TPS65910_VDD2_OP, vsel); in tps65910_set_voltage_dcdc_sel() 624 vsel = selector + 3; in tps65910_set_voltage_dcdc_sel() 625 regmap_write(regmap, TPS65911_VDDCTRL_OP, vsel); in tps65910_set_voltage_dcdc_sel()
|
| A D | tps62360-regulator.c | 123 int vsel; in tps62360_dcdc_get_voltage_sel() local 133 vsel = (int)data & tps->voltage_reg_mask; in tps62360_dcdc_get_voltage_sel() 134 return vsel; in tps62360_dcdc_get_voltage_sel()
|
| A D | max8973-regulator.c | 188 unsigned vsel) in max8973_dcdc_set_voltage_sel() argument 201 found = find_voltage_set_register(max, vsel, in max8973_dcdc_set_voltage_sel() 206 MAX8973_VOUT_MASK, vsel); in max8973_dcdc_set_voltage_sel() 213 max->curr_vout_val[gpio_val] = vsel; in max8973_dcdc_set_voltage_sel()
|
| /linux/drivers/media/dvb-frontends/ |
| A D | lnbh25.c | 86 const char *vsel; in lnbh25_set_voltage() local 98 vsel = "Off"; in lnbh25_set_voltage() 102 vsel = "13V"; in lnbh25_set_voltage() 106 vsel = "18V"; in lnbh25_set_voltage() 114 __func__, vsel, priv->i2c_address, in lnbh25_set_voltage()
|
| /linux/Documentation/devicetree/bindings/regulator/ |
| A D | richtek,rtq2134-regulator.yaml | 38 richtek,use-vsel-dvs: 41 If specified, buck will listen to 'vsel' pin for dvs config. 76 richtek,use-vsel-dvs; 87 richtek,use-vsel-dvs; 98 richtek,use-vsel-dvs;
|
| A D | richtek,rt6160-regulator.yaml | 35 richtek,vsel-active-low: 37 Used to indicate the 'vsel' pin active level. if not specified, use
|
| A D | act8945a-regulator.txt | 7 - active-semi,vsel-high: Indicates if the VSEL pin is set to logic-high. 33 active-semi,vsel-high;
|
| A D | act8865-regulator.txt | 11 - active-semi,vsel-high: Indicates the VSEL pin is high. 59 active-semi,vsel-high;
|
| A D | silergy,sy8827n.yaml | 24 silergy,vsel-state-high:
|
| /linux/drivers/clk/samsung/ |
| A D | clk-pll.h | 103 .vsel = (_vsel), \ 116 .vsel = (_vsel), \ 130 unsigned int vsel; member
|
| /linux/include/linux/mfd/ |
| A D | lp8788.h | 167 enum lp8788_dvs_sel vsel; member 177 enum lp8788_dvs_sel vsel; member
|
| /linux/include/linux/regulator/ |
| A D | lp872x.h | 56 enum lp872x_dvs_sel vsel; member
|
| /linux/arch/arm/boot/dts/ |
| A D | rk3288-firefly.dts | 20 pmic_vsel: pmic-vsel {
|
| A D | rk3288-firefly-beta.dts | 20 pmic_vsel: pmic-vsel {
|