Home
last modified time | relevance | path

Searched refs:gov_attr_set (Results 1 – 8 of 8) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/cpufreq/
H A Dcpufreq_governor_attr_set.c11 static inline struct gov_attr_set *to_gov_attr_set(struct kobject *kobj) in to_gov_attr_set()
13 return container_of(kobj, struct gov_attr_set, kobj); in to_gov_attr_set()
32 struct gov_attr_set *attr_set = to_gov_attr_set(kobj); in governor_store()
48 void gov_attr_set_init(struct gov_attr_set *attr_set, struct list_head *list_node) in gov_attr_set_init()
57 void gov_attr_set_get(struct gov_attr_set *attr_set, struct list_head *list_node) in gov_attr_set_get()
66 unsigned int gov_attr_set_put(struct gov_attr_set *attr_set, struct list_head *list_node) in gov_attr_set_put()
H A Dcpufreq_governor.h39 struct gov_attr_set attr_set;
48 static inline struct dbs_data *to_dbs_data(struct gov_attr_set *attr_set) in to_dbs_data()
55 (struct gov_attr_set *attr_set, char *buf) \
64 (struct gov_attr_set *attr_set, char *buf) \
179 ssize_t store_sampling_rate(struct gov_attr_set *attr_set, const char *buf,
H A Dcpufreq_interactive.c58 struct gov_attr_set attr_set;
748 static struct interactive_tunables *to_tunables(struct gov_attr_set *attr_set) in to_tunables()
754 static ssize_t show_##file_name(struct gov_attr_set *attr_set, char *buf) \
760 static ssize_t show_target_loads(struct gov_attr_set *attr_set, char *buf) in show_target_loads()
779 static ssize_t store_target_loads(struct gov_attr_set *attr_set, in store_target_loads()
801 static ssize_t show_above_hispeed_delay(struct gov_attr_set *attr_set, in show_above_hispeed_delay()
822 static ssize_t store_above_hispeed_delay(struct gov_attr_set *attr_set, in store_above_hispeed_delay()
844 static ssize_t store_hispeed_freq(struct gov_attr_set *attr_set, in store_hispeed_freq()
860 static ssize_t store_go_hispeed_load(struct gov_attr_set *attr_set, in store_go_hispeed_load()
876 static ssize_t store_min_sample_time(struct gov_attr_set *attr_set, in store_min_sample_time()
[all …]
H A Dcpufreq_conservative.c147 static ssize_t store_sampling_down_factor(struct gov_attr_set *attr_set, in store_sampling_down_factor()
162 static ssize_t store_up_threshold(struct gov_attr_set *attr_set, in store_up_threshold()
178 static ssize_t store_down_threshold(struct gov_attr_set *attr_set, in store_down_threshold()
196 static ssize_t store_ignore_nice_load(struct gov_attr_set *attr_set, in store_ignore_nice_load()
221 static ssize_t store_freq_step(struct gov_attr_set *attr_set, const char *buf, in store_freq_step()
H A Dcpufreq_ondemand.c203 static ssize_t store_io_is_busy(struct gov_attr_set *attr_set, const char *buf, in store_io_is_busy()
221 static ssize_t store_up_threshold(struct gov_attr_set *attr_set, in store_up_threshold()
238 static ssize_t store_sampling_down_factor(struct gov_attr_set *attr_set, in store_sampling_down_factor()
266 static ssize_t store_ignore_nice_load(struct gov_attr_set *attr_set, in store_ignore_nice_load()
291 static ssize_t store_powersave_bias(struct gov_attr_set *attr_set, in store_powersave_bias()
H A Dcpufreq_governor.c44 ssize_t store_sampling_rate(struct gov_attr_set *attr_set, const char *buf, in store_sampling_rate()
/OK3568_Linux_fs/kernel/kernel/sched/
H A Dcpufreq_schedutil.c20 struct gov_attr_set attr_set;
590 static inline struct sugov_tunables *to_sugov_tunables(struct gov_attr_set *attr_set) in to_sugov_tunables()
595 static ssize_t rate_limit_us_show(struct gov_attr_set *attr_set, char *buf) in rate_limit_us_show()
603 rate_limit_us_store(struct gov_attr_set *attr_set, const char *buf, size_t count) in rate_limit_us_store()
623 static ssize_t target_load_show(struct gov_attr_set *attr_set, char *buf) in target_load_show()
631 target_load_store(struct gov_attr_set *attr_set, const char *buf, size_t count) in target_load_store()
661 struct gov_attr_set *attr_set = container_of(kobj, struct gov_attr_set, kobj); in sugov_tunables_free()
/OK3568_Linux_fs/kernel/include/linux/
H A Dcpufreq.h636 struct gov_attr_set { struct
646 void gov_attr_set_init(struct gov_attr_set *attr_set, struct list_head *list_node); argument
647 void gov_attr_set_get(struct gov_attr_set *attr_set, struct list_head *list_node);
648 unsigned int gov_attr_set_put(struct gov_attr_set *attr_set, struct list_head *list_node);
653 ssize_t (*show)(struct gov_attr_set *attr_set, char *buf);
654 ssize_t (*store)(struct gov_attr_set *attr_set, const char *buf,