Home
last modified time | relevance | path

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

1234

/Linux-v4.19/kernel/
Dksysfs.c26 static struct kobj_attribute _name##_attr = __ATTR_RO(_name)
29 static struct kobj_attribute _name##_attr = \
34 struct kobj_attribute *attr, char *buf) in uevent_seqnum_show()
43 struct kobj_attribute *attr, char *buf) in uevent_helper_show()
48 struct kobj_attribute *attr, in uevent_helper_store()
64 struct kobj_attribute *attr, char *buf) in profiling_show()
69 struct kobj_attribute *attr, in profiling_store()
95 struct kobj_attribute *attr, char *buf) in kexec_loaded_show()
102 struct kobj_attribute *attr, char *buf) in kexec_crash_loaded_show()
109 struct kobj_attribute *attr, char *buf) in kexec_crash_size_show()
[all …]
/Linux-v4.19/drivers/staging/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_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 …]
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_dummy.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_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 …]
Dkobjects.c30 struct kobj_attribute *attr, char *buf) in chars_chartab_show()
110 struct kobj_attribute *attr, in chars_chartab_store()
225 static ssize_t keymap_show(struct kobject *kobj, struct kobj_attribute *attr, in keymap_show()
261 static ssize_t keymap_store(struct kobject *kobj, struct kobj_attribute *attr, in keymap_store()
328 static ssize_t silent_store(struct kobject *kobj, struct kobj_attribute *attr, in silent_store()
367 static ssize_t synth_show(struct kobject *kobj, struct kobj_attribute *attr, in synth_show()
382 static ssize_t synth_store(struct kobject *kobj, struct kobj_attribute *attr, in synth_store()
409 struct kobj_attribute *attr, in synth_direct_store()
439 static ssize_t version_show(struct kobject *kobj, struct kobj_attribute *attr, in version_show()
455 static ssize_t punc_show(struct kobject *kobj, struct kobj_attribute *attr, in punc_show()
[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_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_decext.c56 static struct kobj_attribute caps_start_attribute =
58 static struct kobj_attribute caps_stop_attribute =
60 static struct kobj_attribute pitch_attribute =
62 static struct kobj_attribute punct_attribute =
64 static struct kobj_attribute rate_attribute =
66 static struct kobj_attribute voice_attribute =
68 static struct kobj_attribute vol_attribute =
71 static struct kobj_attribute delay_time_attribute =
73 static struct kobj_attribute direct_attribute =
75 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 punct_attribute =
66 static struct kobj_attribute rate_attribute =
68 static struct kobj_attribute voice_attribute =
70 static struct kobj_attribute vol_attribute =
73 static struct kobj_attribute delay_time_attribute =
75 static struct kobj_attribute direct_attribute =
77 static struct kobj_attribute full_time_attribute =
[all …]
Dspeakup_dtlk.c57 static struct kobj_attribute caps_start_attribute =
59 static struct kobj_attribute caps_stop_attribute =
61 static struct kobj_attribute freq_attribute =
63 static struct kobj_attribute pitch_attribute =
65 static struct kobj_attribute punct_attribute =
67 static struct kobj_attribute rate_attribute =
69 static struct kobj_attribute tone_attribute =
71 static struct kobj_attribute voice_attribute =
73 static struct kobj_attribute vol_attribute =
76 static struct kobj_attribute delay_time_attribute =
[all …]
Dspeakup_soft.c52 static struct kobj_attribute caps_start_attribute =
54 static struct kobj_attribute caps_stop_attribute =
56 static struct kobj_attribute freq_attribute =
58 static struct kobj_attribute pitch_attribute =
60 static struct kobj_attribute punct_attribute =
62 static struct kobj_attribute rate_attribute =
64 static struct kobj_attribute tone_attribute =
66 static struct kobj_attribute voice_attribute =
68 static struct kobj_attribute vol_attribute =
78 static struct kobj_attribute delay_time_attribute =
[all …]
Dspeakup_acntpc.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 rate_attribute =
59 static struct kobj_attribute tone_attribute =
61 static struct kobj_attribute vol_attribute =
64 static struct kobj_attribute delay_time_attribute =
66 static struct kobj_attribute direct_attribute =
68 static struct kobj_attribute full_time_attribute =
70 static struct kobj_attribute jiffy_delta_attribute =
[all …]
Dspeakup_decpc.c152 static struct kobj_attribute caps_start_attribute =
154 static struct kobj_attribute caps_stop_attribute =
156 static struct kobj_attribute pitch_attribute =
158 static struct kobj_attribute punct_attribute =
160 static struct kobj_attribute rate_attribute =
162 static struct kobj_attribute voice_attribute =
164 static struct kobj_attribute vol_attribute =
167 static struct kobj_attribute delay_time_attribute =
169 static struct kobj_attribute direct_attribute =
171 static struct kobj_attribute full_time_attribute =
[all …]
/Linux-v4.19/kernel/power/
Dmain.c87 static ssize_t pm_async_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_show()
93 static ssize_t pm_async_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_store()
111 static ssize_t mem_sleep_show(struct kobject *kobj, struct kobj_attribute *attr, in mem_sleep_show()
153 static ssize_t mem_sleep_store(struct kobject *kobj, struct kobj_attribute *attr, in mem_sleep_store()
194 static ssize_t pm_test_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_show()
215 static ssize_t pm_test_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_store()
356 struct kobj_attribute *attr, char *buf) in pm_print_times_show()
362 struct kobj_attribute *attr, in pm_print_times_store()
385 struct kobj_attribute *attr, in pm_wakeup_irq_show()
396 struct kobj_attribute *attr, char *buf) in pm_debug_messages_show()
[all …]
/Linux-v4.19/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-v4.19/drivers/staging/greybus/
Daudio_manager_sysfs.c15 struct kobject *kobj, struct kobj_attribute *attr, in manager_sysfs_add_store()
36 static struct kobj_attribute manager_add_attribute =
40 struct kobject *kobj, struct kobj_attribute *attr, in manager_sysfs_remove_store()
57 static struct kobj_attribute manager_remove_attribute =
61 struct kobject *kobj, struct kobj_attribute *attr, in manager_sysfs_dump_store()
81 static struct kobj_attribute manager_dump_attribute =
85 struct kobject *kobj, struct kobj_attribute *kattr) in manager_sysfs_init_attribute()
/Linux-v4.19/arch/s390/kernel/
Dipl.c163 struct kobj_attribute *attr, \
171 struct kobj_attribute *attr, \
191 static struct kobj_attribute sys_##_prefix##_##_name##_attr = \
198 static struct kobj_attribute sys_##_prefix##_##_name##_attr = \
204 struct kobj_attribute *attr, \
213 static struct kobj_attribute sys_##_prefix##_##_name##_attr = \
221 struct kobj_attribute *attr, \
228 static struct kobj_attribute sys_##_prefix##_##_name##_attr = \
257 static ssize_t ipl_type_show(struct kobject *kobj, struct kobj_attribute *attr, in ipl_type_show()
263 static struct kobj_attribute sys_ipl_type_attr = __ATTR_RO(ipl_type);
[all …]
/Linux-v4.19/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 …]
/Linux-v4.19/drivers/pci/hotplug/
Drpadlpar_sysfs.c27 static ssize_t add_slot_store(struct kobject *kobj, struct kobj_attribute *attr, in add_slot_store()
52 struct kobj_attribute *attr, char *buf) in add_slot_show()
58 struct kobj_attribute *attr, in remove_slot_store()
83 struct kobj_attribute *attr, char *buf) in remove_slot_show()
88 static struct kobj_attribute add_slot_attr =
91 static struct kobj_attribute remove_slot_attr =
/Linux-v4.19/fs/btrfs/
Dsysfs.h26 static struct kobj_attribute btrfs_attr_##_prefix##_##_name = \
30 static struct kobj_attribute btrfs_attr_##_prefix##_##_name = \
38 struct kobj_attribute kobj_attr;
63 to_btrfs_feature_attr(struct kobj_attribute *a) in to_btrfs_feature_attr()
68 static inline struct kobj_attribute *attr_to_btrfs_attr(struct attribute *attr) in attr_to_btrfs_attr()
70 return container_of(attr, struct kobj_attribute, attr); in attr_to_btrfs_attr()
/Linux-v4.19/arch/x86/platform/uv/
Duv_sysfs.c29 struct kobj_attribute *attr, char *buf) in partition_id_show()
35 struct kobj_attribute *attr, char *buf) in coherence_id_show()
40 static struct kobj_attribute partition_id_attr =
43 static struct kobj_attribute coherence_id_attr =
/Linux-v4.19/arch/powerpc/kernel/
Dcacheinfo.c523 struct kobj_attribute *kobj_attr; in cache_index_show()
525 kobj_attr = container_of(attr, struct kobj_attribute, attr); in cache_index_show()
539 static ssize_t size_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in size_show()
552 static struct kobj_attribute cache_size_attr =
556 static ssize_t line_size_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in line_size_show()
569 static struct kobj_attribute cache_line_size_attr =
572 static ssize_t nr_sets_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in nr_sets_show()
585 static struct kobj_attribute cache_nr_sets_attr =
588 static ssize_t associativity_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in associativity_show()
601 static struct kobj_attribute cache_assoc_attr =
[all …]

1234