Searched refs:cpudata (Results  1 – 5 of 5) sorted by relevance
| /Linux-v6.6/drivers/cpufreq/ | 
| D | amd-pstate.c | 125 static s16 amd_pstate_get_epp(struct amd_cpudata *cpudata, u64 cppc_req_cached)  in amd_pstate_get_epp()  argument 132 			epp = rdmsrl_on_cpu(cpudata->cpu, MSR_AMD_CPPC_REQ,  in amd_pstate_get_epp() 139 		ret = cppc_get_epp_perf(cpudata->cpu, &epp);  in amd_pstate_get_epp() 149 static int amd_pstate_get_energy_pref_index(struct amd_cpudata *cpudata)  in amd_pstate_get_energy_pref_index()  argument 154 	epp = amd_pstate_get_epp(cpudata, 0);  in amd_pstate_get_energy_pref_index() 178 static int amd_pstate_set_epp(struct amd_cpudata *cpudata, u32 epp)  in amd_pstate_set_epp()  argument 184 		u64 value = READ_ONCE(cpudata->cppc_req_cached);  in amd_pstate_set_epp() 188 		WRITE_ONCE(cpudata->cppc_req_cached, value);  in amd_pstate_set_epp() 190 		ret = wrmsrl_on_cpu(cpudata->cpu, MSR_AMD_CPPC_REQ, value);  in amd_pstate_set_epp() 192 			cpudata->epp_cached = epp;  in amd_pstate_set_epp() [all …] 
 | 
| 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() 162 		if ((highest_perf != READ_ONCE(cpudata->highest_perf)) ||  in amd_pstate_ut_check_perf() 163 			(nominal_perf != READ_ONCE(cpudata->nominal_perf)) ||  in amd_pstate_ut_check_perf() 164 			(lowest_nonlinear_perf != READ_ONCE(cpudata->lowest_nonlinear_perf)) ||  in amd_pstate_ut_check_perf() 165 			(lowest_perf != READ_ONCE(cpudata->lowest_perf))) {  in amd_pstate_ut_check_perf() 168 				__func__, cpu, highest_perf, cpudata->highest_perf,  in amd_pstate_ut_check_perf() 169 				nominal_perf, cpudata->nominal_perf,  in amd_pstate_ut_check_perf() 170 				lowest_nonlinear_perf, cpudata->lowest_nonlinear_perf,  in amd_pstate_ut_check_perf() 171 				lowest_perf, cpudata->lowest_perf);  in amd_pstate_ut_check_perf() [all …] 
 | 
| D | intel_pstate.c | 228 struct cpudata {  struct 266 static struct cpudata **all_cpu_data;  argument 291 	u64 (*get_val)(struct cpudata*, int pstate); 292 	void (*get_vid)(struct cpudata *); 438 	struct cpudata *cpu;  in intel_pstate_init_acpi_perf_limits() 494 	struct cpudata *cpu;  in intel_pstate_exit_perf_limits() 540 static void intel_pstate_hybrid_hwp_adjust(struct cpudata *cpu)  in intel_pstate_hybrid_hwp_adjust() 574 	struct cpudata *cpu;  in update_turbo_state() 585 	struct cpudata *cpu = all_cpu_data[0];  in min_perf_pct_min() 592 static s16 intel_pstate_get_epb(struct cpudata *cpu_data)  in intel_pstate_get_epb() [all …] 
 | 
| /Linux-v6.6/drivers/hwtracing/coresight/ | 
| D | coresight-trbe.c | 69 	struct trbe_cpudata *cpudata;  member 138 	struct trbe_cpudata __percpu *cpudata;  member 147 static void trbe_check_errata(struct trbe_cpudata *cpudata)  in trbe_check_errata()  argument 157 			set_bit(i, cpudata->errata);  in trbe_check_errata() 161 static inline bool trbe_has_erratum(struct trbe_cpudata *cpudata, int i)  in trbe_has_erratum()  argument 163 	return (i < TRBE_ERRATA_MAX) && test_bit(i, cpudata->errata);  in trbe_has_erratum() 166 static inline bool trbe_may_overwrite_in_fill_mode(struct trbe_cpudata *cpudata)  in trbe_may_overwrite_in_fill_mode()  argument 168 	return trbe_has_erratum(cpudata, TRBE_WORKAROUND_OVERWRITE_FILL_MODE);  in trbe_may_overwrite_in_fill_mode() 171 static inline bool trbe_may_write_out_of_range(struct trbe_cpudata *cpudata)  in trbe_may_write_out_of_range()  argument 173 	return trbe_has_erratum(cpudata, TRBE_WORKAROUND_WRITE_OUT_OF_RANGE);  in trbe_may_write_out_of_range() [all …] 
 | 
| /Linux-v6.6/arch/x86/kernel/cpu/ | 
| D | common.c | 2149 	unsigned long cpudata = vdso_encode_cpunode(cpu, early_cpu_to_node(cpu));  in setup_getcpu()  local 2153 		wrmsr(MSR_TSC_AUX, cpudata, 0);  in setup_getcpu() 2156 	d.limit0 = cpudata;  in setup_getcpu() 2157 	d.limit1 = cpudata >> 16;  in setup_getcpu()
  |