Searched refs:cpudata (Results 1 – 5 of 5) sorted by relevance
| /linux-6.15/drivers/cpufreq/ |
| H A D | amd-pstate.c | 535 cpudata->cur.aperf -= cpudata->prev.aperf; in amd_pstate_sample() 536 cpudata->cur.mperf -= cpudata->prev.mperf; in amd_pstate_sample() 537 cpudata->cur.tsc -= cpudata->prev.tsc; in amd_pstate_sample() 543 cpudata->freq = div64_u64((cpudata->cur.aperf * cpu_khz), cpudata->cur.mperf); in amd_pstate_sample() 572 cpudata->cur.mperf, cpudata->cur.aperf, cpudata->cur.tsc, in amd_pstate_update() 614 WRITE_ONCE(cpudata->min_limit_freq, min(cpudata->nominal_freq, cpudata->max_limit_freq)); in amd_pstate_update_min_max_limit() 951 cpudata = kzalloc(sizeof(*cpudata), GFP_KERNEL); in amd_pstate_cpu_init() 952 if (!cpudata) in amd_pstate_cpu_init() 1434 cpudata = kzalloc(sizeof(*cpudata), GFP_KERNEL); in amd_pstate_epp_cpu_init() 1435 if (!cpudata) in amd_pstate_epp_cpu_init() [all …]
|
| H A D | intel_pstate.c | 228 struct cpudata { struct 1303 static void intel_pstate_hwp_enable(struct cpudata *cpudata); 1366 cpudata->pstate.max_freq : cpudata->pstate.turbo_freq; in __intel_pstate_update_max_freq() 1374 struct cpudata *cpudata; in intel_pstate_update_limits() local 1844 struct cpudata *cpudata = in intel_pstate_notify_work() local 1947 cpudata->epp_default = intel_pstate_get_epp(cpudata, 0); in intel_pstate_update_epp_defaults() 1973 intel_pstate_set_epp(cpudata, cpudata->epp_default); in intel_pstate_update_epp_defaults() 1976 static void intel_pstate_hwp_enable(struct cpudata *cpudata) in intel_pstate_hwp_enable() argument 2016 static u64 atom_get_val(struct cpudata *cpudata, int pstate) in atom_get_val() argument 2070 static void atom_get_vid(struct cpudata *cpudata) in atom_get_vid() argument [all …]
|
| H A D | amd-pstate-ut.c | 121 struct amd_cpudata *cpudata; in amd_pstate_ut_check_perf() local 126 cpudata = policy->driver_data; in amd_pstate_ut_check_perf() 152 cur_perf = READ_ONCE(cpudata->perf); in amd_pstate_ut_check_perf() 193 struct amd_cpudata *cpudata; in amd_pstate_ut_check_freq() local 198 cpudata = policy->driver_data; in amd_pstate_ut_check_freq() 200 if (!((policy->cpuinfo.max_freq >= cpudata->nominal_freq) && in amd_pstate_ut_check_freq() 201 (cpudata->nominal_freq > cpudata->lowest_nonlinear_freq) && in amd_pstate_ut_check_freq() 210 if (cpudata->lowest_nonlinear_freq != policy->min) { in amd_pstate_ut_check_freq() 216 if (cpudata->boost_supported) { in amd_pstate_ut_check_freq() 218 (policy->max != cpudata->nominal_freq)) { in amd_pstate_ut_check_freq() [all …]
|
| /linux-6.15/drivers/hwtracing/coresight/ |
| H A D | coresight-trbe.c | 376 struct trbe_cpudata *cpudata = buf->cpudata; in trbe_min_trace_buf_size() local 404 struct trbe_cpudata *cpudata = buf->cpudata; in __trbe_normal_offset() local 657 struct trbe_cpudata *cpudata = buf->cpudata; in trbe_get_fault_act() local 796 WARN_ON(buf->cpudata != cpudata); in arm_trbe_update_buffer() 1028 buf->cpudata = cpudata; in arm_trbe_enable() 1039 WARN_ON(buf->cpudata != cpudata); in arm_trbe_disable() 1097 struct trbe_cpudata *cpudata = buf->cpudata; in is_perf_trbe() local 1236 struct trbe_cpudata *cpudata = this_cpu_ptr(drvdata->cpudata); in arm_trbe_enable_cpu() local 1245 struct trbe_cpudata *cpudata = this_cpu_ptr(drvdata->cpudata); in arm_trbe_disable_cpu() local 1356 cpudata->trbe_align = cpudata->trbe_hw_align; in arm_trbe_probe_cpu() [all …]
|
| /linux-6.15/arch/x86/kernel/cpu/ |
| H A D | common.c | 2239 unsigned long cpudata = vdso_encode_cpunode(cpu, early_cpu_to_node(cpu)); in setup_getcpu() local 2243 wrmsr(MSR_TSC_AUX, cpudata, 0); in setup_getcpu() 2246 d.limit0 = cpudata; in setup_getcpu() 2247 d.limit1 = cpudata >> 16; in setup_getcpu()
|