Lines Matching refs:int

21 int is_valid_path(const char *path);
23 unsigned int cpupower_read_sysfs(const char *path, char *buf, size_t buflen);
25 unsigned int cpupower_write_sysfs(const char *path, char *buf, size_t buflen);
43 unsigned long acpi_cppc_get_data(unsigned int cpu,
70 unsigned int cpu;
82 unsigned long cpufreq_get_freq_kernel(unsigned int cpu);
84 unsigned long cpufreq_get_freq_hardware(unsigned int cpu);
88 unsigned long cpufreq_get_transition_latency(unsigned int cpu);
90 int cpufreq_get_hardware_limits(unsigned int cpu,
94 char *cpufreq_get_driver(unsigned int cpu);
98 struct cpufreq_policy *cpufreq_get_policy(unsigned int cpu);
103 *cpufreq_get_available_governors(unsigned int cpu);
109 *cpufreq_get_available_frequencies(unsigned int cpu);
115 *cpufreq_get_boost_frequencies(unsigned int cpu);
121 int cpu);
126 int cpu);
130 struct cpufreq_stats *cpufreq_get_stats(unsigned int cpu,
135 unsigned long cpufreq_get_transitions(unsigned int cpu);
137 char *cpufreq_get_energy_performance_preference(unsigned int cpu);
140 int cpufreq_set_policy(unsigned int cpu, struct cpufreq_policy *policy);
142 int cpufreq_modify_policy_min(unsigned int cpu, unsigned long min_freq);
144 int cpufreq_modify_policy_max(unsigned int cpu, unsigned long max_freq);
146 int cpufreq_modify_policy_governor(unsigned int cpu, char *governor);
148 int cpufreq_set_frequency(unsigned int cpu,
151 unsigned long cpufreq_get_sysfs_value_from_table(unsigned int cpu,
153 unsigned int index,
154 unsigned int size);
160 int cpuidle_is_state_disabled(unsigned int cpu,
161 unsigned int idlestate);
162 int cpuidle_state_disable(unsigned int cpu, unsigned int idlestate,
163 unsigned int disable);
164 unsigned long cpuidle_state_latency(unsigned int cpu,
165 unsigned int idlestate);
166 unsigned long cpuidle_state_residency(unsigned int cpu,
167 unsigned int idlestate);
168 unsigned long cpuidle_state_usage(unsigned int cpu,
169 unsigned int idlestate);
170 unsigned long long cpuidle_state_time(unsigned int cpu,
171 unsigned int idlestate);
172 char *cpuidle_state_name(unsigned int cpu,
173 unsigned int idlestate);
174 char *cpuidle_state_desc(unsigned int cpu,
175 unsigned int idlestate);
176 unsigned int cpuidle_state_count(unsigned int cpu);
188 unsigned int cores;
189 unsigned int pkgs;
190 unsigned int threads; /* per core */
197 int pkg;
198 int core;
199 int cpu;
202 unsigned int is_online:1;
205 int get_cpu_topology(struct cpupower_topology *cpu_top);
209 int cpupower_is_cpu_online(unsigned int cpu);
222 int tree_depth;
231 int powercap_walk_zones(struct powercap_zone *zone,
232 int (*f)(struct powercap_zone *zone));
236 int powercap_get_enabled(int *mode);
238 int powercap_set_enabled(int mode);
240 int powercap_get_driver(char *driver, int buflen);
242 int powercap_get_max_energy_range_uj(struct powercap_zone *zone, uint64_t *val);
244 int powercap_get_energy_uj(struct powercap_zone *zone, uint64_t *val);
246 int powercap_get_max_power_range_uw(struct powercap_zone *zone, uint64_t *val);
248 int powercap_get_power_uw(struct powercap_zone *zone, uint64_t *val);
250 int powercap_zone_get_enabled(struct powercap_zone *zone, int *mode);
252 int powercap_zone_set_enabled(struct powercap_zone *zone, int mode);