Home
last modified time | relevance | path

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

/drivers/regulator/
Dlp8788-buck.c95 void *dvs; member
108 struct lp8788_buck1_dvs *dvs = (struct lp8788_buck1_dvs *)buck->dvs; in lp8788_buck1_set_dvs() local
111 if (!dvs) in lp8788_buck1_set_dvs()
114 pinstate = dvs->vsel == DVS_SEL_V0 ? DVS_LOW : DVS_HIGH; in lp8788_buck1_set_dvs()
115 if (gpio_is_valid(dvs->gpio)) in lp8788_buck1_set_dvs()
116 gpio_set_value(dvs->gpio, pinstate); in lp8788_buck1_set_dvs()
121 struct lp8788_buck2_dvs *dvs = (struct lp8788_buck2_dvs *)buck->dvs; in lp8788_buck2_set_dvs() local
124 if (!dvs) in lp8788_buck2_set_dvs()
127 switch (dvs->vsel) { in lp8788_buck2_set_dvs()
148 if (gpio_is_valid(dvs->gpio[0])) in lp8788_buck2_set_dvs()
[all …]
Dlp872x.c326 struct lp872x_dvs *dvs = lp->pdata ? lp->pdata->dvs : NULL; in lp872x_buck_set_voltage_sel() local
328 if (dvs && gpio_is_valid(dvs->gpio)) in lp872x_buck_set_voltage_sel()
329 lp872x_set_dvs(lp, dvs->vsel, dvs->gpio); in lp872x_buck_set_voltage_sel()
733 struct lp872x_dvs *dvs = lp->pdata ? lp->pdata->dvs : NULL; in lp872x_init_dvs() local
738 if (!dvs) in lp872x_init_dvs()
741 gpio = dvs->gpio; in lp872x_init_dvs()
745 pinstate = dvs->init_state; in lp872x_init_dvs()
897 pdata->dvs = devm_kzalloc(dev, sizeof(struct lp872x_dvs), GFP_KERNEL); in lp872x_populate_pdata_from_dt()
898 if (!pdata->dvs) in lp872x_populate_pdata_from_dt()
901 pdata->dvs->gpio = of_get_named_gpio(np, "ti,dvs-gpio", 0); in lp872x_populate_pdata_from_dt()
[all …]
/drivers/cpufreq/
Ds3c2412-cpufreq.c45 unsigned int hdiv, pdiv, armdiv, dvs; in s3c2412_cpufreq_calcdivs() local
82 cfg->divs.dvs = dvs = armclk < armdiv_clk; in s3c2412_cpufreq_calcdivs()
85 cfg->freq.armclk = dvs ? hclk : armdiv_clk; in s3c2412_cpufreq_calcdivs()
88 __func__, armclk, hclk, armdiv, hdiv, cfg->divs.dvs); in s3c2412_cpufreq_calcdivs()
142 clk_set_parent(armclk, cfg->divs.dvs ? hclk : fclk); in s3c2412_cpufreq_setdivs()
Ds3c2440-cpufreq.c114 cfg->divs.dvs = 1; in s3c2440_cpufreq_calcdivs()
117 cfg->divs.dvs = 0; in s3c2440_cpufreq_calcdivs()
196 clk_set_parent(armclk, cfg->divs.dvs ? hclk : fclk); in s3c2440_cpufreq_setdivs()
Ds3c24xx-cpufreq-debugfs.c100 cfg->divs.arm_divisor, cfg->divs.dvs ? "on" : "off"); in info_show()
DKconfig.arm169 Enable CPU voltage scaling when entering the dvs mode.
/drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2401_system/hive_isp_css_2401_system_generated/
Dia_css_isp_configs.h68 struct ia_css_isp_parameter dvs; member
Dia_css_isp_configs.c132 size = binary->info->mem_offsets.offsets.config->dmem.dvs.size; in ia_css_configure_dvs()
133 offset = binary->info->mem_offsets.offsets.config->dmem.dvs.offset; in ia_css_configure_dvs()
/drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2401_csi2p_system/hive_isp_css_2401_system_csi2p_generated/
Dia_css_isp_configs.h68 struct ia_css_isp_parameter dvs; member
Dia_css_isp_configs.c132 size = binary->info->mem_offsets.offsets.config->dmem.dvs.size; in ia_css_configure_dvs()
133 offset = binary->info->mem_offsets.offsets.config->dmem.dvs.offset; in ia_css_configure_dvs()
/drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2400_system/hive_isp_css_2400_system_generated/
Dia_css_isp_configs.h68 struct ia_css_isp_parameter dvs; member
Dia_css_isp_configs.c132 size = binary->info->mem_offsets.offsets.config->dmem.dvs.size; in ia_css_configure_dvs()
133 offset = binary->info->mem_offsets.offsets.config->dmem.dvs.offset; in ia_css_configure_dvs()
/drivers/staging/media/atomisp/pci/atomisp2/
DMakefile73 css2400/isp/kernels/dvs/dvs_1.0/ia_css_dvs.host.o \
245 -I$(atomisp)/css2400/isp/kernels/dvs/ \
246 -I$(atomisp)/css2400/isp/kernels/dvs/dvs_1.0/ \
/drivers/staging/media/atomisp/pci/atomisp2/css2400/
Dia_css_acc_types.h210 struct ia_css_binary_dvs_info dvs; member