Home
last modified time | relevance | path

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

12345

/Linux-v6.1/drivers/gpu/drm/i915/gt/
Dsysfs_engines.c25 name_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in name_show()
30 static struct kobj_attribute name_attr =
34 class_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in class_show()
39 static struct kobj_attribute class_attr =
43 inst_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in inst_show()
48 static struct kobj_attribute inst_attr =
52 mmio_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in mmio_show()
57 static struct kobj_attribute mmio_attr =
123 caps_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in caps_show()
130 static struct kobj_attribute caps_attr =
[all …]
/Linux-v6.1/kernel/
Dksysfs.c24 static struct kobj_attribute _name##_attr = __ATTR_RO(_name)
27 static struct kobj_attribute _name##_attr = __ATTR_RW(_name)
31 struct kobj_attribute *attr, char *buf) in uevent_seqnum_show()
40 struct kobj_attribute *attr, char *buf) in uevent_helper_show()
45 struct kobj_attribute *attr, in uevent_helper_store()
61 struct kobj_attribute *attr, char *buf) in profiling_show()
66 struct kobj_attribute *attr, in profiling_store()
92 struct kobj_attribute *attr, char *buf) in kexec_loaded_show()
99 struct kobj_attribute *attr, char *buf) in kexec_crash_loaded_show()
106 struct kobj_attribute *attr, char *buf) in kexec_crash_size_show()
[all …]
/Linux-v6.1/drivers/accessibility/speakup/
Dspeakup_dummy.c38 static struct kobj_attribute caps_start_attribute =
40 static struct kobj_attribute caps_stop_attribute =
42 static struct kobj_attribute pitch_attribute =
44 static struct kobj_attribute inflection_attribute =
46 static struct kobj_attribute punct_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 =
[all …]
Dspeakup_ltlk.c38 static struct kobj_attribute caps_start_attribute =
40 static struct kobj_attribute caps_stop_attribute =
42 static struct kobj_attribute freq_attribute =
44 static struct kobj_attribute pitch_attribute =
46 static struct kobj_attribute punct_attribute =
48 static struct kobj_attribute rate_attribute =
50 static struct kobj_attribute tone_attribute =
52 static struct kobj_attribute voice_attribute =
54 static struct kobj_attribute vol_attribute =
57 static struct kobj_attribute delay_time_attribute =
[all …]
Dspeakup_spkout.c35 static struct kobj_attribute caps_start_attribute =
37 static struct kobj_attribute caps_stop_attribute =
39 static struct kobj_attribute pitch_attribute =
41 static struct kobj_attribute punct_attribute =
43 static struct kobj_attribute rate_attribute =
45 static struct kobj_attribute tone_attribute =
47 static struct kobj_attribute vol_attribute =
50 static struct kobj_attribute delay_time_attribute =
52 static struct kobj_attribute direct_attribute =
54 static struct kobj_attribute full_time_attribute =
[all …]
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 …]
Dspeakup_bns.c33 static struct kobj_attribute caps_start_attribute =
35 static struct kobj_attribute caps_stop_attribute =
37 static struct kobj_attribute pitch_attribute =
39 static struct kobj_attribute rate_attribute =
41 static struct kobj_attribute tone_attribute =
43 static struct kobj_attribute vol_attribute =
46 static struct kobj_attribute delay_time_attribute =
48 static struct kobj_attribute direct_attribute =
50 static struct kobj_attribute full_time_attribute =
52 static struct kobj_attribute jiffy_delta_attribute =
[all …]
Dspeakup_txprt.c32 static struct kobj_attribute caps_start_attribute =
34 static struct kobj_attribute caps_stop_attribute =
36 static struct kobj_attribute pitch_attribute =
38 static struct kobj_attribute rate_attribute =
40 static struct kobj_attribute tone_attribute =
42 static struct kobj_attribute vol_attribute =
45 static struct kobj_attribute delay_time_attribute =
47 static struct kobj_attribute direct_attribute =
49 static struct kobj_attribute full_time_attribute =
51 static struct kobj_attribute jiffy_delta_attribute =
[all …]
Dspeakup_acntsa.c36 static struct kobj_attribute caps_start_attribute =
38 static struct kobj_attribute caps_stop_attribute =
40 static struct kobj_attribute pitch_attribute =
42 static struct kobj_attribute rate_attribute =
44 static struct kobj_attribute tone_attribute =
46 static struct kobj_attribute vol_attribute =
49 static struct kobj_attribute delay_time_attribute =
51 static struct kobj_attribute direct_attribute =
53 static struct kobj_attribute full_time_attribute =
55 static struct kobj_attribute jiffy_delta_attribute =
[all …]
Dspeakup_audptr.c37 static struct kobj_attribute caps_start_attribute =
39 static struct kobj_attribute caps_stop_attribute =
41 static struct kobj_attribute pitch_attribute =
43 static struct kobj_attribute punct_attribute =
45 static struct kobj_attribute rate_attribute =
47 static struct kobj_attribute tone_attribute =
49 static struct kobj_attribute vol_attribute =
52 static struct kobj_attribute delay_time_attribute =
54 static struct kobj_attribute direct_attribute =
56 static struct kobj_attribute full_time_attribute =
[all …]
Dspeakup_decext.c57 static struct kobj_attribute caps_start_attribute =
59 static struct kobj_attribute caps_stop_attribute =
61 static struct kobj_attribute pitch_attribute =
63 static struct kobj_attribute inflection_attribute =
65 static struct kobj_attribute punct_attribute =
67 static struct kobj_attribute rate_attribute =
69 static struct kobj_attribute voice_attribute =
71 static struct kobj_attribute vol_attribute =
74 static struct kobj_attribute delay_time_attribute =
76 static struct kobj_attribute direct_attribute =
[all …]
Dspeakup_apollo.c42 static struct kobj_attribute caps_start_attribute =
44 static struct kobj_attribute caps_stop_attribute =
46 static struct kobj_attribute lang_attribute =
48 static struct kobj_attribute pitch_attribute =
50 static struct kobj_attribute rate_attribute =
52 static struct kobj_attribute voice_attribute =
54 static struct kobj_attribute vol_attribute =
57 static struct kobj_attribute delay_time_attribute =
59 static struct kobj_attribute direct_attribute =
61 static struct kobj_attribute full_time_attribute =
[all …]
Dspeakup_dectlk.c59 static struct kobj_attribute caps_start_attribute =
61 static struct kobj_attribute caps_stop_attribute =
63 static struct kobj_attribute pitch_attribute =
65 static struct kobj_attribute inflection_attribute =
67 static struct kobj_attribute punct_attribute =
69 static struct kobj_attribute rate_attribute =
71 static struct kobj_attribute voice_attribute =
73 static struct kobj_attribute vol_attribute =
76 static struct kobj_attribute delay_time_attribute =
78 static struct kobj_attribute direct_attribute =
[all …]
/Linux-v6.1/arch/s390/kernel/
Duv.c466 struct kobj_attribute *attr, char *page) in uv_query_facilities()
475 static struct kobj_attribute uv_query_facilities_attr =
479 struct kobj_attribute *attr, char *buf) in uv_query_supp_se_hdr_ver()
484 static struct kobj_attribute uv_query_supp_se_hdr_ver_attr =
488 struct kobj_attribute *attr, char *buf) in uv_query_supp_se_hdr_pcf()
493 static struct kobj_attribute uv_query_supp_se_hdr_pcf_attr =
497 struct kobj_attribute *attr, char *page) in uv_query_dump_cpu_len()
503 static struct kobj_attribute uv_query_dump_cpu_len_attr =
507 struct kobj_attribute *attr, char *page) in uv_query_dump_storage_state_len()
513 static struct kobj_attribute uv_query_dump_storage_state_len_attr =
[all …]
Dipl.c192 struct kobj_attribute *attr, \
200 struct kobj_attribute *attr, \
220 static struct kobj_attribute sys_##_prefix##_##_name##_attr = \
227 static struct kobj_attribute sys_##_prefix##_##_name##_attr = \
233 struct kobj_attribute *attr, \
242 static struct kobj_attribute sys_##_prefix##_##_name##_attr = \
250 struct kobj_attribute *attr, \
257 static struct kobj_attribute sys_##_prefix##_##_name##_attr = \
291 static ssize_t ipl_type_show(struct kobject *kobj, struct kobj_attribute *attr, in ipl_type_show()
297 static struct kobj_attribute sys_ipl_type_attr = __ATTR_RO(ipl_type);
[all …]
/Linux-v6.1/kernel/power/
Dmain.c103 static ssize_t pm_async_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_show()
109 static ssize_t pm_async_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_store()
127 static ssize_t mem_sleep_show(struct kobject *kobj, struct kobj_attribute *attr, in mem_sleep_show()
172 static ssize_t mem_sleep_store(struct kobject *kobj, struct kobj_attribute *attr, in mem_sleep_store()
209 struct kobj_attribute *attr, char *buf) in sync_on_suspend_show()
215 struct kobj_attribute *attr, in sync_on_suspend_store()
245 static ssize_t pm_test_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_show()
266 static ssize_t pm_test_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_store()
319 struct kobj_attribute *attr, char *buf) \
323 static struct kobj_attribute _name = __ATTR_RO(_name)
[all …]
/Linux-v6.1/drivers/platform/x86/dell/dell-wmi-sysman/
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 …]
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 =
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 …]
/Linux-v6.1/mm/damon/
Dsysfs.c42 static ssize_t min_show(struct kobject *kobj, struct kobj_attribute *attr, in min_show()
51 static ssize_t min_store(struct kobject *kobj, struct kobj_attribute *attr, in min_store()
67 static ssize_t max_show(struct kobject *kobj, struct kobj_attribute *attr, in max_show()
76 static ssize_t max_store(struct kobject *kobj, struct kobj_attribute *attr, in max_store()
97 static struct kobj_attribute damon_sysfs_ul_range_min_attr =
100 static struct kobj_attribute damon_sysfs_ul_range_max_attr =
134 static ssize_t nr_tried_show(struct kobject *kobj, struct kobj_attribute *attr, in nr_tried_show()
143 static ssize_t sz_tried_show(struct kobject *kobj, struct kobj_attribute *attr, in sz_tried_show()
153 struct kobj_attribute *attr, char *buf) in nr_applied_show()
162 struct kobj_attribute *attr, char *buf) in sz_applied_show()
[all …]
/Linux-v6.1/drivers/infiniband/ulp/rtrs/
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 …]
/Linux-v6.1/drivers/platform/x86/
Dthink-lmi.c388 static ssize_t is_enabled_show(struct kobject *kobj, struct kobj_attribute *attr, in is_enabled_show()
396 static struct kobj_attribute auth_is_pass_set = __ATTR_RO(is_enabled);
399 struct kobj_attribute *attr, in current_password_store()
416 static struct kobj_attribute auth_current_password = __ATTR_WO(current_password);
419 struct kobj_attribute *attr, in new_password_store()
500 static struct kobj_attribute auth_new_password = __ATTR_WO(new_password);
502 static ssize_t min_password_length_show(struct kobject *kobj, struct kobj_attribute *attr, in min_password_length_show()
510 static struct kobj_attribute auth_min_pass_length = __ATTR_RO(min_password_length);
512 static ssize_t max_password_length_show(struct kobject *kobj, struct kobj_attribute *attr, in max_password_length_show()
519 static struct kobj_attribute auth_max_pass_length = __ATTR_RO(max_password_length);
[all …]
/Linux-v6.1/drivers/staging/greybus/
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-v6.1/samples/kobject/
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 =
/Linux-v6.1/drivers/block/rnbd/
Drnbd-clt-sysfs.c224 struct kobj_attribute *attr, char *page) in state_show()
246 static struct kobj_attribute rnbd_clt_state_attr = __ATTR_RO(state);
249 struct kobj_attribute *attr, char *page) in nr_poll_queues_show()
258 static struct kobj_attribute rnbd_clt_nr_poll_queues =
262 struct kobj_attribute *attr, char *page) in mapping_path_show()
271 static struct kobj_attribute rnbd_clt_mapping_path_attr =
275 struct kobj_attribute *attr, char *page) in access_mode_show()
284 static struct kobj_attribute rnbd_clt_access_mode =
288 struct kobj_attribute *attr, char *page) in rnbd_clt_unmap_dev_show()
295 struct kobj_attribute *attr, in rnbd_clt_unmap_dev_store()
[all …]

12345