• Home
  • Raw
  • Download

Lines Matching refs:soc_data

65 	const struct qcom_cpufreq_soc_data *soc_data;  member
116 const struct qcom_cpufreq_soc_data *soc_data = qcom_cpufreq.soc_data; in qcom_cpufreq_hw_target_index() local
120 writel_relaxed(index, data->base + soc_data->reg_perf_state); in qcom_cpufreq_hw_target_index()
124 writel_relaxed(index, data->base + soc_data->reg_perf_state + i * 4); in qcom_cpufreq_hw_target_index()
136 if (qcom_cpufreq.soc_data->reg_current_vote) in qcom_lmh_get_throttle_freq()
137 lval = readl_relaxed(data->base + qcom_cpufreq.soc_data->reg_current_vote) & 0x3ff; in qcom_lmh_get_throttle_freq()
139 lval = readl_relaxed(data->base + qcom_cpufreq.soc_data->reg_domain_state) & 0xff; in qcom_lmh_get_throttle_freq()
148 const struct qcom_cpufreq_soc_data *soc_data; in qcom_cpufreq_get_freq() local
157 soc_data = qcom_cpufreq.soc_data; in qcom_cpufreq_get_freq()
159 index = readl_relaxed(data->base + soc_data->reg_perf_state); in qcom_cpufreq_get_freq()
186 const struct qcom_cpufreq_soc_data *soc_data = qcom_cpufreq.soc_data; in qcom_cpufreq_hw_fast_switch() local
191 writel_relaxed(index, data->base + soc_data->reg_perf_state); in qcom_cpufreq_hw_fast_switch()
195 writel_relaxed(index, data->base + soc_data->reg_perf_state + i * 4); in qcom_cpufreq_hw_fast_switch()
210 const struct qcom_cpufreq_soc_data *soc_data = qcom_cpufreq.soc_data; in qcom_cpufreq_hw_read_lut() local
238 data = readl_relaxed(drv_data->base + soc_data->reg_freq_lut + in qcom_cpufreq_hw_read_lut()
239 i * soc_data->lut_row_size); in qcom_cpufreq_hw_read_lut()
244 data = readl_relaxed(drv_data->base + soc_data->reg_volt_lut + in qcom_cpufreq_hw_read_lut()
245 i * soc_data->lut_row_size); in qcom_cpufreq_hw_read_lut()
391 if (qcom_cpufreq.soc_data->reg_intr_clr) in qcom_lmh_dcvs_handle_irq()
393 c_data->base + qcom_cpufreq.soc_data->reg_intr_clr); in qcom_lmh_dcvs_handle_irq()
542 if (!(readl_relaxed(data->base + qcom_cpufreq.soc_data->reg_enable) & 0x1)) { in qcom_cpufreq_hw_cpu_init()
547 if (readl_relaxed(data->base + qcom_cpufreq.soc_data->reg_dcvs_ctrl) & 0x1) in qcom_cpufreq_hw_cpu_init()
675 qcom_cpufreq.soc_data = of_device_get_match_data(dev); in qcom_cpufreq_hw_driver_probe()
676 if (!qcom_cpufreq.soc_data) in qcom_cpufreq_hw_driver_probe()