Home
last modified time | relevance | path

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

/openbmc/linux/drivers/cpufreq/
H A Damd-pstate.c417 cpudata->cur.aperf -= cpudata->prev.aperf; in amd_pstate_sample()
418 cpudata->cur.mperf -= cpudata->prev.mperf; in amd_pstate_sample()
419 cpudata->cur.tsc -= cpudata->prev.tsc; in amd_pstate_sample()
425 cpudata->freq = div64_u64((cpudata->cur.aperf * cpu_khz), cpudata->cur.mperf); in amd_pstate_sample()
458 cpudata->cur.mperf, cpudata->cur.aperf, cpudata->cur.tsc, in amd_pstate_update()
724 cpudata = kzalloc(sizeof(*cpudata), GFP_KERNEL); in amd_pstate_cpu_init()
725 if (!cpudata) in amd_pstate_cpu_init()
1147 cpudata = kzalloc(sizeof(*cpudata), GFP_KERNEL); in amd_pstate_epp_cpu_init()
1148 if (!cpudata) in amd_pstate_epp_cpu_init()
1182 cpudata->epp_cached = amd_pstate_get_epp(cpudata, 0); in amd_pstate_epp_cpu_init()
[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()
209 cpudata = policy->driver_data; in amd_pstate_ut_check_freq()
211 if (!((cpudata->max_freq >= cpudata->nominal_freq) && in amd_pstate_ut_check_freq()
212 (cpudata->nominal_freq > cpudata->lowest_nonlinear_freq) && in amd_pstate_ut_check_freq()
213 (cpudata->lowest_nonlinear_freq > cpudata->min_freq) && in amd_pstate_ut_check_freq()
214 (cpudata->min_freq > 0))) { in amd_pstate_ut_check_freq()
217 __func__, cpu, cpudata->max_freq, cpudata->nominal_freq, in amd_pstate_ut_check_freq()
218 cpudata->lowest_nonlinear_freq, cpudata->min_freq); in amd_pstate_ut_check_freq()
229 if (cpudata->boost_supported) { in amd_pstate_ut_check_freq()
[all …]
H A Dintel_pstate.c228 struct cpudata { struct
1101 static void intel_pstate_hwp_enable(struct cpudata *cpudata);
1161 cpudata->pstate.max_freq : cpudata->pstate.turbo_freq; in __intel_pstate_update_max_freq()
1622 struct cpudata *cpudata = in intel_pstate_notify_work() local
1642 struct cpudata *cpudata; in notify_hwp_interrupt() local
1721 cpudata->epp_default = intel_pstate_get_epp(cpudata, 0); in intel_pstate_update_epp_defaults()
1747 intel_pstate_set_epp(cpudata, cpudata->epp_default); in intel_pstate_update_epp_defaults()
1750 static void intel_pstate_hwp_enable(struct cpudata *cpudata) in intel_pstate_hwp_enable() argument
1790 static u64 atom_get_val(struct cpudata *cpudata, int pstate) in atom_get_val() argument
1844 static void atom_get_vid(struct cpudata *cpudata) in atom_get_vid() argument
[all …]
/openbmc/linux/drivers/hwtracing/coresight/
H A Dcoresight-trbe.c372 struct trbe_cpudata *cpudata = buf->cpudata; in trbe_min_trace_buf_size() local
400 struct trbe_cpudata *cpudata = buf->cpudata; in __trbe_normal_offset() local
653 struct trbe_cpudata *cpudata = buf->cpudata; in trbe_get_fault_act() local
792 WARN_ON(buf->cpudata != cpudata); in arm_trbe_update_buffer()
1024 buf->cpudata = cpudata; in arm_trbe_enable()
1035 WARN_ON(buf->cpudata != cpudata); in arm_trbe_disable()
1093 struct trbe_cpudata *cpudata = buf->cpudata; in is_perf_trbe() local
1222 struct trbe_cpudata *cpudata = this_cpu_ptr(drvdata->cpudata); in arm_trbe_enable_cpu() local
1231 struct trbe_cpudata *cpudata = this_cpu_ptr(drvdata->cpudata); in arm_trbe_disable_cpu() local
1332 cpudata->trbe_align = cpudata->trbe_hw_align; in arm_trbe_probe_cpu()
[all …]
/openbmc/linux/arch/x86/kernel/cpu/
H A Dcommon.c2196 unsigned long cpudata = vdso_encode_cpunode(cpu, early_cpu_to_node(cpu)); in setup_getcpu() local
2200 wrmsr(MSR_TSC_AUX, cpudata, 0); in setup_getcpu()
2203 d.limit0 = cpudata; in setup_getcpu()
2204 d.limit1 = cpudata >> 16; in setup_getcpu()
/openbmc/qemu/tests/data/qobject/
H A Dqdict.txt3367 cpudata.h: 184