Lines Matching refs:soc_data
41 const struct qcom_cpufreq_soc_data *soc_data; member
102 const struct qcom_cpufreq_soc_data *soc_data = data->soc_data; in qcom_cpufreq_hw_target_index() local
105 writel_relaxed(index, data->base + soc_data->reg_perf_state); in qcom_cpufreq_hw_target_index()
116 const struct qcom_cpufreq_soc_data *soc_data; in qcom_cpufreq_hw_get() local
125 soc_data = data->soc_data; in qcom_cpufreq_hw_get()
127 index = readl_relaxed(data->base + soc_data->reg_perf_state); in qcom_cpufreq_hw_get()
137 const struct qcom_cpufreq_soc_data *soc_data = data->soc_data; in qcom_cpufreq_hw_fast_switch() local
141 writel_relaxed(index, data->base + soc_data->reg_perf_state); in qcom_cpufreq_hw_fast_switch()
156 const struct qcom_cpufreq_soc_data *soc_data = drv_data->soc_data; in qcom_cpufreq_hw_read_lut() local
183 data = readl_relaxed(drv_data->base + soc_data->reg_freq_lut + in qcom_cpufreq_hw_read_lut()
184 i * soc_data->lut_row_size); in qcom_cpufreq_hw_read_lut()
189 data = readl_relaxed(drv_data->base + soc_data->reg_volt_lut + in qcom_cpufreq_hw_read_lut()
190 i * soc_data->lut_row_size); in qcom_cpufreq_hw_read_lut()
271 unsigned int val = readl_relaxed(data->base + data->soc_data->reg_current_vote); in qcom_lmh_get_throttle_freq()
474 data->soc_data = of_device_get_match_data(&pdev->dev); in qcom_cpufreq_hw_cpu_init()
479 if (!(readl_relaxed(base + data->soc_data->reg_enable) & 0x1)) { in qcom_cpufreq_hw_cpu_init()