Home
last modified time | relevance | path

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

12345

/Linux-v5.15/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-v5.15/kernel/
Dksysfs.c24 static struct kobj_attribute _name##_attr = __ATTR_RO(_name)
27 static struct kobj_attribute _name##_attr = \
32 struct kobj_attribute *attr, char *buf) in uevent_seqnum_show()
41 struct kobj_attribute *attr, char *buf) in uevent_helper_show()
46 struct kobj_attribute *attr, in uevent_helper_store()
62 struct kobj_attribute *attr, char *buf) in profiling_show()
67 struct kobj_attribute *attr, in profiling_store()
93 struct kobj_attribute *attr, char *buf) in kexec_loaded_show()
100 struct kobj_attribute *attr, char *buf) in kexec_crash_loaded_show()
107 struct kobj_attribute *attr, char *buf) in kexec_crash_size_show()
[all …]
/Linux-v5.15/drivers/accessibility/speakup/
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_dummy.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 inflection_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_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_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_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_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.c58 static struct kobj_attribute caps_start_attribute =
60 static struct kobj_attribute caps_stop_attribute =
62 static struct kobj_attribute pitch_attribute =
64 static struct kobj_attribute inflection_attribute =
66 static struct kobj_attribute punct_attribute =
68 static struct kobj_attribute rate_attribute =
70 static struct kobj_attribute voice_attribute =
72 static struct kobj_attribute vol_attribute =
75 static struct kobj_attribute delay_time_attribute =
77 static struct kobj_attribute direct_attribute =
[all …]
/Linux-v5.15/kernel/power/
Dmain.c100 static ssize_t pm_async_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_show()
106 static ssize_t pm_async_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_store()
124 static ssize_t mem_sleep_show(struct kobject *kobj, struct kobj_attribute *attr, in mem_sleep_show()
166 static ssize_t mem_sleep_store(struct kobject *kobj, struct kobj_attribute *attr, in mem_sleep_store()
203 struct kobj_attribute *attr, char *buf) in sync_on_suspend_show()
209 struct kobj_attribute *attr, in sync_on_suspend_store()
239 static ssize_t pm_test_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_show()
260 static ssize_t pm_test_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_store()
312 struct kobj_attribute *attr, char *buf) \
316 static struct kobj_attribute _name = __ATTR_RO(_name)
[all …]
/Linux-v5.15/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-v5.15/drivers/platform/x86/
Dthink-lmi.c311 static ssize_t is_enabled_show(struct kobject *kobj, struct kobj_attribute *attr, in is_enabled_show()
319 static struct kobj_attribute auth_is_pass_set = __ATTR_RO(is_enabled);
322 struct kobj_attribute *attr, in current_password_store()
341 static struct kobj_attribute auth_current_password = __ATTR_WO(current_password);
344 struct kobj_attribute *attr, in new_password_store()
388 static struct kobj_attribute auth_new_password = __ATTR_WO(new_password);
390 static ssize_t min_password_length_show(struct kobject *kobj, struct kobj_attribute *attr, in min_password_length_show()
398 static struct kobj_attribute auth_min_pass_length = __ATTR_RO(min_password_length);
400 static ssize_t max_password_length_show(struct kobject *kobj, struct kobj_attribute *attr, in max_password_length_show()
407 static struct kobj_attribute auth_max_pass_length = __ATTR_RO(max_password_length);
[all …]
/Linux-v5.15/drivers/infiniband/ulp/rtrs/
Drtrs-clt-sysfs.c198 struct kobj_attribute *attr, char *page) in rtrs_clt_state_show()
209 static struct kobj_attribute rtrs_clt_state_attr =
213 struct kobj_attribute *attr, char *buf) in rtrs_clt_reconnect_show()
219 struct kobj_attribute *attr, in rtrs_clt_reconnect_store()
238 static struct kobj_attribute rtrs_clt_reconnect_attr =
243 struct kobj_attribute *attr, char *buf) in rtrs_clt_disconnect_show()
249 struct kobj_attribute *attr, in rtrs_clt_disconnect_store()
265 static struct kobj_attribute rtrs_clt_disconnect_attr =
270 struct kobj_attribute *attr, char *buf) in rtrs_clt_remove_path_show()
276 struct kobj_attribute *attr, in rtrs_clt_remove_path_store()
[all …]
/Linux-v5.15/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-v5.15/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-v5.15/arch/s390/kernel/
Dipl.c191 struct kobj_attribute *attr, \
199 struct kobj_attribute *attr, \
219 static struct kobj_attribute sys_##_prefix##_##_name##_attr = \
226 static struct kobj_attribute sys_##_prefix##_##_name##_attr = \
232 struct kobj_attribute *attr, \
241 static struct kobj_attribute sys_##_prefix##_##_name##_attr = \
249 struct kobj_attribute *attr, \
256 static struct kobj_attribute sys_##_prefix##_##_name##_attr = \
290 static ssize_t ipl_type_show(struct kobject *kobj, struct kobj_attribute *attr, in ipl_type_show()
296 static struct kobj_attribute sys_ipl_type_attr = __ATTR_RO(ipl_type);
[all …]
Duv.c334 struct kobj_attribute *attr, char *page) in uv_query_facilities()
343 static struct kobj_attribute uv_query_facilities_attr =
347 struct kobj_attribute *attr, char *buf) in uv_query_feature_indications()
352 static struct kobj_attribute uv_query_feature_indications_attr =
356 struct kobj_attribute *attr, char *page) in uv_query_max_guest_cpus()
362 static struct kobj_attribute uv_query_max_guest_cpus_attr =
366 struct kobj_attribute *attr, char *page) in uv_query_max_guest_vms()
372 static struct kobj_attribute uv_query_max_guest_vms_attr =
376 struct kobj_attribute *attr, char *page) in uv_query_max_guest_addr()
382 static struct kobj_attribute uv_query_max_guest_addr_attr =
[all …]
/Linux-v5.15/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 …]
/Linux-v5.15/drivers/s390/char/
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 …]

12345