Home
last modified time | relevance | path

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

1234

/Linux-v5.4/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.4/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()
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_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.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_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 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.c54 static struct kobj_attribute caps_start_attribute =
56 static struct kobj_attribute caps_stop_attribute =
58 static struct kobj_attribute freq_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 tone_attribute =
68 static struct kobj_attribute voice_attribute =
70 static struct kobj_attribute vol_attribute =
80 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 …]
Dspeakup_keypc.c48 static struct kobj_attribute caps_start_attribute =
50 static struct kobj_attribute caps_stop_attribute =
52 static struct kobj_attribute pitch_attribute =
54 static struct kobj_attribute rate_attribute =
57 static struct kobj_attribute delay_time_attribute =
59 static struct kobj_attribute direct_attribute =
61 static struct kobj_attribute full_time_attribute =
63 static struct kobj_attribute jiffy_delta_attribute =
65 static struct kobj_attribute trigger_time_attribute =
/Linux-v5.4/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()
207 static ssize_t pm_test_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_show()
228 static ssize_t pm_test_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_store()
280 struct kobj_attribute *attr, char *buf) \
284 static struct kobj_attribute _name = __ATTR_RO(_name)
298 struct kobj_attribute *attr, char *buf) in last_failed_dev_show()
309 static struct kobj_attribute last_failed_dev = __ATTR_RO(last_failed_dev);
[all …]
/Linux-v5.4/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.4/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.4/arch/s390/kernel/
Dipl.c174 struct kobj_attribute *attr, \
182 struct kobj_attribute *attr, \
202 static struct kobj_attribute sys_##_prefix##_##_name##_attr = \
209 static struct kobj_attribute sys_##_prefix##_##_name##_attr = \
215 struct kobj_attribute *attr, \
224 static struct kobj_attribute sys_##_prefix##_##_name##_attr = \
232 struct kobj_attribute *attr, \
239 static struct kobj_attribute sys_##_prefix##_##_name##_attr = \
268 static ssize_t ipl_type_show(struct kobject *kobj, struct kobj_attribute *attr, in ipl_type_show()
274 static struct kobj_attribute sys_ipl_type_attr = __ATTR_RO(ipl_type);
[all …]
/Linux-v5.4/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-v5.4/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-v5.4/arch/powerpc/kernel/
Dcacheinfo.c520 struct kobj_attribute *kobj_attr; in cache_index_show()
522 kobj_attr = container_of(attr, struct kobj_attribute, attr); in cache_index_show()
536 static ssize_t size_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in size_show()
549 static struct kobj_attribute cache_size_attr =
553 static ssize_t line_size_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in line_size_show()
566 static struct kobj_attribute cache_line_size_attr =
569 static ssize_t nr_sets_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in nr_sets_show()
582 static struct kobj_attribute cache_nr_sets_attr =
585 static ssize_t associativity_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in associativity_show()
598 static struct kobj_attribute cache_assoc_attr =
[all …]
/Linux-v5.4/arch/x86/platform/uv/
Duv_sysfs.c16 struct kobj_attribute *attr, char *buf) in partition_id_show()
22 struct kobj_attribute *attr, char *buf) in coherence_id_show()
27 static struct kobj_attribute partition_id_attr =
30 static struct kobj_attribute coherence_id_attr =

1234