Home
last modified time | relevance | path

Searched refs:device_attribute (Results 1 – 25 of 270) sorted by relevance

1234567891011

/linux-4.19.296/include/linux/
Dcpu.h44 extern int cpu_add_dev_attr(struct device_attribute *attr);
45 extern void cpu_remove_dev_attr(struct device_attribute *attr);
51 struct device_attribute *attr, char *buf);
53 struct device_attribute *attr, char *buf);
55 struct device_attribute *attr, char *buf);
57 struct device_attribute *attr, char *buf);
59 struct device_attribute *attr, char *buf);
61 struct device_attribute *attr, char *buf);
63 struct device_attribute *attr,
66 struct device_attribute *attr, char *buf);
[all …]
/linux-4.19.296/drivers/misc/cxl/
Dsysfs.c22 struct device_attribute *attr, in caia_version_show()
32 struct device_attribute *attr, in psl_revision_show()
41 struct device_attribute *attr, in base_image_show()
50 struct device_attribute *attr, in image_loaded_show()
61 struct device_attribute *attr, in psl_timebase_synced_show()
82 struct device_attribute *attr, in tunneled_ops_supported_show()
91 struct device_attribute *attr, in reset_adapter_store()
127 struct device_attribute *attr, in load_image_on_perst_show()
141 struct device_attribute *attr, in load_image_on_perst_store()
165 struct device_attribute *attr, in perst_reloads_same_image_show()
[all …]
/linux-4.19.296/drivers/base/power/
Dsysfs.c101 static ssize_t control_show(struct device *dev, struct device_attribute *attr, in control_show()
108 static ssize_t control_store(struct device * dev, struct device_attribute *attr, in control_store()
125 struct device_attribute *attr, char *buf) in runtime_active_time_show()
138 struct device_attribute *attr, char *buf) in runtime_suspended_time_show()
152 struct device_attribute *attr, char *buf) in runtime_status_show()
184 struct device_attribute *attr, char *buf) in autosuspend_delay_ms_show()
192 struct device_attribute *attr, const char *buf, size_t n) in autosuspend_delay_ms_store()
211 struct device_attribute *attr, in pm_qos_resume_latency_us_show()
225 struct device_attribute *attr, in pm_qos_resume_latency_us_store()
255 struct device_attribute *attr, in pm_qos_latency_tolerance_us_show()
[all …]
/linux-4.19.296/drivers/misc/genwqe/
Dcard_sysfs.c47 static ssize_t status_show(struct device *dev, struct device_attribute *attr, in status_show()
57 static ssize_t appid_show(struct device *dev, struct device_attribute *attr, in appid_show()
68 static ssize_t version_show(struct device *dev, struct device_attribute *attr, in version_show()
81 static ssize_t type_show(struct device *dev, struct device_attribute *attr, in type_show()
93 static ssize_t tempsens_show(struct device *dev, struct device_attribute *attr, in tempsens_show()
105 struct device_attribute *attr, in freerunning_timer_show()
117 struct device_attribute *attr, in queue_working_time_show()
129 struct device_attribute *attr, in base_clock_show()
157 struct device_attribute *attr, char *buf) in curr_bitstream_show()
173 struct device_attribute *attr, char *buf) in next_bitstream_show()
[all …]
/linux-4.19.296/drivers/misc/mic/cosm/
Dcosm_sysfs.c67 family_show(struct device *dev, struct device_attribute *attr, char *buf) in family_show()
79 stepping_show(struct device *dev, struct device_attribute *attr, char *buf) in stepping_show()
91 state_show(struct device *dev, struct device_attribute *attr, char *buf) in state_show()
103 state_store(struct device *dev, struct device_attribute *attr, in state_store()
134 struct device_attribute *attr, char *buf) in shutdown_status_show()
148 struct device_attribute *attr, char *buf) in heartbeat_enable_show()
160 struct device_attribute *attr, in heartbeat_enable_store()
187 cmdline_show(struct device *dev, struct device_attribute *attr, char *buf) in cmdline_show()
203 cmdline_store(struct device *dev, struct device_attribute *attr, in cmdline_store()
233 firmware_show(struct device *dev, struct device_attribute *attr, char *buf) in firmware_show()
[all …]
/linux-4.19.296/drivers/base/
Dcpu.c88 struct device_attribute *attr, in cpu_probe_store()
106 struct device_attribute *attr, in cpu_release_store()
142 static ssize_t show_crash_notes(struct device *dev, struct device_attribute *attr, in show_crash_notes()
165 struct device_attribute *attr, in show_crash_notes_size()
205 struct device_attribute attr;
210 struct device_attribute *attr, in show_cpus_attr()
232 struct device_attribute *attr, char *buf) in print_cpus_kernel_max()
243 struct device_attribute *attr, char *buf) in print_cpus_offline()
273 struct device_attribute *attr, char *buf) in print_cpus_isolated()
293 struct device_attribute *attr, char *buf) in print_cpus_nohz_full()
[all …]
/linux-4.19.296/drivers/s390/crypto/
Dap_card.c22 struct device_attribute *attr, char *buf) in hwtype_show()
32 struct device_attribute *attr, char *buf) in raw_hwtype_show()
41 static ssize_t depth_show(struct device *dev, struct device_attribute *attr, in depth_show()
52 struct device_attribute *attr, char *buf) in ap_functions_show()
62 struct device_attribute *attr, in request_count_show()
76 struct device_attribute *attr, in request_count_store()
94 struct device_attribute *attr, char *buf) in requestq_count_show()
111 struct device_attribute *attr, char *buf) in pendingq_count_show()
128 struct device_attribute *attr, char *buf) in modalias_show()
/linux-4.19.296/drivers/s390/net/
Dqeth_core_sys.c20 struct device_attribute *attr, char *buf) in qeth_dev_state_show()
48 struct device_attribute *attr, char *buf) in qeth_dev_chpid_show()
60 struct device_attribute *attr, char *buf) in qeth_dev_if_name_show()
71 struct device_attribute *attr, char *buf) in qeth_dev_card_type_show()
97 struct device_attribute *attr, char *buf) in qeth_dev_inbuf_size_show()
109 struct device_attribute *attr, char *buf) in qeth_dev_portno_show()
119 struct device_attribute *attr, const char *buf, size_t count) in qeth_dev_portno_store()
155 struct device_attribute *attr, char *buf) in qeth_dev_portname_show()
161 struct device_attribute *attr, const char *buf, size_t count) in qeth_dev_portname_store()
174 struct device_attribute *attr, char *buf) in qeth_dev_prioqing_show()
[all …]
Dqeth_l3_sys.c17 struct device_attribute dev_attr_##_id = __ATTR(_name, _mode, _show, _store)
59 struct device_attribute *attr, char *buf) in qeth_l3_dev_route4_show()
108 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_route4_store()
123 struct device_attribute *attr, char *buf) in qeth_l3_dev_route6_show()
134 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_route6_store()
149 struct device_attribute *attr, char *buf) in qeth_l3_dev_fake_broadcast_show()
160 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_fake_broadcast_store()
190 struct device_attribute *attr, char *buf) in qeth_l3_dev_sniffer_show()
201 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_sniffer_store()
255 struct device_attribute *attr, char *buf) in qeth_l3_dev_hsuid_show()
[all …]
Dqeth_l2_sys.c13 struct device_attribute *attr, char *buf, in qeth_bridge_port_role_state_show()
65 struct device_attribute *attr, char *buf) in qeth_bridge_port_role_show()
76 struct device_attribute *attr, const char *buf, size_t count) in qeth_bridge_port_role_store()
116 struct device_attribute *attr, char *buf) in qeth_bridge_port_state_show()
130 struct device_attribute *attr, char *buf) in qeth_bridgeport_hostnotification_show()
147 struct device_attribute *attr, const char *buf, size_t count) in qeth_bridgeport_hostnotification_store()
181 struct device_attribute *attr, char *buf) in qeth_bridgeport_reflect_show()
204 struct device_attribute *attr, const char *buf, size_t count) in qeth_bridgeport_reflect_store()
312 struct device_attribute *attr, char *buf) in qeth_vnicc_timeout_show()
331 struct device_attribute *attr, in qeth_vnicc_timeout_store()
[all …]
/linux-4.19.296/drivers/pci/
Dpci-sysfs.c37 field##_show(struct device *dev, struct device_attribute *attr, char *buf) \
55 struct device_attribute *attr, in broken_parity_status_show()
63 struct device_attribute *attr, in broken_parity_status_store()
79 struct device_attribute *attr, char *buf) in pci_dev_show_local_cpu()
93 struct device_attribute *attr, char *buf) in local_cpus_show()
100 struct device_attribute *attr, char *buf) in local_cpulist_show()
110 struct device_attribute *attr, char *buf) in cpuaffinity_show()
119 struct device_attribute *attr, char *buf) in cpulistaffinity_show()
128 static ssize_t resource_show(struct device *dev, struct device_attribute *attr, in resource_show()
155 struct device_attribute *attr, char *buf) in max_link_speed_show()
[all …]
Dpci-label.c93 struct device_attribute *attr, char *buf) in smbioslabel_show()
103 struct device_attribute *attr, char *buf) in smbiosinstance_show()
112 static struct device_attribute smbios_attr_label = {
117 static struct device_attribute smbios_attr_instance = {
238 struct device_attribute *attr, char *buf) in acpilabel_show()
244 struct device_attribute *attr, char *buf) in acpiindex_show()
249 static struct device_attribute acpi_attr_label = {
254 static struct device_attribute acpi_attr_index = {
/linux-4.19.296/drivers/s390/scsi/
Dzfcp_sysfs.c17 struct device_attribute dev_attr_##_feat##_##_name = __ATTR(_name, _mode,\
21 struct device_attribute *at,\
33 struct device_attribute *at,\
43 struct device_attribute *at,\
91 struct device_attribute *attr, in zfcp_sysfs_port_failed_show()
103 struct device_attribute *attr, in zfcp_sysfs_port_failed_store()
123 struct device_attribute *attr, in zfcp_sysfs_unit_failed_show()
141 struct device_attribute *attr, in zfcp_sysfs_unit_failed_store()
167 struct device_attribute *attr, in zfcp_sysfs_adapter_failed_show()
187 struct device_attribute *attr, in zfcp_sysfs_adapter_failed_store()
[all …]
/linux-4.19.296/drivers/rtc/
Drtc-sysfs.c28 name_show(struct device *dev, struct device_attribute *attr, char *buf) in name_show()
36 date_show(struct device *dev, struct device_attribute *attr, char *buf) in date_show()
52 time_show(struct device *dev, struct device_attribute *attr, char *buf) in time_show()
68 since_epoch_show(struct device *dev, struct device_attribute *attr, char *buf) in since_epoch_show()
86 max_user_freq_show(struct device *dev, struct device_attribute *attr, char *buf) in max_user_freq_show()
92 max_user_freq_store(struct device *dev, struct device_attribute *attr, in max_user_freq_store()
119 hctosys_show(struct device *dev, struct device_attribute *attr, char *buf) in hctosys_show()
133 wakealarm_show(struct device *dev, struct device_attribute *attr, char *buf) in wakealarm_show()
157 wakealarm_store(struct device *dev, struct device_attribute *attr, in wakealarm_store()
224 offset_show(struct device *dev, struct device_attribute *attr, char *buf) in offset_show()
[all …]
/linux-4.19.296/drivers/edac/
Dedac_mc_sysfs.c130 static struct device_attribute dev_attr_legacy_##_name = __ATTR(_name, _mode, _show, _store)
133 struct device_attribute attr;
145 struct device_attribute *mattr, char *data) in csrow_ue_count_show()
153 struct device_attribute *mattr, char *data) in csrow_ce_count_show()
161 struct device_attribute *mattr, char *data) in csrow_size_show()
173 struct device_attribute *mattr, char *data) in csrow_mem_type_show()
181 struct device_attribute *mattr, char *data) in csrow_dev_type_show()
189 struct device_attribute *mattr, in csrow_edac_mode_show()
199 struct device_attribute *mattr, in channel_dimm_label_show()
215 struct device_attribute *mattr, in channel_dimm_label_store()
[all …]
Damd64_edac_inj.c5 struct device_attribute *mattr, in amd64_inject_section_show()
20 struct device_attribute *mattr, in amd64_inject_section_store()
42 struct device_attribute *mattr, in amd64_inject_word_show()
57 struct device_attribute *mattr, in amd64_inject_word_store()
79 struct device_attribute *mattr, in amd64_inject_ecc_vector_show()
93 struct device_attribute *mattr, in amd64_inject_ecc_vector_store()
119 struct device_attribute *mattr, in amd64_inject_read_store()
152 struct device_attribute *mattr, in amd64_inject_write_store()
/linux-4.19.296/drivers/hid/
Dhid-lenovo.c260 struct device_attribute *attr, in attr_fn_lock_show_cptkbd()
270 struct device_attribute *attr, in attr_fn_lock_store_cptkbd()
290 struct device_attribute *attr, in attr_sensitivity_show_cptkbd()
301 struct device_attribute *attr, in attr_sensitivity_store_cptkbd()
319 static struct device_attribute dev_attr_fn_lock_cptkbd =
324 static struct device_attribute dev_attr_sensitivity_cptkbd =
427 struct device_attribute *attr, in attr_press_to_select_show_tpkbd()
437 struct device_attribute *attr, in attr_press_to_select_store_tpkbd()
457 struct device_attribute *attr, in attr_dragging_show_tpkbd()
467 struct device_attribute *attr, in attr_dragging_store_tpkbd()
[all …]
/linux-4.19.296/drivers/char/
Dtlclk.c280 struct device_attribute *attr, char *buf) in show_current_ref()
296 struct device_attribute *attr, char *buf) in show_telclock_version()
312 struct device_attribute *attr, char *buf) in show_alarms()
327 struct device_attribute *attr, const char *buf, size_t count) in store_received_ref_clk3a()
349 struct device_attribute *attr, const char *buf, size_t count) in store_received_ref_clk3b()
371 struct device_attribute *attr, const char *buf, size_t count) in store_enable_clk3b_output()
392 struct device_attribute *attr, const char *buf, size_t count) in store_enable_clk3a_output()
413 struct device_attribute *attr, const char *buf, size_t count) in store_enable_clkb1_output()
435 struct device_attribute *attr, const char *buf, size_t count) in store_enable_clka1_output()
456 struct device_attribute *attr, const char *buf, size_t count) in store_enable_clkb0_output()
[all …]
/linux-4.19.296/drivers/pwm/
Dsysfs.c45 struct device_attribute *attr, in period_show()
57 struct device_attribute *attr, in period_store()
80 struct device_attribute *attr, in duty_cycle_show()
92 struct device_attribute *attr, in duty_cycle_store()
115 struct device_attribute *attr, in enable_show()
127 struct device_attribute *attr, in enable_store()
163 struct device_attribute *attr, in polarity_show()
186 struct device_attribute *attr, in polarity_store()
212 struct device_attribute *attr, in capture_show()
308 struct device_attribute *attr, in export_store()
[all …]
/linux-4.19.296/drivers/s390/block/
Ddasd_devmap.c715 static ssize_t dasd_ff_show(struct device *dev, struct device_attribute *attr, in dasd_ff_show()
729 static ssize_t dasd_ff_store(struct device *dev, struct device_attribute *attr, in dasd_ff_store()
749 dasd_ro_show(struct device *dev, struct device_attribute *attr, char *buf) in dasd_ro_show()
772 dasd_ro_store(struct device *dev, struct device_attribute *attr, in dasd_ro_store()
819 dasd_erplog_show(struct device *dev, struct device_attribute *attr, char *buf) in dasd_erplog_show()
833 dasd_erplog_store(struct device *dev, struct device_attribute *attr, in dasd_erplog_store()
854 dasd_use_diag_show(struct device *dev, struct device_attribute *attr, char *buf) in dasd_use_diag_show()
868 dasd_use_diag_store(struct device *dev, struct device_attribute *attr, in dasd_use_diag_store()
903 dasd_use_raw_show(struct device *dev, struct device_attribute *attr, char *buf) in dasd_use_raw_show()
917 dasd_use_raw_store(struct device *dev, struct device_attribute *attr, in dasd_use_raw_store()
[all …]
/linux-4.19.296/lib/
Dtest_firmware.c191 struct device_attribute *attr, in reset_store()
219 struct device_attribute *attr, in config_show()
259 struct device_attribute *attr, in config_name_store()
377 struct device_attribute *attr, in config_name_show()
385 struct device_attribute *attr, in config_num_requests_store()
407 struct device_attribute *attr, in config_num_requests_show()
415 struct device_attribute *attr, in config_sync_direct_store()
429 struct device_attribute *attr, in config_sync_direct_show()
437 struct device_attribute *attr, in config_send_uevent_store()
445 struct device_attribute *attr, in config_send_uevent_show()
[all …]
/linux-4.19.296/drivers/xen/
Dxen-selfballoon.c250 struct device_attribute *attr, \
259 struct device_attribute *attr, in store_selfballooning()
290 struct device_attribute *attr, in store_selfballoon_interval()
314 struct device_attribute *attr, in store_selfballoon_downhys()
339 struct device_attribute *attr, in store_selfballoon_uphys()
364 struct device_attribute *attr, in store_selfballoon_min_usable_mb()
390 struct device_attribute *attr, in store_selfballoon_reserved_mb()
417 struct device_attribute *attr, in store_frontswap_selfshrinking()
447 struct device_attribute *attr, in store_frontswap_inertia()
472 struct device_attribute *attr, in store_frontswap_hysteresis()
/linux-4.19.296/drivers/char/tpm/
Dtpm-sysfs.c37 static ssize_t pubek_show(struct device *dev, struct device_attribute *attr, in pubek_show()
99 static ssize_t pcrs_show(struct device *dev, struct device_attribute *attr, in pcrs_show()
134 static ssize_t enabled_show(struct device *dev, struct device_attribute *attr, in enabled_show()
156 static ssize_t active_show(struct device *dev, struct device_attribute *attr, in active_show()
178 static ssize_t owned_show(struct device *dev, struct device_attribute *attr, in owned_show()
201 struct device_attribute *attr, char *buf) in temp_deactivated_show()
222 static ssize_t caps_show(struct device *dev, struct device_attribute *attr, in caps_show()
273 static ssize_t cancel_store(struct device *dev, struct device_attribute *attr, in cancel_store()
287 static ssize_t durations_show(struct device *dev, struct device_attribute *attr, in durations_show()
304 static ssize_t timeouts_show(struct device *dev, struct device_attribute *attr, in timeouts_show()
/linux-4.19.296/drivers/regulator/
Dvirtual.c112 struct device_attribute *attr, char *buf) in show_min_uV()
118 static ssize_t set_min_uV(struct device *dev, struct device_attribute *attr, in set_min_uV()
138 struct device_attribute *attr, char *buf) in show_max_uV()
144 static ssize_t set_max_uV(struct device *dev, struct device_attribute *attr, in set_max_uV()
164 struct device_attribute *attr, char *buf) in show_min_uA()
170 static ssize_t set_min_uA(struct device *dev, struct device_attribute *attr, in set_min_uA()
190 struct device_attribute *attr, char *buf) in show_max_uA()
196 static ssize_t set_max_uA(struct device *dev, struct device_attribute *attr, in set_max_uA()
216 struct device_attribute *attr, char *buf) in show_mode()
234 static ssize_t set_mode(struct device *dev, struct device_attribute *attr, in set_mode()
/linux-4.19.296/drivers/misc/
Dbh1770glc.c647 struct device_attribute *attr, in bh1770_power_state_store()
690 struct device_attribute *attr, char *buf) in bh1770_power_state_show()
696 struct device_attribute *attr, char *buf) in bh1770_lux_result_show()
719 struct device_attribute *attr, char *buf) in bh1770_lux_range_show()
725 struct device_attribute *attr, in bh1770_prox_enable_store()
757 struct device_attribute *attr, char *buf) in bh1770_prox_enable_show()
769 struct device_attribute *attr, char *buf) in bh1770_prox_result_show()
784 struct device_attribute *attr, char *buf) in bh1770_prox_range_show()
790 struct device_attribute *attr, char *buf) in bh1770_get_prox_rate_avail()
801 struct device_attribute *attr, char *buf) in bh1770_get_prox_rate_above()
[all …]

1234567891011