Home
last modified time | relevance | path

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

/openbmc/linux/drivers/cpufreq/
H A Dcpufreq_governor.h39 struct gov_attr_set attr_set;
49 static inline struct dbs_data *to_dbs_data(struct gov_attr_set *attr_set) in to_dbs_data()
56 (struct gov_attr_set *attr_set, char *buf) \
65 (struct gov_attr_set *attr_set, char *buf) \
178 ssize_t sampling_rate_store(struct gov_attr_set *attr_set, const char *buf,
H A Dcpufreq_governor_attr_set.c27 struct gov_attr_set *attr_set = to_gov_attr_set(kobj); in governor_store()
43 void gov_attr_set_init(struct gov_attr_set *attr_set, struct list_head *list_node) in gov_attr_set_init()
52 void gov_attr_set_get(struct gov_attr_set *attr_set, struct list_head *list_node) in gov_attr_set_get()
61 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_conservative.c149 static ssize_t sampling_down_factor_store(struct gov_attr_set *attr_set, in sampling_down_factor_store()
164 static ssize_t up_threshold_store(struct gov_attr_set *attr_set, in up_threshold_store()
180 static ssize_t down_threshold_store(struct gov_attr_set *attr_set, in down_threshold_store()
198 static ssize_t ignore_nice_load_store(struct gov_attr_set *attr_set, in ignore_nice_load_store()
223 static ssize_t freq_step_store(struct gov_attr_set *attr_set, const char *buf, in freq_step_store()
H A Dcpufreq_ondemand.c205 static ssize_t io_is_busy_store(struct gov_attr_set *attr_set, const char *buf, in io_is_busy_store()
223 static ssize_t up_threshold_store(struct gov_attr_set *attr_set, in up_threshold_store()
240 static ssize_t sampling_down_factor_store(struct gov_attr_set *attr_set, in sampling_down_factor_store()
268 static ssize_t ignore_nice_load_store(struct gov_attr_set *attr_set, in ignore_nice_load_store()
293 static ssize_t powersave_bias_store(struct gov_attr_set *attr_set, in powersave_bias_store()
H A Dcpufreq_governor.c44 ssize_t sampling_rate_store(struct gov_attr_set *attr_set, const char *buf, in sampling_rate_store()
/openbmc/linux/include/linux/
H A Dcpufreq.h652 struct gov_attr_set { struct
662 static inline struct gov_attr_set *to_gov_attr_set(struct kobject *kobj) in to_gov_attr_set() argument
664 return container_of(kobj, struct gov_attr_set, kobj); in to_gov_attr_set()
667 void gov_attr_set_init(struct gov_attr_set *attr_set, struct list_head *list_node);
668 void gov_attr_set_get(struct gov_attr_set *attr_set, struct list_head *list_node);
669 unsigned int gov_attr_set_put(struct gov_attr_set *attr_set, struct list_head *list_node);
674 ssize_t (*show)(struct gov_attr_set *attr_set, char *buf);
675 ssize_t (*store)(struct gov_attr_set *attr_set, const char *buf,
/openbmc/linux/kernel/sched/
H A Dcpufreq_schedutil.c12 struct gov_attr_set attr_set;
506 static inline struct sugov_tunables *to_sugov_tunables(struct gov_attr_set *attr_set) in to_sugov_tunables()
511 static ssize_t rate_limit_us_show(struct gov_attr_set *attr_set, char *buf) in rate_limit_us_show()
519 rate_limit_us_store(struct gov_attr_set *attr_set, const char *buf, size_t count) in rate_limit_us_store()
546 struct gov_attr_set *attr_set = to_gov_attr_set(kobj); in sugov_tunables_free()