attr_set 147 drivers/cpufreq/cpufreq_conservative.c static ssize_t store_sampling_down_factor(struct gov_attr_set *attr_set, attr_set 150 drivers/cpufreq/cpufreq_conservative.c struct dbs_data *dbs_data = to_dbs_data(attr_set); attr_set 162 drivers/cpufreq/cpufreq_conservative.c static ssize_t store_up_threshold(struct gov_attr_set *attr_set, attr_set 165 drivers/cpufreq/cpufreq_conservative.c struct dbs_data *dbs_data = to_dbs_data(attr_set); attr_set 178 drivers/cpufreq/cpufreq_conservative.c static ssize_t store_down_threshold(struct gov_attr_set *attr_set, attr_set 181 drivers/cpufreq/cpufreq_conservative.c struct dbs_data *dbs_data = to_dbs_data(attr_set); attr_set 196 drivers/cpufreq/cpufreq_conservative.c static ssize_t store_ignore_nice_load(struct gov_attr_set *attr_set, attr_set 199 drivers/cpufreq/cpufreq_conservative.c struct dbs_data *dbs_data = to_dbs_data(attr_set); attr_set 221 drivers/cpufreq/cpufreq_conservative.c static ssize_t store_freq_step(struct gov_attr_set *attr_set, const char *buf, attr_set 224 drivers/cpufreq/cpufreq_conservative.c struct dbs_data *dbs_data = to_dbs_data(attr_set); attr_set 44 drivers/cpufreq/cpufreq_governor.c ssize_t store_sampling_rate(struct gov_attr_set *attr_set, const char *buf, attr_set 47 drivers/cpufreq/cpufreq_governor.c struct dbs_data *dbs_data = to_dbs_data(attr_set); attr_set 62 drivers/cpufreq/cpufreq_governor.c list_for_each_entry(policy_dbs, &attr_set->policy_list, list) { attr_set 99 drivers/cpufreq/cpufreq_governor.c list_for_each_entry(policy_dbs, &dbs_data->attr_set.policy_list, list) { attr_set 418 drivers/cpufreq/cpufreq_governor.c gov_attr_set_get(&dbs_data->attr_set, &policy_dbs->list); attr_set 428 drivers/cpufreq/cpufreq_governor.c gov_attr_set_init(&dbs_data->attr_set, &policy_dbs->list); attr_set 450 drivers/cpufreq/cpufreq_governor.c ret = kobject_init_and_add(&dbs_data->attr_set.kobj, &gov->kobj_type, attr_set 459 drivers/cpufreq/cpufreq_governor.c kobject_put(&dbs_data->attr_set.kobj); attr_set 487 drivers/cpufreq/cpufreq_governor.c count = gov_attr_set_put(&dbs_data->attr_set, &policy_dbs->list); attr_set 39 drivers/cpufreq/cpufreq_governor.h struct gov_attr_set attr_set; attr_set 48 drivers/cpufreq/cpufreq_governor.h static inline struct dbs_data *to_dbs_data(struct gov_attr_set *attr_set) attr_set 50 drivers/cpufreq/cpufreq_governor.h return container_of(attr_set, struct dbs_data, attr_set); attr_set 55 drivers/cpufreq/cpufreq_governor.h (struct gov_attr_set *attr_set, char *buf) \ attr_set 57 drivers/cpufreq/cpufreq_governor.h struct dbs_data *dbs_data = to_dbs_data(attr_set); \ attr_set 64 drivers/cpufreq/cpufreq_governor.h (struct gov_attr_set *attr_set, char *buf) \ attr_set 66 drivers/cpufreq/cpufreq_governor.h struct dbs_data *dbs_data = to_dbs_data(attr_set); \ attr_set 179 drivers/cpufreq/cpufreq_governor.h ssize_t store_sampling_rate(struct gov_attr_set *attr_set, const char *buf, attr_set 32 drivers/cpufreq/cpufreq_governor_attr_set.c struct gov_attr_set *attr_set = to_gov_attr_set(kobj); attr_set 36 drivers/cpufreq/cpufreq_governor_attr_set.c mutex_lock(&attr_set->update_lock); attr_set 37 drivers/cpufreq/cpufreq_governor_attr_set.c ret = attr_set->usage_count ? gattr->store(attr_set, buf, count) : -EBUSY; attr_set 38 drivers/cpufreq/cpufreq_governor_attr_set.c mutex_unlock(&attr_set->update_lock); attr_set 48 drivers/cpufreq/cpufreq_governor_attr_set.c void gov_attr_set_init(struct gov_attr_set *attr_set, struct list_head *list_node) attr_set 50 drivers/cpufreq/cpufreq_governor_attr_set.c INIT_LIST_HEAD(&attr_set->policy_list); attr_set 51 drivers/cpufreq/cpufreq_governor_attr_set.c mutex_init(&attr_set->update_lock); attr_set 52 drivers/cpufreq/cpufreq_governor_attr_set.c attr_set->usage_count = 1; attr_set 53 drivers/cpufreq/cpufreq_governor_attr_set.c list_add(list_node, &attr_set->policy_list); attr_set 57 drivers/cpufreq/cpufreq_governor_attr_set.c void gov_attr_set_get(struct gov_attr_set *attr_set, struct list_head *list_node) attr_set 59 drivers/cpufreq/cpufreq_governor_attr_set.c mutex_lock(&attr_set->update_lock); attr_set 60 drivers/cpufreq/cpufreq_governor_attr_set.c attr_set->usage_count++; attr_set 61 drivers/cpufreq/cpufreq_governor_attr_set.c list_add(list_node, &attr_set->policy_list); attr_set 62 drivers/cpufreq/cpufreq_governor_attr_set.c mutex_unlock(&attr_set->update_lock); attr_set 66 drivers/cpufreq/cpufreq_governor_attr_set.c unsigned int gov_attr_set_put(struct gov_attr_set *attr_set, struct list_head *list_node) attr_set 70 drivers/cpufreq/cpufreq_governor_attr_set.c mutex_lock(&attr_set->update_lock); attr_set 72 drivers/cpufreq/cpufreq_governor_attr_set.c count = --attr_set->usage_count; attr_set 73 drivers/cpufreq/cpufreq_governor_attr_set.c mutex_unlock(&attr_set->update_lock); attr_set 77 drivers/cpufreq/cpufreq_governor_attr_set.c kobject_put(&attr_set->kobj); attr_set 78 drivers/cpufreq/cpufreq_governor_attr_set.c mutex_destroy(&attr_set->update_lock); attr_set 203 drivers/cpufreq/cpufreq_ondemand.c static ssize_t store_io_is_busy(struct gov_attr_set *attr_set, const char *buf, attr_set 206 drivers/cpufreq/cpufreq_ondemand.c struct dbs_data *dbs_data = to_dbs_data(attr_set); attr_set 221 drivers/cpufreq/cpufreq_ondemand.c static ssize_t store_up_threshold(struct gov_attr_set *attr_set, attr_set 224 drivers/cpufreq/cpufreq_ondemand.c struct dbs_data *dbs_data = to_dbs_data(attr_set); attr_set 238 drivers/cpufreq/cpufreq_ondemand.c static ssize_t store_sampling_down_factor(struct gov_attr_set *attr_set, attr_set 241 drivers/cpufreq/cpufreq_ondemand.c struct dbs_data *dbs_data = to_dbs_data(attr_set); attr_set 253 drivers/cpufreq/cpufreq_ondemand.c list_for_each_entry(policy_dbs, &attr_set->policy_list, list) { attr_set 266 drivers/cpufreq/cpufreq_ondemand.c static ssize_t store_ignore_nice_load(struct gov_attr_set *attr_set, attr_set 269 drivers/cpufreq/cpufreq_ondemand.c struct dbs_data *dbs_data = to_dbs_data(attr_set); attr_set 291 drivers/cpufreq/cpufreq_ondemand.c static ssize_t store_powersave_bias(struct gov_attr_set *attr_set, attr_set 294 drivers/cpufreq/cpufreq_ondemand.c struct dbs_data *dbs_data = to_dbs_data(attr_set); attr_set 309 drivers/cpufreq/cpufreq_ondemand.c list_for_each_entry(policy_dbs, &attr_set->policy_list, list) attr_set 97 drivers/gpu/drm/nouveau/include/nvkm/subdev/therm.h int (*attr_set)(struct nvkm_therm *, enum nvkm_therm_attr_type, int); attr_set 73 drivers/gpu/drm/nouveau/nouveau_hwmon.c therm->attr_set(therm, NVKM_THERM_ATTR_THRS_FAN_BOOST, attr_set 106 drivers/gpu/drm/nouveau/nouveau_hwmon.c therm->attr_set(therm, NVKM_THERM_ATTR_THRS_FAN_BOOST_HYST, attr_set 160 drivers/gpu/drm/nouveau/nouveau_hwmon.c ret = therm->attr_set(therm, NVKM_THERM_ATTR_FAN_MIN_DUTY, value); attr_set 183 drivers/gpu/drm/nouveau/nouveau_hwmon.c ret = therm->attr_set(therm, NVKM_THERM_ATTR_FAN_MAX_DUTY, value); attr_set 581 drivers/gpu/drm/nouveau/nouveau_hwmon.c if (!therm || !therm->attr_set) attr_set 586 drivers/gpu/drm/nouveau/nouveau_hwmon.c return therm->attr_set(therm, NVKM_THERM_ATTR_THRS_DOWN_CLK, attr_set 589 drivers/gpu/drm/nouveau/nouveau_hwmon.c return therm->attr_set(therm, NVKM_THERM_ATTR_THRS_DOWN_CLK_HYST, attr_set 592 drivers/gpu/drm/nouveau/nouveau_hwmon.c return therm->attr_set(therm, NVKM_THERM_ATTR_THRS_CRITICAL, attr_set 595 drivers/gpu/drm/nouveau/nouveau_hwmon.c return therm->attr_set(therm, NVKM_THERM_ATTR_THRS_CRITICAL_HYST, attr_set 598 drivers/gpu/drm/nouveau/nouveau_hwmon.c return therm->attr_set(therm, NVKM_THERM_ATTR_THRS_SHUTDOWN, attr_set 601 drivers/gpu/drm/nouveau/nouveau_hwmon.c return therm->attr_set(therm, NVKM_THERM_ATTR_THRS_SHUTDOWN_HYST, attr_set 615 drivers/gpu/drm/nouveau/nouveau_hwmon.c if (!therm || !therm->attr_set) attr_set 622 drivers/gpu/drm/nouveau/nouveau_hwmon.c return therm->attr_set(therm, NVKM_THERM_ATTR_FAN_MODE, val); attr_set 737 drivers/gpu/drm/nouveau/nouveau_hwmon.c if (therm && therm->attr_get && therm->attr_set) { attr_set 437 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c therm->attr_set = nvkm_therm_attr_set; attr_set 3631 drivers/scsi/ufs/ufshcd.c u8 attr_set, u32 mib_val, u8 peer) attr_set 3645 drivers/scsi/ufs/ufshcd.c uic_cmd.argument2 = UIC_ARG_ATTR_TYPE(attr_set); attr_set 850 drivers/scsi/ufs/ufshcd.h u8 attr_set, u32 mib_val, u8 peer); attr_set 600 include/linux/cpufreq.h void gov_attr_set_init(struct gov_attr_set *attr_set, struct list_head *list_node); attr_set 601 include/linux/cpufreq.h void gov_attr_set_get(struct gov_attr_set *attr_set, struct list_head *list_node); attr_set 602 include/linux/cpufreq.h unsigned int gov_attr_set_put(struct gov_attr_set *attr_set, struct list_head *list_node); attr_set 607 include/linux/cpufreq.h ssize_t (*show)(struct gov_attr_set *attr_set, char *buf); attr_set 608 include/linux/cpufreq.h ssize_t (*store)(struct gov_attr_set *attr_set, const char *buf, attr_set 19 kernel/sched/cpufreq_schedutil.c struct gov_attr_set attr_set; attr_set 589 kernel/sched/cpufreq_schedutil.c static inline struct sugov_tunables *to_sugov_tunables(struct gov_attr_set *attr_set) attr_set 591 kernel/sched/cpufreq_schedutil.c return container_of(attr_set, struct sugov_tunables, attr_set); attr_set 594 kernel/sched/cpufreq_schedutil.c static ssize_t rate_limit_us_show(struct gov_attr_set *attr_set, char *buf) attr_set 596 kernel/sched/cpufreq_schedutil.c struct sugov_tunables *tunables = to_sugov_tunables(attr_set); attr_set 602 kernel/sched/cpufreq_schedutil.c rate_limit_us_store(struct gov_attr_set *attr_set, const char *buf, size_t count) attr_set 604 kernel/sched/cpufreq_schedutil.c struct sugov_tunables *tunables = to_sugov_tunables(attr_set); attr_set 613 kernel/sched/cpufreq_schedutil.c list_for_each_entry(sg_policy, &attr_set->policy_list, tunables_hook) attr_set 722 kernel/sched/cpufreq_schedutil.c gov_attr_set_init(&tunables->attr_set, &sg_policy->tunables_hook); attr_set 769 kernel/sched/cpufreq_schedutil.c gov_attr_set_get(&global_tunables->attr_set, &sg_policy->tunables_hook); attr_set 784 kernel/sched/cpufreq_schedutil.c ret = kobject_init_and_add(&tunables->attr_set.kobj, &sugov_tunables_ktype, attr_set 795 kernel/sched/cpufreq_schedutil.c kobject_put(&tunables->attr_set.kobj); attr_set 821 kernel/sched/cpufreq_schedutil.c count = gov_attr_set_put(&tunables->attr_set, &sg_policy->tunables_hook);