| /OK3568_Linux_fs/kernel/drivers/cpufreq/ |
| H A D | armada-37xx-cpufreq.c | 130 * will be configured then the DVFS will be enabled. 221 struct armada_37xx_dvfs *dvfs) in armada37xx_cpufreq_avs_configure() argument 238 dvfs->avs[0] = l0_vdd_min; in armada37xx_cpufreq_avs_configure() 248 dvfs->avs[load_level] = avs_min; in armada37xx_cpufreq_avs_configure() 255 if (dvfs->cpu_freq_max >= 1000*1000*1000) { in armada37xx_cpufreq_avs_configure() 256 if (dvfs->cpu_freq_max >= 1200*1000*1000) in armada37xx_cpufreq_avs_configure() 260 dvfs->avs[0] = dvfs->avs[1] = avs_min; in armada37xx_cpufreq_avs_configure() 273 dvfs->avs[1] = armada_37xx_avs_val_match(target_vm); in armada37xx_cpufreq_avs_configure() 281 dvfs->avs[2] = dvfs->avs[3] = armada_37xx_avs_val_match(target_vm); in armada37xx_cpufreq_avs_configure() 288 if (dvfs->cpu_freq_max >= 1000*1000*1000) { in armada37xx_cpufreq_avs_configure() [all …]
|
| H A D | s3c64xx-cpufreq.c | 54 struct s3c64xx_dvfs *dvfs; in s3c64xx_cpufreq_set_target() local 60 dvfs = &s3c64xx_dvfs_table[s3c64xx_freq_table[index].driver_data]; in s3c64xx_cpufreq_set_target() 65 dvfs->vddarm_min, in s3c64xx_cpufreq_set_target() 66 dvfs->vddarm_max); in s3c64xx_cpufreq_set_target() 85 dvfs->vddarm_min, in s3c64xx_cpufreq_set_target() 86 dvfs->vddarm_max); in s3c64xx_cpufreq_set_target() 109 struct s3c64xx_dvfs *dvfs; in s3c64xx_cpufreq_config_regulator() local 120 dvfs = &s3c64xx_dvfs_table[freq->driver_data]; in s3c64xx_cpufreq_config_regulator() 125 if (v >= dvfs->vddarm_min && v <= dvfs->vddarm_max) in s3c64xx_cpufreq_config_regulator()
|
| H A D | s3c2416-cpufreq.c | 121 struct s3c2416_dvfs *dvfs; in s3c2416_cpufreq_enter_dvs() local 141 dvfs = &s3c2416_dvfs_table[idx]; in s3c2416_cpufreq_enter_dvs() 144 dvfs->vddarm_min, dvfs->vddarm_max); in s3c2416_cpufreq_enter_dvs() 146 dvfs->vddarm_min, in s3c2416_cpufreq_enter_dvs() 147 dvfs->vddarm_max); in s3c2416_cpufreq_enter_dvs() 163 struct s3c2416_dvfs *dvfs; in s3c2416_cpufreq_leave_dvs() local 174 dvfs = &s3c2416_dvfs_table[idx]; in s3c2416_cpufreq_leave_dvs() 177 dvfs->vddarm_min, dvfs->vddarm_max); in s3c2416_cpufreq_leave_dvs() 179 dvfs->vddarm_min, in s3c2416_cpufreq_leave_dvs() 180 dvfs->vddarm_max); in s3c2416_cpufreq_leave_dvs() [all …]
|
| H A D | Kconfig.arm | 61 firmware providing the CPU DVFS functionality. 81 Say Y, if you have a Broadcom SoC with AVS support for DFS or DVFS. 283 firmware providing the CPU DVFS functionality.
|
| /OK3568_Linux_fs/u-boot/cmd/ |
| H A D | dvfs.c | 8 #include <dvfs.h> 19 printf("DVFS: Get dvfs device failed, ret=%d\n", ret); in do_dvfs() 34 dvfs, 2, 1, do_dvfs, 35 "Start DVFS policy", 36 "dvfs - apply dvfs policy once\n" 37 "dvfs repeat - repeat apply dvfs policy until achieve the target temperature"
|
| /OK3568_Linux_fs/u-boot/drivers/power/dvfs/ |
| H A D | rockchip_wtemp_dvfs.c | 8 #include <dvfs.h> 19 * # This is a simple wide temperature(ie. wtemp) dvfs driver, the policy is: 36 * # The dvfs policy apply moment is: 40 * temperature. user should add: #define CONFIG_PREBOOT "dvfs repeat" and 226 printf("DVFS: %s: target rate=%ld, readback rate=%ld !\n", in wtemp_dvfs_low_temp_adjust() 229 printf("DVFS: %s: target volt=%d, readback volt=%d !\n", in wtemp_dvfs_low_temp_adjust() 232 printf("DVFS: %s(low): %ld->%ld Hz, %d->%d uV\n", in wtemp_dvfs_low_temp_adjust() 259 printf("DVFS: %s: target rate=%ld, readback rate=%ld !\n", in wtemp_dvfs_high_temp_adjust() 262 printf("DVFS: %s: target volt=%d, readback volt=%d !\n", in wtemp_dvfs_high_temp_adjust() 265 printf("DVFS: %s(high): %ld->%ld Hz, %d->%d uV\n", in wtemp_dvfs_high_temp_adjust() [all …]
|
| H A D | dvfs-uclass.c | 8 #include <dvfs.h> 38 printf("DVFS: Get dvfs device failed, ret=%d\n", ret); in dvfs_init() 48 UCLASS_DRIVER(dvfs) = { 50 .name = "dvfs",
|
| H A D | Kconfig | 2 bool "Enable Driver Model for DVFS drivers (UCLASS_DVFS)" 5 This config enables the driver-model DVFS support. 8 bool "Enable rockchip wide temperature dvfs policy" 11 This enable support wide temperature dvfs for rockchip platforms.
|
| H A D | .built-in.o.cmd | |
| /OK3568_Linux_fs/kernel/drivers/memory/tegra/ |
| H A D | tegra186-emc.c | 24 struct tegra186_emc_dvfs *dvfs; member 65 if (rate == emc->dvfs[i].rate) in tegra186_emc_validate_rate() 79 seq_printf(s, "%s%lu", prefix, emc->dvfs[i].rate); in tegra186_emc_debug_available_rates_show() 197 dev_err(&pdev->dev, "failed to EMC DVFS pairs: %d\n", err); in tegra186_emc_probe() 206 emc->dvfs = devm_kmalloc_array(&pdev->dev, emc->num_dvfs, in tegra186_emc_probe() 207 sizeof(*emc->dvfs), GFP_KERNEL); in tegra186_emc_probe() 208 if (!emc->dvfs) { in tegra186_emc_probe() 213 dev_dbg(&pdev->dev, "%u DVFS pairs:\n", emc->num_dvfs); in tegra186_emc_probe() 216 emc->dvfs[i].rate = response.pairs[i].freq * 1000; in tegra186_emc_probe() 217 emc->dvfs[i].latency = response.pairs[i].latency; in tegra186_emc_probe() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/regulator/ |
| H A D | tps51632-regulator.txt | 8 - ti,enable-pwm-dvfs: Enable the DVFS voltage control through the PWM interface. 9 - ti,dvfs-step-20mV: The 20mV step voltage when PWM DVFS enabled. Missing this 10 will set 10mV step voltage in PWM DVFS mode. In normal mode, the voltage 25 ti,enable-pwm-dvfs; 26 ti,dvfs-step-20mV;
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
| H A D | gm20b.c | 122 struct gm20b_clk_dvfs dvfs; member 190 struct gm20b_clk_dvfs *dvfs) in gm20b_dvfs_calc_det_coeff() argument 201 dvfs->dfs_coeff = min_t(u32, coeff, MASK(GPCPLL_DVFS0_DFS_COEFF_WIDTH)); in gm20b_dvfs_calc_det_coeff() 203 dvfs->dfs_ext_cal = DIV_ROUND_CLOSEST(uv - clk->uvdet_offs, in gm20b_dvfs_calc_det_coeff() 206 if (abs(dvfs->dfs_ext_cal) >= BIT(DFS_DET_RANGE)) in gm20b_dvfs_calc_det_coeff() 209 dvfs->dfs_det_max = 0; in gm20b_dvfs_calc_det_coeff() 212 __func__, uv, dvfs->dfs_coeff, dvfs->dfs_ext_cal, in gm20b_dvfs_calc_det_coeff() 213 dvfs->dfs_det_max); in gm20b_dvfs_calc_det_coeff() 236 det_delta -= clk->dvfs.dfs_ext_cal; in gm20b_dvfs_calc_ndiv() 237 det_delta = min(det_delta, clk->dvfs.dfs_det_max); in gm20b_dvfs_calc_ndiv() [all …]
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | dvfs.h | 12 * dvfs_init() - init first dvfs driver 14 * @apply: do dvfs policy apply if true, otherwise just init. 20 * dvfs_apply() - do dvfs policy apply 22 * @dev: dvfs device 28 * dvfs_repeat_apply() - do dvfs policy repeat apply 30 * @dev: dvfs device
|
| /OK3568_Linux_fs/kernel/include/linux/regulator/ |
| H A D | tps51632-regulator.h | 6 * Driverless Controller with serial VID control and DVFS. 20 * @enable_pwm_dvfs: Enable PWM DVFS or not. 21 * @dvfs_step_20mV: Step for DVFS is 20mV or 10mV. 22 * @max_voltage_uV: Maximum possible voltage in PWM-DVFS mode. 23 * @base_voltage_uV: Base voltage when PWM-DVFS enabled.
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/common/ |
| H A D | mali_dvfs_policy.c | 123 MALI_DEBUG_PRINT(2, ("Enable DVFS but patform doesn't Support freq change. \n")); in mali_dvfs_policy_realize() 222 MALI_DEBUG_PRINT(2, ("Mali DVFS init: using arm dvfs policy \n")); in mali_dvfs_policy_init() 239 … MALI_DEBUG_PRINT(2, ("Mali DVFS init: platform didn't define enough info for ddk to do DVFS \n")); in mali_dvfs_policy_init() 250 …MALI_DEBUG_PRINT(2, ("Mali DVFS init: platform function callback incomplete, need check mali_gpu_d… in mali_dvfs_policy_init() 254 MALI_DEBUG_PRINT(2, ("Mali DVFS init: get platform data error .\n")); in mali_dvfs_policy_init() 262 * if mali dvfs enabled, for performance consideration
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mfd/ |
| H A D | bd9571mwv.txt | 23 - dvfs 61 dvfs: dvfs { 62 regulator-name = "dvfs";
|
| /OK3568_Linux_fs/kernel/drivers/firmware/ |
| H A D | arm_scpi.c | 11 * various power domain DVFS including the core/cluster, certain system 255 struct scpi_dvfs_info *dvfs[MAX_DVFS_DOMAINS]; member 599 struct dvfs_set dvfs = {domain, index}; in scpi_dvfs_set_idx() local 601 return scpi_send_message(CMD_SET_DVFS, &dvfs, sizeof(dvfs), in scpi_dvfs_set_idx() 622 if (scpi_info->dvfs[domain]) /* data already populated */ in scpi_dvfs_get_info() 623 return scpi_info->dvfs[domain]; in scpi_dvfs_get_info() 650 scpi_info->dvfs[domain] = info; in scpi_dvfs_get_info() 870 for (i = 0; i < MAX_DVFS_DOMAINS && info->dvfs[i]; i++) { in scpi_remove() 871 kfree(info->dvfs[i]->opps); in scpi_remove() 872 kfree(info->dvfs[i]); in scpi_remove()
|
| /OK3568_Linux_fs/u-boot/test/rockchip/ |
| H A D | test-power.c | 103 return run_command("dvfs", 0); in do_test_dvfs() 211 UNIT_CMD_DEFINE(dvfs, 0), 238 " [.] rktest dvfs - test rockchip wide temperature dvfs\n"
|
| /OK3568_Linux_fs/kernel/drivers/regulator/ |
| H A D | bd9571mwv-regulator.c | 32 enum bd9571mwv_regulators { VD09, VD18, VD25, VD33, DVFS }; enumerator 134 BD9571MWV_REG("DVFS", "dvfs", DVFS, reg_ops,
|
| H A D | tps51632-regulator.c | 5 * Controller with serial VID control and DVFS. 168 dev_err(tps->dev, "DVFS reg write failed, err %d\n", ret); in tps51632_init_dcdc() 245 of_property_read_bool(np, "ti,enable-pwm-dvfs"); in of_get_tps51632_platform_data() 246 pdata->dvfs_step_20mV = of_property_read_bool(np, "ti,dvfs-step-20mV"); in of_get_tps51632_platform_data()
|
| /OK3568_Linux_fs/kernel/include/linux/mfd/ |
| H A D | db8500-prcmu.h | 256 * enum dvfs_stat - DVFS status messages definition 257 * @DVFS_GO: A state transition DVFS is on going 258 * @DVFS_ARM100OPPOK: The state transition DVFS has been completed for 100OPP 259 * @DVFS_ARM50OPPOK: The state transition DVFS has been completed for 50OPP 260 * @DVFS_ARMEXTCLKOK: The state transition DVFS has been completed for EXTCLK 261 * @DVFS_NOCHGTCLKOK: The state transition DVFS has been completed for
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/clock/ |
| H A D | imx31-clock.yaml | 88 interrupt for DVFS when a frequency change is requested, request 2 is 91 - description: CCM DVFS interrupt request 1
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/ |
| H A D | mali_kbase_dvfs_debugfs.c | 29 * kbasep_dvfs_utilization_debugfs_show() - Print the DVFS utilization info 82 "Unable to create dvfs debugfs entry"); in kbase_dvfs_status_debugfs_init()
|
| /OK3568_Linux_fs/kernel/arch/arm/mach-omap2/ |
| H A D | clkt2xxx_virt_prcm_set.c | 3 * OMAP2xxx DVFS virtual clock functions 190 * Store a copy of the sys_ck rate for later use by the OMAP2xxx DVFS 222 * Does a manual init for the virtual prcm DVFS clock for OMAP2. This
|
| /OK3568_Linux_fs/kernel/Documentation/driver-api/thermal/ |
| H A D | cpu-cooling-api.rst | 76 - The voltage and frequency levels as a result of DVFS. The DVFS
|