Lines Matching refs:soc_data
57 const struct mtk_cpufreq_platform_data *soc_data;
81 const struct mtk_cpufreq_platform_data *soc_data = info->soc_data;
100 new_vsram = clamp(new_vproc + soc_data->min_volt_shift,
101 soc_data->sram_min_volt, soc_data->sram_max_volt);
105 vsram = clamp(pre_vproc + soc_data->max_volt_shift,
106 soc_data->sram_min_volt, new_vsram);
108 soc_data->sram_max_volt);
113 if (vsram == soc_data->sram_max_volt ||
114 new_vsram == soc_data->sram_min_volt)
117 vproc = vsram - soc_data->min_volt_shift;
120 soc_data->proc_max_volt);
123 soc_data->sram_max_volt);
128 pre_vsram - soc_data->max_volt_shift);
130 soc_data->proc_max_volt);
138 vproc + soc_data->min_volt_shift);
141 soc_data->sram_max_volt);
144 soc_data->proc_max_volt);
164 const struct mtk_cpufreq_platform_data *soc_data = info->soc_data;
171 soc_data->proc_max_volt);
246 if (info->soc_data->ccifreq_supported && !is_ccifreq_ready(info))
400 if (info->soc_data->ccifreq_supported) {
476 if (info->soc_data->ccifreq_supported) {
519 info->vtrack_max = 3 * DIV_ROUND_UP(max(info->soc_data->sram_max_volt,
520 info->soc_data->proc_max_volt),
521 info->soc_data->min_volt_shift);
649 info->soc_data = data;