Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/cpufreq/
A Damd-pstate.c374 cpudata->cur.aperf -= cpudata->prev.aperf; in amd_pstate_sample()
375 cpudata->cur.mperf -= cpudata->prev.mperf; in amd_pstate_sample()
376 cpudata->cur.tsc -= cpudata->prev.tsc; in amd_pstate_sample()
382 cpudata->freq = div64_u64((cpudata->cur.aperf * cpu_khz), cpudata->cur.mperf); in amd_pstate_sample()
405 cpudata->cur.mperf, cpudata->cur.aperf, cpudata->cur.tsc, in amd_pstate_update()
617 cpudata = kzalloc(sizeof(*cpudata), GFP_KERNEL); in amd_pstate_cpu_init()
618 if (!cpudata) in amd_pstate_cpu_init()
954 cpudata = kzalloc(sizeof(*cpudata), GFP_KERNEL); in amd_pstate_epp_cpu_init()
989 cpudata->epp_cached = amd_pstate_get_epp(cpudata, 0); in amd_pstate_epp_cpu_init()
1055 if (cpudata->epp_policy == cpudata->policy) in amd_pstate_epp_init()
[all …]
A Damd-pstate-ut.c146 struct amd_cpudata *cpudata = NULL; in amd_pstate_ut_check_perf() local
154 cpudata = policy->driver_data; in amd_pstate_ut_check_perf()
223 cpudata = policy->driver_data; in amd_pstate_ut_check_freq()
225 if (!((cpudata->max_freq >= cpudata->nominal_freq) && in amd_pstate_ut_check_freq()
226 (cpudata->nominal_freq > cpudata->lowest_nonlinear_freq) && in amd_pstate_ut_check_freq()
227 (cpudata->lowest_nonlinear_freq > cpudata->min_freq) && in amd_pstate_ut_check_freq()
228 (cpudata->min_freq > 0))) { in amd_pstate_ut_check_freq()
231 __func__, cpu, cpudata->max_freq, cpudata->nominal_freq, in amd_pstate_ut_check_freq()
232 cpudata->lowest_nonlinear_freq, cpudata->min_freq); in amd_pstate_ut_check_freq()
243 if (cpudata->boost_supported) { in amd_pstate_ut_check_freq()
[all …]
A Dintel_pstate.c228 struct cpudata { struct
1042 static void intel_pstate_hwp_enable(struct cpudata *cpudata);
1102 cpudata->pstate.max_freq : cpudata->pstate.turbo_freq; in __intel_pstate_update_max_freq()
1560 struct cpudata *cpudata = in intel_pstate_notify_work() local
1580 struct cpudata *cpudata; in notify_hwp_interrupt() local
1659 cpudata->epp_default = intel_pstate_get_epp(cpudata, 0); in intel_pstate_update_epp_defaults()
1685 intel_pstate_set_epp(cpudata, cpudata->epp_default); in intel_pstate_update_epp_defaults()
1688 static void intel_pstate_hwp_enable(struct cpudata *cpudata) in intel_pstate_hwp_enable() argument
1728 static u64 atom_get_val(struct cpudata *cpudata, int pstate) in atom_get_val() argument
1782 static void atom_get_vid(struct cpudata *cpudata) in atom_get_vid() argument
[all …]
/linux-6.3-rc2/drivers/hwtracing/coresight/
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
652 struct trbe_cpudata *cpudata = buf->cpudata; in trbe_get_fault_act() local
791 WARN_ON(buf->cpudata != cpudata); in arm_trbe_update_buffer()
1022 buf->cpudata = cpudata; in arm_trbe_enable()
1033 WARN_ON(buf->cpudata != cpudata); in arm_trbe_disable()
1091 struct trbe_cpudata *cpudata = buf->cpudata; in is_perf_trbe() local
1220 struct trbe_cpudata *cpudata = this_cpu_ptr(drvdata->cpudata); in arm_trbe_enable_cpu() local
1228 struct trbe_cpudata *cpudata = per_cpu_ptr(drvdata->cpudata, cpu); in arm_trbe_register_coresight_cpu() local
1317 cpudata->trbe_align = cpudata->trbe_hw_align; in arm_trbe_probe_cpu()
[all …]
/linux-6.3-rc2/arch/x86/kernel/cpu/
A Dcommon.c2140 unsigned long cpudata = vdso_encode_cpunode(cpu, early_cpu_to_node(cpu)); in setup_getcpu() local
2144 wrmsr(MSR_TSC_AUX, cpudata, 0); in setup_getcpu()
2147 d.limit0 = cpudata; in setup_getcpu()
2148 d.limit1 = cpudata >> 16; in setup_getcpu()

Completed in 23 milliseconds