Searched refs:cpudata (Results 1 - 25 of 33) sorted by relevance

12

/linux-master/arch/sparc/include/asm/
H A Dhardirq_64.h10 #include <asm/cpudata.h>
H A Ddelay_32.h11 #include <asm/cpudata.h>
H A Dtopology_64.h44 #include <asm/cpudata.h>
H A Dpgalloc_64.h11 #include <asm/cpudata.h>
/linux-master/drivers/cpufreq/
H A Damd-pstate.c128 static s16 amd_pstate_get_epp(struct amd_cpudata *cpudata, u64 cppc_req_cached) argument
135 epp = rdmsrl_on_cpu(cpudata->cpu, MSR_AMD_CPPC_REQ,
142 ret = cppc_get_epp_perf(cpudata->cpu, &epp);
152 static int amd_pstate_get_energy_pref_index(struct amd_cpudata *cpudata) argument
157 epp = amd_pstate_get_epp(cpudata, 0);
181 static int amd_pstate_set_epp(struct amd_cpudata *cpudata, u32 epp) argument
187 u64 value = READ_ONCE(cpudata->cppc_req_cached);
191 WRITE_ONCE(cpudata->cppc_req_cached, value);
193 ret = wrmsrl_on_cpu(cpudata->cpu, MSR_AMD_CPPC_REQ, value);
195 cpudata
209 amd_pstate_set_energy_pref_index(struct amd_cpudata *cpudata, int pref_index) argument
293 pstate_init_perf(struct amd_cpudata *cpudata) argument
323 cppc_init_perf(struct amd_cpudata *cpudata) argument
366 amd_pstate_init_perf(struct amd_cpudata *cpudata) argument
371 pstate_update_perf(struct amd_cpudata *cpudata, u32 min_perf, u32 des_perf, u32 max_perf, bool fast_switch) argument
381 cppc_update_perf(struct amd_cpudata *cpudata, u32 min_perf, u32 des_perf, u32 max_perf, bool fast_switch) argument
396 amd_pstate_update_perf(struct amd_cpudata *cpudata, u32 min_perf, u32 des_perf, u32 max_perf, bool fast_switch) argument
404 amd_pstate_sample(struct amd_cpudata *cpudata) argument
437 amd_pstate_update(struct amd_cpudata *cpudata, u32 min_perf, u32 des_perf, u32 max_perf, bool fast_switch, int gov_flags) argument
488 struct amd_cpudata *cpudata = policy->driver_data; local
512 struct amd_cpudata *cpudata = policy->driver_data; local
572 struct amd_cpudata *cpudata = policy->driver_data; local
607 amd_get_min_freq(struct amd_cpudata *cpudata) argument
619 amd_get_max_freq(struct amd_cpudata *cpudata) argument
642 amd_get_nominal_freq(struct amd_cpudata *cpudata) argument
654 amd_get_lowest_nonlinear_freq(struct amd_cpudata *cpudata) argument
681 struct amd_cpudata *cpudata = policy->driver_data; local
704 amd_pstate_boost_init(struct amd_cpudata *cpudata) argument
765 amd_pstate_init_prefcore(struct amd_cpudata *cpudata) argument
800 struct amd_cpudata *cpudata = policy->driver_data; local
835 struct amd_cpudata *cpudata; local
924 struct amd_cpudata *cpudata = policy->driver_data; local
967 struct amd_cpudata *cpudata = policy->driver_data; local
980 struct amd_cpudata *cpudata = policy->driver_data; local
997 struct amd_cpudata *cpudata = policy->driver_data; local
1008 struct amd_cpudata *cpudata = policy->driver_data; local
1019 struct amd_cpudata *cpudata = policy->driver_data; local
1031 struct amd_cpudata *cpudata = policy->driver_data; local
1048 struct amd_cpudata *cpudata = policy->driver_data; local
1070 struct amd_cpudata *cpudata = policy->driver_data; local
1294 struct amd_cpudata *cpudata; local
1387 struct amd_cpudata *cpudata = policy->driver_data; local
1453 struct amd_cpudata *cpudata = policy->driver_data; local
1468 amd_pstate_epp_reenable(struct amd_cpudata *cpudata) argument
1492 struct amd_cpudata *cpudata = policy->driver_data; local
1506 struct amd_cpudata *cpudata = policy->driver_data; local
1535 struct amd_cpudata *cpudata = policy->driver_data; local
1557 struct amd_cpudata *cpudata = policy->driver_data; local
1577 struct amd_cpudata *cpudata = policy->driver_data; local
[all...]
H A Damd-pstate-ut.c128 struct amd_cpudata *cpudata = NULL; local
134 cpudata = policy->driver_data;
162 if ((highest_perf != READ_ONCE(cpudata->highest_perf)) ||
163 (nominal_perf != READ_ONCE(cpudata->nominal_perf)) ||
164 (lowest_nonlinear_perf != READ_ONCE(cpudata->lowest_nonlinear_perf)) ||
165 (lowest_perf != READ_ONCE(cpudata->lowest_perf))) {
168 __func__, cpu, highest_perf, cpudata->highest_perf,
169 nominal_perf, cpudata->nominal_perf,
170 lowest_nonlinear_perf, cpudata->lowest_nonlinear_perf,
171 lowest_perf, cpudata
203 struct amd_cpudata *cpudata = NULL; local
[all...]
H A Dintel_pstate.c107 * This structure is used in the cpudata structure to store performance sample
191 * struct cpudata - Per CPU instance data storage
227 struct cpudata { struct
264 static struct cpudata **all_cpu_data;
289 u64 (*get_val)(struct cpudata*, int pstate);
290 void (*get_vid)(struct cpudata *);
439 struct cpudata *cpu;
495 struct cpudata *cpu;
530 static int intel_pstate_freq_to_hwp_rel(struct cpudata *cpu, int freq,
549 static int intel_pstate_freq_to_hwp(struct cpudata *cp
1154 __intel_pstate_update_max_freq(struct cpudata *cpudata, struct cpufreq_policy *policy) argument
1619 struct cpudata *cpudata = local
1639 struct cpudata *cpudata; local
1683 intel_pstate_disable_hwp_interrupt(struct cpudata *cpudata) argument
1699 intel_pstate_enable_hwp_interrupt(struct cpudata *cpudata) argument
1716 intel_pstate_update_epp_defaults(struct cpudata *cpudata) argument
1747 intel_pstate_hwp_enable(struct cpudata *cpudata) argument
1787 atom_get_val(struct cpudata *cpudata, int pstate) argument
1841 atom_get_vid(struct cpudata *cpudata) argument
1954 core_get_val(struct cpudata *cpudata, int pstate) argument
[all...]
/linux-master/drivers/hwtracing/coresight/
H A Dcoresight-trbe.c69 struct trbe_cpudata *cpudata; member in struct:trbe_buf
138 struct trbe_cpudata __percpu *cpudata; member in struct:trbe_drvdata
147 static void trbe_check_errata(struct trbe_cpudata *cpudata) argument
157 set_bit(i, cpudata->errata);
161 static inline bool trbe_has_erratum(struct trbe_cpudata *cpudata, int i) argument
163 return (i < TRBE_ERRATA_MAX) && test_bit(i, cpudata->errata);
166 static inline bool trbe_may_overwrite_in_fill_mode(struct trbe_cpudata *cpudata) argument
168 return trbe_has_erratum(cpudata, TRBE_WORKAROUND_OVERWRITE_FILL_MODE);
171 static inline bool trbe_may_write_out_of_range(struct trbe_cpudata *cpudata) argument
173 return trbe_has_erratum(cpudata, TRBE_WORKAROUND_WRITE_OUT_OF_RANG
176 trbe_needs_drain_after_disable(struct trbe_cpudata *cpudata) argument
186 trbe_needs_ctxt_sync_after_enable(struct trbe_cpudata *cpudata) argument
197 trbe_is_broken(struct trbe_cpudata *cpudata) argument
215 set_trbe_enabled(struct trbe_cpudata *cpudata, u64 trblimitr) argument
231 set_trbe_disabled(struct trbe_cpudata *cpudata) argument
247 trbe_drain_and_disable_local(struct trbe_cpudata *cpudata) argument
253 trbe_reset_local(struct trbe_cpudata *cpudata) argument
372 struct trbe_cpudata *cpudata = buf->cpudata; local
400 struct trbe_cpudata *cpudata = buf->cpudata; local
653 struct trbe_cpudata *cpudata = buf->cpudata; local
785 struct trbe_cpudata *cpudata = dev_get_drvdata(&csdev->dev); local
1013 struct trbe_cpudata *cpudata = dev_get_drvdata(&csdev->dev); local
1032 struct trbe_cpudata *cpudata = dev_get_drvdata(&csdev->dev); local
1093 struct trbe_cpudata *cpudata = buf->cpudata; local
1190 struct trbe_cpudata *cpudata = dev_get_drvdata(dev); local
1198 struct trbe_cpudata *cpudata = dev_get_drvdata(dev); local
1222 struct trbe_cpudata *cpudata = this_cpu_ptr(drvdata->cpudata); local
1231 struct trbe_cpudata *cpudata = this_cpu_ptr(drvdata->cpudata); local
1240 struct trbe_cpudata *cpudata = per_cpu_ptr(drvdata->cpudata, cpu); local
1294 struct trbe_cpudata *cpudata = per_cpu_ptr(drvdata->cpudata, cpu); local
[all...]
/linux-master/arch/sparc/prom/
H A Dcif.S9 #include <asm/cpudata.h>
/linux-master/arch/sparc/kernel/
H A Ddevices.c21 #include <asm/cpudata.h>
H A Dsysfs.c13 #include <asm/cpudata.h>
H A Dsmp_32.c35 #include <asm/cpudata.h>
H A Dsetup_32.c46 #include <asm/cpudata.h>
H A Dirq_32.c20 #include <asm/cpudata.h>
H A Dcpu.c23 #include <asm/cpudata.h>
H A Dcpumap.c12 #include <asm/cpudata.h>
H A Dleon_smp.c42 #include <asm/cpudata.h>
H A Dsun4v_ivec.S7 #include <asm/cpudata.h>
H A Dtime_64.c46 #include <asm/cpudata.h>
H A Dtsb.S11 #include <asm/cpudata.h>
H A Dtrampoline_64.S22 #include <asm/cpudata.h>
H A Dprocess_64.c46 #include <asm/cpudata.h>
H A Dchmc.c22 #include <asm/cpudata.h>
/linux-master/arch/sparc/power/
H A Dhibernate_asm.S11 #include <asm/cpudata.h>
/linux-master/arch/x86/kernel/cpu/
H A Dcommon.c2119 unsigned long cpudata = vdso_encode_cpunode(cpu, early_cpu_to_node(cpu)); local
2123 wrmsr(MSR_TSC_AUX, cpudata, 0);
2126 d.limit0 = cpudata;
2127 d.limit1 = cpudata >> 16;

Completed in 165 milliseconds

12