Searched refs:cpudata (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/cpufreq/ |
H A D | amd-pstate.c | 218 amd_pstate_update_perf(cpudata, cpudata->min_limit_perf, 0U, in amd_pstate_set_epp() 441 cpudata->cur.aperf -= cpudata->prev.aperf; in amd_pstate_sample() 442 cpudata->cur.mperf -= cpudata->prev.mperf; in amd_pstate_sample() 443 cpudata->cur.tsc -= cpudata->prev.tsc; in amd_pstate_sample() 449 cpudata->freq = div64_u64((cpudata->cur.aperf * cpu_khz), cpudata->cur.mperf); in amd_pstate_sample() 482 cpudata->cur.mperf, cpudata->cur.aperf, cpudata->cur.tsc, in amd_pstate_update() 822 cpudata = kzalloc(sizeof(*cpudata), GFP_KERNEL); in amd_pstate_cpu_init() 823 if (!cpudata) in amd_pstate_cpu_init() 1279 cpudata = kzalloc(sizeof(*cpudata), GFP_KERNEL); in amd_pstate_epp_cpu_init() 1316 cpudata->epp_cached = amd_pstate_get_epp(cpudata, 0); in amd_pstate_epp_cpu_init() [all …]
|
H A D | amd-pstate-ut.c | 128 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 D | intel_pstate.c | 228 struct cpudata { struct 1100 static void intel_pstate_hwp_enable(struct cpudata *cpudata); 1160 cpudata->pstate.max_freq : cpudata->pstate.turbo_freq; in __intel_pstate_update_max_freq() 1621 struct cpudata *cpudata = in intel_pstate_notify_work() local 1641 struct cpudata *cpudata; in notify_hwp_interrupt() local 1720 cpudata->epp_default = intel_pstate_get_epp(cpudata, 0); in intel_pstate_update_epp_defaults() 1746 intel_pstate_set_epp(cpudata, cpudata->epp_default); in intel_pstate_update_epp_defaults() 1749 static void intel_pstate_hwp_enable(struct cpudata *cpudata) in intel_pstate_hwp_enable() argument 1789 static u64 atom_get_val(struct cpudata *cpudata, int pstate) in atom_get_val() argument 1843 static void atom_get_vid(struct cpudata *cpudata) in atom_get_vid() argument [all …]
|
/openbmc/linux/drivers/hwtracing/coresight/ |
H A D | coresight-trbe.c | 372 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 D | common.c | 2199 unsigned long cpudata = vdso_encode_cpunode(cpu, early_cpu_to_node(cpu)); in setup_getcpu() local 2203 wrmsr(MSR_TSC_AUX, cpudata, 0); in setup_getcpu() 2206 d.limit0 = cpudata; in setup_getcpu() 2207 d.limit1 = cpudata >> 16; in setup_getcpu()
|
/openbmc/qemu/tests/data/qobject/ |
H A D | qdict.txt | 3367 cpudata.h: 184
|