Home
last modified time | relevance | path

Searched refs:cpudata (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/cpufreq/
H A Damd-pstate.c129 static s16 amd_pstate_get_epp(struct amd_cpudata *cpudata, u64 cppc_req_cached) in amd_pstate_get_epp() argument
136 epp = rdmsrl_on_cpu(cpudata->cpu, MSR_AMD_CPPC_REQ, in amd_pstate_get_epp()
143 ret = cppc_get_epp_perf(cpudata->cpu, &epp); in amd_pstate_get_epp()
153 static int amd_pstate_get_energy_pref_index(struct amd_cpudata *cpudata) in amd_pstate_get_energy_pref_index() argument
158 epp = amd_pstate_get_epp(cpudata, 0); in amd_pstate_get_energy_pref_index()
182 static void pstate_update_perf(struct amd_cpudata *cpudata, u32 min_perf, in pstate_update_perf() argument
186 wrmsrl(MSR_AMD_CPPC_REQ, READ_ONCE(cpudata->cppc_req_cached)); in pstate_update_perf()
188 wrmsrl_on_cpu(cpudata->cpu, MSR_AMD_CPPC_REQ, in pstate_update_perf()
189 READ_ONCE(cpudata->cppc_req_cached)); in pstate_update_perf()
194 static inline void amd_pstate_update_perf(struct amd_cpudata *cpudata, in amd_pstate_update_perf() argument
[all …]
H A Damd-pstate-ut.c128 struct amd_cpudata *cpudata = NULL; in amd_pstate_ut_check_perf() local
134 cpudata = policy->driver_data; in amd_pstate_ut_check_perf()
162 if ((highest_perf != READ_ONCE(cpudata->highest_perf)) || in amd_pstate_ut_check_perf()
163 (nominal_perf != READ_ONCE(cpudata->nominal_perf)) || in amd_pstate_ut_check_perf()
164 (lowest_nonlinear_perf != READ_ONCE(cpudata->lowest_nonlinear_perf)) || in amd_pstate_ut_check_perf()
165 (lowest_perf != READ_ONCE(cpudata->lowest_perf))) { in amd_pstate_ut_check_perf()
168 __func__, cpu, highest_perf, cpudata->highest_perf, in amd_pstate_ut_check_perf()
169 nominal_perf, cpudata->nominal_perf, in amd_pstate_ut_check_perf()
170 lowest_nonlinear_perf, cpudata->lowest_nonlinear_perf, in amd_pstate_ut_check_perf()
171 lowest_perf, cpudata->lowest_perf); in amd_pstate_ut_check_perf()
[all …]
H A Dintel_pstate.c228 struct cpudata { struct
266 static struct cpudata **all_cpu_data; argument
291 u64 (*get_val)(struct cpudata*, int pstate);
292 void (*get_vid)(struct cpudata *);
437 struct cpudata *cpu; in intel_pstate_init_acpi_perf_limits()
493 struct cpudata *cpu; in intel_pstate_exit_perf_limits()
528 static int intel_pstate_freq_to_hwp_rel(struct cpudata *cpu, int freq, in intel_pstate_freq_to_hwp_rel()
547 static int intel_pstate_freq_to_hwp(struct cpudata *cpu, int freq) in intel_pstate_freq_to_hwp()
563 static void intel_pstate_hybrid_hwp_adjust(struct cpudata *cpu) in intel_pstate_hybrid_hwp_adjust()
598 struct cpudata *cpu; in update_turbo_state()
[all …]
/openbmc/linux/drivers/hwtracing/coresight/
H A Dcoresight-trbe.c69 struct trbe_cpudata *cpudata; member
138 struct trbe_cpudata __percpu *cpudata; member
147 static void trbe_check_errata(struct trbe_cpudata *cpudata) in trbe_check_errata() argument
157 set_bit(i, cpudata->errata); in trbe_check_errata()
161 static inline bool trbe_has_erratum(struct trbe_cpudata *cpudata, int i) in trbe_has_erratum() argument
163 return (i < TRBE_ERRATA_MAX) && test_bit(i, cpudata->errata); in trbe_has_erratum()
166 static inline bool trbe_may_overwrite_in_fill_mode(struct trbe_cpudata *cpudata) in trbe_may_overwrite_in_fill_mode() argument
168 return trbe_has_erratum(cpudata, TRBE_WORKAROUND_OVERWRITE_FILL_MODE); in trbe_may_overwrite_in_fill_mode()
171 static inline bool trbe_may_write_out_of_range(struct trbe_cpudata *cpudata) in trbe_may_write_out_of_range() argument
173 return trbe_has_erratum(cpudata, TRBE_WORKAROUND_WRITE_OUT_OF_RANGE); in trbe_may_write_out_of_range()
[all …]
/openbmc/linux/arch/x86/kernel/cpu/
H A Dcommon.c2207 unsigned long cpudata = vdso_encode_cpunode(cpu, early_cpu_to_node(cpu)); in setup_getcpu() local
2211 wrmsr(MSR_TSC_AUX, cpudata, 0); in setup_getcpu()
2214 d.limit0 = cpudata; in setup_getcpu()
2215 d.limit1 = cpudata >> 16; in setup_getcpu()
/openbmc/qemu/tests/data/qobject/
H A Dqdict.txt3367 cpudata.h: 184
/openbmc/linux/
H A Dopengrok0.0.log[all...]