Lines Matching refs:policy
72 static int tegra186_cpufreq_init(struct cpufreq_policy *policy)
75 unsigned int cluster = data->cpus[policy->cpu].bpmp_cluster_id;
77 policy->freq_table = data->clusters[cluster].table;
78 policy->cpuinfo.transition_latency = 300 * 1000;
79 policy->driver_data = NULL;
84 static int tegra186_cpufreq_set_target(struct cpufreq_policy *policy,
88 struct cpufreq_frequency_table *tbl = policy->freq_table + index;
89 unsigned int edvd_offset = data->cpus[policy->cpu].edvd_offset;
101 struct cpufreq_policy *policy;
105 policy = cpufreq_cpu_get(cpu);
106 if (!policy)
109 edvd_offset = data->cpus[policy->cpu].edvd_offset;
111 cluster_id = data->cpus[policy->cpu].bpmp_cluster_id;
113 cpufreq_cpu_put(policy);