Home
last modified time | relevance | path

Searched refs:kobj_attribute (Results 1 – 25 of 152) sorted by relevance

1234567

/linux/drivers/platform/x86/intel/uncore-frequency/
H A Duncore-frequency-common.h79 struct kobj_attribute max_freq_khz_kobj_attr;
80 struct kobj_attribute min_freq_khz_kobj_attr;
81 struct kobj_attribute initial_max_freq_khz_kobj_attr;
82 struct kobj_attribute initial_min_freq_khz_kobj_attr;
83 struct kobj_attribute current_freq_khz_kobj_attr;
84 struct kobj_attribute domain_id_kobj_attr;
85 struct kobj_attribute fabric_cluster_id_kobj_attr;
86 struct kobj_attribute package_id_kobj_attr;
87 struct kobj_attribute elc_low_threshold_percent_kobj_attr;
88 struct kobj_attribute elc_high_threshold_percent_kobj_attr;
[all …]
/linux/drivers/gpu/drm/xe/
H A Dxe_hw_engine_class_sysfs.c45 struct kobj_attribute *kattr; in xe_hw_engine_class_sysfs_attr_show()
47 kattr = container_of(attr, struct kobj_attribute, attr); in xe_hw_engine_class_sysfs_attr_show()
62 struct kobj_attribute *kattr; in xe_hw_engine_class_sysfs_attr_store()
64 kattr = container_of(attr, struct kobj_attribute, attr); in xe_hw_engine_class_sysfs_attr_store()
89 struct kobj_attribute *attr, in job_timeout_max_store()
114 struct kobj_attribute *attr, char *buf) in job_timeout_max_show()
121 static const struct kobj_attribute job_timeout_max_attr =
125 struct kobj_attribute *attr, in job_timeout_min_store()
150 struct kobj_attribute *attr, char *buf) in job_timeout_min_show()
157 static const struct kobj_attribute job_timeout_min_attr =
[all …]
H A Dxe_gt_freq.c67 struct kobj_attribute *attr, char *buf) in act_freq_show()
78 static struct kobj_attribute attr_act_freq = __ATTR_RO(act_freq);
81 struct kobj_attribute *attr, char *buf) in cur_freq_show()
95 static struct kobj_attribute attr_cur_freq = __ATTR_RO(cur_freq);
98 struct kobj_attribute *attr, char *buf) in rp0_freq_show()
105 static struct kobj_attribute attr_rp0_freq = __ATTR_RO(rp0_freq);
108 struct kobj_attribute *attr, char *buf) in rpe_freq_show()
119 static struct kobj_attribute attr_rpe_freq = __ATTR_RO(rpe_freq);
122 struct kobj_attribute *attr, char *buf) in rpa_freq_show()
133 static struct kobj_attribute attr_rpa_freq = __ATTR_RO(rpa_freq);
[all …]
/linux/drivers/gpu/drm/i915/gt/
H A Dsysfs_engines.c26 name_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in name_show()
31 static const struct kobj_attribute name_attr =
35 class_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in class_show()
40 static const struct kobj_attribute class_attr =
44 inst_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in inst_show()
49 static const struct kobj_attribute inst_attr =
53 mmio_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in mmio_show()
58 static const struct kobj_attribute mmio_attr =
122 caps_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in caps_show()
129 static const struct kobj_attribute caps_attr =
[all …]
/linux/mm/damon/
H A Dsysfs-schemes.c41 static ssize_t start_show(struct kobject *kobj, struct kobj_attribute *attr, in start_show()
50 static ssize_t end_show(struct kobject *kobj, struct kobj_attribute *attr, in end_show()
60 struct kobj_attribute *attr, char *buf) in nr_accesses_show()
68 static ssize_t age_show(struct kobject *kobj, struct kobj_attribute *attr, in age_show()
78 struct kobj_attribute *attr, char *buf) in sz_filter_passed_show()
95 static struct kobj_attribute damon_sysfs_scheme_region_start_attr =
98 static struct kobj_attribute damon_sysfs_scheme_region_end_attr =
101 static struct kobj_attribute damon_sysfs_scheme_region_nr_accesses_attr =
104 static struct kobj_attribute damon_sysfs_scheme_region_age_attr =
107 static struct kobj_attribute damon_sysfs_scheme_region_sz_filter_passed_attr =
[all …]
H A Dsysfs.c28 static ssize_t start_show(struct kobject *kobj, struct kobj_attribute *attr, in start_show()
37 static ssize_t start_store(struct kobject *kobj, struct kobj_attribute *attr, in start_store()
47 static ssize_t end_show(struct kobject *kobj, struct kobj_attribute *attr, in end_show()
56 static ssize_t end_store(struct kobject *kobj, struct kobj_attribute *attr, in end_store()
71 static struct kobj_attribute damon_sysfs_region_start_attr =
74 static struct kobj_attribute damon_sysfs_region_end_attr =
156 struct kobj_attribute *attr, char *buf) in nr_regions_show()
165 struct kobj_attribute *attr, const char *buf, size_t count) in nr_regions_store()
192 static struct kobj_attribute damon_sysfs_regions_nr_attr =
247 struct kobj_attribute *attr, char *buf) in pid_target_show()
[all …]
/linux/kernel/
H A Dksysfs.c33 static struct kobj_attribute _name##_attr = __ATTR_RO(_name)
36 static struct kobj_attribute _name##_attr = __ATTR_RW(_name)
40 struct kobj_attribute *attr, char *buf) in uevent_seqnum_show()
48 struct kobj_attribute *attr, char *buf) in cpu_byteorder_show()
56 struct kobj_attribute *attr, char *buf) in address_bits_show()
65 struct kobj_attribute *attr, char *buf) in uevent_helper_show()
70 struct kobj_attribute *attr, in uevent_helper_store()
86 struct kobj_attribute *attr, char *buf) in profiling_show()
91 struct kobj_attribute *attr, in profiling_store()
125 struct kobj_attribute *attr, char *buf) in vmcoreinfo_show()
[all …]
/linux/drivers/accessibility/speakup/
H A Dkobjects.c30 struct kobj_attribute *attr, char *buf) in chars_chartab_show()
110 struct kobj_attribute *attr, in chars_chartab_store()
229 static ssize_t keymap_show(struct kobject *kobj, struct kobj_attribute *attr, in keymap_show()
265 static ssize_t keymap_store(struct kobject *kobj, struct kobj_attribute *attr, in keymap_store()
332 static ssize_t silent_store(struct kobject *kobj, struct kobj_attribute *attr, in silent_store()
371 static ssize_t synth_show(struct kobject *kobj, struct kobj_attribute *attr, in synth_show()
386 static ssize_t synth_store(struct kobject *kobj, struct kobj_attribute *attr, in synth_store()
413 struct kobj_attribute *attr, in synth_direct_store()
440 static ssize_t version_show(struct kobject *kobj, struct kobj_attribute *attr, in version_show()
456 static ssize_t punc_show(struct kobject *kobj, struct kobj_attribute *attr, in punc_show()
[all …]
H A Dspeakup_dummy.c51 static struct kobj_attribute caps_start_attribute =
53 static struct kobj_attribute caps_stop_attribute =
55 static struct kobj_attribute pitch_attribute =
57 static struct kobj_attribute inflection_attribute =
59 static struct kobj_attribute punct_attribute =
61 static struct kobj_attribute rate_attribute =
63 static struct kobj_attribute tone_attribute =
65 static struct kobj_attribute vol_attribute =
68 static struct kobj_attribute delay_time_attribute =
70 static struct kobj_attribute direct_attribute =
[all …]
H A Dspeakup_spkout.c46 static struct kobj_attribute caps_start_attribute =
48 static struct kobj_attribute caps_stop_attribute =
50 static struct kobj_attribute pitch_attribute =
52 static struct kobj_attribute punct_attribute =
54 static struct kobj_attribute rate_attribute =
56 static struct kobj_attribute tone_attribute =
58 static struct kobj_attribute vol_attribute =
61 static struct kobj_attribute delay_time_attribute =
63 static struct kobj_attribute direct_attribute =
65 static struct kobj_attribute full_time_attribute =
[all …]
H A Dspeakup_ltlk.c49 static struct kobj_attribute caps_start_attribute =
51 static struct kobj_attribute caps_stop_attribute =
53 static struct kobj_attribute freq_attribute =
55 static struct kobj_attribute pitch_attribute =
57 static struct kobj_attribute punct_attribute =
59 static struct kobj_attribute rate_attribute =
61 static struct kobj_attribute tone_attribute =
63 static struct kobj_attribute voice_attribute =
65 static struct kobj_attribute vol_attribute =
68 static struct kobj_attribute delay_time_attribute =
[all …]
H A Dspeakup_bns.c42 static struct kobj_attribute caps_start_attribute =
44 static struct kobj_attribute caps_stop_attribute =
46 static struct kobj_attribute pitch_attribute =
48 static struct kobj_attribute rate_attribute =
50 static struct kobj_attribute tone_attribute =
52 static struct kobj_attribute vol_attribute =
55 static struct kobj_attribute delay_time_attribute =
57 static struct kobj_attribute direct_attribute =
59 static struct kobj_attribute full_time_attribute =
61 static struct kobj_attribute jiffy_delta_attribute =
[all …]
H A Dspeakup_txprt.c47 static struct kobj_attribute caps_start_attribute =
49 static struct kobj_attribute caps_stop_attribute =
51 static struct kobj_attribute pitch_attribute =
53 static struct kobj_attribute rate_attribute =
55 static struct kobj_attribute tone_attribute =
57 static struct kobj_attribute vol_attribute =
60 static struct kobj_attribute delay_time_attribute =
62 static struct kobj_attribute direct_attribute =
64 static struct kobj_attribute full_time_attribute =
66 static struct kobj_attribute jiffy_delta_attribute =
[all …]
H A Dspeakup_acntsa.c46 static struct kobj_attribute caps_start_attribute =
48 static struct kobj_attribute caps_stop_attribute =
50 static struct kobj_attribute pitch_attribute =
52 static struct kobj_attribute rate_attribute =
54 static struct kobj_attribute tone_attribute =
56 static struct kobj_attribute vol_attribute =
59 static struct kobj_attribute delay_time_attribute =
61 static struct kobj_attribute direct_attribute =
63 static struct kobj_attribute full_time_attribute =
65 static struct kobj_attribute jiffy_delta_attribute =
[all …]
H A Dspeakup_audptr.c46 static struct kobj_attribute caps_start_attribute =
48 static struct kobj_attribute caps_stop_attribute =
50 static struct kobj_attribute pitch_attribute =
52 static struct kobj_attribute punct_attribute =
54 static struct kobj_attribute rate_attribute =
56 static struct kobj_attribute tone_attribute =
58 static struct kobj_attribute vol_attribute =
61 static struct kobj_attribute delay_time_attribute =
63 static struct kobj_attribute direct_attribute =
65 static struct kobj_attribute full_time_attribute =
[all …]
H A Dspeakup_decext.c66 static struct kobj_attribute caps_start_attribute =
68 static struct kobj_attribute caps_stop_attribute =
70 static struct kobj_attribute pitch_attribute =
72 static struct kobj_attribute inflection_attribute =
74 static struct kobj_attribute punct_attribute =
76 static struct kobj_attribute rate_attribute =
78 static struct kobj_attribute voice_attribute =
80 static struct kobj_attribute vol_attribute =
83 static struct kobj_attribute delay_time_attribute =
85 static struct kobj_attribute direct_attribute =
[all …]
/linux/kernel/power/
H A Dmain.c193 static ssize_t pm_async_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_show()
199 static ssize_t pm_async_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_store()
217 static ssize_t mem_sleep_show(struct kobject *kobj, struct kobj_attribute *attr, in mem_sleep_show()
262 static ssize_t mem_sleep_store(struct kobject *kobj, struct kobj_attribute *attr, in mem_sleep_store()
299 struct kobj_attribute *attr, char *buf) in sync_on_suspend_show()
305 struct kobj_attribute *attr, in sync_on_suspend_store()
335 static ssize_t pm_test_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_show()
356 static ssize_t pm_test_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_store()
469 struct kobj_attribute *attr, char *buf) \
473 static struct kobj_attribute _nam
[all...]
/linux/drivers/platform/x86/dell/dell-wmi-sysman/
H A Dpassobj-attributes.c15 static ssize_t is_enabled_show(struct kobject *kobj, struct kobj_attribute *attr, in is_enabled_show()
39 static struct kobj_attribute po_is_pass_set = __ATTR_RO(is_enabled);
42 struct kobj_attribute *attr, in current_password_store()
70 static struct kobj_attribute po_current_password = __ATTR_WO(current_password);
73 struct kobj_attribute *attr, in new_password_store()
98 static struct kobj_attribute po_new_password = __ATTR_WO(new_password);
101 static struct kobj_attribute po_min_pass_length = __ATTR_RO(min_password_length);
104 static struct kobj_attribute po_max_pass_length = __ATTR_RO(max_password_length);
106 static ssize_t mechanism_show(struct kobject *kobj, struct kobj_attribute *attr, in mechanism_show()
112 static struct kobj_attribute po_mechanism = __ATTR_RO(mechanism);
[all …]
H A Dint-attributes.c15 static ssize_t current_value_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in current_value_show()
65 static struct kobj_attribute integer_displ_langcode =
69 static struct kobj_attribute integer_displ_name =
73 static struct kobj_attribute integer_default_val =
77 static struct kobj_attribute integer_current_val =
81 static struct kobj_attribute integer_modifier =
85 static struct kobj_attribute integer_lower_bound =
89 static struct kobj_attribute integer_upper_bound =
93 static struct kobj_attribute integer_scalar_increment =
96 static ssize_t type_show(struct kobject *kobj, struct kobj_attribute *attr, in type_show()
[all …]
/linux/drivers/block/rnbd/
H A Drnbd-clt-sysfs.c226 struct kobj_attribute *attr, char *page) in state_show()
248 static struct kobj_attribute rnbd_clt_state_attr = __ATTR_RO(state);
251 struct kobj_attribute *attr, char *page) in nr_poll_queues_show()
260 static struct kobj_attribute rnbd_clt_nr_poll_queues =
264 struct kobj_attribute *attr, char *page) in mapping_path_show()
273 static struct kobj_attribute rnbd_clt_mapping_path_attr =
277 struct kobj_attribute *attr, char *page) in access_mode_show()
286 static struct kobj_attribute rnbd_clt_access_mode =
290 struct kobj_attribute *attr, char *page) in rnbd_clt_unmap_dev_show()
297 struct kobj_attribute *attr, in rnbd_clt_unmap_dev_store()
[all …]
/linux/drivers/platform/x86/lenovo/
H A Dthink-lmi.c424 static ssize_t is_enabled_show(struct kobject *kobj, struct kobj_attribute *attr, in is_enabled_show()
432 static struct kobj_attribute auth_is_pass_set = __ATTR_RO(is_enabled);
435 struct kobj_attribute *attr, in current_password_store()
452 static struct kobj_attribute auth_current_password = __ATTR_WO(current_password);
455 struct kobj_attribute *attr, in new_password_store()
543 static struct kobj_attribute auth_new_password = __ATTR_WO(new_password);
545 static ssize_t min_password_length_show(struct kobject *kobj, struct kobj_attribute *attr, in min_password_length_show()
553 static struct kobj_attribute auth_min_pass_length = __ATTR_RO(min_password_length);
555 static ssize_t max_password_length_show(struct kobject *kobj, struct kobj_attribute *attr, in max_password_length_show()
562 static struct kobj_attribute auth_max_pass_length = __ATTR_RO(max_password_length);
[all …]
/linux/drivers/platform/x86/hp/hp-bioscfg/
H A Dspmobj-attributes.c129 struct kobj_attribute *attr, in statusbin()
145 static ssize_t status_show(struct kobject *kobj, struct kobj_attribute in status_show()
207 static struct kobj_attribute password_spm_status = __ATTR_RO(status);
210 static struct kobj_attribute password_spm_is_key_enabled = __ATTR_RO(is_enabled);
212 static ssize_t key_mechanism_show(struct kobject *kobj, struct kobj_attribute *attr, in key_mechanism_show()
219 static struct kobj_attribute password_spm_key_mechanism = __ATTR_RO(key_mechanism);
222 struct kobj_attribute *attr, in sk_store()
254 static struct kobj_attribute password_spm_signing_key = __ATTR_WO(sk);
257 struct kobj_attribute *attr, in kek_store()
291 static struct kobj_attribute password_spm_endorsement_key = __ATTR_WO(kek);
[all …]
/linux/arch/s390/kernel/
H A Dipl.c210 struct kobj_attribute *attr, \
218 struct kobj_attribute *attr, \
238 static struct kobj_attribute sys_##_prefix##_##_name##_attr = \
245 static struct kobj_attribute sys_##_prefix##_##_name##_attr = \
251 struct kobj_attribute *attr, \
260 static struct kobj_attribute sys_##_prefix##_##_name##_attr = \
268 struct kobj_attribute *attr, \
278 static struct kobj_attribute sys_##_prefix##_##_name##_attr = \
286 struct kobj_attribute *attr, \
297 static struct kobj_attribute sys_##_prefix##_##_name##_attr = \
[all …]
/linux/drivers/staging/greybus/
H A Daudio_manager_sysfs.c15 struct kobj_attribute *attr, in manager_sysfs_add_store()
36 static struct kobj_attribute manager_add_attribute =
40 struct kobj_attribute *attr, in manager_sysfs_remove_store()
57 static struct kobj_attribute manager_remove_attribute =
61 struct kobj_attribute *attr, in manager_sysfs_dump_store()
81 static struct kobj_attribute manager_dump_attribute =
85 struct kobj_attribute *kattr) in manager_sysfs_init_attribute()
/linux/samples/kobject/
H A Dkobject-example.c28 static ssize_t foo_show(struct kobject *kobj, struct kobj_attribute *attr, in foo_show()
34 static ssize_t foo_store(struct kobject *kobj, struct kobj_attribute *attr, in foo_store()
47 static struct kobj_attribute foo_attribute =
54 static ssize_t b_show(struct kobject *kobj, struct kobj_attribute *attr, in b_show()
66 static ssize_t b_store(struct kobject *kobj, struct kobj_attribute *attr, in b_store()
82 static struct kobj_attribute baz_attribute =
84 static struct kobj_attribute bar_attribute =

1234567