Home
last modified time | relevance | path

Searched refs:dvs (Results 1 – 10 of 10) sorted by relevance

/drivers/regulator/
Dlp8788-buck.c91 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 …]
Dlp872x.c322 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 …]
Dbd718x7-regulator.c359 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/
Ds3c2412-cpufreq.c42 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()
Ds3c2440-cpufreq.c111 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()
Ds3c24xx-cpufreq-debugfs.c86 cfg->divs.arm_divisor, cfg->divs.dvs ? "on" : "off"); in info_show()
DKconfig.arm231 Enable CPU voltage scaling when entering the dvs mode.
/drivers/staging/media/ipu3/
Dipu3-css-fw.h51 struct imgu_fw_isp_parameter dvs; member
Dipu3-abi.h1645 struct imgu_abi_binary_dvs_info dvs; member
Dipu3-css.c825 &cofs->dmem.dvs, sizeof(*cfg_dvs), in imgu_css_pipeline_init()