Home
last modified time | relevance | path

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

123456

/openbmc/linux/drivers/gpu/drm/i915/gt/
H A Dsysfs_engines.c25 name_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in name_show()
30 static const struct kobj_attribute name_attr =
34 class_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in class_show()
39 static const struct kobj_attribute class_attr =
43 inst_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in inst_show()
48 static const struct kobj_attribute inst_attr =
52 mmio_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in mmio_show()
57 static const struct kobj_attribute mmio_attr =
121 caps_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in caps_show()
128 static const struct kobj_attribute caps_attr =
[all …]
/openbmc/linux/arch/s390/kernel/
H A Duv.c486 struct kobj_attribute *attr, char *buf) in uv_query_facilities()
495 static struct kobj_attribute uv_query_facilities_attr =
499 struct kobj_attribute *attr, char *buf) in uv_query_supp_se_hdr_ver()
504 static struct kobj_attribute uv_query_supp_se_hdr_ver_attr =
508 struct kobj_attribute *attr, char *buf) in uv_query_supp_se_hdr_pcf()
513 static struct kobj_attribute uv_query_supp_se_hdr_pcf_attr =
517 struct kobj_attribute *attr, char *buf) in uv_query_dump_cpu_len()
522 static struct kobj_attribute uv_query_dump_cpu_len_attr =
526 struct kobj_attribute *attr, char *buf) in uv_query_dump_storage_state_len()
531 static struct kobj_attribute uv_query_dump_storage_state_len_attr =
[all …]
/openbmc/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()
117 struct kobj_attribute *attr, char *buf) in kexec_loaded_show()
[all …]
/openbmc/linux/drivers/platform/x86/intel/uncore-frequency/
H A Duncore-frequency-common.h56 struct kobj_attribute max_freq_khz_kobj_attr;
57 struct kobj_attribute min_freq_khz_kobj_attr;
58 struct kobj_attribute initial_max_freq_khz_kobj_attr;
59 struct kobj_attribute initial_min_freq_khz_kobj_attr;
60 struct kobj_attribute current_freq_khz_kobj_attr;
61 struct kobj_attribute domain_id_kobj_attr;
62 struct kobj_attribute fabric_cluster_id_kobj_attr;
63 struct kobj_attribute package_id_kobj_attr;
/openbmc/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()
443 static ssize_t version_show(struct kobject *kobj, struct kobj_attribute *attr, in version_show()
459 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 …]
/openbmc/linux/mm/damon/
H A Dsysfs-schemes.c40 static ssize_t start_show(struct kobject *kobj, struct kobj_attribute *attr, in start_show()
49 static ssize_t end_show(struct kobject *kobj, struct kobj_attribute *attr, in end_show()
59 struct kobj_attribute *attr, char *buf) in nr_accesses_show()
67 static ssize_t age_show(struct kobject *kobj, struct kobj_attribute *attr, in age_show()
85 static struct kobj_attribute damon_sysfs_scheme_region_start_attr =
88 static struct kobj_attribute damon_sysfs_scheme_region_end_attr =
91 static struct kobj_attribute damon_sysfs_scheme_region_nr_accesses_attr =
94 static struct kobj_attribute damon_sysfs_scheme_region_age_attr =
140 struct kobj_attribute *attr, char *buf) in total_bytes_show()
165 static struct kobj_attribute damon_sysfs_scheme_regions_total_bytes_attr =
[all …]
/openbmc/linux/kernel/power/
H A Dmain.c144 static ssize_t pm_async_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_show()
150 static ssize_t pm_async_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_store()
168 static ssize_t mem_sleep_show(struct kobject *kobj, struct kobj_attribute *attr, in mem_sleep_show()
213 static ssize_t mem_sleep_store(struct kobject *kobj, struct kobj_attribute *attr, in mem_sleep_store()
250 struct kobj_attribute *attr, char *buf) in sync_on_suspend_show()
256 struct kobj_attribute *attr, in sync_on_suspend_store()
286 static ssize_t pm_test_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_show()
307 static ssize_t pm_test_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_store()
360 struct kobj_attribute *attr, char *buf) \
364 static struct kobj_attribute _name = __ATTR_RO(_name)
[all …]
/openbmc/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()
38 static struct kobj_attribute po_is_pass_set = __ATTR_RO(is_enabled);
41 struct kobj_attribute *attr, in current_password_store()
69 static struct kobj_attribute po_current_password = __ATTR_WO(current_password);
72 struct kobj_attribute *attr, in new_password_store()
97 static struct kobj_attribute po_new_password = __ATTR_WO(new_password);
100 static struct kobj_attribute po_min_pass_length = __ATTR_RO(min_password_length);
103 static struct kobj_attribute po_max_pass_length = __ATTR_RO(max_password_length);
105 static ssize_t mechanism_show(struct kobject *kobj, struct kobj_attribute *attr, in mechanism_show()
111 static struct kobj_attribute po_mechanism = __ATTR_RO(mechanism);
[all …]
H A Dstring-attributes.c15 static ssize_t current_value_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in current_value_show()
54 static struct kobj_attribute str_displ_langcode =
58 static struct kobj_attribute str_displ_name =
62 static struct kobj_attribute str_default_val =
66 static struct kobj_attribute str_current_val =
70 static struct kobj_attribute str_modifier =
74 static struct kobj_attribute str_min_length =
78 static struct kobj_attribute str_max_length =
81 static ssize_t type_show(struct kobject *kobj, struct kobj_attribute *attr, in type_show()
86 static struct kobj_attribute str_type =
H A Dint-attributes.c15 static ssize_t current_value_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in current_value_show()
64 static struct kobj_attribute integer_displ_langcode =
68 static struct kobj_attribute integer_displ_name =
72 static struct kobj_attribute integer_default_val =
76 static struct kobj_attribute integer_current_val =
80 static struct kobj_attribute integer_modifier =
84 static struct kobj_attribute integer_lower_bound =
88 static struct kobj_attribute integer_upper_bound =
92 static struct kobj_attribute integer_scalar_increment =
95 static ssize_t type_show(struct kobject *kobj, struct kobj_attribute *attr, in type_show()
[all …]
/openbmc/linux/drivers/infiniband/ulp/rtrs/
H A Drtrs-clt-sysfs.c199 struct kobj_attribute *attr, char *page) in rtrs_clt_state_show()
210 static struct kobj_attribute rtrs_clt_state_attr =
214 struct kobj_attribute *attr, char *buf) in rtrs_clt_reconnect_show()
220 struct kobj_attribute *attr, in rtrs_clt_reconnect_store()
239 static struct kobj_attribute rtrs_clt_reconnect_attr =
244 struct kobj_attribute *attr, char *buf) in rtrs_clt_disconnect_show()
250 struct kobj_attribute *attr, in rtrs_clt_disconnect_store()
266 static struct kobj_attribute rtrs_clt_disconnect_attr =
271 struct kobj_attribute *attr, char *buf) in rtrs_clt_remove_path_show()
277 struct kobj_attribute *attr, in rtrs_clt_remove_path_store()
[all …]
/openbmc/linux/drivers/platform/x86/
H A Dthink-lmi.c390 static ssize_t is_enabled_show(struct kobject *kobj, struct kobj_attribute *attr, in is_enabled_show()
398 static struct kobj_attribute auth_is_pass_set = __ATTR_RO(is_enabled);
401 struct kobj_attribute *attr, in current_password_store()
418 static struct kobj_attribute auth_current_password = __ATTR_WO(current_password);
421 struct kobj_attribute *attr, in new_password_store()
506 static struct kobj_attribute auth_new_password = __ATTR_WO(new_password);
508 static ssize_t min_password_length_show(struct kobject *kobj, struct kobj_attribute *attr, in min_password_length_show()
516 static struct kobj_attribute auth_min_pass_length = __ATTR_RO(min_password_length);
518 static ssize_t max_password_length_show(struct kobject *kobj, struct kobj_attribute *attr, in max_password_length_show()
525 static struct kobj_attribute auth_max_pass_length = __ATTR_RO(max_password_length);
[all …]
/openbmc/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()
/openbmc/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 =
/openbmc/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 …]
/openbmc/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 …]
/openbmc/linux/drivers/s390/char/
H A Dsclp_cpi_sys.c221 struct kobj_attribute *attr, char *page) in system_name_show()
232 struct kobj_attribute *attr, in system_name_store()
249 static struct kobj_attribute system_name_attr =
253 struct kobj_attribute *attr, char *page) in sysplex_name_show()
264 struct kobj_attribute *attr, in sysplex_name_store()
281 static struct kobj_attribute sysplex_name_attr =
285 struct kobj_attribute *attr, char *page) in system_type_show()
296 struct kobj_attribute *attr, in system_type_store()
313 static struct kobj_attribute system_type_attr =
317 struct kobj_attribute *attr, char *page) in system_level_show()
[all …]

123456