Home
last modified time | relevance | path

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

/drivers/regulator/
Drohm-regulator.c59 int rohm_regulator_set_dvs_levels(const struct rohm_dvs_config *dvs, in rohm_regulator_set_dvs_levels() argument
72 if (dvs->level_map & bit) { in rohm_regulator_set_dvs_levels()
76 reg = dvs->run_reg; in rohm_regulator_set_dvs_levels()
77 mask = dvs->run_mask; in rohm_regulator_set_dvs_levels()
78 omask = dvs->run_on_mask; in rohm_regulator_set_dvs_levels()
82 reg = dvs->idle_reg; in rohm_regulator_set_dvs_levels()
83 mask = dvs->idle_mask; in rohm_regulator_set_dvs_levels()
84 omask = dvs->idle_on_mask; in rohm_regulator_set_dvs_levels()
88 reg = dvs->suspend_reg; in rohm_regulator_set_dvs_levels()
89 mask = dvs->suspend_mask; in rohm_regulator_set_dvs_levels()
[all …]
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 …]
Dbd71828-regulator.c27 const struct rohm_dvs_config dvs; member
103 return rohm_regulator_set_dvs_levels(&data->dvs, np, desc, cfg->regmap); in buck_set_hw_dvs_levels()
198 .dvs = {
244 .dvs = {
281 .dvs = {
322 .dvs = {
363 .dvs = {
408 .dvs = {
449 .dvs = {
486 .dvs = {
[all …]
Dlp872x.c321 struct lp872x_dvs *dvs = lp->pdata ? lp->pdata->dvs : NULL; in lp872x_buck_set_voltage_sel() local
323 if (dvs && dvs->gpio) in lp872x_buck_set_voltage_sel()
324 lp872x_set_dvs(lp, dvs->vsel, dvs->gpio); in lp872x_buck_set_voltage_sel()
677 struct lp872x_dvs *dvs = lp->pdata ? lp->pdata->dvs : NULL; in lp872x_init_dvs() local
682 if (!dvs) in lp872x_init_dvs()
685 if (!dvs->gpio) in lp872x_init_dvs()
688 pinstate = dvs->init_state; in lp872x_init_dvs()
689 dvs->gpio = devm_gpiod_get_optional(lp->dev, "ti,dvs", pinstate); in lp872x_init_dvs()
691 if (IS_ERR(dvs->gpio)) { in lp872x_init_dvs()
692 dev_err(lp->dev, "gpio request err: %ld\n", PTR_ERR(dvs->gpio)); in lp872x_init_dvs()
[all …]
Dpca9450-regulator.c30 const struct pc9450_dvs_config dvs; member
194 const struct pc9450_dvs_config *dvs = &data->dvs; in pca9450_set_dvs_levels() local
203 reg = dvs->run_reg; in pca9450_set_dvs_levels()
204 mask = dvs->run_mask; in pca9450_set_dvs_levels()
208 reg = dvs->standby_reg; in pca9450_set_dvs_levels()
209 mask = dvs->standby_mask; in pca9450_set_dvs_levels()
246 .dvs = {
275 .dvs = {
304 .dvs = {
484 .dvs = {
[all …]
Dbd71815-regulator.c28 const struct rohm_dvs_config *dvs; member
180 return rohm_regulator_set_dvs_levels(data->dvs, np, desc, cfg->regmap); in set_hw_dvs_levels()
234 ret = rohm_regulator_set_dvs_levels(data->dvs, np, desc, in buck12_set_hw_dvs_levels()
424 .dvs = (_dvs), \
446 .dvs = (_dvs), \
473 .dvs = (_dvs), \
515 .dvs = (_dvs), \
Dbd718x7-regulator.c431 const struct rohm_dvs_config dvs; member
703 return rohm_regulator_set_dvs_levels(&data->dvs, np, desc, cfg->regmap); in buck_set_hw_dvs_levels()
754 .dvs = {
792 .dvs = {
1103 .dvs = {
1141 .dvs = {
1176 .dvs = {
1209 .dvs = {
/drivers/cpufreq/
Ds3c2412-cpufreq.c51 unsigned int hdiv, pdiv, armdiv, dvs; in s3c2412_cpufreq_calcdivs() local
88 cfg->divs.dvs = dvs = armclk < armdiv_clk; in s3c2412_cpufreq_calcdivs()
91 cfg->freq.armclk = dvs ? hclk : armdiv_clk; in s3c2412_cpufreq_calcdivs()
94 __func__, armclk, hclk, armdiv, hdiv, cfg->divs.dvs); in s3c2412_cpufreq_calcdivs()
148 clk_set_parent(armclk, cfg->divs.dvs ? hclk : fclk); in s3c2412_cpufreq_setdivs()
Ds3c2440-cpufreq.c124 cfg->divs.dvs = 1; in s3c2440_cpufreq_calcdivs()
127 cfg->divs.dvs = 0; in s3c2440_cpufreq_calcdivs()
208 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.arm248 Enable CPU voltage scaling when entering the dvs mode.
/drivers/staging/media/atomisp/pci/
Dia_css_isp_configs.h62 struct ia_css_isp_parameter dvs; member
Dia_css_isp_configs.c128 size = binary->info->mem_offsets.offsets.config->dmem.dvs.size; in ia_css_configure_dvs()
132 offset = binary->info->mem_offsets.offsets.config->dmem.dvs.offset; in ia_css_configure_dvs()
Dia_css_acc_types.h215 struct ia_css_binary_dvs_info dvs; member
/drivers/staging/media/ipu3/
Dipu3-css-fw.h53 struct imgu_fw_isp_parameter dvs; member
Dipu3-abi.h1645 struct imgu_abi_binary_dvs_info dvs; member
Dipu3-css.c803 &cofs->dmem.dvs, sizeof(*cfg_dvs), in imgu_css_pipeline_init()
/drivers/staging/media/atomisp/
DMakefile73 pci/isp/kernels/dvs/dvs_1.0/ia_css_dvs.host.o \
212 -I$(atomisp)/pci/isp/kernels/dvs/ \
213 -I$(atomisp)/pci/isp/kernels/dvs/dvs_1.0/ \