Lines Matching refs:perf_ops
33 const struct scmi_perf_ops *perf_ops = handle->perf_ops; in scmi_cpufreq_get_rate() local
38 ret = perf_ops->freq_get(handle, priv->domain_id, &rate, false); in scmi_cpufreq_get_rate()
53 const struct scmi_perf_ops *perf_ops = handle->perf_ops; in scmi_cpufreq_set_target() local
56 return perf_ops->freq_set(handle, priv->domain_id, freq * 1000, false); in scmi_cpufreq_set_target()
63 const struct scmi_perf_ops *perf_ops = handle->perf_ops; in scmi_cpufreq_fast_switch() local
65 if (!perf_ops->freq_set(handle, priv->domain_id, in scmi_cpufreq_fast_switch()
78 domain = handle->perf_ops->device_domain_id(cpu_dev); in scmi_get_sharing_cpus()
90 tdomain = handle->perf_ops->device_domain_id(tcpu_dev); in scmi_get_sharing_cpus()
105 domain = handle->perf_ops->device_domain_id(cpu_dev); in scmi_get_cpu_power()
111 ret = handle->perf_ops->est_power_get(handle, domain, &Hz, power); in scmi_get_cpu_power()
136 ret = handle->perf_ops->device_opps_add(handle, cpu_dev); in scmi_cpufreq_init()
175 priv->domain_id = handle->perf_ops->device_domain_id(cpu_dev); in scmi_cpufreq_init()
183 latency = handle->perf_ops->transition_latency_get(handle, cpu_dev); in scmi_cpufreq_init()
190 handle->perf_ops->fast_switch_possible(handle, cpu_dev); in scmi_cpufreq_init()
236 if (!handle || !handle->perf_ops) in scmi_cpufreq_probe()