/linux/drivers/gpu/drm/xe/ |
H A D | xe_hw_engine_class_sysfs.c | 46 struct kobj_attribute *attr, in job_timeout_max_store() 71 struct kobj_attribute *attr, char *buf) in job_timeout_max_show() 78 static const struct kobj_attribute job_timeout_max_attr = 82 struct kobj_attribute *attr, in job_timeout_min_store() 107 struct kobj_attribute *attr, char *buf) in job_timeout_min_show() 114 static const struct kobj_attribute job_timeout_min_attr = 118 struct kobj_attribute *attr, in job_timeout_store() 140 struct kobj_attribute *attr, char *buf) in job_timeout_show() 147 static const struct kobj_attribute job_timeout_attr = 151 struct kobj_attribute *attr, char *buf) in job_timeout_default() [all …]
|
/linux/arch/s390/kernel/ |
H A D | uv.c | 324 struct kobj_attribute *attr, char *buf) in uv_query_facilities() 333 static struct kobj_attribute uv_query_facilities_attr = 337 struct kobj_attribute *attr, char *buf) in uv_query_supp_se_hdr_ver() 342 static struct kobj_attribute uv_query_supp_se_hdr_ver_attr = 346 struct kobj_attribute *attr, char *buf) in uv_query_supp_se_hdr_pcf() 351 static struct kobj_attribute uv_query_supp_se_hdr_pcf_attr = 355 struct kobj_attribute *attr, char *buf) in uv_query_dump_cpu_len() 360 static struct kobj_attribute uv_query_dump_cpu_len_attr = 364 struct kobj_attribute *attr, char *buf) in uv_query_dump_storage_state_len() 369 static struct kobj_attribute uv_query_dump_storage_state_len_attr = [all …]
|
/linux/drivers/platform/x86/intel/uncore-frequency/ |
H A D | uncore-frequency-common.h | 63 struct kobj_attribute max_freq_khz_kobj_attr; 64 struct kobj_attribute min_freq_khz_kobj_attr; 65 struct kobj_attribute initial_max_freq_khz_kobj_attr; 66 struct kobj_attribute initial_min_freq_khz_kobj_attr; 67 struct kobj_attribute current_freq_khz_kobj_attr; 68 struct kobj_attribute domain_id_kobj_attr; 69 struct kobj_attribute fabric_cluster_id_kobj_attr; 70 struct kobj_attribute package_id_kobj_attr; 71 struct kobj_attribute elc_low_threshold_percent_kobj_attr; 72 struct kobj_attribute elc_high_threshold_percent_kobj_attr; [all …]
|
/linux/drivers/gpu/drm/i915/gt/ |
H A D | sysfs_engines.c | 25 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 …]
|
H A D | intel_gt_sysfs_pm.c | 108 struct kobj_attribute *attr, char *buff) \ 135 struct kobj_attribute *attr, const char *buff, \ 151 static struct kobj_attribute attr_##_name = __ATTR_RW(_name) 154 static struct kobj_attribute attr_##_name = __ATTR_RO(_name) 180 struct kobj_attribute *attr, in rc6_enable_show() 391 static struct kobj_attribute attr_rps_##_name = __ATTR(rps_##_name, _mode, \ 431 struct kobj_attribute *attr, in punit_req_freq_mhz_show() 441 struct kobj_attribute *attr, in slpc_ignore_eff_freq_show() 451 struct kobj_attribute *attr, in slpc_ignore_eff_freq_store() 469 ssize_t (*show)(struct kobject *kobj, struct kobj_attribute *attr, [all …]
|
/linux/kernel/ |
H A D | ksysfs.c | 33 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() 124 struct kobj_attribute *att in kexec_loaded_show() [all...] |
/linux/mm/damon/ |
H A D | sysfs-schemes.c | 42 static ssize_t start_show(struct kobject *kobj, struct kobj_attribute *attr, in start_show() 51 static ssize_t end_show(struct kobject *kobj, struct kobj_attribute *attr, in end_show() 61 struct kobj_attribute *attr, char *buf) in nr_accesses_show() 69 static ssize_t age_show(struct kobject *kobj, struct kobj_attribute *attr, in age_show() 79 struct kobj_attribute *attr, char *buf) in damon_sysfs_scheme_region_release() 96 static struct kobj_attribute damon_sysfs_scheme_region_start_attr = 99 static struct kobj_attribute damon_sysfs_scheme_region_end_attr = 102 static struct kobj_attribute damon_sysfs_scheme_region_nr_accesses_attr = 105 static struct kobj_attribute damon_sysfs_scheme_region_age_attr = 108 static struct kobj_attribute damon_sysfs_scheme_region_sz_filter_passed_att [all...] |
/linux/drivers/accessibility/speakup/ |
H A D | kobjects.c | 30 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() 440 static ssize_t version_show(struct kobject *kobj, struct kobj_attribute *attr, in version_show() 456 static ssize_t punc_show(struct kobject *kobj, struct kobj_attribute *attr, in punc_show() [all …]
|
H A D | speakup_dummy.c | 51 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 D | speakup_spkout.c | 46 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 D | speakup_ltlk.c | 49 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 D | speakup_bns.c | 42 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 D | speakup_txprt.c | 47 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 D | speakup_acntsa.c | 46 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 D | speakup_audptr.c | 46 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 …]
|
/linux/kernel/power/ |
H A D | main.c | 115 static ssize_t pm_async_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_show() 121 static ssize_t pm_async_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_store() 139 static ssize_t mem_sleep_show(struct kobject *kobj, struct kobj_attribute *attr, in mem_sleep_show() 184 static ssize_t mem_sleep_store(struct kobject *kobj, struct kobj_attribute *attr, in mem_sleep_store() 221 struct kobj_attribute *attr, char *buf) in sync_on_suspend_show() 227 struct kobj_attribute *attr, in sync_on_suspend_store() 257 static ssize_t pm_test_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_show() 278 static ssize_t pm_test_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_store() 391 struct kobj_attribute *attr, char *buf) \ 395 static struct kobj_attribute _name = __ATTR_RO(_name) [all …]
|
/linux/drivers/platform/x86/dell/dell-wmi-sysman/ |
H A D | passobj-attributes.c | 15 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 D | string-attributes.c | 15 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 D | int-attributes.c | 15 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/drivers/infiniband/ulp/rtrs/ |
H A D | rtrs-clt-sysfs.c | 199 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/drivers/block/rnbd/ |
H A D | rnbd-clt-sysfs.c | 226 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 …]
|
/linux/drivers/platform/x86/hp/hp-bioscfg/ |
H A D | spmobj-attributes.c | 129 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 …]
|
/linux/drivers/staging/greybus/ |
H A D | audio_manager_sysfs.c | 15 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/samples/kobject/ |
H A D | kobject-example.c | 28 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/fs/btrfs/ |
H A D | sysfs.c | 50 struct kobj_attribute kobj_attr; 69 static struct kobj_attribute btrfs_attr_##_prefix##_##_name = \ 73 static struct kobj_attribute btrfs_attr_##_prefix##_##_name = \ 77 static struct kobj_attribute btrfs_attr_##_prefix##_##_name = \ 105 static struct btrfs_feature_attr *to_btrfs_feature_attr(struct kobj_attribute *a) in to_btrfs_feature_attr() 110 static struct kobj_attribute *attr_to_btrfs_attr(struct attribute *attr) in attr_to_btrfs_attr() 112 return container_of(attr, struct kobj_attribute, attr); in attr_to_btrfs_attr() 177 struct kobj_attribute *a, char *buf) in btrfs_feature_attr_show() 193 struct kobj_attribute *a, in btrfs_feature_attr_store() 349 struct kobj_attribute *ka, char *buf) in rmdir_subvol_show() [all …]
|