Lines Matching full:int

82 	int num_entries;
83 int version;
84 int cpu_id;
85 int write_cmd_status;
86 int write_cmd_id;
157 unsigned int shared_type;
162 extern int cppc_get_desired_perf(int cpunum, u64 *desired_perf);
163 extern int cppc_get_nominal_perf(int cpunum, u64 *nominal_perf);
164 extern int cppc_get_highest_perf(int cpunum, u64 *highest_perf);
165 extern int cppc_get_perf_ctrs(int cpu, struct cppc_perf_fb_ctrs *perf_fb_ctrs);
166 extern int cppc_get_perf(int cpu, struct cppc_perf_ctrls *perf_ctrls);
167 extern int cppc_set_perf(int cpu, struct cppc_perf_ctrls *perf_ctrls);
168 extern int cppc_set_enable(int cpu, bool enable);
169 extern int cppc_get_perf_caps(int cpu, struct cppc_perf_caps *caps);
170 extern bool cppc_perf_ctrs_in_pcc_cpu(unsigned int cpu);
173 extern unsigned int cppc_perf_to_khz(struct cppc_perf_caps *caps, unsigned int perf);
174 extern unsigned int cppc_khz_to_perf(struct cppc_perf_caps *caps, unsigned int freq);
177 extern int acpi_get_psd_map(unsigned int cpu, struct cppc_cpudata *cpu_data);
178 extern int cppc_get_transition_latency(int cpu);
181 extern int cpc_read_ffh(int cpunum, struct cpc_reg *reg, u64 *val);
182 extern int cpc_read_ffh_fb_ctrs(int cpu, struct cpc_reg *reg1, u64 *val1,
184 extern int cpc_write_ffh(int cpunum, struct cpc_reg *reg, u64 val);
185 extern int cppc_get_epp_perf(int cpunum, u64 *epp_perf);
186 extern int cppc_set_epp_perf(int cpu, struct cppc_perf_ctrls *perf_ctrls, bool enable);
187 extern int cppc_set_epp(int cpu, u64 epp_val);
188 extern int cppc_get_auto_act_window(int cpu, u64 *auto_act_window);
189 extern int cppc_set_auto_act_window(int cpu, u64 auto_act_window);
190 extern int cppc_get_auto_sel(int cpu, bool *enable);
191 extern int cppc_set_auto_sel(int cpu, bool enable);
192 extern int cppc_get_perf_limited(int cpu, u64 *perf_limited);
193 extern int cppc_set_perf_limited(int cpu, u64 bits_to_clear);
194 extern int amd_get_highest_perf(unsigned int cpu, u32 *highest_perf);
195 extern int amd_get_boost_ratio_numerator(unsigned int cpu, u64 *numerator);
196 extern int amd_detect_prefcore(bool *detected);
198 static inline int cppc_get_desired_perf(int cpunum, u64 *desired_perf) in cppc_get_desired_perf()
202 static inline int cppc_get_nominal_perf(int cpunum, u64 *nominal_perf) in cppc_get_nominal_perf()
206 static inline int cppc_get_highest_perf(int cpunum, u64 *highest_perf) in cppc_get_highest_perf()
210 static inline int cppc_get_perf_ctrs(int cpu, struct cppc_perf_fb_ctrs *perf_fb_ctrs) in cppc_get_perf_ctrs()
214 static inline int cppc_get_perf(int cpu, struct cppc_perf_ctrls *perf_ctrls) in cppc_get_perf()
218 static inline int cppc_set_perf(int cpu, struct cppc_perf_ctrls *perf_ctrls) in cppc_set_perf()
222 static inline int cppc_set_enable(int cpu, bool enable) in cppc_set_enable()
226 static inline int cppc_get_perf_caps(int cpu, struct cppc_perf_caps *caps) in cppc_get_perf_caps()
230 static inline bool cppc_perf_ctrs_in_pcc_cpu(unsigned int cpu) in cppc_perf_ctrs_in_pcc_cpu()
247 static inline int cppc_get_transition_latency(int cpu) in cppc_get_transition_latency()
255 static inline int cpc_read_ffh(int cpunum, struct cpc_reg *reg, u64 *val) in cpc_read_ffh()
259 static inline int cpc_read_ffh_fb_ctrs(int cpu, struct cpc_reg *reg1, u64 *val1, in cpc_read_ffh_fb_ctrs()
264 static inline int cpc_write_ffh(int cpunum, struct cpc_reg *reg, u64 val) in cpc_write_ffh()
268 static inline int cppc_set_epp_perf(int cpu, struct cppc_perf_ctrls *perf_ctrls, bool enable) in cppc_set_epp_perf()
272 static inline int cppc_get_epp_perf(int cpunum, u64 *epp_perf) in cppc_get_epp_perf()
276 static inline int cppc_set_epp(int cpu, u64 epp_val) in cppc_set_epp()
280 static inline int cppc_get_auto_act_window(int cpu, u64 *auto_act_window) in cppc_get_auto_act_window()
284 static inline int cppc_set_auto_act_window(int cpu, u64 auto_act_window) in cppc_set_auto_act_window()
288 static inline int cppc_get_auto_sel(int cpu, bool *enable) in cppc_get_auto_sel()
292 static inline int cppc_set_auto_sel(int cpu, bool enable) in cppc_set_auto_sel()
296 static inline int cppc_get_perf_limited(int cpu, u64 *perf_limited) in cppc_get_perf_limited()
300 static inline int cppc_set_perf_limited(int cpu, u64 bits_to_clear) in cppc_set_perf_limited()
304 static inline int amd_get_highest_perf(unsigned int cpu, u32 *highest_perf) in amd_get_highest_perf()
308 static inline int amd_get_boost_ratio_numerator(unsigned int cpu, u64 *numerator) in amd_get_boost_ratio_numerator()
312 static inline int amd_detect_prefcore(bool *detected) in amd_detect_prefcore()