Webreturn cpufreq_generic_init (policy, freq_table, transition_latency); } @@ -173,6 +174,7 @@ static struct cpufreq_driver imx6q_cpufreq_driver = { .init = imx6q_cpufreq_init, .name = "imx6q-cpufreq", .attr = cpufreq_generic_attr, + .suspend = cpufreq_generic_suspend, }; static int imx6q_cpufreq_probe (struct platform_device … WebMay 28, 2024 · In my case, the cpufreq_driver's init is generic, and relies on my platform's scaling driver (acpuclock-krait) to register the freq_table, which is fine for the older api, …
linux/maple-cpufreq.c at master · grate-driver/linux · GitHub
WebJun 15, 2015 · Changes since V3: - Split CPPC backend methods into separate files. - Add frontend driver which plugs into existing CPUfreq governors. - Simplify PCC driver by moving communication space mapping and read/write into client drivers. Changes since V2: - Select driver if !X86, since intel_pstate will use HWP extensions instead. WebUse generic cpufreq_generic_init() routine instead of replicating the same code here. Signed-off-by: Viresh Kumar --- drivers/cpufreq/tegra ... staybridge seattle lake union
[PATCH 2/5] cpufreq: imx6q: Fix handling EPROBE_DEFER from …
WebCPUFreq uses struct cpufreq_policy as its basic data type and the design of its user space interface is based on the policy concept. CPU Initialization¶ First of all, a scaling driver … WebActive Mode¶. This is the default operation mode of intel_pstate.If it works in this mode, the scaling_driver policy attribute in sysfs for all CPUFreq policies contains the string “intel_pstate”.. In this mode the driver bypasses the scaling governors layer of CPUFreq and provides its own scaling algorithms for P-state selection. Those algorithms can be … Webstruct cpufreq_frequency_table *table); +int cpufreq_generic_init(struct cpufreq_policy *policy, + struct cpufreq_frequency_table *table, + unsigned int transition_latency); static inline int cpufreq_generic_exit(struct cpufreq_policy *policy) cpufreq_frequency_table_put_attr(policy->cpu); 1.7.12.rc2.18.g61b472e staybridge savannah ga historic district