Searched refs:dvs (Results 1 – 10 of 10) sorted by relevance
/drivers/regulator/ |
D | lp8788-buck.c | 91 void *dvs; member 102 struct lp8788_buck1_dvs *dvs = (struct lp8788_buck1_dvs *)buck->dvs; in lp8788_buck1_set_dvs() local 105 if (!dvs) in lp8788_buck1_set_dvs() 108 pinstate = dvs->vsel == DVS_SEL_V0 ? DVS_LOW : DVS_HIGH; in lp8788_buck1_set_dvs() 109 if (gpio_is_valid(dvs->gpio)) in lp8788_buck1_set_dvs() 110 gpio_set_value(dvs->gpio, pinstate); in lp8788_buck1_set_dvs() 115 struct lp8788_buck2_dvs *dvs = (struct lp8788_buck2_dvs *)buck->dvs; in lp8788_buck2_set_dvs() local 118 if (!dvs) in lp8788_buck2_set_dvs() 121 switch (dvs->vsel) { in lp8788_buck2_set_dvs() 142 if (gpio_is_valid(dvs->gpio[0])) in lp8788_buck2_set_dvs() [all …]
|
D | lp872x.c | 322 struct lp872x_dvs *dvs = lp->pdata ? lp->pdata->dvs : NULL; in lp872x_buck_set_voltage_sel() local 324 if (dvs && gpio_is_valid(dvs->gpio)) in lp872x_buck_set_voltage_sel() 325 lp872x_set_dvs(lp, dvs->vsel, dvs->gpio); in lp872x_buck_set_voltage_sel() 679 struct lp872x_dvs *dvs = lp->pdata ? lp->pdata->dvs : NULL; in lp872x_init_dvs() local 684 if (!dvs) in lp872x_init_dvs() 687 gpio = dvs->gpio; in lp872x_init_dvs() 691 pinstate = dvs->init_state; in lp872x_init_dvs() 843 pdata->dvs = devm_kzalloc(dev, sizeof(struct lp872x_dvs), GFP_KERNEL); in lp872x_populate_pdata_from_dt() 844 if (!pdata->dvs) in lp872x_populate_pdata_from_dt() 847 pdata->dvs->gpio = of_get_named_gpio(np, "ti,dvs-gpio", 0); in lp872x_populate_pdata_from_dt() [all …]
|
D | bd718x7-regulator.c | 359 static int set_dvs_levels(const struct of_dvs_setting *dvs, in set_dvs_levels() argument 367 ret = of_property_read_u32(np, dvs->prop, &uv); in set_dvs_levels() 380 ret = regmap_update_bits(regmap, dvs->reg, in set_dvs_levels() 393 const struct of_dvs_setting dvs[] = { in buck4_set_hw_dvs_levels() local 400 for (i = 0; i < ARRAY_SIZE(dvs); i++) { in buck4_set_hw_dvs_levels() 401 ret = set_dvs_levels(&dvs[i], np, desc, cfg->regmap); in buck4_set_hw_dvs_levels() 412 const struct of_dvs_setting dvs[] = { in buck3_set_hw_dvs_levels() local 419 for (i = 0; i < ARRAY_SIZE(dvs); i++) { in buck3_set_hw_dvs_levels() 420 ret = set_dvs_levels(&dvs[i], np, desc, cfg->regmap); in buck3_set_hw_dvs_levels() 432 const struct of_dvs_setting dvs[] = { in buck2_set_hw_dvs_levels() local [all …]
|
/drivers/cpufreq/ |
D | s3c2412-cpufreq.c | 42 unsigned int hdiv, pdiv, armdiv, dvs; in s3c2412_cpufreq_calcdivs() local 79 cfg->divs.dvs = dvs = armclk < armdiv_clk; in s3c2412_cpufreq_calcdivs() 82 cfg->freq.armclk = dvs ? hclk : armdiv_clk; in s3c2412_cpufreq_calcdivs() 85 __func__, armclk, hclk, armdiv, hdiv, cfg->divs.dvs); in s3c2412_cpufreq_calcdivs() 139 clk_set_parent(armclk, cfg->divs.dvs ? hclk : fclk); in s3c2412_cpufreq_setdivs()
|
D | s3c2440-cpufreq.c | 111 cfg->divs.dvs = 1; in s3c2440_cpufreq_calcdivs() 114 cfg->divs.dvs = 0; in s3c2440_cpufreq_calcdivs() 193 clk_set_parent(armclk, cfg->divs.dvs ? hclk : fclk); in s3c2440_cpufreq_setdivs()
|
D | s3c24xx-cpufreq-debugfs.c | 86 cfg->divs.arm_divisor, cfg->divs.dvs ? "on" : "off"); in info_show()
|
D | Kconfig.arm | 231 Enable CPU voltage scaling when entering the dvs mode.
|
/drivers/staging/media/ipu3/ |
D | ipu3-css-fw.h | 51 struct imgu_fw_isp_parameter dvs; member
|
D | ipu3-abi.h | 1645 struct imgu_abi_binary_dvs_info dvs; member
|
D | ipu3-css.c | 825 &cofs->dmem.dvs, sizeof(*cfg_dvs), in imgu_css_pipeline_init()
|