Searched refs:device_attribute (Results 1 - 200 of 944) sorted by relevance

12345

/linux-4.1.27/drivers/scsi/
H A Dscsi_sas_internal.h16 struct device_attribute private_host_attrs[SAS_HOST_ATTRS];
17 struct device_attribute private_phy_attrs[SAS_PHY_ATTRS];
18 struct device_attribute private_port_attrs[SAS_PORT_ATTRS];
19 struct device_attribute private_rphy_attrs[SAS_RPORT_ATTRS];
20 struct device_attribute private_end_dev_attrs[SAS_END_DEV_ATTRS];
21 struct device_attribute private_expander_attrs[SAS_EXPANDER_ATTRS];
33 struct device_attribute *host_attrs[SAS_HOST_ATTRS + 1];
34 struct device_attribute *phy_attrs[SAS_PHY_ATTRS + 1];
35 struct device_attribute *port_attrs[SAS_PORT_ATTRS + 1];
36 struct device_attribute *rphy_attrs[SAS_RPORT_ATTRS + 1];
37 struct device_attribute *end_dev_attrs[SAS_END_DEV_ATTRS + 1];
38 struct device_attribute *expander_attrs[SAS_EXPANDER_ATTRS + 1];
H A Dscsi_sysfs.c128 show_##name (struct device *dev, struct device_attribute *attr, \
151 store_scan(struct device *dev, struct device_attribute *attr, store_scan()
165 store_shost_state(struct device *dev, struct device_attribute *attr, store_shost_state()
189 show_shost_state(struct device *dev, struct device_attribute *attr, char *buf) show_shost_state()
201 struct device_attribute dev_attr_hstate =
221 show_shost_supported_mode(struct device *dev, struct device_attribute *attr, show_shost_supported_mode()
238 struct device_attribute *attr, char *buf) show_shost_active_mode()
261 store_host_reset(struct device *dev, struct device_attribute *attr, store_host_reset()
286 struct device_attribute *attr, char *buf) show_shost_eh_deadline()
296 store_shost_eh_deadline(struct device *dev, struct device_attribute *attr, store_shost_eh_deadline()
348 show_host_busy(struct device *dev, struct device_attribute *attr, char *buf) show_host_busy()
508 sdev_show_##field (struct device *dev, struct device_attribute *attr, \
533 sdev_store_##field (struct device *dev, struct device_attribute *attr, \
554 sdev_store_##field (struct device *dev, struct device_attribute *attr, \
596 sdev_show_device_busy(struct device *dev, struct device_attribute *attr, sdev_show_device_busy()
605 sdev_show_device_blocked(struct device *dev, struct device_attribute *attr, sdev_show_device_blocked()
617 sdev_show_timeout (struct device *dev, struct device_attribute *attr, char *buf) sdev_show_timeout()
625 sdev_store_timeout (struct device *dev, struct device_attribute *attr, sdev_store_timeout()
638 sdev_show_eh_timeout(struct device *dev, struct device_attribute *attr, char *buf) sdev_show_eh_timeout()
646 sdev_store_eh_timeout(struct device *dev, struct device_attribute *attr, sdev_store_eh_timeout()
667 store_rescan_field (struct device *dev, struct device_attribute *attr, store_rescan_field()
676 sdev_store_delete(struct device *dev, struct device_attribute *attr, sdev_store_delete()
686 store_state_field(struct device *dev, struct device_attribute *attr, store_state_field()
710 show_state_field(struct device *dev, struct device_attribute *attr, char *buf) show_state_field()
724 show_queue_type_field(struct device *dev, struct device_attribute *attr, show_queue_type_field()
737 store_queue_type_field(struct device *dev, struct device_attribute *attr, store_queue_type_field()
777 show_iostat_counterbits(struct device *dev, struct device_attribute *attr, show_iostat_counterbits()
787 show_iostat_##field(struct device *dev, struct device_attribute *attr, \
801 sdev_show_modalias(struct device *dev, struct device_attribute *attr, char *buf) sdev_show_modalias()
811 sdev_show_evt_##name(struct device *dev, struct device_attribute *attr, \
821 sdev_store_evt_##name(struct device *dev, struct device_attribute *attr,\
850 sdev_store_queue_depth(struct device *dev, struct device_attribute *attr, sdev_store_queue_depth()
880 struct device_attribute *attr, sdev_show_queue_ramp_up_period()
891 struct device_attribute *attr, sdev_store_queue_ramp_up_period()
H A Dscsi_transport_srp.c49 struct device_attribute *host_attrs[SRP_HOST_ATTRS + 1];
51 struct device_attribute *rport_attrs[SRP_RPORT_ATTRS + 1];
123 show_srp_rport_id(struct device *dev, struct device_attribute *attr, show_srp_rport_id()
141 show_srp_rport_roles(struct device *dev, struct device_attribute *attr, show_srp_rport_roles()
159 struct device_attribute *attr, store_srp_rport_delete()
177 struct device_attribute *attr, show_srp_rport_state()
214 struct device_attribute *attr, char *buf) show_reconnect_delay()
222 struct device_attribute *attr, store_reconnect_delay()
254 struct device_attribute *attr, char *buf) show_failed_reconnects()
264 struct device_attribute *attr, show_srp_rport_fast_io_fail_tmo()
273 struct device_attribute *attr, store_srp_rport_fast_io_fail_tmo()
299 struct device_attribute *attr, show_srp_rport_dev_loss_tmo()
308 struct device_attribute *attr, store_srp_rport_dev_loss_tmo()
/linux-4.1.27/arch/s390/include/asm/
H A Didle.h24 extern struct device_attribute dev_attr_idle_count;
25 extern struct device_attribute dev_attr_idle_time_us;
/linux-4.1.27/drivers/macintosh/
H A Dmacio_sysfs.c8 field##_show (struct device *dev, struct device_attribute *attr, \
16 compatible_show (struct device *dev, struct device_attribute *attr, char *buf) compatible_show()
41 static ssize_t modalias_show (struct device *dev, struct device_attribute *attr, modalias_show()
53 struct device_attribute *attr, char *buf) devspec_show()
64 struct device_attribute macio_dev_attrs[] = {
/linux-4.1.27/drivers/ide/
H A Dide-sysfs.c22 static ssize_t media_show(struct device *dev, struct device_attribute *attr, media_show()
30 static ssize_t drivename_show(struct device *dev, struct device_attribute *attr, drivename_show()
38 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, modalias_show()
46 static ssize_t model_show(struct device *dev, struct device_attribute *attr, model_show()
54 static ssize_t firmware_show(struct device *dev, struct device_attribute *attr, firmware_show()
62 static ssize_t serial_show(struct device *dev, struct device_attribute *attr, serial_show()
93 struct device_attribute *attr, store_delete_devices()
109 struct device_attribute *attr, store_scan()
125 static struct device_attribute *ide_port_attrs[] = {
/linux-4.1.27/sound/aoa/soundbus/
H A Dsysfs.c8 field##_show (struct device *dev, struct device_attribute *attr, \
15 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, modalias_show()
37 struct device_attribute soundbus_dev_attrs[] = {
/linux-4.1.27/net/bridge/
H A Dbr_sysfs_br.c53 struct device_attribute *attr, char *buf) forward_delay_show()
60 struct device_attribute *attr, forward_delay_store()
67 static ssize_t hello_time_show(struct device *d, struct device_attribute *attr, hello_time_show()
75 struct device_attribute *attr, const char *buf, hello_time_store()
82 static ssize_t max_age_show(struct device *d, struct device_attribute *attr, max_age_show()
89 static ssize_t max_age_store(struct device *d, struct device_attribute *attr, max_age_store()
97 struct device_attribute *attr, char *buf) ageing_time_show()
110 struct device_attribute *attr, ageing_time_store()
118 struct device_attribute *attr, char *buf) stp_state_show()
126 struct device_attribute *attr, const char *buf, stp_state_store()
150 struct device_attribute *attr, group_fwd_mask_show()
159 struct device_attribute *attr, group_fwd_mask_store()
183 static ssize_t priority_show(struct device *d, struct device_attribute *attr, priority_show()
197 static ssize_t priority_store(struct device *d, struct device_attribute *attr, priority_store()
204 static ssize_t root_id_show(struct device *d, struct device_attribute *attr, root_id_show()
211 static ssize_t bridge_id_show(struct device *d, struct device_attribute *attr, bridge_id_show()
218 static ssize_t root_port_show(struct device *d, struct device_attribute *attr, root_port_show()
226 struct device_attribute *attr, char *buf) root_path_cost_show()
233 struct device_attribute *attr, char *buf) topology_change_show()
240 struct device_attribute *attr, topology_change_detected_show()
249 struct device_attribute *attr, char *buf) hello_timer_show()
256 static ssize_t tcn_timer_show(struct device *d, struct device_attribute *attr, tcn_timer_show()
265 struct device_attribute *attr, topology_change_timer_show()
273 static ssize_t gc_timer_show(struct device *d, struct device_attribute *attr, gc_timer_show()
282 struct device_attribute *attr, char *buf) group_addr_show()
292 struct device_attribute *attr, group_addr_store()
334 struct device_attribute *attr, flush_store()
349 struct device_attribute *attr, char *buf) multicast_router_show()
356 struct device_attribute *attr, multicast_router_store()
364 struct device_attribute *attr, multicast_snooping_show()
372 struct device_attribute *attr, multicast_snooping_store()
380 struct device_attribute *attr, multicast_query_use_ifaddr_show()
395 struct device_attribute *attr, multicast_query_use_ifaddr_store()
403 struct device_attribute *attr, multicast_querier_show()
411 struct device_attribute *attr, multicast_querier_store()
419 struct device_attribute *attr, char *buf) hash_elasticity_show()
432 struct device_attribute *attr, hash_elasticity_store()
439 static ssize_t hash_max_show(struct device *d, struct device_attribute *attr, hash_max_show()
446 static ssize_t hash_max_store(struct device *d, struct device_attribute *attr, hash_max_store()
454 struct device_attribute *attr, multicast_last_member_count_show()
468 struct device_attribute *attr, multicast_last_member_count_store()
476 struct device *d, struct device_attribute *attr, char *buf) multicast_startup_query_count_show()
489 struct device *d, struct device_attribute *attr, const char *buf, multicast_startup_query_count_store()
497 struct device *d, struct device_attribute *attr, char *buf) multicast_last_member_interval_show()
511 struct device *d, struct device_attribute *attr, const char *buf, multicast_last_member_interval_store()
519 struct device *d, struct device_attribute *attr, char *buf) multicast_membership_interval_show()
533 struct device *d, struct device_attribute *attr, const char *buf, multicast_membership_interval_store()
541 struct device_attribute *attr, multicast_querier_interval_show()
556 struct device_attribute *attr, multicast_querier_interval_store()
564 struct device_attribute *attr, multicast_query_interval_show()
579 struct device_attribute *attr, multicast_query_interval_store()
587 struct device *d, struct device_attribute *attr, char *buf) multicast_query_response_interval_show()
602 struct device *d, struct device_attribute *attr, const char *buf, multicast_query_response_interval_store()
610 struct device *d, struct device_attribute *attr, char *buf) multicast_startup_query_interval_show()
625 struct device *d, struct device_attribute *attr, const char *buf, multicast_startup_query_interval_store()
634 struct device *d, struct device_attribute *attr, char *buf) nf_call_iptables_show()
647 struct device *d, struct device_attribute *attr, const char *buf, nf_call_iptables_store()
655 struct device *d, struct device_attribute *attr, char *buf) nf_call_ip6tables_show()
668 struct device *d, struct device_attribute *attr, const char *buf, nf_call_ip6tables_store()
676 struct device *d, struct device_attribute *attr, char *buf) nf_call_arptables_show()
689 struct device *d, struct device_attribute *attr, const char *buf, nf_call_arptables_store()
698 struct device_attribute *attr, vlan_filtering_show()
706 struct device_attribute *attr, vlan_filtering_store()
714 struct device_attribute *attr, vlan_protocol_show()
722 struct device_attribute *attr, vlan_protocol_store()
730 struct device_attribute *attr, default_pvid_show()
738 struct device_attribute *attr, default_pvid_store()
/linux-4.1.27/drivers/dio/
H A Ddio-sysfs.c20 static ssize_t dio_show_id(struct device *dev, struct device_attribute *attr, char *buf) dio_show_id()
29 static ssize_t dio_show_ipl(struct device *dev, struct device_attribute *attr, char *buf) dio_show_ipl()
38 static ssize_t dio_show_secid(struct device *dev, struct device_attribute *attr, char *buf) dio_show_secid()
47 static ssize_t dio_show_name(struct device *dev, struct device_attribute *attr, char *buf) dio_show_name()
56 static ssize_t dio_show_resource(struct device *dev, struct device_attribute *attr, char *buf) dio_show_resource()
/linux-4.1.27/drivers/pcmcia/
H A Dsocket_sysfs.c36 static ssize_t pccard_show_type(struct device *dev, struct device_attribute *attr, pccard_show_type()
49 static ssize_t pccard_show_voltage(struct device *dev, struct device_attribute *attr, pccard_show_voltage()
63 static ssize_t pccard_show_vpp(struct device *dev, struct device_attribute *attr, pccard_show_vpp()
73 static ssize_t pccard_show_vcc(struct device *dev, struct device_attribute *attr, pccard_show_vcc()
84 static ssize_t pccard_store_insert(struct device *dev, struct device_attribute *attr, pccard_store_insert()
100 struct device_attribute *attr, pccard_show_card_pm_state()
108 struct device_attribute *attr, pccard_store_card_pm_state()
131 struct device_attribute *attr, pccard_store_eject()
147 struct device_attribute *attr, pccard_show_irq_mask()
155 struct device_attribute *attr, pccard_store_irq_mask()
180 struct device_attribute *attr, char *buf) pccard_show_resource()
187 struct device_attribute *attr, pccard_store_resource()
/linux-4.1.27/drivers/soc/versatile/
H A Dsoc-integrator.c64 struct device_attribute *attr, integrator_get_manf()
70 static struct device_attribute integrator_manf_attr =
74 struct device_attribute *attr, integrator_get_arch()
80 static struct device_attribute integrator_arch_attr =
84 struct device_attribute *attr, integrator_get_fpga()
90 static struct device_attribute integrator_fpga_attr =
94 struct device_attribute *attr, integrator_get_build()
100 static struct device_attribute integrator_build_attr =
H A Dsoc-realview.c55 struct device_attribute *attr, realview_get_manf()
61 static struct device_attribute realview_manf_attr =
65 struct device_attribute *attr, realview_get_board()
71 static struct device_attribute realview_board_attr =
75 struct device_attribute *attr, realview_get_arch()
81 static struct device_attribute realview_arch_attr =
85 struct device_attribute *attr, realview_get_build()
91 static struct device_attribute realview_build_attr =
/linux-4.1.27/drivers/gpu/drm/nouveau/
H A Dnouveau_hwmon.c39 nouveau_hwmon_show_temp(struct device *d, struct device_attribute *a, char *buf) nouveau_hwmon_show_temp()
56 struct device_attribute *a, char *buf) nouveau_hwmon_show_temp1_auto_point1_pwm()
65 struct device_attribute *a, char *buf) nouveau_hwmon_temp1_auto_point1_temp()
76 struct device_attribute *a, nouveau_hwmon_set_temp1_auto_point1_temp()
98 struct device_attribute *a, char *buf) nouveau_hwmon_temp1_auto_point1_temp_hyst()
109 struct device_attribute *a, nouveau_hwmon_set_temp1_auto_point1_temp_hyst()
130 nouveau_hwmon_max_temp(struct device *d, struct device_attribute *a, char *buf) nouveau_hwmon_max_temp()
140 nouveau_hwmon_set_max_temp(struct device *d, struct device_attribute *a, nouveau_hwmon_set_max_temp()
160 nouveau_hwmon_max_temp_hyst(struct device *d, struct device_attribute *a, nouveau_hwmon_max_temp_hyst()
171 nouveau_hwmon_set_max_temp_hyst(struct device *d, struct device_attribute *a, nouveau_hwmon_set_max_temp_hyst()
192 nouveau_hwmon_critical_temp(struct device *d, struct device_attribute *a, nouveau_hwmon_critical_temp()
203 nouveau_hwmon_set_critical_temp(struct device *d, struct device_attribute *a, nouveau_hwmon_set_critical_temp()
225 nouveau_hwmon_critical_temp_hyst(struct device *d, struct device_attribute *a, nouveau_hwmon_critical_temp_hyst()
237 struct device_attribute *a, nouveau_hwmon_set_critical_temp_hyst()
258 nouveau_hwmon_emergency_temp(struct device *d, struct device_attribute *a, nouveau_hwmon_emergency_temp()
269 nouveau_hwmon_set_emergency_temp(struct device *d, struct device_attribute *a, nouveau_hwmon_set_emergency_temp()
291 nouveau_hwmon_emergency_temp_hyst(struct device *d, struct device_attribute *a, nouveau_hwmon_emergency_temp_hyst()
303 struct device_attribute *a, nouveau_hwmon_set_emergency_temp_hyst()
326 struct device_attribute *attr, nouveau_hwmon_show_name()
334 struct device_attribute *attr, nouveau_hwmon_show_update_rate()
344 nouveau_hwmon_show_fan1_input(struct device *d, struct device_attribute *attr, nouveau_hwmon_show_fan1_input()
358 struct device_attribute *a, char *buf) nouveau_hwmon_get_pwm1_enable()
373 nouveau_hwmon_set_pwm1_enable(struct device *d, struct device_attribute *a, nouveau_hwmon_set_pwm1_enable()
397 nouveau_hwmon_get_pwm1(struct device *d, struct device_attribute *a, char *buf) nouveau_hwmon_get_pwm1()
412 nouveau_hwmon_set_pwm1(struct device *d, struct device_attribute *a, nouveau_hwmon_set_pwm1()
437 struct device_attribute *a, char *buf) nouveau_hwmon_get_pwm1_min()
452 nouveau_hwmon_set_pwm1_min(struct device *d, struct device_attribute *a, nouveau_hwmon_set_pwm1_min()
477 struct device_attribute *a, char *buf) nouveau_hwmon_get_pwm1_max()
492 nouveau_hwmon_set_pwm1_max(struct device *d, struct device_attribute *a, nouveau_hwmon_set_pwm1_max()
/linux-4.1.27/drivers/usb/core/
H A Dsysfs.c22 struct device_attribute *attr, char *buf) \
46 struct device_attribute *attr, char *buf) bMaxPower_show()
63 struct device_attribute *attr, char *buf) configuration_show()
83 struct device_attribute *attr, bConfigurationValue_store()
102 struct device_attribute *attr, char *buf) \
119 static ssize_t speed_show(struct device *dev, struct device_attribute *attr, speed_show()
151 static ssize_t busnum_show(struct device *dev, struct device_attribute *attr, busnum_show()
161 static ssize_t devnum_show(struct device *dev, struct device_attribute *attr, devnum_show()
171 static ssize_t devpath_show(struct device *dev, struct device_attribute *attr, devpath_show()
181 static ssize_t version_show(struct device *dev, struct device_attribute *attr, version_show()
193 static ssize_t maxchild_show(struct device *dev, struct device_attribute *attr, maxchild_show()
203 static ssize_t quirks_show(struct device *dev, struct device_attribute *attr, quirks_show()
214 struct device_attribute *attr, char *buf) avoid_reset_quirk_show()
223 struct device_attribute *attr, avoid_reset_quirk_store()
241 static ssize_t urbnum_show(struct device *dev, struct device_attribute *attr, urbnum_show()
251 static ssize_t removable_show(struct device *dev, struct device_attribute *attr, removable_show()
275 struct device_attribute *attr, char *buf) ltm_capable_show()
285 static ssize_t persist_show(struct device *dev, struct device_attribute *attr, persist_show()
293 static ssize_t persist_store(struct device *dev, struct device_attribute *attr, persist_store()
339 struct device_attribute *attr, char *buf) connected_duration_show()
356 struct device_attribute *attr, char *buf) active_duration_show()
370 struct device_attribute *attr, char *buf) autosuspend_show()
376 struct device_attribute *attr, const char *buf, autosuspend_store()
404 static ssize_t level_show(struct device *dev, struct device_attribute *attr, level_show()
416 static ssize_t level_store(struct device *dev, struct device_attribute *attr, level_store()
448 struct device_attribute *attr, char *buf) usb2_hardware_lpm_show()
462 struct device_attribute *attr, usb2_hardware_lpm_store()
488 struct device_attribute *attr, usb2_lpm_l1_timeout_show()
496 struct device_attribute *attr, usb2_lpm_l1_timeout_store()
512 struct device_attribute *attr, char *buf) usb2_lpm_besl_show()
519 struct device_attribute *attr, usb2_lpm_besl_store()
592 field##_show(struct device *dev, struct device_attribute *attr, \
609 field##_show(struct device *dev, struct device_attribute *attr, \
628 struct device_attribute *attr, char *buf) authorized_show()
640 struct device_attribute *attr, const char *buf, authorized_store()
659 static ssize_t remove_store(struct device *dev, struct device_attribute *attr, remove_store()
838 iad_##field##_show(struct device *dev, struct device_attribute *attr, \
857 field##_show(struct device *dev, struct device_attribute *attr, \
874 static ssize_t interface_show(struct device *dev, struct device_attribute *attr, interface_show()
888 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, modalias_show()
915 struct device_attribute *attr, supports_autosuspend_show()
H A Dendpoint.c36 struct device_attribute *attr, \
50 struct device_attribute *attr, char *buf) wMaxPacketSize_show()
58 static ssize_t type_show(struct device *dev, struct device_attribute *attr, type_show()
82 static ssize_t interval_show(struct device *dev, struct device_attribute *attr, interval_show()
128 static ssize_t direction_show(struct device *dev, struct device_attribute *attr, direction_show()
/linux-4.1.27/drivers/scsi/qla4xxx/
H A Dql4_attr.c155 struct device_attribute *attr, char *buf) qla4xxx_fw_version_show()
170 qla4xxx_serial_num_show(struct device *dev, struct device_attribute *attr, qla4xxx_serial_num_show()
178 qla4xxx_iscsi_version_show(struct device *dev, struct device_attribute *attr, qla4xxx_iscsi_version_show()
187 qla4xxx_optrom_version_show(struct device *dev, struct device_attribute *attr, qla4xxx_optrom_version_show()
197 qla4xxx_board_id_show(struct device *dev, struct device_attribute *attr, qla4xxx_board_id_show()
205 qla4xxx_fw_state_show(struct device *dev, struct device_attribute *attr, qla4xxx_fw_state_show()
216 qla4xxx_phy_port_cnt_show(struct device *dev, struct device_attribute *attr, qla4xxx_phy_port_cnt_show()
228 qla4xxx_phy_port_num_show(struct device *dev, struct device_attribute *attr, qla4xxx_phy_port_num_show()
240 qla4xxx_iscsi_func_cnt_show(struct device *dev, struct device_attribute *attr, qla4xxx_iscsi_func_cnt_show()
252 qla4xxx_hba_model_show(struct device *dev, struct device_attribute *attr, qla4xxx_hba_model_show()
261 qla4xxx_fw_timestamp_show(struct device *dev, struct device_attribute *attr, qla4xxx_fw_timestamp_show()
270 qla4xxx_fw_build_user_show(struct device *dev, struct device_attribute *attr, qla4xxx_fw_build_user_show()
278 qla4xxx_fw_ext_timestamp_show(struct device *dev, struct device_attribute *attr, qla4xxx_fw_ext_timestamp_show()
286 qla4xxx_fw_load_src_show(struct device *dev, struct device_attribute *attr, qla4xxx_fw_load_src_show()
308 qla4xxx_fw_uptime_show(struct device *dev, struct device_attribute *attr, qla4xxx_fw_uptime_show()
334 struct device_attribute *qla4xxx_host_attrs[] = {
/linux-4.1.27/drivers/scsi/fnic/
H A Dfnic_attrs.c24 struct device_attribute *attr, char *buf) fnic_show_state()
33 struct device_attribute *attr, char *buf) fnic_show_drv_version()
39 struct device_attribute *attr, char *buf) fnic_show_link_state()
51 struct device_attribute *fnic_attrs[] = {
/linux-4.1.27/arch/sh/drivers/dma/
H A Ddma-sysfs.c27 struct device_attribute *attr, char *buf) dma_show_devices()
62 struct device_attribute *attr, char *buf) dma_show_dev_id()
69 struct device_attribute *attr, dma_store_dev_id()
80 struct device_attribute *attr, dma_store_config()
95 struct device_attribute *attr, char *buf) dma_show_mode()
102 struct device_attribute *attr, dma_store_mode()
114 struct device_attribute *attr, char *buf)\
/linux-4.1.27/net/atm/
H A Datm_sysfs.c14 struct device_attribute *attr, char *buf) show_type()
22 struct device_attribute *attr, char *buf) show_address()
30 struct device_attribute *attr, char *buf) show_atmaddress()
59 struct device_attribute *attr, char *buf) show_atmindex()
67 struct device_attribute *attr, char *buf) show_carrier()
76 struct device_attribute *attr, char *buf) show_link_rate()
105 static struct device_attribute *atm_attrs[] = {
/linux-4.1.27/drivers/media/usb/pvrusb2/
H A Dpvrusb2-sysfs.c40 struct device_attribute attr_v4l_minor_number;
41 struct device_attribute attr_v4l_radio_minor_number;
42 struct device_attribute attr_unit_number;
43 struct device_attribute attr_bus_info;
44 struct device_attribute attr_hdw_name;
45 struct device_attribute attr_hdw_desc;
56 struct device_attribute attr_debugcmd;
57 struct device_attribute attr_debuginfo;
64 struct device_attribute attr_name;
65 struct device_attribute attr_type;
66 struct device_attribute attr_min;
67 struct device_attribute attr_max;
68 struct device_attribute attr_def;
69 struct device_attribute attr_enum;
70 struct device_attribute attr_bits;
71 struct device_attribute attr_val;
72 struct device_attribute attr_custom;
88 struct device_attribute *attr, show_name()
102 struct device_attribute *attr, show_type()
124 struct device_attribute *attr, show_min()
137 struct device_attribute *attr, show_max()
150 struct device_attribute *attr, show_def()
169 struct device_attribute *attr, show_val_norm()
188 struct device_attribute *attr, show_val_custom()
207 struct device_attribute *attr, show_enum()
231 struct device_attribute *attr, show_bits()
274 struct device_attribute *attr, store_val_norm()
288 struct device_attribute *attr, store_val_custom()
421 static ssize_t debuginfo_show(struct device *, struct device_attribute *,
423 static ssize_t debugcmd_show(struct device *, struct device_attribute *,
425 static ssize_t debugcmd_store(struct device *, struct device_attribute *,
564 struct device_attribute *attr, char *buf) v4l_minor_number_show()
576 struct device_attribute *attr, char *buf) bus_info_show()
587 struct device_attribute *attr, char *buf) hdw_name_show()
598 struct device_attribute *attr, char *buf) hdw_desc_show()
609 struct device_attribute *attr, v4l_radio_minor_number_show()
622 struct device_attribute *attr, char *buf) unit_number_show()
816 struct device_attribute *attr, char *buf) debuginfo_show()
827 struct device_attribute *attr, char *buf) debugcmd_show()
837 struct device_attribute *attr, debugcmd_store()
/linux-4.1.27/drivers/platform/mips/
H A Dcpu_hwmon.c34 struct device_attribute *attr, char *buf);
49 struct device_attribute *attr, char *buf) get_hwmon_name()
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);
81 struct device_attribute *attr, char *buf) cpu0_temp_label()
87 struct device_attribute *attr, char *buf) cpu1_temp_label()
93 struct device_attribute *attr, char *buf) get_cpu0_temp()
100 struct device_attribute *attr, char *buf) get_cpu1_temp()
/linux-4.1.27/drivers/net/wireless/ath/ath5k/
H A Dsysfs.c11 struct device_attribute *attr, \
20 struct device_attribute *attr, \
38 struct device_attribute *attr, \
63 struct device_attribute *attr, ath5k_attr_show_noise_immunity_level_max()
72 struct device_attribute *attr, ath5k_attr_show_firstep_level_max()
/linux-4.1.27/drivers/acpi/
H A Dbgrt.c20 struct device_attribute *attr, char *buf) show_version()
27 struct device_attribute *attr, char *buf) show_status()
34 struct device_attribute *attr, char *buf) show_type()
41 struct device_attribute *attr, char *buf) show_xoffset()
48 struct device_attribute *attr, char *buf) show_yoffset()
/linux-4.1.27/drivers/misc/cxl/
H A Dsysfs.c22 struct device_attribute *attr, caia_version_show()
32 struct device_attribute *attr, psl_revision_show()
41 struct device_attribute *attr, base_image_show()
50 struct device_attribute *attr, image_loaded_show()
61 struct device_attribute *attr, reset_adapter_store()
78 struct device_attribute *attr, load_image_on_perst_show()
92 struct device_attribute *attr, load_image_on_perst_store()
115 static struct device_attribute adapter_attrs[] = {
128 struct device_attribute *attr, mmio_size_show_master()
137 struct device_attribute *attr, pp_mmio_off_show()
146 struct device_attribute *attr, pp_mmio_len_show()
154 static struct device_attribute afu_master_attrs[] = {
164 struct device_attribute *attr, mmio_size_show()
175 struct device_attribute *attr, reset_store_afu()
198 struct device_attribute *attr, irqs_min_show()
207 struct device_attribute *attr, irqs_max_show()
216 struct device_attribute *attr, irqs_max_store()
238 struct device_attribute *attr, char *buf) modes_supported_show()
251 struct device_attribute *attr, prefault_mode_show()
267 struct device_attribute *attr, prefault_mode_store()
288 struct device_attribute *attr, mode_show()
300 static ssize_t mode_store(struct device *device, struct device_attribute *attr, mode_store()
346 struct device_attribute *attr, api_version_show()
353 struct device_attribute *attr, api_version_compatible_show()
359 static struct device_attribute afu_attrs[] = {
454 static struct kobj_attribute device_attribute = variable in typeref:struct:kobj_attribute
461 &device_attribute.attr,
/linux-4.1.27/arch/powerpc/platforms/cell/
H A Dcbe_thermal.c63 struct device_attribute attr_ ## _prefix ## _ ## _name = { \
100 static ssize_t spu_show_temp(struct device *dev, struct device_attribute *attr, spu_show_temp()
151 struct device_attribute *attr, char *buf) spu_show_throttle_end()
157 struct device_attribute *attr, char *buf) spu_show_throttle_begin()
163 struct device_attribute *attr, char *buf) spu_show_throttle_full_stop()
169 struct device_attribute *attr, const char *buf, size_t size) spu_store_throttle_end()
175 struct device_attribute *attr, const char *buf, size_t size) spu_store_throttle_begin()
181 struct device_attribute *attr, const char *buf, size_t size) spu_store_throttle_full_stop()
203 struct device_attribute *attr, char *buf) ppe_show_temp0()
210 struct device_attribute *attr, char *buf) ppe_show_temp1()
216 struct device_attribute *attr, char *buf) ppe_show_throttle_end()
222 struct device_attribute *attr, char *buf) ppe_show_throttle_begin()
228 struct device_attribute *attr, char *buf) ppe_show_throttle_full_stop()
234 struct device_attribute *attr, const char *buf, size_t size) ppe_store_throttle_end()
240 struct device_attribute *attr, const char *buf, size_t size) ppe_store_throttle_begin()
246 struct device_attribute *attr, const char *buf, size_t size) ppe_store_throttle_full_stop()
252 static struct device_attribute attr_spu_temperature = {
275 static struct device_attribute attr_ppe_temperature0 = {
280 static struct device_attribute attr_ppe_temperature1 = {
/linux-4.1.27/drivers/s390/scsi/
H A Dzfcp_sysfs.c16 struct device_attribute dev_attr_##_feat##_##_name = __ATTR(_name, _mode,\
20 struct device_attribute *at,\
32 struct device_attribute *at,\
42 struct device_attribute *at,\
90 struct device_attribute *attr, zfcp_sysfs_port_failed_show()
102 struct device_attribute *attr, zfcp_sysfs_port_failed_store()
122 struct device_attribute *attr, zfcp_sysfs_unit_failed_show()
140 struct device_attribute *attr, zfcp_sysfs_unit_failed_store()
166 struct device_attribute *attr, zfcp_sysfs_adapter_failed_show()
186 struct device_attribute *attr, zfcp_sysfs_adapter_failed_store()
215 struct device_attribute *attr, zfcp_sysfs_port_rescan_store()
241 struct device_attribute *attr, zfcp_sysfs_port_remove_store()
307 struct device_attribute *attr, zfcp_sysfs_unit_add_store()
326 struct device_attribute *attr, zfcp_sysfs_unit_remove_store()
379 struct device_attribute *attr, \
409 struct device_attribute *attr, \
439 struct device_attribute *attr,\
455 struct device_attribute *attr, zfcp_sysfs_scsi_fcp_lun_show()
469 struct device_attribute *attr, zfcp_sysfs_scsi_zfcp_failed_show()
480 struct device_attribute *attr, zfcp_sysfs_scsi_zfcp_failed_store()
507 struct device_attribute *zfcp_sysfs_sdev_attrs[] = {
522 struct device_attribute *attr, zfcp_sysfs_adapter_util_show()
574 struct device_attribute *attr,\
601 struct device_attribute *attr, zfcp_sysfs_adapter_q_full_show()
618 struct device_attribute *zfcp_sysfs_shost_attrs[] = {
/linux-4.1.27/drivers/video/fbdev/core/
H A Dfbsysfs.c127 static ssize_t store_mode(struct device *device, struct device_attribute *attr, store_mode()
158 static ssize_t show_mode(struct device *device, struct device_attribute *attr, show_mode()
170 struct device_attribute *attr, store_modes()
201 static ssize_t show_modes(struct device *device, struct device_attribute *attr, show_modes()
219 static ssize_t store_bpp(struct device *device, struct device_attribute *attr, store_bpp()
234 static ssize_t show_bpp(struct device *device, struct device_attribute *attr, show_bpp()
242 struct device_attribute *attr, store_rotate()
261 struct device_attribute *attr, char *buf) show_rotate()
269 struct device_attribute *attr, store_virtual()
290 struct device_attribute *attr, char *buf) show_virtual()
298 struct device_attribute *attr, char *buf) show_stride()
305 struct device_attribute *attr, store_blank()
323 struct device_attribute *attr, char *buf) show_blank()
330 struct device_attribute *attr, store_console()
338 struct device_attribute *attr, char *buf) show_console()
345 struct device_attribute *attr, store_cursor()
353 struct device_attribute *attr, char *buf) show_cursor()
360 struct device_attribute *attr, store_pan()
385 struct device_attribute *attr, char *buf) show_pan()
393 struct device_attribute *attr, char *buf) show_name()
401 struct device_attribute *attr, store_fbstate()
425 struct device_attribute *attr, char *buf) show_fbstate()
433 struct device_attribute *attr, store_bl_curve()
474 struct device_attribute *attr, char *buf) show_bl_curve()
499 static struct device_attribute device_attrs[] = {
/linux-4.1.27/drivers/platform/x86/
H A Dintel-rst.c28 struct device_attribute *attr, irst_show_wakeup_events()
45 struct device_attribute *attr, irst_store_wakeup_events()
68 static struct device_attribute irst_wakeup_attr = {
75 struct device_attribute *attr, char *buf) irst_show_wakeup_time()
91 struct device_attribute *attr, irst_store_wakeup_time()
114 static struct device_attribute irst_timeout_attr = {
H A Dalienware-wmi.c127 struct device_attribute *attr;
153 static struct device_attribute *zone_dev_attrs;
198 static struct platform_zone *match_zone(struct device_attribute *attr) match_zone()
202 if ((struct device_attribute *)zone_data[i].attr == attr) { match_zone()
254 static ssize_t zone_show(struct device *dev, struct device_attribute *attr, zone_show()
267 static ssize_t zone_set(struct device *dev, struct device_attribute *attr, zone_set()
332 struct device_attribute *attr, char *buf) show_control_state()
342 struct device_attribute *attr, store_control_state()
385 kzalloc(sizeof(struct device_attribute) * (quirks->num_zones + 1), alienware_zone_init()
471 struct device_attribute *attr, char *buf) show_hdmi_cable()
494 struct device_attribute *attr, char *buf) show_hdmi_source()
518 struct device_attribute *attr, toggle_hdmi_source()
H A Dhdaps.c355 struct device_attribute *attr, char *buf) hdaps_position_show()
367 struct device_attribute *attr, char *buf) hdaps_variance_show()
379 struct device_attribute *attr, char *buf) hdaps_temp1_show()
392 struct device_attribute *attr, char *buf) hdaps_temp2_show()
405 struct device_attribute *attr, hdaps_keyboard_activity_show()
412 struct device_attribute *attr, hdaps_mouse_activity_show()
419 struct device_attribute *attr, char *buf) hdaps_calibrate_show()
425 struct device_attribute *attr, hdaps_calibrate_store()
436 struct device_attribute *attr, char *buf) hdaps_invert_show()
442 struct device_attribute *attr, hdaps_invert_store()
/linux-4.1.27/drivers/pps/
H A Dsysfs.c32 static ssize_t assert_show(struct device *dev, struct device_attribute *attr, assert_show()
46 static ssize_t clear_show(struct device *dev, struct device_attribute *attr, clear_show()
60 static ssize_t mode_show(struct device *dev, struct device_attribute *attr, mode_show()
69 static ssize_t echo_show(struct device *dev, struct device_attribute *attr, echo_show()
78 static ssize_t name_show(struct device *dev, struct device_attribute *attr, name_show()
87 static ssize_t path_show(struct device *dev, struct device_attribute *attr, path_show()
/linux-4.1.27/drivers/staging/iio/addac/
H A Dadt7316.c220 struct device_attribute *attr, adt7316_show_enabled()
251 struct device_attribute *attr, adt7316_store_enabled()
276 struct device_attribute *attr, adt7316_show_select_ex_temp()
289 struct device_attribute *attr, adt7316_store_select_ex_temp()
320 struct device_attribute *attr, adt7316_show_mode()
333 struct device_attribute *attr, adt7316_store_mode()
361 struct device_attribute *attr, adt7316_show_all_modes()
370 struct device_attribute *attr, adt7316_show_ad_channel()
408 struct device_attribute *attr, adt7316_store_ad_channel()
455 struct device_attribute *attr, adt7316_show_all_ad_channels()
477 struct device_attribute *attr, adt7316_show_disable_averaging()
488 struct device_attribute *attr, adt7316_store_disable_averaging()
516 struct device_attribute *attr, adt7316_show_enable_smbus_timeout()
527 struct device_attribute *attr, adt7316_store_enable_smbus_timeout()
555 struct device_attribute *attr, adt7316_show_powerdown()
565 struct device_attribute *attr, adt7316_store_powerdown()
593 struct device_attribute *attr, adt7316_show_fast_ad_clock()
603 struct device_attribute *attr, adt7316_store_fast_ad_clock()
631 struct device_attribute *attr, adt7316_show_da_high_resolution()
648 struct device_attribute *attr, adt7316_store_da_high_resolution()
683 struct device_attribute *attr, adt7316_show_AIN_internal_Vref()
697 struct device_attribute *attr, adt7316_store_AIN_internal_Vref()
730 struct device_attribute *attr, adt7316_show_enable_prop_DACA()
741 struct device_attribute *attr, adt7316_store_enable_prop_DACA()
769 struct device_attribute *attr, adt7316_show_enable_prop_DACB()
780 struct device_attribute *attr, adt7316_store_enable_prop_DACB()
808 struct device_attribute *attr, adt7316_show_DAC_2Vref_ch_mask()
819 struct device_attribute *attr, adt7316_store_DAC_2Vref_ch_mask()
851 struct device_attribute *attr, adt7316_show_DAC_update_mode()
876 struct device_attribute *attr, adt7316_store_DAC_update_mode()
911 struct device_attribute *attr, adt7316_show_all_DAC_update_modes()
931 struct device_attribute *attr, adt7316_store_update_DAC()
971 struct device_attribute *attr, adt7316_show_DA_AB_Vref_bypass()
985 struct device_attribute *attr, adt7316_store_DA_AB_Vref_bypass()
1016 struct device_attribute *attr, adt7316_show_DA_CD_Vref_bypass()
1030 struct device_attribute *attr, adt7316_store_DA_CD_Vref_bypass()
1061 struct device_attribute *attr, adt7316_show_DAC_internal_Vref()
1077 struct device_attribute *attr, adt7316_store_DAC_internal_Vref()
1198 struct device_attribute *attr, adt7316_show_VDD()
1209 struct device_attribute *attr, adt7316_show_in_temp()
1221 struct device_attribute *attr, adt7316_show_ex_temp_AIN1()
1235 struct device_attribute *attr, adt7316_show_AIN2()
1246 struct device_attribute *attr, adt7316_show_AIN3()
1257 struct device_attribute *attr, adt7316_show_AIN4()
1309 struct device_attribute *attr, adt7316_show_in_temp_offset()
1319 struct device_attribute *attr, adt7316_store_in_temp_offset()
1335 struct device_attribute *attr, adt7316_show_ex_temp_offset()
1345 struct device_attribute *attr, adt7316_store_ex_temp_offset()
1361 struct device_attribute *attr, adt7316_show_in_analog_temp_offset()
1372 struct device_attribute *attr, adt7316_store_in_analog_temp_offset()
1388 struct device_attribute *attr, adt7316_show_ex_analog_temp_offset()
1399 struct device_attribute *attr, adt7316_store_ex_analog_temp_offset()
1485 struct device_attribute *attr, adt7316_show_DAC_A()
1495 struct device_attribute *attr, adt7316_store_DAC_A()
1509 struct device_attribute *attr, adt7316_show_DAC_B()
1519 struct device_attribute *attr, adt7316_store_DAC_B()
1533 struct device_attribute *attr, adt7316_show_DAC_C()
1543 struct device_attribute *attr, adt7316_store_DAC_C()
1557 struct device_attribute *attr, adt7316_show_DAC_D()
1567 struct device_attribute *attr, adt7316_store_DAC_D()
1581 struct device_attribute *attr, adt7316_show_device_id()
1599 struct device_attribute *attr, adt7316_show_manufactorer_id()
1618 struct device_attribute *attr, adt7316_show_device_rev()
1636 struct device_attribute *attr, adt7316_show_bus_type()
1820 struct device_attribute *attr, adt7316_show_int_mask()
1833 struct device_attribute *attr, adt7316_set_int_mask()
1873 struct device_attribute *attr, adt7316_show_ad_bound()
1903 struct device_attribute *attr, adt7316_set_ad_bound()
1944 struct device_attribute *attr, adt7316_show_int_enabled()
1954 struct device_attribute *attr, adt7316_set_int_enabled()
/linux-4.1.27/drivers/misc/mic/host/
H A Dmic_sysfs.c70 family_show(struct device *dev, struct device_attribute *attr, char *buf) family_show()
93 stepping_show(struct device *dev, struct device_attribute *attr, char *buf) stepping_show()
122 state_show(struct device *dev, struct device_attribute *attr, char *buf) state_show()
134 state_store(struct device *dev, struct device_attribute *attr, state_store()
173 struct device_attribute *attr, char *buf) shutdown_status_show()
186 cmdline_show(struct device *dev, struct device_attribute *attr, char *buf) cmdline_show()
202 cmdline_store(struct device *dev, struct device_attribute *attr, cmdline_store()
232 firmware_show(struct device *dev, struct device_attribute *attr, char *buf) firmware_show()
248 firmware_store(struct device *dev, struct device_attribute *attr, firmware_store()
277 ramdisk_show(struct device *dev, struct device_attribute *attr, char *buf) ramdisk_show()
293 ramdisk_store(struct device *dev, struct device_attribute *attr, ramdisk_store()
323 bootmode_show(struct device *dev, struct device_attribute *attr, char *buf) bootmode_show()
339 bootmode_store(struct device *dev, struct device_attribute *attr, bootmode_store()
372 log_buf_addr_show(struct device *dev, struct device_attribute *attr, log_buf_addr_show()
384 log_buf_addr_store(struct device *dev, struct device_attribute *attr, log_buf_addr_store()
406 log_buf_len_show(struct device *dev, struct device_attribute *attr, log_buf_len_show()
418 log_buf_len_store(struct device *dev, struct device_attribute *attr, log_buf_len_store()
/linux-4.1.27/drivers/misc/genwqe/
H A Dcard_sysfs.c47 static ssize_t status_show(struct device *dev, struct device_attribute *attr, status_show()
57 static ssize_t appid_show(struct device *dev, struct device_attribute *attr, appid_show()
68 static ssize_t version_show(struct device *dev, struct device_attribute *attr, version_show()
81 static ssize_t type_show(struct device *dev, struct device_attribute *attr, type_show()
93 static ssize_t tempsens_show(struct device *dev, struct device_attribute *attr, tempsens_show()
105 struct device_attribute *attr, freerunning_timer_show()
117 struct device_attribute *attr, queue_working_time_show()
129 struct device_attribute *attr, base_clock_show()
157 struct device_attribute *attr, char *buf) curr_bitstream_show()
173 struct device_attribute *attr, char *buf) next_bitstream_show()
193 struct device_attribute *attr, next_bitstream_store()
219 struct device_attribute *attr, reload_bitstream_store()
243 * Create device_attribute structures / params: name, mode, show, store
/linux-4.1.27/drivers/net/bonding/
H A Dbond_sysfs.c159 struct device_attribute *attr, bonding_sysfs_store_option()
178 struct device_attribute *attr, char *buf) bonding_show_slaves()
211 struct device_attribute *attr, char *buf) bonding_show_mode()
225 struct device_attribute *attr, bonding_show_xmit_hash()
240 struct device_attribute *attr, bonding_show_arp_validate()
256 struct device_attribute *attr, bonding_show_arp_all_targets()
272 struct device_attribute *attr, bonding_show_fail_over_mac()
288 struct device_attribute *attr, bonding_show_arp_interval()
300 struct device_attribute *attr, bonding_show_arp_targets()
321 struct device_attribute *attr, bonding_show_downdelay()
332 struct device_attribute *attr, bonding_show_updelay()
345 struct device_attribute *attr, bonding_show_lacp()
359 struct device_attribute *attr, bonding_show_min_links()
370 struct device_attribute *attr, bonding_show_ad_select()
385 struct device_attribute *attr, bonding_show_num_peer_notif()
393 struct device_attribute *attr, bonding_store_num_peer_notif()
412 struct device_attribute *attr, bonding_show_miimon()
424 struct device_attribute *attr, bonding_show_primary()
444 struct device_attribute *attr, bonding_show_primary_reselect()
461 struct device_attribute *attr, bonding_show_carrier()
474 struct device_attribute *attr, bonding_show_active_slave()
494 struct device_attribute *attr, bonding_show_mii_status()
506 struct device_attribute *attr, bonding_show_ad_aggregator()
526 struct device_attribute *attr, bonding_show_ad_num_ports()
546 struct device_attribute *attr, bonding_show_ad_actor_key()
566 struct device_attribute *attr, bonding_show_ad_partner_key()
586 struct device_attribute *attr, bonding_show_ad_partner_mac()
604 struct device_attribute *attr, bonding_show_queue_id()
639 struct device_attribute *attr, bonding_show_slaves_active()
651 struct device_attribute *attr, bonding_show_resend_igmp()
663 struct device_attribute *attr, bonding_show_lp_interval()
674 struct device_attribute *attr, bonding_show_tlb_dynamic_lb()
684 struct device_attribute *attr, bonding_show_packets_per_slave()
/linux-4.1.27/drivers/sh/superhyway/
H A Dsuperhyway-sysfs.c18 static ssize_t name##_show(struct device *dev, struct device_attribute *attr, char *buf) \
35 struct device_attribute superhyway_dev_attrs[] = {
/linux-4.1.27/drivers/edac/
H A Damd64_edac_dbg.c5 struct device_attribute *mattr, \
19 struct device_attribute *mattr, amd64_hole_show()
H A Damd64_edac_inj.c4 struct device_attribute *mattr, amd64_inject_section_show()
19 struct device_attribute *mattr, amd64_inject_section_store()
41 struct device_attribute *mattr, amd64_inject_word_show()
56 struct device_attribute *mattr, amd64_inject_word_store()
78 struct device_attribute *mattr, amd64_inject_ecc_vector_show()
92 struct device_attribute *mattr, amd64_inject_ecc_vector_store()
118 struct device_attribute *mattr, amd64_inject_read_store()
151 struct device_attribute *mattr, amd64_inject_write_store()
H A Dedac_mc_sysfs.c152 static struct device_attribute dev_attr_legacy_##_name = __ATTR(_name, _mode, _show, _store)
155 struct device_attribute attr;
167 struct device_attribute *mattr, char *data) csrow_ue_count_show()
175 struct device_attribute *mattr, char *data) csrow_ce_count_show()
183 struct device_attribute *mattr, char *data) csrow_size_show()
195 struct device_attribute *mattr, char *data) csrow_mem_type_show()
203 struct device_attribute *mattr, char *data) csrow_dev_type_show()
211 struct device_attribute *mattr, csrow_edac_mode_show()
221 struct device_attribute *mattr, channel_dimm_label_show()
237 struct device_attribute *mattr, channel_dimm_label_store()
255 struct device_attribute *mattr, char *data) channel_ce_count_show()
477 struct device_attribute *mattr, char *data) dimmdev_location_show()
485 struct device_attribute *mattr, char *data) dimmdev_label_show()
497 struct device_attribute *mattr, dimmdev_label_store()
513 struct device_attribute *mattr, char *data) dimmdev_size_show()
521 struct device_attribute *mattr, char *data) dimmdev_mem_type_show()
529 struct device_attribute *mattr, char *data) dimmdev_dev_type_show()
537 struct device_attribute *mattr, dimmdev_edac_mode_show()
621 struct device_attribute *mattr, mci_reset_counters_store()
662 struct device_attribute *mattr, mci_sdram_scrub_rate_store()
686 struct device_attribute *mattr, mci_sdram_scrub_rate_show()
703 struct device_attribute *mattr, mci_ue_count_show()
712 struct device_attribute *mattr, mci_ce_count_show()
721 struct device_attribute *mattr, mci_ce_noinfo_show()
730 struct device_attribute *mattr, mci_ue_noinfo_show()
739 struct device_attribute *mattr, mci_seconds_show()
748 struct device_attribute *mattr, mci_ctl_name_show()
757 struct device_attribute *mattr, mci_size_mb_show()
777 struct device_attribute *mattr, mci_max_location_show()
/linux-4.1.27/drivers/leds/trigger/
H A Dledtrig-timer.c22 struct device_attribute *attr, char *buf) led_delay_on_show()
30 struct device_attribute *attr, const char *buf, size_t size) led_delay_on_store()
47 struct device_attribute *attr, char *buf) led_delay_off_show()
55 struct device_attribute *attr, const char *buf, size_t size) led_delay_off_store()
H A Dledtrig-oneshot.c30 struct device_attribute *attr, const char *buf, size_t size) led_shot()
43 struct device_attribute *attr, char *buf) led_invert_show()
52 struct device_attribute *attr, const char *buf, size_t size) led_invert_store()
74 struct device_attribute *attr, char *buf) led_delay_on_show()
82 struct device_attribute *attr, const char *buf, size_t size) led_delay_on_store()
97 struct device_attribute *attr, char *buf) led_delay_off_show()
105 struct device_attribute *attr, const char *buf, size_t size) led_delay_off_store()
H A Dledtrig-gpio.c67 struct device_attribute *attr, char *buf) gpio_trig_brightness_show()
76 struct device_attribute *attr, const char *buf, size_t n) gpio_trig_brightness_store()
97 struct device_attribute *attr, char *buf) gpio_trig_inverted_show()
106 struct device_attribute *attr, const char *buf, size_t n) gpio_trig_inverted_store()
131 struct device_attribute *attr, char *buf) gpio_trig_gpio_show()
140 struct device_attribute *attr, const char *buf, size_t n) gpio_trig_gpio_store()
H A Dledtrig-transient.c48 struct device_attribute *attr, char *buf) transient_activate_show()
57 struct device_attribute *attr, const char *buf, size_t size) transient_activate_store()
100 struct device_attribute *attr, char *buf) transient_duration_show()
109 struct device_attribute *attr, const char *buf, size_t size) transient_duration_store()
125 struct device_attribute *attr, char *buf) transient_state_show()
136 struct device_attribute *attr, const char *buf, size_t size) transient_state_store()
/linux-4.1.27/arch/mips/txx9/generic/
H A D7segled.c41 struct device_attribute *attr, ascii_store()
50 struct device_attribute *attr, raw_store()
62 struct device_attribute *attr, map_seg7_show()
70 struct device_attribute *attr, map_seg7_store()
/linux-4.1.27/drivers/zorro/
H A Dzorro-sysfs.c27 show_##name(struct device *dev, struct device_attribute *attr, char *buf) \
42 show_serial(struct device *dev, struct device_attribute *attr, char *buf) show_serial()
52 static ssize_t zorro_show_resource(struct device *dev, struct device_attribute *attr, char *buf) zorro_show_resource()
92 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, modalias_show()
/linux-4.1.27/drivers/base/power/
H A Dsysfs.c101 static ssize_t control_show(struct device *dev, struct device_attribute *attr, control_show()
108 static ssize_t control_store(struct device * dev, struct device_attribute *attr, control_store()
131 struct device_attribute *attr, char *buf) rtpm_active_time_show()
144 struct device_attribute *attr, char *buf) rtpm_suspended_time_show()
158 struct device_attribute *attr, char *buf) rtpm_status_show()
190 struct device_attribute *attr, char *buf) autosuspend_delay_ms_show()
198 struct device_attribute *attr, const char *buf, size_t n) autosuspend_delay_ms_store()
218 struct device_attribute *attr, pm_qos_resume_latency_show()
225 struct device_attribute *attr, pm_qos_resume_latency_store()
246 struct device_attribute *attr, pm_qos_latency_tolerance_show()
260 struct device_attribute *attr, pm_qos_latency_tolerance_store()
280 struct device_attribute *attr, pm_qos_no_power_off_show()
288 struct device_attribute *attr, pm_qos_no_power_off_store()
307 struct device_attribute *attr, pm_qos_remote_wakeup_show()
315 struct device_attribute *attr, pm_qos_remote_wakeup_store()
338 wake_show(struct device * dev, struct device_attribute *attr, char * buf) wake_show()
346 wake_store(struct device * dev, struct device_attribute *attr, wake_store()
372 struct device_attribute *attr, char *buf) wakeup_count_show()
389 struct device_attribute *attr, char *buf) wakeup_active_count_show()
406 struct device_attribute *attr, wakeup_abort_count_show()
424 struct device_attribute *attr, wakeup_expire_count_show()
442 struct device_attribute *attr, char *buf) wakeup_active_show()
459 struct device_attribute *attr, char *buf) wakeup_total_time_show()
476 struct device_attribute *attr, char *buf) wakeup_max_time_show()
493 struct device_attribute *attr, char *buf) wakeup_last_time_show()
511 struct device_attribute *attr, wakeup_prevent_sleep_time_show()
533 struct device_attribute *attr, char *buf) rtpm_usagecount_show()
539 struct device_attribute *attr, char *buf) rtpm_children_show()
546 struct device_attribute *attr, char *buf) rtpm_enabled_show()
562 static ssize_t async_show(struct device *dev, struct device_attribute *attr, async_show()
570 static ssize_t async_store(struct device *dev, struct device_attribute *attr, async_store()
/linux-4.1.27/drivers/video/backlight/
H A Dadp5520_bl.c179 struct device_attribute *attr, char *buf) adp5520_bl_dark_max_show()
185 struct device_attribute *attr, adp5520_bl_dark_max_store()
194 struct device_attribute *attr, char *buf) adp5520_bl_office_max_show()
200 struct device_attribute *attr, adp5520_bl_office_max_store()
209 struct device_attribute *attr, char *buf) adp5520_bl_daylight_max_show()
215 struct device_attribute *attr, adp5520_bl_daylight_max_store()
231 struct device_attribute *attr, char *buf) adp5520_bl_dark_dim_show()
237 struct device_attribute *attr, adp5520_bl_dark_dim_store()
246 struct device_attribute *attr, char *buf) adp5520_bl_office_dim_show()
252 struct device_attribute *attr, adp5520_bl_office_dim_store()
261 struct device_attribute *attr, char *buf) adp5520_bl_daylight_dim_show()
267 struct device_attribute *attr, adp5520_bl_daylight_dim_store()
H A Dlm3533_bl.c75 struct device_attribute *attr, char *buf) show_id()
83 struct device_attribute *attr, char *buf) show_als_channel()
92 struct device_attribute *attr, char *buf) show_als_en()
112 struct device_attribute *attr, store_als_en()
141 struct device_attribute *attr, char *buf) show_linear()
164 struct device_attribute *attr, store_linear()
192 struct device_attribute *attr, show_pwm()
207 struct device_attribute *attr, store_pwm()
H A Dadp8860_bl.c465 struct device_attribute *attr, char *buf) adp8860_bl_l3_dark_max_show()
471 struct device_attribute *attr, const char *buf, size_t count) adp8860_bl_l3_dark_max_store()
480 struct device_attribute *attr, char *buf) adp8860_bl_l2_office_max_show()
486 struct device_attribute *attr, const char *buf, size_t count) adp8860_bl_l2_office_max_store()
494 struct device_attribute *attr, char *buf) adp8860_bl_l1_daylight_max_show()
500 struct device_attribute *attr, const char *buf, size_t count) adp8860_bl_l1_daylight_max_store()
514 struct device_attribute *attr, char *buf) adp8860_bl_l3_dark_dim_show()
520 struct device_attribute *attr, adp8860_bl_l3_dark_dim_store()
529 struct device_attribute *attr, char *buf) adp8860_bl_l2_office_dim_show()
535 struct device_attribute *attr, adp8860_bl_l2_office_dim_store()
544 struct device_attribute *attr, char *buf) adp8860_bl_l1_daylight_dim_show()
550 struct device_attribute *attr, adp8860_bl_l1_daylight_dim_store()
560 struct device_attribute *attr, char *buf) adp8860_bl_ambient_light_level_show()
585 struct device_attribute *attr, char *buf) adp8860_bl_ambient_light_zone_show()
603 struct device_attribute *attr, adp8860_bl_ambient_light_zone_store()
H A Dadp8870_bl.c586 struct device_attribute *attr, char *buf) adp8870_bl_l5_dark_max_show()
592 struct device_attribute *attr, const char *buf, size_t count) adp8870_bl_l5_dark_max_store()
601 struct device_attribute *attr, char *buf) adp8870_bl_l4_indoor_max_show()
607 struct device_attribute *attr, const char *buf, size_t count) adp8870_bl_l4_indoor_max_store()
616 struct device_attribute *attr, char *buf) adp8870_bl_l3_office_max_show()
622 struct device_attribute *attr, const char *buf, size_t count) adp8870_bl_l3_office_max_store()
631 struct device_attribute *attr, char *buf) adp8870_bl_l2_bright_max_show()
637 struct device_attribute *attr, const char *buf, size_t count) adp8870_bl_l2_bright_max_store()
645 struct device_attribute *attr, char *buf) adp8870_bl_l1_daylight_max_show()
651 struct device_attribute *attr, const char *buf, size_t count) adp8870_bl_l1_daylight_max_store()
665 struct device_attribute *attr, char *buf) adp8870_bl_l5_dark_dim_show()
671 struct device_attribute *attr, adp8870_bl_l5_dark_dim_store()
680 struct device_attribute *attr, char *buf) adp8870_bl_l4_indoor_dim_show()
686 struct device_attribute *attr, adp8870_bl_l4_indoor_dim_store()
696 struct device_attribute *attr, char *buf) adp8870_bl_l3_office_dim_show()
702 struct device_attribute *attr, adp8870_bl_l3_office_dim_store()
711 struct device_attribute *attr, char *buf) adp8870_bl_l2_bright_dim_show()
717 struct device_attribute *attr, adp8870_bl_l2_bright_dim_store()
726 struct device_attribute *attr, char *buf) adp8870_bl_l1_daylight_dim_show()
732 struct device_attribute *attr, adp8870_bl_l1_daylight_dim_store()
742 struct device_attribute *attr, char *buf) adp8870_bl_ambient_light_level_show()
771 struct device_attribute *attr, char *buf) adp8870_bl_ambient_light_zone_show()
789 struct device_attribute *attr, adp8870_bl_ambient_light_zone_store()
H A Dlcd.c92 static ssize_t lcd_power_show(struct device *dev, struct device_attribute *attr, lcd_power_show()
109 struct device_attribute *attr, const char *buf, size_t count) lcd_power_store()
134 struct device_attribute *attr, char *buf) contrast_show()
148 struct device_attribute *attr, const char *buf, size_t count) contrast_store()
173 struct device_attribute *attr, char *buf) max_contrast_show()
/linux-4.1.27/arch/avr32/kernel/
H A Dcpu.c30 struct device_attribute *attr, char *buf) show_pc0event()
38 struct device_attribute *attr, const char *buf, store_pc0event()
54 struct device_attribute *attr, char *buf) show_pc0count()
62 struct device_attribute *attr, store_pc0count()
77 struct device_attribute *attr, char *buf) show_pc1event()
85 struct device_attribute *attr, const char *buf, store_pc1event()
101 struct device_attribute *attr, char *buf) show_pc1count()
109 struct device_attribute *attr, const char *buf, store_pc1count()
124 struct device_attribute *attr, char *buf) show_pccycles()
132 struct device_attribute *attr, const char *buf, store_pccycles()
147 struct device_attribute *attr, char *buf) show_pcenable()
155 struct device_attribute *attr, const char *buf, store_pcenable()
/linux-4.1.27/drivers/hwtracing/coresight/
H A Dcoresight-etm3x.c443 struct device_attribute *attr, char *buf) nr_addr_cmp_show()
454 struct device_attribute *attr, char *buf) nr_cntr_show()
464 struct device_attribute *attr, char *buf) nr_ctxid_cmp_show()
475 struct device_attribute *attr, char *buf) etmsr_show()
499 struct device_attribute *attr, reset_store()
533 struct device_attribute *attr, char *buf) mode_show()
543 struct device_attribute *attr, mode_store()
602 struct device_attribute *attr, char *buf) trigger_event_show()
612 struct device_attribute *attr, trigger_event_store()
630 struct device_attribute *attr, char *buf) enable_event_show()
640 struct device_attribute *attr, enable_event_store()
658 struct device_attribute *attr, char *buf) fifofull_level_show()
668 struct device_attribute *attr, fifofull_level_store()
686 struct device_attribute *attr, char *buf) addr_idx_show()
696 struct device_attribute *attr, addr_idx_store()
723 struct device_attribute *attr, char *buf) addr_single_show()
744 struct device_attribute *attr, addr_single_store()
773 struct device_attribute *attr, char *buf) addr_range_show()
801 struct device_attribute *attr, addr_range_store()
840 struct device_attribute *attr, char *buf) addr_start_show()
861 struct device_attribute *attr, addr_start_store()
892 struct device_attribute *attr, char *buf) addr_stop_show()
913 struct device_attribute *attr, addr_stop_store()
944 struct device_attribute *attr, char *buf) addr_acctype_show()
957 struct device_attribute *attr, addr_acctype_store()
977 struct device_attribute *attr, char *buf) cntr_idx_show()
987 struct device_attribute *attr, cntr_idx_store()
1013 struct device_attribute *attr, char *buf) cntr_rld_val_show()
1026 struct device_attribute *attr, cntr_rld_val_store()
1046 struct device_attribute *attr, char *buf) cntr_event_show()
1059 struct device_attribute *attr, cntr_event_store()
1079 struct device_attribute *attr, char *buf) cntr_rld_event_show()
1092 struct device_attribute *attr, cntr_rld_event_store()
1112 struct device_attribute *attr, char *buf) cntr_val_show()
1136 struct device_attribute *attr, cntr_val_store()
1156 struct device_attribute *attr, char *buf) seq_12_event_show()
1166 struct device_attribute *attr, seq_12_event_store()
1183 struct device_attribute *attr, char *buf) seq_21_event_show()
1193 struct device_attribute *attr, seq_21_event_store()
1210 struct device_attribute *attr, char *buf) seq_23_event_show()
1220 struct device_attribute *attr, seq_23_event_store()
1237 struct device_attribute *attr, char *buf) seq_31_event_show()
1247 struct device_attribute *attr, seq_31_event_store()
1264 struct device_attribute *attr, char *buf) seq_32_event_show()
1274 struct device_attribute *attr, seq_32_event_store()
1291 struct device_attribute *attr, char *buf) seq_13_event_show()
1301 struct device_attribute *attr, seq_13_event_store()
1318 struct device_attribute *attr, char *buf) seq_curr_state_show()
1346 struct device_attribute *attr, seq_curr_state_store()
1367 struct device_attribute *attr, char *buf) ctxid_idx_show()
1377 struct device_attribute *attr, ctxid_idx_store()
1404 struct device_attribute *attr, char *buf) ctxid_val_show()
1417 struct device_attribute *attr, ctxid_val_store()
1437 struct device_attribute *attr, char *buf) ctxid_mask_show()
1447 struct device_attribute *attr, ctxid_mask_store()
1464 struct device_attribute *attr, char *buf) sync_freq_show()
1474 struct device_attribute *attr, sync_freq_store()
1491 struct device_attribute *attr, char *buf) timestamp_event_show()
1501 struct device_attribute *attr, timestamp_event_store()
1518 struct device_attribute *attr, char *buf) status_show()
1560 struct device_attribute *attr, char *buf) traceid_show()
1588 struct device_attribute *attr, traceid_store()
/linux-4.1.27/drivers/hwmon/
H A Df71882fg.c278 static ssize_t show_in(struct device *dev, struct device_attribute *devattr,
280 static ssize_t show_in_max(struct device *dev, struct device_attribute
282 static ssize_t store_in_max(struct device *dev, struct device_attribute
284 static ssize_t show_in_beep(struct device *dev, struct device_attribute
286 static ssize_t store_in_beep(struct device *dev, struct device_attribute
288 static ssize_t show_in_alarm(struct device *dev, struct device_attribute
291 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr,
294 struct device_attribute *devattr, char *buf);
296 struct device_attribute *devattr, const char *buf, size_t count);
297 static ssize_t show_fan_beep(struct device *dev, struct device_attribute
299 static ssize_t store_fan_beep(struct device *dev, struct device_attribute
301 static ssize_t show_fan_alarm(struct device *dev, struct device_attribute
304 static ssize_t show_temp(struct device *dev, struct device_attribute
306 static ssize_t show_temp_max(struct device *dev, struct device_attribute
308 static ssize_t store_temp_max(struct device *dev, struct device_attribute
310 static ssize_t show_temp_max_hyst(struct device *dev, struct device_attribute
312 static ssize_t store_temp_max_hyst(struct device *dev, struct device_attribute
314 static ssize_t show_temp_crit(struct device *dev, struct device_attribute
316 static ssize_t store_temp_crit(struct device *dev, struct device_attribute
318 static ssize_t show_temp_crit_hyst(struct device *dev, struct device_attribute
320 static ssize_t show_temp_type(struct device *dev, struct device_attribute
322 static ssize_t show_temp_beep(struct device *dev, struct device_attribute
324 static ssize_t store_temp_beep(struct device *dev, struct device_attribute
326 static ssize_t show_temp_alarm(struct device *dev, struct device_attribute
328 static ssize_t show_temp_fault(struct device *dev, struct device_attribute
331 static ssize_t show_pwm(struct device *dev, struct device_attribute *devattr,
333 static ssize_t store_pwm(struct device *dev, struct device_attribute *devattr,
336 struct device_attribute *devattr, char *buf);
338 struct device_attribute *devattr, const char *buf, size_t count);
340 struct device_attribute *devattr, char *buf);
342 struct device_attribute *devattr, const char *buf, size_t count);
344 struct device_attribute *devattr, char *buf);
346 struct device_attribute *devattr, const char *buf, size_t count);
348 struct device_attribute *devattr, char *buf);
350 struct device_attribute *devattr, const char *buf, size_t count);
352 struct device_attribute *devattr, char *buf);
354 struct device_attribute *devattr, const char *buf, size_t count);
356 struct device_attribute *devattr, char *buf);
358 struct device_attribute *devattr, const char *buf, size_t count);
360 struct device_attribute *devattr, char *buf);
362 struct device_attribute *devattr, const char *buf, size_t count);
364 static ssize_t show_name(struct device *dev, struct device_attribute *devattr,
1318 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, show_fan()
1332 struct device_attribute *devattr, char *buf) show_fan_full_speed()
1341 struct device_attribute *devattr, store_fan_full_speed()
1363 static ssize_t show_fan_beep(struct device *dev, struct device_attribute show_fan_beep()
1375 static ssize_t store_fan_beep(struct device *dev, struct device_attribute store_fan_beep()
1399 static ssize_t show_fan_alarm(struct device *dev, struct device_attribute show_fan_alarm()
1411 static ssize_t show_in(struct device *dev, struct device_attribute *devattr, show_in()
1420 static ssize_t show_in_max(struct device *dev, struct device_attribute show_in_max()
1428 static ssize_t store_in_max(struct device *dev, struct device_attribute store_in_max()
1450 static ssize_t show_in_beep(struct device *dev, struct device_attribute show_in_beep()
1462 static ssize_t store_in_beep(struct device *dev, struct device_attribute store_in_beep()
1486 static ssize_t show_in_alarm(struct device *dev, struct device_attribute show_in_alarm()
1498 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, show_temp()
1523 static ssize_t show_temp_max(struct device *dev, struct device_attribute show_temp_max()
1532 static ssize_t store_temp_max(struct device *dev, struct device_attribute store_temp_max()
1554 static ssize_t show_temp_max_hyst(struct device *dev, struct device_attribute show_temp_max_hyst()
1572 static ssize_t store_temp_max_hyst(struct device *dev, struct device_attribute store_temp_max_hyst()
1607 static ssize_t show_temp_crit(struct device *dev, struct device_attribute show_temp_crit()
1616 static ssize_t store_temp_crit(struct device *dev, struct device_attribute store_temp_crit()
1638 static ssize_t show_temp_crit_hyst(struct device *dev, struct device_attribute show_temp_crit_hyst()
1656 static ssize_t show_temp_type(struct device *dev, struct device_attribute show_temp_type()
1665 static ssize_t show_temp_beep(struct device *dev, struct device_attribute show_temp_beep()
1677 static ssize_t store_temp_beep(struct device *dev, struct device_attribute store_temp_beep()
1701 static ssize_t show_temp_alarm(struct device *dev, struct device_attribute show_temp_alarm()
1713 static ssize_t show_temp_fault(struct device *dev, struct device_attribute show_temp_fault()
1726 struct device_attribute *devattr, char *buf) show_pwm()
1744 struct device_attribute *devattr, const char *buf, store_pwm()
1785 struct device_attribute *devattr, char *buf) show_simple_pwm()
1795 struct device_attribute *devattr, store_simple_pwm()
1817 struct device_attribute *devattr, char *buf) show_pwm_enable()
1842 static ssize_t store_pwm_enable(struct device *dev, struct device_attribute store_pwm_enable()
1899 struct device_attribute *devattr, show_pwm_auto_point_pwm()
1921 struct device_attribute *devattr, store_pwm_auto_point_pwm()
1954 struct device_attribute *devattr, show_pwm_auto_point_temp_hyst()
1974 struct device_attribute *devattr, store_pwm_auto_point_temp_hyst()
2010 struct device_attribute *devattr, char *buf) show_pwm_interpolate()
2022 struct device_attribute *devattr, store_pwm_interpolate()
2048 struct device_attribute *devattr, show_pwm_auto_point_channel()
2062 struct device_attribute *devattr, store_pwm_auto_point_channel()
2099 struct device_attribute *devattr, show_pwm_auto_point_temp()
2112 struct device_attribute *devattr, store_pwm_auto_point_temp()
2139 static ssize_t show_name(struct device *dev, struct device_attribute *devattr, show_name()
H A Dgl520sm.c203 static ssize_t get_cpu_vid(struct device *dev, struct device_attribute *attr, get_cpu_vid()
217 static ssize_t get_in_input(struct device *dev, struct device_attribute *attr, get_in_input()
230 static ssize_t get_in_min(struct device *dev, struct device_attribute *attr, get_in_min()
243 static ssize_t get_in_max(struct device *dev, struct device_attribute *attr, get_in_max()
256 static ssize_t set_in_min(struct device *dev, struct device_attribute *attr, set_in_min()
290 static ssize_t set_in_max(struct device *dev, struct device_attribute *attr, set_in_max()
355 static ssize_t get_fan_input(struct device *dev, struct device_attribute *attr, get_fan_input()
365 static ssize_t get_fan_min(struct device *dev, struct device_attribute *attr, get_fan_min()
375 static ssize_t get_fan_div(struct device *dev, struct device_attribute *attr, get_fan_div()
384 static ssize_t get_fan_off(struct device *dev, struct device_attribute *attr, get_fan_off()
391 static ssize_t set_fan_min(struct device *dev, struct device_attribute *attr, set_fan_min()
430 static ssize_t set_fan_div(struct device *dev, struct device_attribute *attr, set_fan_div()
479 static ssize_t set_fan_off(struct device *dev, struct device_attribute *attr, set_fan_off()
520 static ssize_t get_temp_input(struct device *dev, struct device_attribute *attr, get_temp_input()
529 static ssize_t get_temp_max(struct device *dev, struct device_attribute *attr, get_temp_max()
539 struct device_attribute *attr, char *buf) get_temp_max_hyst()
547 static ssize_t set_temp_max(struct device *dev, struct device_attribute *attr, set_temp_max()
567 static ssize_t set_temp_max_hyst(struct device *dev, struct device_attribute set_temp_max_hyst()
599 static ssize_t get_alarms(struct device *dev, struct device_attribute *attr, get_alarms()
606 static ssize_t get_beep_enable(struct device *dev, struct device_attribute get_beep_enable()
613 static ssize_t get_beep_mask(struct device *dev, struct device_attribute *attr, get_beep_mask()
620 static ssize_t set_beep_enable(struct device *dev, struct device_attribute set_beep_enable()
644 static ssize_t set_beep_mask(struct device *dev, struct device_attribute *attr, set_beep_mask()
670 static ssize_t get_alarm(struct device *dev, struct device_attribute *attr, get_alarm()
689 static ssize_t get_beep(struct device *dev, struct device_attribute *attr, get_beep()
698 static ssize_t set_beep(struct device *dev, struct device_attribute *attr, set_beep()
H A Dpc87360.c258 struct device_attribute *devattr, char *buf) show_fan_input()
266 struct device_attribute *devattr, char *buf) show_fan_min()
274 struct device_attribute *devattr, char *buf) show_fan_div()
282 struct device_attribute *devattr, char *buf) show_fan_status()
290 struct device_attribute *devattr, const char *buf, set_fan_min()
356 static ssize_t show_pwm(struct device *dev, struct device_attribute *devattr, show_pwm()
366 static ssize_t set_pwm(struct device *dev, struct device_attribute *devattr, set_pwm()
406 struct device_attribute *devattr, char *buf) show_in_input()
414 struct device_attribute *devattr, char *buf) show_in_min()
422 struct device_attribute *devattr, char *buf) show_in_max()
430 struct device_attribute *devattr, char *buf) show_in_status()
436 static ssize_t set_in_min(struct device *dev, struct device_attribute *devattr, set_in_min()
455 static ssize_t set_in_max(struct device *dev, struct device_attribute *devattr, set_in_max()
541 struct device_attribute *devattr, char *buf) show_in_min_alarm()
549 struct device_attribute *devattr, char *buf) show_in_max_alarm()
592 static ssize_t show_vid(struct device *dev, struct device_attribute *attr, show_vid()
600 static ssize_t show_vrm(struct device *dev, struct device_attribute *attr, show_vrm()
606 static ssize_t set_vrm(struct device *dev, struct device_attribute *attr, set_vrm()
626 struct device_attribute *attr, char *buf) show_in_alarms()
655 struct device_attribute *devattr, char *buf) show_therm_input()
663 struct device_attribute *devattr, char *buf) show_therm_min()
671 struct device_attribute *devattr, char *buf) show_therm_max()
679 struct device_attribute *devattr, char *buf) show_therm_crit()
687 struct device_attribute *devattr, char *buf) show_therm_status()
695 struct device_attribute *devattr, set_therm_min()
716 struct device_attribute *devattr, set_therm_max()
736 struct device_attribute *devattr, set_therm_crit()
801 struct device_attribute *devattr, char *buf) show_therm_min_alarm()
809 struct device_attribute *devattr, char *buf) show_therm_max_alarm()
817 struct device_attribute *devattr, char *buf) show_therm_crit_alarm()
871 struct device_attribute *devattr, char *buf) show_temp_input()
879 struct device_attribute *devattr, char *buf) show_temp_min()
887 struct device_attribute *devattr, char *buf) show_temp_max()
895 struct device_attribute *devattr, char *buf) show_temp_crit()
904 struct device_attribute *devattr, char *buf) show_temp_status()
912 struct device_attribute *devattr, set_temp_min()
933 struct device_attribute *devattr, set_temp_max()
954 struct device_attribute *devattr, const char *buf, set_temp_crit()
1010 struct device_attribute *attr, char *buf) show_temp_alarms()
1025 struct device_attribute *devattr, char *buf) show_temp_min_alarm()
1034 struct device_attribute *devattr, char *buf) show_temp_max_alarm()
1043 struct device_attribute *devattr, char *buf) show_temp_crit_alarm()
1071 struct device_attribute *devattr, char *buf) show_temp_fault()
1110 struct device_attribute *devattr, char *buf) show_name()
H A Dda9052-hwmon.c76 struct device_attribute *devattr, char *buf) da9052_read_vddout()
108 struct device_attribute *devattr, char *buf) da9052_read_ich()
122 struct device_attribute *devattr, char *buf) da9052_read_tbat()
130 struct device_attribute *devattr, char *buf) da9052_read_vbat()
143 struct device_attribute *devattr, da9052_read_misc_channel()
158 struct device_attribute *devattr, char *buf) da9052_read_tjunc()
180 struct device_attribute *devattr, char *buf) da9052_read_vbbat()
193 struct device_attribute *devattr, char *buf) show_label()
H A Dabx500.h27 struct device_attribute *, char *);
29 struct device_attribute *, char *);
H A Dvexpress.c33 struct device_attribute *dev_attr, char *buffer) vexpress_hwmon_label_show()
41 struct device_attribute *dev_attr, char *buffer) vexpress_hwmon_u32_show()
56 struct device_attribute *dev_attr, char *buffer) vexpress_hwmon_u64_show()
79 struct device_attribute *dev_attr = container_of(attr, vexpress_hwmon_attr_is_visible()
80 struct device_attribute, attr); vexpress_hwmon_attr_is_visible()
H A Dadt7470.c399 struct device_attribute *devattr, show_auto_update_interval()
407 struct device_attribute *devattr, set_auto_update_interval()
427 struct device_attribute *devattr, show_num_temp_sensors()
435 struct device_attribute *devattr, set_num_temp_sensors()
457 struct device_attribute *devattr, show_temp_min()
466 struct device_attribute *devattr, set_temp_min()
491 struct device_attribute *devattr, show_temp_max()
500 struct device_attribute *devattr, set_temp_max()
524 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, show_temp()
533 struct device_attribute *devattr, show_alarm_mask()
542 struct device_attribute *devattr, show_fan_max()
556 struct device_attribute *devattr, set_fan_max()
579 struct device_attribute *devattr, show_fan_min()
593 struct device_attribute *devattr, set_fan_min()
615 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, show_fan()
629 struct device_attribute *devattr, show_force_pwm_max()
637 struct device_attribute *devattr, set_force_pwm_max()
662 static ssize_t show_pwm(struct device *dev, struct device_attribute *devattr, show_pwm()
670 static ssize_t set_pwm(struct device *dev, struct device_attribute *devattr, set_pwm()
692 struct device_attribute *devattr, show_pwm_max()
701 struct device_attribute *devattr, set_pwm_max()
725 struct device_attribute *devattr, show_pwm_min()
734 struct device_attribute *devattr, set_pwm_min()
758 struct device_attribute *devattr, show_pwm_tmax()
768 struct device_attribute *devattr, show_pwm_tmin()
777 struct device_attribute *devattr, set_pwm_tmin()
802 struct device_attribute *devattr, show_pwm_auto()
811 struct device_attribute *devattr, set_pwm_auto()
849 struct device_attribute *devattr, show_pwm_auto_temp()
872 struct device_attribute *devattr, set_pwm_auto_temp()
909 struct device_attribute *devattr, show_alarm()
H A Dlm95245.c213 static ssize_t show_input(struct device *dev, struct device_attribute *attr, show_input()
235 static ssize_t show_limit(struct device *dev, struct device_attribute *attr, show_limit()
245 static ssize_t set_limit(struct device *dev, struct device_attribute *attr, set_limit()
271 static ssize_t show_crit_hyst(struct device *dev, struct device_attribute *attr, show_crit_hyst()
281 static ssize_t set_crit_hyst(struct device *dev, struct device_attribute *attr, set_crit_hyst()
309 static ssize_t show_type(struct device *dev, struct device_attribute *attr, show_type()
318 static ssize_t set_type(struct device *dev, struct device_attribute *attr, set_type()
347 static ssize_t show_alarm(struct device *dev, struct device_attribute *attr, show_alarm()
357 static ssize_t show_interval(struct device *dev, struct device_attribute *attr, show_interval()
365 static ssize_t set_interval(struct device *dev, struct device_attribute *attr, set_interval()
H A Dthmc50.c132 struct device_attribute *attr, char *buf) show_analog_out()
139 struct device_attribute *attr, set_analog_out()
169 static ssize_t show_pwm_mode(struct device *dev, struct device_attribute *attr, show_pwm_mode()
176 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, show_temp()
184 static ssize_t show_temp_min(struct device *dev, struct device_attribute *attr, show_temp_min()
192 static ssize_t set_temp_min(struct device *dev, struct device_attribute *attr, set_temp_min()
213 static ssize_t show_temp_max(struct device *dev, struct device_attribute *attr, show_temp_max()
221 static ssize_t set_temp_max(struct device *dev, struct device_attribute *attr, set_temp_max()
243 struct device_attribute *attr, show_temp_critical()
251 static ssize_t show_alarm(struct device *dev, struct device_attribute *attr, show_alarm()
H A Dlm85.c557 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, show_fan()
565 static ssize_t show_fan_min(struct device *dev, struct device_attribute *attr, show_fan_min()
573 static ssize_t set_fan_min(struct device *dev, struct device_attribute *attr, set_fan_min()
606 static ssize_t show_vid_reg(struct device *dev, struct device_attribute *attr, show_vid_reg()
625 static ssize_t show_vrm_reg(struct device *dev, struct device_attribute *attr, show_vrm_reg()
632 static ssize_t store_vrm_reg(struct device *dev, struct device_attribute *attr, store_vrm_reg()
652 static ssize_t show_alarms_reg(struct device *dev, struct device_attribute show_alarms_reg()
661 static ssize_t show_alarm(struct device *dev, struct device_attribute *attr, show_alarm()
689 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, show_pwm()
697 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, set_pwm()
717 static ssize_t show_pwm_enable(struct device *dev, struct device_attribute show_pwm_enable()
739 static ssize_t set_pwm_enable(struct device *dev, struct device_attribute set_pwm_enable()
783 struct device_attribute *attr, char *buf) show_pwm_freq()
798 struct device_attribute *attr, const char *buf, size_t count) set_pwm_freq()
848 static ssize_t show_in(struct device *dev, struct device_attribute *attr, show_in()
857 static ssize_t show_in_min(struct device *dev, struct device_attribute *attr, show_in_min()
865 static ssize_t set_in_min(struct device *dev, struct device_attribute *attr, set_in_min()
885 static ssize_t show_in_max(struct device *dev, struct device_attribute *attr, show_in_max()
893 static ssize_t set_in_max(struct device *dev, struct device_attribute *attr, set_in_max()
932 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, show_temp()
941 static ssize_t show_temp_min(struct device *dev, struct device_attribute *attr, show_temp_min()
949 static ssize_t set_temp_min(struct device *dev, struct device_attribute *attr, set_temp_min()
972 static ssize_t show_temp_max(struct device *dev, struct device_attribute *attr, show_temp_max()
980 static ssize_t set_temp_max(struct device *dev, struct device_attribute *attr, set_temp_max()
1019 struct device_attribute *attr, char *buf) show_pwm_auto_channels()
1027 struct device_attribute *attr, const char *buf, size_t count) set_pwm_auto_channels()
1049 struct device_attribute *attr, char *buf) show_pwm_auto_pwm_min()
1057 struct device_attribute *attr, const char *buf, size_t count) set_pwm_auto_pwm_min()
1078 struct device_attribute *attr, char *buf) show_pwm_auto_pwm_minctl()
1086 struct device_attribute *attr, const char *buf, size_t count) set_pwm_auto_pwm_minctl()
1128 struct device_attribute *attr, char *buf) show_temp_auto_temp_off()
1137 struct device_attribute *attr, const char *buf, size_t count) set_temp_auto_temp_off()
1166 struct device_attribute *attr, char *buf) show_temp_auto_temp_min()
1174 struct device_attribute *attr, const char *buf, size_t count) set_temp_auto_temp_min()
1204 struct device_attribute *attr, char *buf) show_temp_auto_temp_max()
1213 struct device_attribute *attr, const char *buf, size_t count) set_temp_auto_temp_max()
1239 struct device_attribute *attr, char *buf) show_temp_auto_temp_crit()
1247 struct device_attribute *attr, const char *buf, size_t count) set_temp_auto_temp_crit()
H A Df71805f.c426 static ssize_t show_in0(struct device *dev, struct device_attribute *devattr, show_in0()
436 static ssize_t show_in0_max(struct device *dev, struct device_attribute show_in0_max()
446 static ssize_t show_in0_min(struct device *dev, struct device_attribute show_in0_min()
456 static ssize_t set_in0_max(struct device *dev, struct device_attribute set_in0_max()
477 static ssize_t set_in0_min(struct device *dev, struct device_attribute set_in0_min()
498 static ssize_t show_in(struct device *dev, struct device_attribute *devattr, show_in()
508 static ssize_t show_in_max(struct device *dev, struct device_attribute show_in_max()
518 static ssize_t show_in_min(struct device *dev, struct device_attribute show_in_min()
528 static ssize_t set_in_max(struct device *dev, struct device_attribute set_in_max()
549 static ssize_t set_in_min(struct device *dev, struct device_attribute set_in_min()
570 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, show_fan()
580 static ssize_t show_fan_min(struct device *dev, struct device_attribute show_fan_min()
590 static ssize_t show_fan_target(struct device *dev, struct device_attribute show_fan_target()
600 static ssize_t set_fan_min(struct device *dev, struct device_attribute set_fan_min()
621 static ssize_t set_fan_target(struct device *dev, struct device_attribute set_fan_target()
643 static ssize_t show_pwm(struct device *dev, struct device_attribute *devattr, show_pwm()
653 static ssize_t show_pwm_enable(struct device *dev, struct device_attribute show_pwm_enable()
675 static ssize_t show_pwm_freq(struct device *dev, struct device_attribute show_pwm_freq()
685 static ssize_t show_pwm_mode(struct device *dev, struct device_attribute show_pwm_mode()
695 static ssize_t set_pwm(struct device *dev, struct device_attribute *devattr, set_pwm()
721 static ssize_t set_pwm_enable(struct device *dev, struct device_attribute set_pwm_enable()
771 static ssize_t set_pwm_freq(struct device *dev, struct device_attribute set_pwm_freq()
793 struct device_attribute *devattr, show_pwm_auto_point_temp()
806 struct device_attribute *devattr, set_pwm_auto_point_temp()
830 struct device_attribute *devattr, show_pwm_auto_point_fan()
843 struct device_attribute *devattr, set_pwm_auto_point_fan()
866 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, show_temp()
876 static ssize_t show_temp_max(struct device *dev, struct device_attribute show_temp_max()
886 static ssize_t show_temp_hyst(struct device *dev, struct device_attribute show_temp_hyst()
896 static ssize_t show_temp_type(struct device *dev, struct device_attribute show_temp_type()
907 static ssize_t set_temp_max(struct device *dev, struct device_attribute set_temp_max()
928 static ssize_t set_temp_hyst(struct device *dev, struct device_attribute set_temp_hyst()
949 static ssize_t show_alarms_in(struct device *dev, struct device_attribute show_alarms_in()
957 static ssize_t show_alarms_fan(struct device *dev, struct device_attribute show_alarms_fan()
965 static ssize_t show_alarms_temp(struct device *dev, struct device_attribute show_alarms_temp()
973 static ssize_t show_alarm(struct device *dev, struct device_attribute show_alarm()
983 static ssize_t show_name(struct device *dev, struct device_attribute show_name()
H A Dadm1026.c478 static ssize_t show_in(struct device *dev, struct device_attribute *attr, show_in()
486 static ssize_t show_in_min(struct device *dev, struct device_attribute *attr, show_in_min()
494 static ssize_t set_in_min(struct device *dev, struct device_attribute *attr, set_in_min()
514 static ssize_t show_in_max(struct device *dev, struct device_attribute *attr, show_in_max()
522 static ssize_t set_in_max(struct device *dev, struct device_attribute *attr, set_in_max()
569 static ssize_t show_in16(struct device *dev, struct device_attribute *attr, show_in16()
576 static ssize_t show_in16_min(struct device *dev, struct device_attribute *attr, show_in16_min()
583 static ssize_t set_in16_min(struct device *dev, struct device_attribute *attr, set_in16_min()
601 static ssize_t show_in16_max(struct device *dev, struct device_attribute *attr, show_in16_max()
608 static ssize_t set_in16_max(struct device *dev, struct device_attribute *attr, set_in16_max()
636 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, show_fan()
645 static ssize_t show_fan_min(struct device *dev, struct device_attribute *attr, show_fan_min()
654 static ssize_t set_fan_min(struct device *dev, struct device_attribute *attr, set_fan_min()
710 static ssize_t show_fan_div(struct device *dev, struct device_attribute *attr, show_fan_div()
718 static ssize_t set_fan_div(struct device *dev, struct device_attribute *attr, set_fan_div()
774 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, show_temp()
782 static ssize_t show_temp_min(struct device *dev, struct device_attribute *attr, show_temp_min()
790 static ssize_t set_temp_min(struct device *dev, struct device_attribute *attr, set_temp_min()
811 static ssize_t show_temp_max(struct device *dev, struct device_attribute *attr, show_temp_max()
819 static ssize_t set_temp_max(struct device *dev, struct device_attribute *attr, set_temp_max()
855 struct device_attribute *attr, char *buf) show_temp_offset()
863 struct device_attribute *attr, const char *buf, set_temp_offset()
894 struct device_attribute *attr, char *buf) show_temp_auto_point1_temp_hyst()
903 struct device_attribute *attr, char *buf) show_temp_auto_point2_temp()
912 struct device_attribute *attr, char *buf) show_temp_auto_point1_temp()
920 struct device_attribute *attr, const char *buf, size_t count) set_temp_auto_point1_temp()
955 struct device_attribute *attr, char *buf) show_temp_crit_enable()
961 struct device_attribute *attr, const char *buf, size_t count) set_temp_crit_enable()
992 struct device_attribute *attr, char *buf) show_temp_crit()
999 static ssize_t set_temp_crit(struct device *dev, struct device_attribute *attr, set_temp_crit()
1030 struct device_attribute *attr, char *buf) show_analog_out_reg()
1036 struct device_attribute *attr, set_analog_out_reg()
1058 static ssize_t show_vid_reg(struct device *dev, struct device_attribute *attr, show_vid_reg()
1070 static ssize_t show_vrm_reg(struct device *dev, struct device_attribute *attr, show_vrm_reg()
1077 static ssize_t store_vrm_reg(struct device *dev, struct device_attribute *attr, store_vrm_reg()
1098 struct device_attribute *attr, char *buf) show_alarms_reg()
1106 static ssize_t show_alarm(struct device *dev, struct device_attribute *attr, show_alarm()
1144 struct device_attribute *attr, char *buf) show_alarm_mask()
1149 static ssize_t set_alarm_mask(struct device *dev, struct device_attribute *attr, set_alarm_mask()
1185 static ssize_t show_gpio(struct device *dev, struct device_attribute *attr, show_gpio()
1191 static ssize_t set_gpio(struct device *dev, struct device_attribute *attr, set_gpio()
1218 static ssize_t show_gpio_mask(struct device *dev, struct device_attribute *attr, show_gpio_mask()
1224 static ssize_t set_gpio_mask(struct device *dev, struct device_attribute *attr, set_gpio_mask()
1251 static ssize_t show_pwm_reg(struct device *dev, struct device_attribute *attr, show_pwm_reg()
1258 static ssize_t set_pwm_reg(struct device *dev, struct device_attribute *attr, set_pwm_reg()
1281 struct device_attribute *attr, char *buf) show_auto_pwm_min()
1288 struct device_attribute *attr, const char *buf, set_auto_pwm_min()
1312 struct device_attribute *attr, char *buf) show_auto_pwm_max()
1318 struct device_attribute *attr, char *buf) show_pwm_enable()
1324 static ssize_t set_pwm_enable(struct device *dev, struct device_attribute *attr, set_pwm_enable()
H A Damc6821.c282 struct device_attribute *devattr, get_temp()
293 struct device_attribute *attr, set_temp()
319 struct device_attribute *devattr, get_temp_alarm()
357 struct device_attribute *devattr, get_temp2_fault()
369 struct device_attribute *devattr, get_pwm1()
378 struct device_attribute *devattr, set_pwm1()
398 struct device_attribute *devattr, get_pwm1_enable()
407 struct device_attribute *attr, set_pwm1_enable()
456 struct device_attribute *devattr, get_pwm1_auto_channels_temp()
465 struct device_attribute *devattr, get_temp_auto_point_temp()
486 struct device_attribute *devattr, get_pwm1_auto_point_pwm()
518 struct device_attribute *attr, set_temp_auto_point_temp()
591 struct device_attribute *attr, set_pwm1_auto_point_pwm()
631 struct device_attribute *devattr, get_fan()
643 struct device_attribute *devattr, get_fan1_fault()
655 struct device_attribute *attr, set_fan()
687 struct device_attribute *devattr, get_fan1_div()
696 struct device_attribute *attr, set_fan1_div()
H A Dadm9240.c262 static ssize_t show_temp(struct device *dev, struct device_attribute *dummy, show_temp()
269 static ssize_t show_max(struct device *dev, struct device_attribute *devattr, show_max()
277 static ssize_t set_max(struct device *dev, struct device_attribute *devattr, set_max()
305 static ssize_t show_in(struct device *dev, struct device_attribute *devattr, show_in()
315 struct device_attribute *devattr, char *buf) show_in_min()
324 struct device_attribute *devattr, char *buf) show_in_max()
333 struct device_attribute *devattr, set_in_min()
355 struct device_attribute *devattr, set_in_max()
393 struct device_attribute *devattr, char *buf) show_fan()
402 struct device_attribute *devattr, char *buf) show_fan_min()
411 struct device_attribute *devattr, char *buf) show_fan_div()
430 struct device_attribute *devattr, set_fan_min()
502 struct device_attribute *attr, char *buf) show_alarms()
510 struct device_attribute *attr, char *buf) show_alarm()
528 struct device_attribute *attr, char *buf) show_vid()
537 struct device_attribute *attr, char *buf) show_aout()
544 struct device_attribute *attr, set_aout()
565 struct device_attribute *attr, chassis_clear()
H A Dultra45_env.c96 static ssize_t show_fan_speed(struct device *dev, struct device_attribute *attr, show_fan_speed()
114 static ssize_t set_fan_speed(struct device *dev, struct device_attribute *attr, set_fan_speed()
138 static ssize_t show_fan_fault(struct device *dev, struct device_attribute *attr, show_fan_fault()
161 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, show_temp()
182 static ssize_t show_stat_bit(struct device *dev, struct device_attribute *attr, show_stat_bit()
199 static ssize_t show_fwver(struct device *dev, struct device_attribute *attr, show_fwver()
211 static ssize_t show_name(struct device *dev, struct device_attribute *attr, show_name()
H A Dvt8231.c195 static ssize_t show_in(struct device *dev, struct device_attribute *attr, show_in()
205 static ssize_t show_in_min(struct device *dev, struct device_attribute *attr, show_in_min()
215 static ssize_t show_in_max(struct device *dev, struct device_attribute *attr, show_in_max()
225 static ssize_t set_in_min(struct device *dev, struct device_attribute *attr, set_in_min()
245 static ssize_t set_in_max(struct device *dev, struct device_attribute *attr, set_in_max()
266 static ssize_t show_in5(struct device *dev, struct device_attribute *attr, show_in5()
275 static ssize_t show_in5_min(struct device *dev, struct device_attribute *attr, show_in5_min()
284 static ssize_t show_in5_max(struct device *dev, struct device_attribute *attr, show_in5_max()
293 static ssize_t set_in5_min(struct device *dev, struct device_attribute *attr, set_in5_min()
312 static ssize_t set_in5_max(struct device *dev, struct device_attribute *attr, set_in5_max()
350 static ssize_t show_temp0(struct device *dev, struct device_attribute *attr, show_temp0()
357 static ssize_t show_temp0_max(struct device *dev, struct device_attribute *attr, show_temp0_max()
364 static ssize_t show_temp0_min(struct device *dev, struct device_attribute *attr, show_temp0_min()
371 static ssize_t set_temp0_max(struct device *dev, struct device_attribute *attr, set_temp0_max()
388 static ssize_t set_temp0_min(struct device *dev, struct device_attribute *attr, set_temp0_min()
406 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, show_temp()
415 static ssize_t show_temp_max(struct device *dev, struct device_attribute *attr, show_temp_max()
424 static ssize_t show_temp_min(struct device *dev, struct device_attribute *attr, show_temp_min()
433 static ssize_t set_temp_max(struct device *dev, struct device_attribute *attr, set_temp_max()
452 static ssize_t set_temp_min(struct device *dev, struct device_attribute *attr, set_temp_min()
496 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, show_fan()
506 static ssize_t show_fan_min(struct device *dev, struct device_attribute *attr, show_fan_min()
516 static ssize_t show_fan_div(struct device *dev, struct device_attribute *attr, show_fan_div()
525 static ssize_t set_fan_min(struct device *dev, struct device_attribute *attr, set_fan_min()
545 static ssize_t set_fan_div(struct device *dev, struct device_attribute *attr, set_fan_div()
606 static ssize_t show_alarms(struct device *dev, struct device_attribute *attr, show_alarms()
614 static ssize_t show_alarm(struct device *dev, struct device_attribute *attr, show_alarm()
636 static ssize_t show_name(struct device *dev, struct device_attribute show_name()
H A Dlm95241.c140 static ssize_t show_input(struct device *dev, struct device_attribute *attr, show_input()
153 static ssize_t show_type(struct device *dev, struct device_attribute *attr, show_type()
162 static ssize_t set_type(struct device *dev, struct device_attribute *attr, set_type()
200 static ssize_t show_min(struct device *dev, struct device_attribute *attr, show_min()
210 static ssize_t set_min(struct device *dev, struct device_attribute *attr, set_min()
237 static ssize_t show_max(struct device *dev, struct device_attribute *attr, show_max()
247 static ssize_t set_max(struct device *dev, struct device_attribute *attr, set_max()
274 static ssize_t show_interval(struct device *dev, struct device_attribute *attr, show_interval()
283 static ssize_t set_interval(struct device *dev, struct device_attribute *attr, set_interval()
H A Di5500_temp.c47 struct device_attribute *devattr, char *buf) show_temp()
62 struct device_attribute *devattr, char *buf) show_thresh()
76 struct device_attribute *devattr, char *buf) show_alarm()
H A Dmax6639.c166 struct device_attribute *dev_attr, char *buf) show_temp_input()
180 struct device_attribute *dev_attr, char *buf) show_temp_fault()
192 struct device_attribute *dev_attr, char *buf) show_temp_max()
201 struct device_attribute *dev_attr, set_temp_max()
224 struct device_attribute *dev_attr, char *buf) show_temp_crit()
233 struct device_attribute *dev_attr, set_temp_crit()
256 struct device_attribute *dev_attr, show_temp_emergency()
266 struct device_attribute *dev_attr, set_temp_emergency()
289 struct device_attribute *dev_attr, char *buf) show_pwm()
298 struct device_attribute *dev_attr, set_pwm()
323 struct device_attribute *dev_attr, char *buf) show_fan_input()
336 struct device_attribute *dev_attr, char *buf) show_alarm()
H A Dadm1031.c335 struct device_attribute *attr, char *buf) show_fan_auto_channel()
343 set_fan_auto_channel(struct device *dev, struct device_attribute *attr, set_fan_auto_channel()
402 struct device_attribute *attr, char *buf) show_auto_temp_off()
410 struct device_attribute *attr, char *buf) show_auto_temp_min()
418 set_auto_temp_min(struct device *dev, struct device_attribute *attr, set_auto_temp_min()
440 struct device_attribute *attr, char *buf) show_auto_temp_max()
448 set_auto_temp_max(struct device *dev, struct device_attribute *attr, set_auto_temp_max()
485 struct device_attribute *attr, char *buf) show_pwm()
491 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, set_pwm()
577 struct device_attribute *attr, char *buf) show_fan()
589 struct device_attribute *attr, char *buf) show_fan_div()
596 struct device_attribute *attr, char *buf) show_fan_min()
604 static ssize_t set_fan_min(struct device *dev, struct device_attribute *attr, set_fan_min()
628 static ssize_t set_fan_div(struct device *dev, struct device_attribute *attr, set_fan_div()
690 struct device_attribute *attr, char *buf) show_temp()
701 struct device_attribute *attr, char *buf) show_temp_offset()
709 struct device_attribute *attr, char *buf) show_temp_min()
716 struct device_attribute *attr, char *buf) show_temp_max()
723 struct device_attribute *attr, char *buf) show_temp_crit()
730 struct device_attribute *attr, const char *buf, set_temp_offset()
751 static ssize_t set_temp_min(struct device *dev, struct device_attribute *attr, set_temp_min()
772 static ssize_t set_temp_max(struct device *dev, struct device_attribute *attr, set_temp_max()
793 static ssize_t set_temp_crit(struct device *dev, struct device_attribute *attr, set_temp_crit()
832 static ssize_t show_alarms(struct device *dev, struct device_attribute *attr, show_alarms()
842 struct device_attribute *attr, char *buf) show_alarm()
871 struct device_attribute *attr, char *buf) show_update_interval()
879 struct device_attribute *attr, set_update_interval()
H A Dadt7462.c788 struct device_attribute *devattr, show_temp_min()
801 struct device_attribute *devattr, set_temp_min()
826 struct device_attribute *devattr, show_temp_max()
839 struct device_attribute *devattr, set_temp_max()
863 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, show_temp()
878 struct device_attribute *devattr, show_temp_label()
888 struct device_attribute *devattr, show_volt_max()
902 struct device_attribute *devattr, set_volt_max()
930 struct device_attribute *devattr, show_volt_min()
944 struct device_attribute *devattr, set_volt_min()
972 struct device_attribute *devattr, show_voltage()
986 struct device_attribute *devattr, show_voltage_label()
996 struct device_attribute *devattr, show_alarm()
1016 struct device_attribute *devattr, show_fan_min()
1035 struct device_attribute *devattr, set_fan_min()
1060 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, show_fan()
1075 struct device_attribute *devattr, show_force_pwm_max()
1083 struct device_attribute *devattr, set_force_pwm_max()
1108 static ssize_t show_pwm(struct device *dev, struct device_attribute *devattr, show_pwm()
1116 static ssize_t set_pwm(struct device *dev, struct device_attribute *devattr, set_pwm()
1138 struct device_attribute *devattr, show_pwm_max()
1146 struct device_attribute *devattr, set_pwm_max()
1168 struct device_attribute *devattr, show_pwm_min()
1177 struct device_attribute *devattr, set_pwm_min()
1201 struct device_attribute *devattr, show_pwm_hyst()
1211 struct device_attribute *devattr, set_pwm_hyst()
1240 struct device_attribute *devattr, show_pwm_tmax()
1255 struct device_attribute *devattr, set_pwm_tmax()
1288 struct device_attribute *devattr, show_pwm_tmin()
1297 struct device_attribute *devattr, set_pwm_tmin()
1322 struct device_attribute *devattr, show_pwm_auto()
1354 struct device_attribute *devattr, set_pwm_auto()
1379 struct device_attribute *devattr, show_pwm_auto_temp()
1413 struct device_attribute *devattr, set_pwm_auto_temp()
H A Dasc7621.c177 static ssize_t show_u8(struct device *dev, struct device_attribute *attr, show_u8()
185 static ssize_t store_u8(struct device *dev, struct device_attribute *attr, store_u8()
207 struct device_attribute *attr, char *buf) show_bitmask()
217 struct device_attribute *attr, store_bitmask()
247 struct device_attribute *attr, char *buf) show_fan16()
262 struct device_attribute *attr, const char *buf, store_fan16()
307 static ssize_t show_in10(struct device *dev, struct device_attribute *attr, show_in10()
325 static ssize_t show_in8(struct device *dev, struct device_attribute *attr, show_in8()
336 static ssize_t store_in8(struct device *dev, struct device_attribute *attr, store_in8()
361 struct device_attribute *attr, char *buf) show_temp8()
369 struct device_attribute *attr, const char *buf, store_temp8()
398 struct device_attribute *attr, char *buf) show_temp10()
415 struct device_attribute *attr, char *buf) show_temp62()
425 struct device_attribute *attr, const char *buf, store_temp62()
460 struct device_attribute *attr, char *buf) show_ap2_temp()
479 struct device_attribute *attr, store_ap2_temp()
511 struct device_attribute *attr, char *buf) show_pwm_ac()
530 struct device_attribute *attr, store_pwm_ac()
570 struct device_attribute *attr, char *buf) show_pwm_enable()
599 struct device_attribute *attr, store_pwm_enable()
660 struct device_attribute *attr, char *buf) show_pwm_freq()
672 struct device_attribute *attr, store_pwm_freq()
708 struct device_attribute *attr, char *buf) show_pwm_ast()
721 struct device_attribute *attr, store_pwm_ast()
757 struct device_attribute *attr, char *buf) show_temp_st()
768 struct device_attribute *attr, store_temp_st()
H A Demc2103.c188 show_temp(struct device *dev, struct device_attribute *da, char *buf) show_temp()
198 show_temp_min(struct device *dev, struct device_attribute *da, char *buf) show_temp_min()
207 show_temp_max(struct device *dev, struct device_attribute *da, char *buf) show_temp_max()
216 show_temp_fault(struct device *dev, struct device_attribute *da, char *buf) show_temp_fault()
225 show_temp_min_alarm(struct device *dev, struct device_attribute *da, char *buf) show_temp_min_alarm()
234 show_temp_max_alarm(struct device *dev, struct device_attribute *da, char *buf) show_temp_max_alarm()
242 static ssize_t set_temp_min(struct device *dev, struct device_attribute *da, set_temp_min()
264 static ssize_t set_temp_max(struct device *dev, struct device_attribute *da, set_temp_max()
287 show_fan(struct device *dev, struct device_attribute *da, char *buf) show_fan()
297 show_fan_div(struct device *dev, struct device_attribute *da, char *buf) show_fan_div()
310 static ssize_t set_fan_div(struct device *dev, struct device_attribute *da, set_fan_div()
372 show_fan_target(struct device *dev, struct device_attribute *da, char *buf) show_fan_target()
385 static ssize_t set_fan_target(struct device *dev, struct device_attribute *da, set_fan_target()
415 show_fan_fault(struct device *dev, struct device_attribute *da, char *buf) show_fan_fault()
423 show_pwm_enable(struct device *dev, struct device_attribute *da, char *buf) show_pwm_enable()
429 static ssize_t set_pwm_enable(struct device *dev, struct device_attribute *da, set_pwm_enable()
H A Dg760a.c110 static ssize_t show_fan(struct device *dev, struct device_attribute *da, show_fan()
124 static ssize_t show_fan_alarm(struct device *dev, struct device_attribute *da, show_fan_alarm()
134 static ssize_t get_pwm(struct device *dev, struct device_attribute *da, get_pwm()
142 static ssize_t set_pwm(struct device *dev, struct device_attribute *da, set_pwm()
H A Dmenf21bmc_hwmon.c104 show_label(struct device *dev, struct device_attribute *devattr, char *buf) show_label()
112 show_in(struct device *dev, struct device_attribute *devattr, char *buf) show_in()
124 show_min(struct device *dev, struct device_attribute *devattr, char *buf) show_min()
133 show_max(struct device *dev, struct device_attribute *devattr, char *buf) show_max()
H A Dsmsc47m192.c181 static ssize_t show_in(struct device *dev, struct device_attribute *attr, show_in()
190 static ssize_t show_in_min(struct device *dev, struct device_attribute *attr, show_in_min()
199 static ssize_t show_in_max(struct device *dev, struct device_attribute *attr, show_in_max()
208 static ssize_t set_in_min(struct device *dev, struct device_attribute *attr, set_in_min()
230 static ssize_t set_in_max(struct device *dev, struct device_attribute *attr, set_in_max()
270 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, show_temp()
279 static ssize_t show_temp_min(struct device *dev, struct device_attribute *attr, show_temp_min()
288 static ssize_t show_temp_max(struct device *dev, struct device_attribute *attr, show_temp_max()
297 static ssize_t set_temp_min(struct device *dev, struct device_attribute *attr, set_temp_min()
319 static ssize_t set_temp_max(struct device *dev, struct device_attribute *attr, set_temp_max()
341 static ssize_t show_temp_offset(struct device *dev, struct device_attribute show_temp_offset()
350 static ssize_t set_temp_offset(struct device *dev, struct device_attribute set_temp_offset()
402 static ssize_t show_vid(struct device *dev, struct device_attribute *attr, show_vid()
410 static ssize_t show_vrm(struct device *dev, struct device_attribute *attr, show_vrm()
417 static ssize_t set_vrm(struct device *dev, struct device_attribute *attr, set_vrm()
436 static ssize_t show_alarm(struct device *dev, struct device_attribute *attr, show_alarm()
H A Dabx500.c124 static ssize_t show_name(struct device *dev, struct device_attribute *devattr, show_name()
133 struct device_attribute *devattr, char *buf) show_label()
141 struct device_attribute *devattr, char *buf) show_input()
156 static ssize_t set_min(struct device *dev, struct device_attribute *devattr, set_min()
176 static ssize_t set_max(struct device *dev, struct device_attribute *devattr, set_max()
197 struct device_attribute *devattr, set_max_hyst()
219 struct device_attribute *devattr, char *buf) show_min()
228 struct device_attribute *devattr, char *buf) show_max()
237 struct device_attribute *devattr, char *buf) show_max_hyst()
246 struct device_attribute *devattr, char *buf) show_min_alarm()
255 struct device_attribute *devattr, char *buf) show_max_alarm()
H A Dwm8350-hwmon.c38 struct device_attribute *attr, char *buf) show_voltage()
51 struct device_attribute *attr, char *buf) show_label()
H A Datxp1.c88 struct device_attribute *attr, char *buf) atxp1_showvcore()
102 struct device_attribute *attr, atxp1_storevcore()
165 struct device_attribute *attr, char *buf) atxp1_showgpio1()
178 struct device_attribute *attr, const char *buf, atxp1_storegpio1()
211 struct device_attribute *attr, char *buf) atxp1_showgpio2()
224 struct device_attribute *attr, atxp1_storegpio2()
H A Dlm87.c279 static ssize_t show_in_input(struct device *dev, struct device_attribute *attr, show_in_input()
290 struct device_attribute *attr, char *buf) show_in_min()
300 struct device_attribute *attr, char *buf) show_in_max()
309 static ssize_t set_in_min(struct device *dev, struct device_attribute *attr, set_in_min()
330 static ssize_t set_in_max(struct device *dev, struct device_attribute *attr, set_in_max()
368 struct device_attribute *attr, char *buf) show_temp_input()
377 struct device_attribute *attr, char *buf) show_temp_low()
387 struct device_attribute *attr, char *buf) show_temp_high()
396 static ssize_t set_temp_low(struct device *dev, struct device_attribute *attr, set_temp_low()
416 static ssize_t set_temp_high(struct device *dev, struct device_attribute *attr, set_temp_high()
448 struct device_attribute *attr, char *buf) show_temp_crit_int()
455 struct device_attribute *attr, char *buf) show_temp_crit_ext()
466 struct device_attribute *attr, char *buf) show_fan_input()
476 struct device_attribute *attr, char *buf) show_fan_min()
486 struct device_attribute *attr, char *buf) show_fan_div()
495 static ssize_t set_fan_min(struct device *dev, struct device_attribute *attr, set_fan_min()
522 static ssize_t set_fan_div(struct device *dev, struct device_attribute *attr, set_fan_div()
588 static ssize_t show_alarms(struct device *dev, struct device_attribute *attr, show_alarms()
596 static ssize_t show_vid(struct device *dev, struct device_attribute *attr, show_vid()
604 static ssize_t show_vrm(struct device *dev, struct device_attribute *attr, show_vrm()
610 static ssize_t set_vrm(struct device *dev, struct device_attribute *attr, set_vrm()
629 static ssize_t show_aout(struct device *dev, struct device_attribute *attr, show_aout()
635 static ssize_t set_aout(struct device *dev, struct device_attribute *attr, set_aout()
655 static ssize_t show_alarm(struct device *dev, struct device_attribute *attr, show_alarm()
H A Dlm95234.c214 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, show_temp()
229 struct device_attribute *attr, char *buf) show_alarm()
241 static ssize_t show_type(struct device *dev, struct device_attribute *attr, show_type()
254 static ssize_t set_type(struct device *dev, struct device_attribute *attr, set_type()
285 static ssize_t show_tcrit2(struct device *dev, struct device_attribute *attr, show_tcrit2()
298 static ssize_t set_tcrit2(struct device *dev, struct device_attribute *attr, set_tcrit2()
324 struct device_attribute *attr, char *buf) show_tcrit2_hyst()
338 static ssize_t show_tcrit1(struct device *dev, struct device_attribute *attr, show_tcrit1()
347 static ssize_t set_tcrit1(struct device *dev, struct device_attribute *attr, set_tcrit1()
373 struct device_attribute *attr, char *buf) show_tcrit1_hyst()
388 struct device_attribute *attr, set_tcrit1_hyst()
414 static ssize_t show_offset(struct device *dev, struct device_attribute *attr, show_offset()
427 static ssize_t set_offset(struct device *dev, struct device_attribute *attr, set_offset()
453 static ssize_t show_interval(struct device *dev, struct device_attribute *attr, show_interval()
466 static ssize_t set_interval(struct device *dev, struct device_attribute *attr, set_interval()
H A Dadm1025.c177 show_in(struct device *dev, struct device_attribute *attr, char *buf) show_in()
186 show_in_min(struct device *dev, struct device_attribute *attr, char *buf) show_in_min()
195 show_in_max(struct device *dev, struct device_attribute *attr, char *buf) show_in_max()
204 show_temp(struct device *dev, struct device_attribute *attr, char *buf) show_temp()
212 show_temp_min(struct device *dev, struct device_attribute *attr, char *buf) show_temp_min()
220 show_temp_max(struct device *dev, struct device_attribute *attr, char *buf) show_temp_max()
227 static ssize_t set_in_min(struct device *dev, struct device_attribute *attr, set_in_min()
248 static ssize_t set_in_max(struct device *dev, struct device_attribute *attr, set_in_max()
283 static ssize_t set_temp_min(struct device *dev, struct device_attribute *attr, set_temp_min()
304 static ssize_t set_temp_max(struct device *dev, struct device_attribute *attr, set_temp_max()
336 show_alarms(struct device *dev, struct device_attribute *attr, char *buf) show_alarms()
344 show_alarm(struct device *dev, struct device_attribute *attr, char *buf) show_alarm()
361 show_vid(struct device *dev, struct device_attribute *attr, char *buf) show_vid()
369 show_vrm(struct device *dev, struct device_attribute *attr, char *buf) show_vrm()
374 static ssize_t set_vrm(struct device *dev, struct device_attribute *attr, set_vrm()
H A Dlm93.c1114 static ssize_t show_in(struct device *dev, struct device_attribute *attr, show_in()
1141 struct device_attribute *attr, char *buf) show_in_min()
1157 static ssize_t store_in_min(struct device *dev, struct device_attribute *attr, store_in_min()
1222 struct device_attribute *attr, char *buf) show_in_max()
1238 static ssize_t store_in_max(struct device *dev, struct device_attribute *attr, store_in_max()
1303 struct device_attribute *attr, char *buf) show_temp()
1315 struct device_attribute *attr, char *buf) show_temp_min()
1322 static ssize_t store_temp_min(struct device *dev, struct device_attribute *attr, store_temp_min()
1350 struct device_attribute *attr, char *buf) show_temp_max()
1357 static ssize_t store_temp_max(struct device *dev, struct device_attribute *attr, store_temp_max()
1385 struct device_attribute *attr, char *buf) show_temp_auto_base()
1393 struct device_attribute *attr, store_temp_auto_base()
1421 struct device_attribute *attr, char *buf) show_temp_auto_boost()
1429 struct device_attribute *attr, store_temp_auto_boost()
1457 struct device_attribute *attr, show_temp_auto_boost_hyst()
1468 struct device_attribute *attr, store_temp_auto_boost_hyst()
1504 struct device_attribute *attr, char *buf) show_temp_auto_offset()
1517 struct device_attribute *attr, store_temp_auto_offset()
1619 struct device_attribute *attr, char *buf) show_temp_auto_pwm_min()
1631 struct device_attribute *attr, store_temp_auto_pwm_min()
1669 struct device_attribute *attr, char *buf) show_temp_auto_offset_hyst()
1679 struct device_attribute *attr, store_temp_auto_offset_hyst()
1717 struct device_attribute *attr, char *buf) show_fan_input()
1732 struct device_attribute *attr, char *buf) show_fan_min()
1740 static ssize_t store_fan_min(struct device *dev, struct device_attribute *attr, store_fan_min()
1784 struct device_attribute *attr, char *buf) show_fan_smart_tach()
1823 struct device_attribute *attr, store_fan_smart_tach()
1861 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, show_pwm()
1879 static ssize_t store_pwm(struct device *dev, struct device_attribute *attr, store_pwm()
1911 struct device_attribute *attr, char *buf) show_pwm_enable()
1927 struct device_attribute *attr, store_pwm_enable()
1969 static ssize_t show_pwm_freq(struct device *dev, struct device_attribute *attr, show_pwm_freq()
2005 struct device_attribute *attr, store_pwm_freq()
2037 struct device_attribute *attr, char *buf) show_pwm_auto_channels()
2045 struct device_attribute *attr, store_pwm_auto_channels()
2072 struct device_attribute *attr, char *buf) show_pwm_auto_spinup_min()
2086 struct device_attribute *attr, store_pwm_auto_spinup_min()
2120 struct device_attribute *attr, char *buf) show_pwm_auto_spinup_time()
2129 struct device_attribute *attr, store_pwm_auto_spinup_time()
2160 struct device_attribute *attr, char *buf) show_pwm_auto_prochot_ramp()
2168 struct device_attribute *attr, store_pwm_auto_prochot_ramp()
2194 struct device_attribute *attr, char *buf) show_pwm_auto_vrdhot_ramp()
2202 struct device_attribute *attr, store_pwm_auto_vrdhot_ramp()
2227 static ssize_t show_vid(struct device *dev, struct device_attribute *attr, show_vid()
2238 static ssize_t show_prochot(struct device *dev, struct device_attribute *attr, show_prochot()
2250 struct device_attribute *attr, char *buf) show_prochot_avg()
2261 struct device_attribute *attr, char *buf) show_prochot_max()
2269 struct device_attribute *attr, store_prochot_max()
2298 struct device_attribute *attr, char *buf) show_prochot_override()
2307 struct device_attribute *attr, store_prochot_override()
2337 struct device_attribute *attr, char *buf) show_prochot_interval()
2350 struct device_attribute *attr, store_prochot_interval()
2382 struct device_attribute *attr, show_prochot_override_duty_cycle()
2390 struct device_attribute *attr, store_prochot_override_duty_cycle()
2416 struct device_attribute *attr, char *buf) show_prochot_short()
2423 struct device_attribute *attr, store_prochot_short()
2448 static ssize_t show_vrdhot(struct device *dev, struct device_attribute *attr, show_vrdhot()
2460 static ssize_t show_gpio(struct device *dev, struct device_attribute *attr, show_gpio()
2469 static ssize_t show_alarms(struct device *dev, struct device_attribute *attr, show_alarms()
H A Dgpio-fan.c81 struct device_attribute *attr, char *buf) show_fan_alarm()
192 struct device_attribute *attr, char *buf) show_pwm()
200 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, set_pwm()
228 struct device_attribute *attr, char *buf) show_pwm_enable()
235 static ssize_t set_pwm_enable(struct device *dev, struct device_attribute *attr, set_pwm_enable()
261 struct device_attribute *attr, char *buf) show_pwm_mode()
267 struct device_attribute *attr, char *buf) show_rpm_min()
275 struct device_attribute *attr, char *buf) show_rpm_max()
284 struct device_attribute *attr, char *buf) show_rpm()
291 static ssize_t set_rpm(struct device *dev, struct device_attribute *attr, set_rpm()
H A Di5k_amb.c117 static ssize_t show_name(struct device *dev, struct device_attribute *devattr, show_name()
140 struct device_attribute *devattr, show_amb_alarm()
154 struct device_attribute *devattr, store_amb_min()
174 struct device_attribute *devattr, store_amb_mid()
194 struct device_attribute *devattr, store_amb_max()
214 struct device_attribute *devattr, show_amb_min()
224 struct device_attribute *devattr, show_amb_mid()
234 struct device_attribute *devattr, show_amb_max()
244 struct device_attribute *devattr, show_amb_temp()
254 struct device_attribute *devattr, show_label()
H A Dsch5627.c208 static ssize_t show_name(struct device *dev, struct device_attribute *devattr, show_name()
214 static ssize_t show_temp(struct device *dev, struct device_attribute show_temp()
228 static ssize_t show_temp_fault(struct device *dev, struct device_attribute show_temp_fault()
240 static ssize_t show_temp_max(struct device *dev, struct device_attribute show_temp_max()
251 static ssize_t show_temp_crit(struct device *dev, struct device_attribute show_temp_crit()
262 static ssize_t show_fan(struct device *dev, struct device_attribute show_fan()
279 static ssize_t show_fan_fault(struct device *dev, struct device_attribute show_fan_fault()
292 static ssize_t show_fan_min(struct device *dev, struct device_attribute show_fan_min()
304 static ssize_t show_in(struct device *dev, struct device_attribute show_in()
320 static ssize_t show_in_label(struct device *dev, struct device_attribute show_in_label()
H A Dw83791d.c367 static ssize_t show_##reg(struct device *dev, struct device_attribute *attr, \
383 struct device_attribute *attr, \
445 static ssize_t show_beep(struct device *dev, struct device_attribute *attr, show_beep()
456 static ssize_t store_beep(struct device *dev, struct device_attribute *attr, store_beep()
491 static ssize_t show_alarm(struct device *dev, struct device_attribute *attr, show_alarm()
533 static ssize_t show_##reg(struct device *dev, struct device_attribute *attr, \
547 static ssize_t store_fan_min(struct device *dev, struct device_attribute *attr, store_fan_min()
569 static ssize_t show_fan_div(struct device *dev, struct device_attribute *attr, show_fan_div()
584 static ssize_t store_fan_div(struct device *dev, struct device_attribute *attr, store_fan_div()
725 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, show_pwm()
734 static ssize_t store_pwm(struct device *dev, struct device_attribute *attr, store_pwm()
766 static ssize_t show_pwmenable(struct device *dev, struct device_attribute *attr, show_pwmenable()
776 struct device_attribute *attr, const char *buf, size_t count) store_pwmenable()
833 struct device_attribute *attr, char *buf) show_temp_target()
842 struct device_attribute *attr, const char *buf, size_t count) store_temp_target()
874 struct device_attribute *attr, char *buf) show_temp_tolerance()
883 struct device_attribute *attr, const char *buf, size_t count) store_temp_tolerance()
936 static ssize_t show_temp1(struct device *dev, struct device_attribute *devattr, show_temp1()
944 static ssize_t store_temp1(struct device *dev, struct device_attribute *devattr, store_temp1()
966 static ssize_t show_temp23(struct device *dev, struct device_attribute *devattr, show_temp23()
977 struct device_attribute *devattr, store_temp23()
1045 struct device_attribute *attr, char *buf) show_alarms_reg()
1059 struct device_attribute *attr, char *buf) show_beep_enable()
1066 struct device_attribute *attr, char *buf) show_beep_mask()
1074 struct device_attribute *attr, store_beep_mask()
1109 struct device_attribute *attr, store_beep_enable()
1151 struct device_attribute *attr, char *buf) show_vid_reg()
1160 struct device_attribute *attr, char *buf) show_vrm_reg()
1167 struct device_attribute *attr, store_vrm_reg()
H A Dw83792d.c359 static ssize_t show_in(struct device *dev, struct device_attribute *attr, show_in()
370 static ssize_t show_##reg(struct device *dev, struct device_attribute *attr, \
386 struct device_attribute *attr, \
410 static ssize_t show_##reg(struct device *dev, struct device_attribute *attr, \
425 store_fan_min(struct device *dev, struct device_attribute *attr, store_fan_min()
449 show_fan_div(struct device *dev, struct device_attribute *attr, show_fan_div()
465 store_fan_div(struct device *dev, struct device_attribute *attr, store_fan_div()
507 static ssize_t show_temp1(struct device *dev, struct device_attribute *attr, show_temp1()
516 static ssize_t store_temp1(struct device *dev, struct device_attribute *attr, store_temp1()
541 static ssize_t show_temp23(struct device *dev, struct device_attribute *attr, show_temp23()
554 static ssize_t store_temp23(struct device *dev, struct device_attribute *attr, store_temp23()
584 show_alarms_reg(struct device *dev, struct device_attribute *attr, char *buf) show_alarms_reg()
591 struct device_attribute *attr, char *buf) show_alarm()
600 show_pwm(struct device *dev, struct device_attribute *attr, show_pwm()
610 show_pwmenable(struct device *dev, struct device_attribute *attr, show_pwmenable()
634 store_pwm(struct device *dev, struct device_attribute *attr, store_pwm()
659 store_pwmenable(struct device *dev, struct device_attribute *attr, store_pwmenable()
701 show_pwm_mode(struct device *dev, struct device_attribute *attr, show_pwm_mode()
711 store_pwm_mode(struct device *dev, struct device_attribute *attr, store_pwm_mode()
741 show_chassis_clear(struct device *dev, struct device_attribute *attr, show_chassis_clear()
749 store_chassis_clear(struct device *dev, struct device_attribute *attr, store_chassis_clear()
771 show_thermal_cruise(struct device *dev, struct device_attribute *attr, show_thermal_cruise()
781 store_thermal_cruise(struct device *dev, struct device_attribute *attr, store_thermal_cruise()
811 show_tolerance(struct device *dev, struct device_attribute *attr, show_tolerance()
821 store_tolerance(struct device *dev, struct device_attribute *attr, store_tolerance()
853 show_sf2_point(struct device *dev, struct device_attribute *attr, show_sf2_point()
865 store_sf2_point(struct device *dev, struct device_attribute *attr, store_sf2_point()
894 show_sf2_level(struct device *dev, struct device_attribute *attr, show_sf2_level()
907 store_sf2_level(struct device *dev, struct device_attribute *attr, store_sf2_level()
H A Dw83l786ng.c237 show_##reg(struct device *dev, struct device_attribute *attr, \
251 store_in_##reg(struct device *dev, struct device_attribute *attr, \
291 static ssize_t show_##reg(struct device *dev, struct device_attribute *attr, \
304 store_fan_min(struct device *dev, struct device_attribute *attr, store_fan_min()
327 show_fan_div(struct device *dev, struct device_attribute *attr, show_fan_div()
342 store_fan_div(struct device *dev, struct device_attribute *attr, store_fan_div()
419 show_temp(struct device *dev, struct device_attribute *attr, char *buf) show_temp()
430 store_temp(struct device *dev, struct device_attribute *attr, store_temp()
475 static ssize_t show_##reg(struct device *dev, struct device_attribute *attr, \
488 store_pwm_mode(struct device *dev, struct device_attribute *attr, store_pwm_mode()
516 store_pwm(struct device *dev, struct device_attribute *attr, store_pwm()
540 store_pwm_enable(struct device *dev, struct device_attribute *attr, store_pwm_enable()
588 show_tolerance(struct device *dev, struct device_attribute *attr, char *buf) show_tolerance()
596 store_tolerance(struct device *dev, struct device_attribute *attr, store_tolerance()
H A Dlm92.c145 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, show_temp()
154 static ssize_t set_temp(struct device *dev, struct device_attribute *devattr, set_temp()
176 struct device_attribute *devattr, char *buf) show_temp_hyst()
185 struct device_attribute *attr, char *buf) show_temp_min_hyst()
193 struct device_attribute *devattr, set_temp_hyst()
216 static ssize_t show_alarms(struct device *dev, struct device_attribute *attr, show_alarms()
223 static ssize_t show_alarm(struct device *dev, struct device_attribute *attr, show_alarm()
H A Dmax1668.c144 struct device_attribute *devattr, char *buf) show_temp()
156 struct device_attribute *devattr, char *buf) show_temp_max()
168 struct device_attribute *devattr, char *buf) show_temp_min()
179 static ssize_t show_alarm(struct device *dev, struct device_attribute *attr, show_alarm()
192 struct device_attribute *devattr, char *buf) show_fault()
205 struct device_attribute *devattr, set_temp_max()
231 struct device_attribute *devattr, set_temp_min()
H A Dw83627hf.c485 show_in_input(struct device *dev, struct device_attribute *devattr, char *buf) show_in_input()
492 show_in_min(struct device *dev, struct device_attribute *devattr, char *buf) show_in_min()
499 show_in_max(struct device *dev, struct device_attribute *devattr, char *buf) show_in_max()
506 store_in_min(struct device *dev, struct device_attribute *devattr, store_in_min()
525 store_in_max(struct device *dev, struct device_attribute *devattr, store_in_max()
578 static ssize_t show_regs_in_0(struct device *dev, struct device_attribute *attr, char *buf) show_regs_in_0()
584 static ssize_t show_regs_in_min0(struct device *dev, struct device_attribute *attr, char *buf) show_regs_in_min0()
590 static ssize_t show_regs_in_max0(struct device *dev, struct device_attribute *attr, char *buf) show_regs_in_max0()
596 static ssize_t store_regs_in_min0(struct device *dev, struct device_attribute *attr, store_regs_in_min0()
625 static ssize_t store_regs_in_max0(struct device *dev, struct device_attribute *attr, store_regs_in_max0()
661 show_fan_input(struct device *dev, struct device_attribute *devattr, char *buf) show_fan_input()
669 show_fan_min(struct device *dev, struct device_attribute *devattr, char *buf) show_fan_min()
677 store_fan_min(struct device *dev, struct device_attribute *devattr, store_fan_min()
708 show_temp(struct device *dev, struct device_attribute *devattr, char *buf) show_temp()
719 show_temp_max(struct device *dev, struct device_attribute *devattr, show_temp_max()
731 show_temp_max_hyst(struct device *dev, struct device_attribute *devattr, show_temp_max_hyst()
743 store_temp_max(struct device *dev, struct device_attribute *devattr, store_temp_max()
765 store_temp_max_hyst(struct device *dev, struct device_attribute *devattr, store_temp_max_hyst()
799 show_vid_reg(struct device *dev, struct device_attribute *attr, char *buf) show_vid_reg()
807 show_vrm_reg(struct device *dev, struct device_attribute *attr, char *buf) show_vrm_reg()
813 store_vrm_reg(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_vrm_reg()
832 show_alarms_reg(struct device *dev, struct device_attribute *attr, char *buf) show_alarms_reg()
840 show_alarm(struct device *dev, struct device_attribute *attr, char *buf) show_alarm()
863 show_beep_mask(struct device *dev, struct device_attribute *attr, char *buf) show_beep_mask()
871 store_beep_mask(struct device *dev, struct device_attribute *attr, store_beep_mask()
902 show_beep(struct device *dev, struct device_attribute *attr, char *buf) show_beep()
910 store_beep(struct device *dev, struct device_attribute *attr, store_beep()
993 show_fan_div(struct device *dev, struct device_attribute *devattr, char *buf) show_fan_div()
1007 store_fan_div(struct device *dev, struct device_attribute *devattr, store_fan_div()
1055 show_pwm(struct device *dev, struct device_attribute *devattr, char *buf) show_pwm()
1063 store_pwm(struct device *dev, struct device_attribute *devattr, store_pwm()
1101 show_pwm_enable(struct device *dev, struct device_attribute *devattr, char *buf) show_pwm_enable()
1109 store_pwm_enable(struct device *dev, struct device_attribute *devattr, store_pwm_enable()
1142 show_pwm_freq(struct device *dev, struct device_attribute *devattr, char *buf) show_pwm_freq()
1155 store_pwm_freq(struct device *dev, struct device_attribute *devattr, store_pwm_freq()
1194 show_temp_type(struct device *dev, struct device_attribute *devattr, show_temp_type()
1203 store_temp_type(struct device *dev, struct device_attribute *devattr, store_temp_type()
1267 show_name(struct device *dev, struct device_attribute *devattr, char *buf) show_name()
H A Dlm63.c343 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, show_fan()
351 static ssize_t set_fan(struct device *dev, struct device_attribute *dummy, set_fan()
373 static ssize_t show_pwm1(struct device *dev, struct device_attribute *devattr, show_pwm1()
391 static ssize_t set_pwm1(struct device *dev, struct device_attribute *devattr, set_pwm1()
421 struct device_attribute *dummy, char *buf) show_pwm1_enable()
428 struct device_attribute *dummy, set_pwm1_enable()
469 struct device_attribute *devattr, show_local_temp8()
478 struct device_attribute *devattr, show_remote_temp8()
488 struct device_attribute *devattr, show_lut_temp()
497 static ssize_t set_temp8(struct device *dev, struct device_attribute *devattr, set_temp8()
536 static ssize_t show_temp11(struct device *dev, struct device_attribute *devattr, show_temp11()
562 static ssize_t set_temp11(struct device *dev, struct device_attribute *devattr, set_temp11()
604 struct device_attribute *dummy, char *buf) show_temp2_crit_hyst()
613 struct device_attribute *devattr, char *buf) show_lut_temp_hyst()
628 struct device_attribute *dummy, set_temp2_crit_hyst()
674 struct device_attribute *attr, char *buf) show_update_interval()
682 struct device_attribute *attr, set_update_interval()
700 static ssize_t show_type(struct device *dev, struct device_attribute *attr, show_type()
708 static ssize_t set_type(struct device *dev, struct device_attribute *attr, set_type()
734 static ssize_t show_alarms(struct device *dev, struct device_attribute *dummy, show_alarms()
741 static ssize_t show_alarm(struct device *dev, struct device_attribute *devattr, show_alarm()
H A Dsch5636.c173 static ssize_t show_name(struct device *dev, struct device_attribute *devattr, show_name()
179 static ssize_t show_in_value(struct device *dev, struct device_attribute show_in_value()
195 static ssize_t show_in_label(struct device *dev, struct device_attribute show_in_label()
204 static ssize_t show_temp_value(struct device *dev, struct device_attribute show_temp_value()
218 static ssize_t show_temp_fault(struct device *dev, struct device_attribute show_temp_fault()
232 static ssize_t show_temp_alarm(struct device *dev, struct device_attribute show_temp_alarm()
246 static ssize_t show_fan_value(struct device *dev, struct device_attribute show_fan_value()
263 static ssize_t show_fan_fault(struct device *dev, struct device_attribute show_fan_fault()
277 static ssize_t show_fan_alarm(struct device *dev, struct device_attribute show_fan_alarm()
H A Dw83795.c714 show_alarm_beep(struct device *dev, struct device_attribute *attr, char *buf) show_alarm_beep()
733 store_beep(struct device *dev, struct device_attribute *attr, store_beep()
763 struct device_attribute *attr, const char *buf, store_chassis_clear()
788 show_fan(struct device *dev, struct device_attribute *attr, char *buf) show_fan()
806 store_fan_min(struct device *dev, struct device_attribute *attr, store_fan_min()
839 show_pwm(struct device *dev, struct device_attribute *attr, char *buf) show_pwm()
867 store_pwm(struct device *dev, struct device_attribute *attr, store_pwm()
900 show_pwm_enable(struct device *dev, struct device_attribute *attr, char *buf) show_pwm_enable()
928 store_pwm_enable(struct device *dev, struct device_attribute *attr, store_pwm_enable()
975 show_pwm_mode(struct device *dev, struct device_attribute *attr, char *buf) show_pwm_mode()
1011 show_temp_src(struct device *dev, struct device_attribute *attr, char *buf) show_temp_src()
1032 store_temp_src(struct device *dev, struct device_attribute *attr, store_temp_src()
1073 show_temp_pwm_enable(struct device *dev, struct device_attribute *attr, show_temp_pwm_enable()
1100 store_temp_pwm_enable(struct device *dev, struct device_attribute *attr, store_temp_pwm_enable()
1139 show_fanin(struct device *dev, struct device_attribute *attr, char *buf) show_fanin()
1161 store_fanin(struct device *dev, struct device_attribute *attr, store_fanin()
1196 show_temp_pwm(struct device *dev, struct device_attribute *attr, char *buf) show_temp_pwm()
1209 store_temp_pwm(struct device *dev, struct device_attribute *attr, store_temp_pwm()
1257 show_sf4_pwm(struct device *dev, struct device_attribute *attr, char *buf) show_sf4_pwm()
1269 store_sf4_pwm(struct device *dev, struct device_attribute *attr, store_sf4_pwm()
1292 show_sf4_temp(struct device *dev, struct device_attribute *attr, char *buf) show_sf4_temp()
1305 store_sf4_temp(struct device *dev, struct device_attribute *attr, store_sf4_temp()
1330 show_temp(struct device *dev, struct device_attribute *attr, char *buf) show_temp()
1345 store_temp(struct device *dev, struct device_attribute *attr, store_temp()
1368 show_dts_mode(struct device *dev, struct device_attribute *attr, char *buf) show_dts_mode()
1382 show_dts(struct device *dev, struct device_attribute *attr, char *buf) show_dts()
1395 show_dts_ext(struct device *dev, struct device_attribute *attr, char *buf) show_dts_ext()
1407 store_dts_ext(struct device *dev, struct device_attribute *attr, store_dts_ext()
1429 show_temp_mode(struct device *dev, struct device_attribute *attr, char *buf) show_temp_mode()
1447 store_temp_mode(struct device *dev, struct device_attribute *attr, store_temp_mode()
1488 show_in(struct device *dev, struct device_attribute *attr, char *buf) show_in()
1522 store_in(struct device *dev, struct device_attribute *attr, store_in()
1563 show_sf_setup(struct device *dev, struct device_attribute *attr, char *buf) show_sf_setup()
1582 store_sf_setup(struct device *dev, struct device_attribute *attr, store_sf_setup()
1999 const struct device_attribute *)) w83795_handle_files()
2090 const struct device_attribute *attr) device_remove_file_wrapper()
H A Dadm1021.c160 struct device_attribute *devattr, char *buf) show_temp()
169 struct device_attribute *devattr, char *buf) show_temp_max()
178 struct device_attribute *devattr, char *buf) show_temp_min()
186 static ssize_t show_alarm(struct device *dev, struct device_attribute *attr, show_alarm()
195 struct device_attribute *attr, show_alarms()
203 struct device_attribute *devattr, set_temp_max()
229 struct device_attribute *devattr, set_temp_min()
255 struct device_attribute *devattr, char *buf) show_low_power()
262 struct device_attribute *devattr, set_low_power()
H A Dlm73.c65 static ssize_t set_temp(struct device *dev, struct device_attribute *da, set_temp()
84 static ssize_t show_temp(struct device *dev, struct device_attribute *da, show_temp()
101 static ssize_t set_convrate(struct device *dev, struct device_attribute *da, set_convrate()
136 static ssize_t show_convrate(struct device *dev, struct device_attribute *da, show_convrate()
147 struct device_attribute *da, char *buf) show_maxmin_alarm()
H A Dpcf8591.c93 struct device_attribute *attr, \
107 struct device_attribute *attr, char *buf) show_out0_ouput()
114 struct device_attribute *attr, set_out0_output()
139 struct device_attribute *attr, char *buf) show_out0_enable()
146 struct device_attribute *attr, set_out0_enable()
H A Dadcxx.c61 struct device_attribute *devattr, char *buf) adcxx_read()
98 struct device_attribute *devattr, char *buf) adcxx_show_min()
105 struct device_attribute *devattr, char *buf) adcxx_show_max()
122 struct device_attribute *devattr, const char *buf, size_t count) adcxx_set_max()
141 static ssize_t adcxx_show_name(struct device *dev, struct device_attribute adcxx_show_name()
H A Dadt7411.c112 struct device_attribute *attr, char *buf) adt7411_show_vdd()
123 struct device_attribute *attr, char *buf) adt7411_show_temp()
139 struct device_attribute *attr, char *buf) adt7411_show_input()
182 struct device_attribute *attr, char *buf) adt7411_show_bit()
193 struct device_attribute *attr, const char *buf, adt7411_set_bit()
H A Dapplesmc.c713 struct device_attribute *attr, char *buf) applesmc_name_show()
719 struct device_attribute *attr, char *buf) applesmc_position_show()
742 struct device_attribute *attr, char *sysfsbuf) applesmc_light_show()
781 struct device_attribute *devattr, char *sysfsbuf) applesmc_show_sensor_label()
790 struct device_attribute *devattr, char *sysfsbuf) applesmc_show_temperature()
807 struct device_attribute *attr, char *sysfsbuf) applesmc_show_fan_speed()
826 struct device_attribute *attr, applesmc_store_fan_speed()
850 struct device_attribute *attr, char *sysfsbuf) applesmc_show_fan_manual()
866 struct device_attribute *attr, applesmc_store_fan_manual()
900 struct device_attribute *attr, char *sysfsbuf) applesmc_show_fan_position()
918 struct device_attribute *attr, char *sysfsbuf) applesmc_calibrate_show()
924 struct device_attribute *attr, const char *sysfsbuf, size_t count) applesmc_calibrate_store()
950 struct device_attribute *attr, char *sysfsbuf) applesmc_key_count_show()
967 struct device_attribute *attr, char *sysfsbuf) applesmc_key_at_index_read_show()
983 struct device_attribute *attr, char *sysfsbuf) applesmc_key_at_index_data_length_show()
995 struct device_attribute *attr, char *sysfsbuf) applesmc_key_at_index_type_show()
1007 struct device_attribute *attr, char *sysfsbuf) applesmc_key_at_index_name_show()
1019 struct device_attribute *attr, char *sysfsbuf) applesmc_key_at_index_show()
1025 struct device_attribute *attr, const char *sysfsbuf, size_t count) applesmc_key_at_index_store()
H A Df75375s.c299 static ssize_t set_fan_min(struct device *dev, struct device_attribute *attr, set_fan_min()
319 static ssize_t set_fan_target(struct device *dev, struct device_attribute *attr, set_fan_target()
344 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, set_pwm()
368 static ssize_t show_pwm_enable(struct device *dev, struct device_attribute show_pwm_enable()
440 static ssize_t set_pwm_enable(struct device *dev, struct device_attribute *attr, set_pwm_enable()
459 static ssize_t set_pwm_mode(struct device *dev, struct device_attribute *attr, set_pwm_mode()
503 static ssize_t show_pwm(struct device *dev, struct device_attribute show_pwm()
511 static ssize_t show_pwm_mode(struct device *dev, struct device_attribute show_pwm_mode()
522 static ssize_t show_in(struct device *dev, struct device_attribute *attr, show_in()
530 static ssize_t show_in_max(struct device *dev, struct device_attribute *attr, show_in_max()
538 static ssize_t show_in_min(struct device *dev, struct device_attribute *attr, show_in_min()
546 static ssize_t set_in_max(struct device *dev, struct device_attribute *attr, set_in_max()
567 static ssize_t set_in_min(struct device *dev, struct device_attribute *attr, set_in_min()
591 static ssize_t show_temp11(struct device *dev, struct device_attribute *attr, show_temp11()
599 static ssize_t show_temp_max(struct device *dev, struct device_attribute *attr, show_temp_max()
608 struct device_attribute *attr, char *buf) show_temp_max_hyst()
615 static ssize_t set_temp_max(struct device *dev, struct device_attribute *attr, set_temp_max()
637 struct device_attribute *attr, const char *buf, size_t count) set_temp_max_hyst()
659 static ssize_t show_##thing(struct device *dev, struct device_attribute *attr, \
/linux-4.1.27/arch/powerpc/kernel/
H A Dsysfs.c41 struct device_attribute *attr, store_smt_snooze_delay()
58 struct device_attribute *attr, show_smt_snooze_delay()
116 struct device_attribute *attr, char *buf) show_pw20_state()
144 struct device_attribute *attr, store_pw20_state()
162 struct device_attribute *attr, char *buf) show_pw20_wait_time()
211 struct device_attribute *attr, store_pw20_wait_time()
238 struct device_attribute *attr, char *buf) show_altivec_idle()
266 struct device_attribute *attr, store_altivec_idle()
284 struct device_attribute *attr, char *buf) show_altivec_idle_wait_time()
333 struct device_attribute *attr, store_altivec_idle_wait_time()
420 struct device_attribute *attr, \
429 store_##NAME(struct device *dev, struct device_attribute *attr, \
518 static void add_write_permission_dev_attr(struct device_attribute *attr) add_write_permission_dev_attr()
524 struct device_attribute *attr, char *buf) show_dscr_default()
530 struct device_attribute *attr, const char *buf, store_dscr_default()
597 static struct device_attribute ibm_common_attrs[] = {
604 static struct device_attribute g4_common_attrs[] = {
611 static struct device_attribute classic_pmc_attrs[] = {
625 static struct device_attribute pa6t_attrs[] = {
672 struct device_attribute *attrs, *pmc_attrs; register_cpu_online()
685 nattrs = sizeof(ibm_common_attrs) / sizeof(struct device_attribute); register_cpu_online()
692 nattrs = sizeof(g4_common_attrs) / sizeof(struct device_attribute); register_cpu_online()
700 nattrs = sizeof(pa6t_attrs) / sizeof(struct device_attribute); register_cpu_online()
754 struct device_attribute *attrs, *pmc_attrs; unregister_cpu_online()
769 nattrs = sizeof(ibm_common_attrs) / sizeof(struct device_attribute); unregister_cpu_online()
776 nattrs = sizeof(g4_common_attrs) / sizeof(struct device_attribute); unregister_cpu_online()
784 nattrs = sizeof(pa6t_attrs) / sizeof(struct device_attribute); unregister_cpu_online()
876 int cpu_add_dev_attr(struct device_attribute *attr) cpu_add_dev_attr()
911 void cpu_remove_dev_attr(struct device_attribute *attr) cpu_remove_dev_attr()
978 struct device_attribute *attr, char *buf) show_physical_id()
/linux-4.1.27/drivers/video/fbdev/omap2/omapfb/
H A Domapfb-sysfs.c38 struct device_attribute *attr, char *buf) show_rotate_type()
47 struct device_attribute *attr, store_rotate_type()
93 struct device_attribute *attr, char *buf) show_mirror()
102 struct device_attribute *attr, store_mirror()
144 struct device_attribute *attr, char *buf) show_overlays()
193 static ssize_t store_overlays(struct device *dev, struct device_attribute *attr, store_overlays()
336 struct device_attribute *attr, char *buf) show_overlays_rotate()
359 struct device_attribute *attr, const char *buf, size_t count) store_overlays_rotate()
430 struct device_attribute *attr, char *buf) show_size()
438 static ssize_t store_size(struct device *dev, struct device_attribute *attr, store_size()
508 struct device_attribute *attr, char *buf) show_phys()
517 struct device_attribute *attr, char *buf) show_virt()
526 struct device_attribute *attr, char *buf) show_upd_mode()
540 static ssize_t store_upd_mode(struct device *dev, struct device_attribute *attr, store_upd_mode()
558 static struct device_attribute omapfb_attrs[] = {
/linux-4.1.27/drivers/s390/net/
H A Dqeth_core_sys.c19 struct device_attribute *attr, char *buf) qeth_dev_state_show()
47 struct device_attribute *attr, char *buf) qeth_dev_chpid_show()
59 struct device_attribute *attr, char *buf) qeth_dev_if_name_show()
70 struct device_attribute *attr, char *buf) qeth_dev_card_type_show()
96 struct device_attribute *attr, char *buf) qeth_dev_inbuf_size_show()
108 struct device_attribute *attr, char *buf) qeth_dev_portno_show()
118 struct device_attribute *attr, const char *buf, size_t count) qeth_dev_portno_store()
154 struct device_attribute *attr, char *buf) qeth_dev_portname_show()
171 struct device_attribute *attr, const char *buf, size_t count) qeth_dev_portname_store()
208 struct device_attribute *attr, char *buf) qeth_dev_prioqing_show()
231 struct device_attribute *attr, const char *buf, size_t count) qeth_dev_prioqing_store()
297 struct device_attribute *attr, char *buf) qeth_dev_bufcnt_show()
308 struct device_attribute *attr, const char *buf, size_t count) qeth_dev_bufcnt_store()
341 struct device_attribute *attr, const char *buf, size_t count) qeth_dev_recover_store()
363 struct device_attribute *attr, char *buf) qeth_dev_performance_stats_show()
374 struct device_attribute *attr, const char *buf, size_t count) qeth_dev_performance_stats_store()
405 struct device_attribute *attr, char *buf) qeth_dev_layer2_show()
416 struct device_attribute *attr, const char *buf, size_t count) qeth_dev_layer2_store()
473 struct device_attribute *attr, char *buf) qeth_dev_isolation_show()
493 struct device_attribute *attr, const char *buf, size_t count) qeth_dev_isolation_store()
543 struct device_attribute *attr, char *buf) qeth_dev_switch_attrs_show()
578 struct device_attribute *attr, char *buf) qeth_hw_trap_show()
591 struct device_attribute *attr, const char *buf, size_t count) qeth_hw_trap_store()
669 struct device_attribute *attr, char *buf) qeth_dev_blkt_total_show()
677 struct device_attribute *attr, const char *buf, size_t count) qeth_dev_blkt_total_store()
691 struct device_attribute *attr, char *buf) qeth_dev_blkt_inter_show()
699 struct device_attribute *attr, const char *buf, size_t count) qeth_dev_blkt_inter_store()
711 struct device_attribute *attr, char *buf) qeth_dev_blkt_inter_jumbo_show()
720 struct device_attribute *attr, const char *buf, size_t count) qeth_dev_blkt_inter_jumbo_store()
H A Dctcm_sysfs.c24 struct device_attribute *attr, char *buf) ctcm_buffer_show()
34 struct device_attribute *attr, const char *buf, size_t count) ctcm_buffer_write()
113 struct device_attribute *attr, char *buf) stats_show()
124 static ssize_t stats_write(struct device *dev, struct device_attribute *attr, stats_write()
137 struct device_attribute *attr, char *buf) ctcm_proto_show()
147 struct device_attribute *attr, const char *buf, size_t count) ctcm_proto_store()
177 struct device_attribute *attr, char *buf) ctcm_type_show()
H A Dqeth_l2_sys.c12 struct device_attribute dev_attr_##_id = __ATTR(_name, _mode, _show, _store)
15 struct device_attribute *attr, char *buf, qeth_bridge_port_role_state_show()
68 struct device_attribute *attr, char *buf) qeth_bridge_port_role_show()
74 struct device_attribute *attr, const char *buf, size_t count) qeth_bridge_port_role_store()
109 struct device_attribute *attr, char *buf) qeth_bridge_port_state_show()
118 struct device_attribute *attr, char *buf) qeth_bridgeport_hostnotification_show()
136 struct device_attribute *attr, const char *buf, size_t count) qeth_bridgeport_hostnotification_store()
H A Dqeth_l3_sys.c14 struct device_attribute dev_attr_##_id = __ATTR(_name, _mode, _show, _store)
45 struct device_attribute *attr, char *buf) qeth_l3_dev_route4_show()
94 struct device_attribute *attr, const char *buf, size_t count) qeth_l3_dev_route4_store()
109 struct device_attribute *attr, char *buf) qeth_l3_dev_route6_show()
120 struct device_attribute *attr, const char *buf, size_t count) qeth_l3_dev_route6_store()
135 struct device_attribute *attr, char *buf) qeth_l3_dev_fake_broadcast_show()
146 struct device_attribute *attr, const char *buf, size_t count) qeth_l3_dev_fake_broadcast_store()
176 struct device_attribute *attr, char *buf) qeth_l3_dev_sniffer_show()
187 struct device_attribute *attr, const char *buf, size_t count) qeth_l3_dev_sniffer_store()
241 struct device_attribute *attr, char *buf) qeth_l3_dev_hsuid_show()
261 struct device_attribute *attr, const char *buf, size_t count) qeth_l3_dev_hsuid_store()
356 struct device_attribute *attr, char *buf) qeth_l3_dev_ipato_enable_show()
367 struct device_attribute *attr, const char *buf, size_t count) qeth_l3_dev_ipato_enable_store()
414 struct device_attribute *attr, char *buf) qeth_l3_dev_ipato_invert4_show()
425 struct device_attribute *attr, qeth_l3_dev_ipato_invert4_store()
483 struct device_attribute *attr, char *buf) qeth_l3_dev_ipato_add4_show()
551 struct device_attribute *attr, const char *buf, size_t count) qeth_l3_dev_ipato_add4_store()
581 struct device_attribute *attr, const char *buf, size_t count) qeth_l3_dev_ipato_del4_store()
595 struct device_attribute *attr, char *buf) qeth_l3_dev_ipato_invert6_show()
606 struct device_attribute *attr, const char *buf, size_t count) qeth_l3_dev_ipato_invert6_store()
633 struct device_attribute *attr, char *buf) qeth_l3_dev_ipato_add6_show()
644 struct device_attribute *attr, const char *buf, size_t count) qeth_l3_dev_ipato_add6_store()
659 struct device_attribute *attr, const char *buf, size_t count) qeth_l3_dev_ipato_del6_store()
721 struct device_attribute *attr, char *buf) qeth_l3_dev_vipa_add4_show()
755 struct device_attribute *attr, const char *buf, size_t count) qeth_l3_dev_vipa_add4_store()
784 struct device_attribute *attr, const char *buf, size_t count) qeth_l3_dev_vipa_del4_store()
798 struct device_attribute *attr, char *buf) qeth_l3_dev_vipa_add6_show()
809 struct device_attribute *attr, const char *buf, size_t count) qeth_l3_dev_vipa_add6_store()
824 struct device_attribute *attr, const char *buf, size_t count) qeth_l3_dev_vipa_del6_store()
883 struct device_attribute *attr, char *buf) qeth_l3_dev_rxip_add4_show()
917 struct device_attribute *attr, const char *buf, size_t count) qeth_l3_dev_rxip_add4_store()
946 struct device_attribute *attr, const char *buf, size_t count) qeth_l3_dev_rxip_del4_store()
960 struct device_attribute *attr, char *buf) qeth_l3_dev_rxip_add6_show()
971 struct device_attribute *attr, const char *buf, size_t count) qeth_l3_dev_rxip_add6_store()
986 struct device_attribute *attr, const char *buf, size_t count) qeth_l3_dev_rxip_del6_store()
/linux-4.1.27/drivers/scsi/bnx2i/
H A Dbnx2i_sysfs.c39 struct device_attribute *attr, char *buf) bnx2i_show_sq_info()
58 struct device_attribute *attr, bnx2i_set_sq_info()
95 struct device_attribute *attr, char *buf) bnx2i_show_ccell_info()
112 struct device_attribute *attr, bnx2i_set_ccell_info()
141 struct device_attribute *bnx2i_dev_attributes[] = {
/linux-4.1.27/drivers/pwm/
H A Dsysfs.c44 struct device_attribute *attr, pwm_period_show()
53 struct device_attribute *attr, pwm_period_store()
70 struct device_attribute *attr, pwm_duty_cycle_show()
79 struct device_attribute *attr, pwm_duty_cycle_store()
96 struct device_attribute *attr, pwm_enable_show()
106 struct device_attribute *attr, pwm_enable_store()
132 struct device_attribute *attr, pwm_polarity_show()
141 struct device_attribute *attr, pwm_polarity_store()
238 struct device_attribute *attr, pwm_export_store()
266 struct device_attribute *attr, pwm_unexport_store()
286 static ssize_t npwm_show(struct device *parent, struct device_attribute *attr, npwm_show()
/linux-4.1.27/drivers/infiniband/hw/ipath/
H A Dipath_sysfs.c89 struct device_attribute *attr, show_status()
122 struct device_attribute *attr, show_status_str()
160 struct device_attribute *attr, show_boardversion()
169 struct device_attribute *attr, show_localbus_info()
178 struct device_attribute *attr, show_lmc()
187 struct device_attribute *attr, store_lmc()
214 struct device_attribute *attr, show_lid()
223 struct device_attribute *attr, store_lid()
250 struct device_attribute *attr, show_mlid()
259 struct device_attribute *attr, store_mlid()
281 struct device_attribute *attr, show_guid()
296 struct device_attribute *attr, store_guid()
340 struct device_attribute *attr, show_nguid()
349 struct device_attribute *attr, show_nports()
359 struct device_attribute *attr, show_serial()
371 struct device_attribute *attr, show_unit()
380 struct device_attribute *attr, show_jint_max_packets()
389 struct device_attribute *attr, store_jint_max_packets()
407 struct device_attribute *attr, show_jint_idle_ticks()
416 struct device_attribute *attr, store_jint_idle_ticks()
435 struct device_attribute *attr, \
540 struct device_attribute *attr, store_reset()
569 struct device_attribute *attr, store_link_state()
595 struct device_attribute *attr, show_mtu()
603 struct device_attribute *attr, store_mtu()
628 struct device_attribute *attr, show_enabled()
637 struct device_attribute *attr, store_enabled()
678 struct device_attribute *attr, store_rx_pol_inv()
704 struct device_attribute *attr, store_led_override()
721 struct device_attribute *attr, show_logged_errs()
748 struct device_attribute *attr, show_hrtbt_enb()
761 struct device_attribute *attr, store_hrtbt_enb()
801 struct device_attribute *attr, show_lwid_enb()
814 struct device_attribute *attr, store_lwid_enb()
841 struct device_attribute *attr, show_lwid()
858 struct device_attribute *attr, show_spd_enb()
871 struct device_attribute *attr, store_spd_enb()
898 struct device_attribute *attr, show_spd()
914 struct device_attribute *attr, show_rx_polinv_enb()
927 struct device_attribute *attr, store_rx_polinv_enb()
955 struct device_attribute *attr, show_lanerev_enb()
968 struct device_attribute *attr, store_lanerev_enb()
1006 struct device_attribute *attr, store_tempsense()
1047 struct device_attribute *attr, show_tempsense()
/linux-4.1.27/drivers/powercap/
H A Dpowercap_sys.c32 struct device_attribute *dev_attr,\
50 struct device_attribute *dev_attr, \
73 struct device_attribute *dev_attr,\
98 struct device_attribute *dev_attr, \
148 struct device_attribute power_limit_attr;
149 struct device_attribute time_window_attr;
150 struct device_attribute max_power_attr;
151 struct device_attribute min_power_attr;
152 struct device_attribute max_time_window_attr;
153 struct device_attribute min_time_window_attr;
154 struct device_attribute name_attr;
167 struct device_attribute *dev_attr, show_constraint_name()
197 struct device_attribute *dev_attr, create_constraint_attribute()
199 struct device_attribute *, char *), create_constraint_attribute()
201 struct device_attribute *, create_constraint_attribute()
360 struct device_attribute *attr, name_show()
434 struct device_attribute *attr, enabled_show()
457 struct device_attribute *attr, enabled_store()
/linux-4.1.27/drivers/regulator/
H A Dvirtual.c112 struct device_attribute *attr, char *buf) show_min_uV()
118 static ssize_t set_min_uV(struct device *dev, struct device_attribute *attr, set_min_uV()
138 struct device_attribute *attr, char *buf) show_max_uV()
144 static ssize_t set_max_uV(struct device *dev, struct device_attribute *attr, set_max_uV()
164 struct device_attribute *attr, char *buf) show_min_uA()
170 static ssize_t set_min_uA(struct device *dev, struct device_attribute *attr, set_min_uA()
190 struct device_attribute *attr, char *buf) show_max_uA()
196 static ssize_t set_max_uA(struct device *dev, struct device_attribute *attr, set_max_uA()
216 struct device_attribute *attr, char *buf) show_mode()
234 static ssize_t set_mode(struct device *dev, struct device_attribute *attr, set_mode()
H A Dinternal.h33 struct device_attribute dev_attr;
/linux-4.1.27/drivers/char/tpm/
H A Dtpm-sysfs.c30 static ssize_t pubek_show(struct device *dev, struct device_attribute *attr, pubek_show()
87 static ssize_t pcrs_show(struct device *dev, struct device_attribute *attr, pcrs_show()
116 static ssize_t enabled_show(struct device *dev, struct device_attribute *attr, enabled_show()
132 static ssize_t active_show(struct device *dev, struct device_attribute *attr, active_show()
148 static ssize_t owned_show(struct device *dev, struct device_attribute *attr, owned_show()
165 struct device_attribute *attr, char *buf) temp_deactivated_show()
180 static ssize_t caps_show(struct device *dev, struct device_attribute *attr, caps_show()
222 static ssize_t cancel_store(struct device *dev, struct device_attribute *attr, cancel_store()
234 static ssize_t durations_show(struct device *dev, struct device_attribute *attr, durations_show()
251 static ssize_t timeouts_show(struct device *dev, struct device_attribute *attr, timeouts_show()
H A Dtpm_ppi.c54 struct device_attribute *attr, char *buf) tpm_show_ppi_version()
62 struct device_attribute *attr, char *buf) tpm_show_ppi_request()
95 struct device_attribute *attr, tpm_store_ppi_request()
148 struct device_attribute *attr, tpm_show_ppi_transition_action()
194 struct device_attribute *attr, tpm_show_ppi_response()
296 struct device_attribute *attr, tpm_show_ppi_tcg_operations()
306 struct device_attribute *attr, tpm_show_ppi_vs_operations()
/linux-4.1.27/drivers/staging/fbtft/
H A Dfbtft-sysfs.c115 struct device_attribute *attr, store_gamma_curve()
140 struct device_attribute *attr, char *buf) show_gamma_curve()
148 static struct device_attribute gamma_device_attrs[] = {
181 struct device_attribute *attr, store_debug()
197 struct device_attribute *attr, char *buf) show_debug()
205 static struct device_attribute debug_device_attr = \
/linux-4.1.27/drivers/hid/
H A Dhid-lenovo.c187 struct device_attribute *attr, attr_fn_lock_show_cptkbd()
197 struct device_attribute *attr, attr_fn_lock_store_cptkbd()
217 struct device_attribute *attr, attr_sensitivity_show_cptkbd()
228 struct device_attribute *attr, attr_sensitivity_store_cptkbd()
246 static struct device_attribute dev_attr_fn_lock_cptkbd =
251 static struct device_attribute dev_attr_sensitivity_cptkbd =
307 struct device_attribute *attr, attr_press_to_select_show_tpkbd()
317 struct device_attribute *attr, attr_press_to_select_store_tpkbd()
337 struct device_attribute *attr, attr_dragging_show_tpkbd()
347 struct device_attribute *attr, attr_dragging_store_tpkbd()
367 struct device_attribute *attr, attr_release_to_select_show_tpkbd()
377 struct device_attribute *attr, attr_release_to_select_store_tpkbd()
397 struct device_attribute *attr, attr_select_right_show_tpkbd()
407 struct device_attribute *attr, attr_select_right_store_tpkbd()
427 struct device_attribute *attr, attr_sensitivity_show_tpkbd()
438 struct device_attribute *attr, attr_sensitivity_store_tpkbd()
456 struct device_attribute *attr, attr_press_speed_show_tpkbd()
467 struct device_attribute *attr, attr_press_speed_store_tpkbd()
484 static struct device_attribute dev_attr_press_to_select_tpkbd =
489 static struct device_attribute dev_attr_dragging_tpkbd =
494 static struct device_attribute dev_attr_release_to_select_tpkbd =
499 static struct device_attribute dev_attr_select_right_tpkbd =
504 static struct device_attribute dev_attr_sensitivity_tpkbd =
509 static struct device_attribute dev_attr_press_speed_tpkbd =
/linux-4.1.27/net/bluetooth/
H A Dhci_sysfs.c27 struct device_attribute *attr, char *buf) show_link_type()
34 struct device_attribute *attr, char *buf) show_link_address()
41 struct device_attribute link_attr_##_name = __ATTR(_name, _mode, _show, _store)
140 struct device_attribute *attr, char *buf) show_type()
147 struct device_attribute *attr, char *buf) show_name()
161 struct device_attribute *attr, char *buf) show_address()
/linux-4.1.27/drivers/scsi/arcmsr/
H A Darcmsr_attr.c61 struct device_attribute *arcmsr_host_attrs[];
261 struct device_attribute *attr, char *buf) arcmsr_attr_host_driver_version()
270 struct device_attribute *attr, char *buf) arcmsr_attr_host_driver_posted_cmd()
282 struct device_attribute *attr, char *buf) arcmsr_attr_host_driver_reset()
294 struct device_attribute *attr, char *buf) arcmsr_attr_host_driver_abort()
305 arcmsr_attr_host_fw_model(struct device *dev, struct device_attribute *attr, arcmsr_attr_host_fw_model()
318 struct device_attribute *attr, char *buf) arcmsr_attr_host_fw_version()
331 struct device_attribute *attr, char *buf) arcmsr_attr_host_fw_request_len()
344 struct device_attribute *attr, char *buf) arcmsr_attr_host_fw_numbers_queue()
357 struct device_attribute *attr, char *buf) arcmsr_attr_host_fw_sdram_size()
370 struct device_attribute *attr, char *buf) arcmsr_attr_host_fw_hd_channels()
392 struct device_attribute *arcmsr_host_attrs[] = {
/linux-4.1.27/drivers/leds/
H A Dled-class-flash.c41 struct device_attribute *attr, const char *buf, size_t size) flash_brightness_store()
70 struct device_attribute *attr, char *buf) flash_brightness_show()
83 struct device_attribute *attr, char *buf) max_flash_brightness_show()
93 struct device_attribute *attr, const char *buf, size_t size) flash_strobe_store()
126 struct device_attribute *attr, char *buf) flash_strobe_show()
143 struct device_attribute *attr, const char *buf, size_t size) flash_timeout_store()
172 struct device_attribute *attr, char *buf) flash_timeout_show()
182 struct device_attribute *attr, char *buf) max_flash_timeout_show()
192 struct device_attribute *attr, char *buf) flash_fault_show()
H A Dleds.h71 ssize_t led_trigger_store(struct device *dev, struct device_attribute *attr,
73 ssize_t led_trigger_show(struct device *dev, struct device_attribute *attr,
H A Dleds-lp55xx-common.h41 struct device_attribute *attr, \
49 struct device_attribute *attr, \
57 struct device_attribute *attr, \
65 struct device_attribute *attr, \
73 struct device_attribute *attr, \
H A Dleds-lm3533.c330 struct device_attribute *attr, char *buf) show_id()
351 struct device_attribute *attr, show_risefalltime()
369 struct device_attribute *attr, char *buf) show_risetime()
376 struct device_attribute *attr, char *buf) show_falltime()
383 struct device_attribute *attr, store_risefalltime()
404 struct device_attribute *attr, store_risetime()
412 struct device_attribute *attr, store_falltime()
420 struct device_attribute *attr, char *buf) show_als_channel()
440 struct device_attribute *attr, store_als_channel()
470 struct device_attribute *attr, char *buf) show_als_en()
490 struct device_attribute *attr, store_als_en()
520 struct device_attribute *attr, char *buf) show_linear()
543 struct device_attribute *attr, store_linear()
573 struct device_attribute *attr, show_pwm()
589 struct device_attribute *attr, store_pwm()
/linux-4.1.27/drivers/mmc/core/
H A Dbus.h15 static ssize_t mmc_##name##_show (struct device *dev, struct device_attribute *attr, char *buf) \
/linux-4.1.27/drivers/ptp/
H A Dptp_sysfs.c26 struct device_attribute *attr, char *page) clock_name_show()
35 struct device_attribute *attr, char *page) \
71 struct device_attribute *attr, extts_enable_store()
96 struct device_attribute *attr, char *page) extts_fifo_show()
129 struct device_attribute *attr, period_store()
156 struct device_attribute *attr, pps_enable_store()
191 static ssize_t ptp_pin_show(struct device *dev, struct device_attribute *attr, ptp_pin_show()
213 static ssize_t ptp_pin_store(struct device *dev, struct device_attribute *attr, ptp_pin_store()
283 struct device_attribute *da = &ptp->pin_dev_attr[i]; ptp_populate_pins()
/linux-4.1.27/drivers/rtc/
H A Drtc-sysfs.c28 name_show(struct device *dev, struct device_attribute *attr, char *buf) name_show()
35 date_show(struct device *dev, struct device_attribute *attr, char *buf) date_show()
51 time_show(struct device *dev, struct device_attribute *attr, char *buf) time_show()
67 since_epoch_show(struct device *dev, struct device_attribute *attr, char *buf) since_epoch_show()
84 max_user_freq_show(struct device *dev, struct device_attribute *attr, char *buf) max_user_freq_show()
90 max_user_freq_store(struct device *dev, struct device_attribute *attr, max_user_freq_store()
112 hctosys_show(struct device *dev, struct device_attribute *attr, char *buf) hctosys_show()
137 rtc_sysfs_show_wakealarm(struct device *dev, struct device_attribute *attr, rtc_sysfs_show_wakealarm()
162 rtc_sysfs_set_wakealarm(struct device *dev, struct device_attribute *attr, rtc_sysfs_set_wakealarm()
/linux-4.1.27/drivers/staging/dgnc/
H A Ddgnc_sysfs.c107 static ssize_t dgnc_vpd_show(struct device *p, struct device_attribute *attr, char *buf) dgnc_vpd_show()
127 static ssize_t dgnc_serial_number_show(struct device *p, struct device_attribute *attr, char *buf) dgnc_serial_number_show()
144 static ssize_t dgnc_ports_state_show(struct device *p, struct device_attribute *attr, char *buf) dgnc_ports_state_show()
162 static ssize_t dgnc_ports_baud_show(struct device *p, struct device_attribute *attr, char *buf) dgnc_ports_baud_show()
179 static ssize_t dgnc_ports_msignals_show(struct device *p, struct device_attribute *attr, char *buf) dgnc_ports_msignals_show()
207 static ssize_t dgnc_ports_iflag_show(struct device *p, struct device_attribute *attr, char *buf) dgnc_ports_iflag_show()
224 static ssize_t dgnc_ports_cflag_show(struct device *p, struct device_attribute *attr, char *buf) dgnc_ports_cflag_show()
241 static ssize_t dgnc_ports_oflag_show(struct device *p, struct device_attribute *attr, char *buf) dgnc_ports_oflag_show()
258 static ssize_t dgnc_ports_lflag_show(struct device *p, struct device_attribute *attr, char *buf) dgnc_ports_lflag_show()
275 static ssize_t dgnc_ports_digi_flag_show(struct device *p, struct device_attribute *attr, char *buf) dgnc_ports_digi_flag_show()
292 static ssize_t dgnc_ports_rxcount_show(struct device *p, struct device_attribute *attr, char *buf) dgnc_ports_rxcount_show()
309 static ssize_t dgnc_ports_txcount_show(struct device *p, struct device_attribute *attr, char *buf) dgnc_ports_txcount_show()
369 static ssize_t dgnc_tty_state_show(struct device *d, struct device_attribute *attr, char *buf) dgnc_tty_state_show()
394 static ssize_t dgnc_tty_baud_show(struct device *d, struct device_attribute *attr, char *buf) dgnc_tty_baud_show()
419 static ssize_t dgnc_tty_msignals_show(struct device *d, struct device_attribute *attr, char *buf) dgnc_tty_msignals_show()
453 static ssize_t dgnc_tty_iflag_show(struct device *d, struct device_attribute *attr, char *buf) dgnc_tty_iflag_show()
478 static ssize_t dgnc_tty_cflag_show(struct device *d, struct device_attribute *attr, char *buf) dgnc_tty_cflag_show()
503 static ssize_t dgnc_tty_oflag_show(struct device *d, struct device_attribute *attr, char *buf) dgnc_tty_oflag_show()
528 static ssize_t dgnc_tty_lflag_show(struct device *d, struct device_attribute *attr, char *buf) dgnc_tty_lflag_show()
553 static ssize_t dgnc_tty_digi_flag_show(struct device *d, struct device_attribute *attr, char *buf) dgnc_tty_digi_flag_show()
578 static ssize_t dgnc_tty_rxcount_show(struct device *d, struct device_attribute *attr, char *buf) dgnc_tty_rxcount_show()
603 static ssize_t dgnc_tty_txcount_show(struct device *d, struct device_attribute *attr, char *buf) dgnc_tty_txcount_show()
628 static ssize_t dgnc_tty_name_show(struct device *d, struct device_attribute *attr, char *buf) dgnc_tty_name_show()
/linux-4.1.27/drivers/misc/
H A Dics932s401.c161 struct device_attribute *devattr, show_spread_enabled()
208 struct device_attribute *devattr, show_cpu_clock()
217 struct device_attribute *devattr, show_cpu_clock_sel()
264 struct device_attribute *devattr, show_src_clock()
273 struct device_attribute *devattr, show_src_clock_sel()
312 struct device_attribute *devattr, show_pci_clock()
321 struct device_attribute *devattr, show_pci_clock_sel()
336 struct device_attribute *devattr,
340 struct device_attribute *devattr,
372 struct device_attribute *devattr, show_value()
388 struct device_attribute *devattr, show_spread()
H A Dbh1770glc.c647 struct device_attribute *attr, bh1770_power_state_store()
690 struct device_attribute *attr, char *buf) bh1770_power_state_show()
696 struct device_attribute *attr, char *buf) bh1770_lux_result_show()
719 struct device_attribute *attr, char *buf) bh1770_lux_range_show()
725 struct device_attribute *attr, bh1770_prox_enable_store()
757 struct device_attribute *attr, char *buf) bh1770_prox_enable_show()
769 struct device_attribute *attr, char *buf) bh1770_prox_result_show()
784 struct device_attribute *attr, char *buf) bh1770_prox_range_show()
790 struct device_attribute *attr, char *buf) bh1770_get_prox_rate_avail()
801 struct device_attribute *attr, char *buf) bh1770_get_prox_rate_above()
808 struct device_attribute *attr, char *buf) bh1770_get_prox_rate_below()
825 struct device_attribute *attr, bh1770_set_prox_rate_above()
843 struct device_attribute *attr, bh1770_set_prox_rate_below()
861 struct device_attribute *attr, char *buf) bh1770_get_prox_thres()
868 struct device_attribute *attr, bh1770_set_prox_thres()
892 struct device_attribute *attr, char *buf) bh1770_prox_persistence_show()
900 struct device_attribute *attr, bh1770_prox_persistence_store()
920 struct device_attribute *attr, char *buf) bh1770_prox_abs_thres_show()
927 struct device_attribute *attr, bh1770_prox_abs_thres_store()
947 struct device_attribute *attr, char *buf) bh1770_chip_id_show()
954 struct device_attribute *attr, char *buf) bh1770_lux_calib_default_show()
960 struct device_attribute *attr, char *buf) bh1770_lux_calib_show()
972 struct device_attribute *attr, bh1770_lux_calib_store()
1005 struct device_attribute *attr, char *buf) bh1770_get_lux_rate_avail()
1016 struct device_attribute *attr, char *buf) bh1770_get_lux_rate()
1023 struct device_attribute *attr, bh1770_set_lux_rate()
1050 struct device_attribute *attr, char *buf) bh1770_get_lux_thresh_above()
1057 struct device_attribute *attr, char *buf) bh1770_get_lux_thresh_below()
1092 struct device_attribute *attr, bh1770_set_lux_thresh_above()
1103 struct device_attribute *attr, bh1770_set_lux_thresh_below()
H A Disl29003.c196 struct device_attribute *attr, char *buf) isl29003_show_range()
203 struct device_attribute *attr, isl29003_store_range()
230 struct device_attribute *attr, isl29003_show_resolution()
238 struct device_attribute *attr, isl29003_store_resolution()
264 struct device_attribute *attr, char *buf) isl29003_show_mode()
271 struct device_attribute *attr, const char *buf, size_t count) isl29003_store_mode()
297 struct device_attribute *attr, isl29003_show_power_state()
305 struct device_attribute *attr, isl29003_store_power_state()
329 struct device_attribute *attr, char *buf) isl29003_show_lux()
H A Dhmc6352.c62 struct device_attribute *attr, const char *buf, size_t count) compass_calibration_store()
68 struct device_attribute *attr, const char *buf, size_t count) compass_power_mode_store()
74 struct device_attribute *attr, char *buf) compass_heading_data_show()
H A Dapds990x.c638 struct device_attribute *attr, char *buf) apds990x_lux_show()
669 struct device_attribute *attr, char *buf) apds990x_lux_range_show()
677 struct device_attribute *attr, char *buf) apds990x_lux_calib_format_show()
686 struct device_attribute *attr, char *buf) apds990x_lux_calib_show()
694 struct device_attribute *attr, apds990x_lux_calib_store()
714 struct device_attribute *attr, char *buf) apds990x_rate_avail()
725 struct device_attribute *attr, char *buf) apds990x_rate_show()
757 struct device_attribute *attr, apds990x_rate_store()
783 struct device_attribute *attr, char *buf) apds990x_prox_show()
799 struct device_attribute *attr, char *buf) apds990x_prox_range_show()
807 struct device_attribute *attr, char *buf) apds990x_prox_enable_show()
814 struct device_attribute *attr, apds990x_prox_enable_store()
847 struct device_attribute *attr, char *buf) apds990x_prox_reporting_mode_show()
855 struct device_attribute *attr, apds990x_prox_reporting_mode_store()
874 struct device_attribute *attr, char *buf) apds990x_prox_reporting_avail_show()
884 struct device_attribute *attr, char *buf) apds990x_lux_thresh_above_show()
891 struct device_attribute *attr, char *buf) apds990x_lux_thresh_below_show()
924 struct device_attribute *attr, apds990x_lux_thresh_above_store()
935 struct device_attribute *attr, apds990x_lux_thresh_below_store()
954 struct device_attribute *attr, char *buf) apds990x_prox_threshold_show()
961 struct device_attribute *attr, apds990x_prox_threshold_store()
989 struct device_attribute *attr, char *buf) apds990x_power_state_show()
996 struct device_attribute *attr, apds990x_power_state_store()
1026 struct device_attribute *attr, char *buf) apds990x_chip_id_show()
H A Denclosure.c431 struct device_attribute *attr, char *buf) components_show()
440 struct device_attribute *attr, id_show()
483 struct device_attribute *attr, char *buf) get_component_fault()
494 struct device_attribute *attr, set_component_fault()
507 struct device_attribute *attr,char *buf) get_component_status()
518 struct device_attribute *attr, set_component_status()
541 struct device_attribute *attr, char *buf) get_component_active()
552 struct device_attribute *attr, set_component_active()
565 struct device_attribute *attr, char *buf) get_component_locate()
576 struct device_attribute *attr, set_component_locate()
589 struct device_attribute *attr, get_component_power_status()
601 struct device_attribute *attr, set_component_power_status()
623 struct device_attribute *attr, char *buf) get_component_type()
631 struct device_attribute *attr, char *buf) get_component_slot()
H A Dtsl2550.c191 struct device_attribute *attr, char *buf) tsl2550_show_power_state()
199 struct device_attribute *attr, const char *buf, size_t count) tsl2550_store_power_state()
223 struct device_attribute *attr, char *buf) tsl2550_show_operating_mode()
231 struct device_attribute *attr, const char *buf, size_t count) tsl2550_store_operating_mode()
284 struct device_attribute *attr, char *buf) tsl2550_show_lux1_input()
/linux-4.1.27/drivers/char/
H A Dtlclk.c281 struct device_attribute *attr, char *buf) show_current_ref()
297 struct device_attribute *attr, char *buf) show_telclock_version()
313 struct device_attribute *attr, char *buf) show_alarms()
328 struct device_attribute *attr, const char *buf, size_t count) store_received_ref_clk3a()
350 struct device_attribute *attr, const char *buf, size_t count) store_received_ref_clk3b()
372 struct device_attribute *attr, const char *buf, size_t count) store_enable_clk3b_output()
393 struct device_attribute *attr, const char *buf, size_t count) store_enable_clk3a_output()
414 struct device_attribute *attr, const char *buf, size_t count) store_enable_clkb1_output()
436 struct device_attribute *attr, const char *buf, size_t count) store_enable_clka1_output()
457 struct device_attribute *attr, const char *buf, size_t count) store_enable_clkb0_output()
478 struct device_attribute *attr, const char *buf, size_t count) store_enable_clka0_output()
499 struct device_attribute *attr, const char *buf, size_t count) store_select_amcb2_transmit_clock()
541 struct device_attribute *attr, const char *buf, size_t count) store_select_amcb1_transmit_clock()
582 struct device_attribute *attr, const char *buf, size_t count) store_select_redundant_clock()
603 struct device_attribute *attr, const char *buf, size_t count) store_select_ref_frequency()
624 struct device_attribute *attr, const char *buf, size_t count) store_filter_select()
644 struct device_attribute *attr, const char *buf, size_t count) store_hardware_switching_mode()
665 struct device_attribute *attr, const char *buf, size_t count) store_hardware_switching()
686 struct device_attribute *attr, const char *buf, size_t count) store_refalign()
705 struct device_attribute *attr, const char *buf, size_t count) store_mode_select()
725 struct device_attribute *attr, const char *buf, size_t count) store_reset()
/linux-4.1.27/drivers/isdn/gigaset/
H A Dproc.c19 struct device_attribute *attr, char *buf) show_cidmode()
26 static ssize_t set_cidmode(struct device *dev, struct device_attribute *attr, set_cidmode()
/linux-4.1.27/drivers/isdn/mISDN/
H A Dcore.c41 struct device_attribute *attr, char *buf) id_show()
52 struct device_attribute *attr, char *buf) nrbchan_show()
63 struct device_attribute *attr, char *buf) d_protocols_show()
74 struct device_attribute *attr, char *buf) b_protocols_show()
85 struct device_attribute *attr, char *buf) protocol_show()
96 struct device_attribute *attr, char *buf) name_show()
104 static ssize_t name_set(struct device *dev, struct device_attribute *attr,
126 struct device_attribute *attr, char *buf) channelmap_show()
/linux-4.1.27/drivers/iio/
H A Diio_core.h26 struct device_attribute *attr,
29 struct device_attribute *attr,
/linux-4.1.27/drivers/sh/intc/
H A Duserimask.c24 struct device_attribute *attr, char *buf) show_intc_userimask()
31 struct device_attribute *attr, store_intc_userimask()
/linux-4.1.27/drivers/pci/
H A Dpci-label.c88 struct device_attribute *attr, char *buf) smbioslabel_show()
98 struct device_attribute *attr, char *buf) smbiosinstance_show()
107 static struct device_attribute smbios_attr_label = {
112 static struct device_attribute smbios_attr_instance = {
233 struct device_attribute *attr, char *buf) acpilabel_show()
239 struct device_attribute *attr, char *buf) acpiindex_show()
244 static struct device_attribute acpi_attr_label = {
249 static struct device_attribute acpi_attr_index = {
H A Dpci-sysfs.c40 field##_show(struct device *dev, struct device_attribute *attr, char *buf) \
57 struct device_attribute *attr, broken_parity_status_show()
65 struct device_attribute *attr, broken_parity_status_store()
81 struct device_attribute *attr, char *buf) pci_dev_show_local_cpu()
95 struct device_attribute *attr, char *buf) local_cpus_show()
102 struct device_attribute *attr, char *buf) local_cpulist_show()
112 struct device_attribute *attr, char *buf) cpuaffinity_show()
121 struct device_attribute *attr, char *buf) cpulistaffinity_show()
130 static ssize_t resource_show(struct device *dev, struct device_attribute *attr, resource_show()
156 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, modalias_show()
169 static ssize_t enable_store(struct device *dev, struct device_attribute *attr, enable_store()
194 static ssize_t enable_show(struct device *dev, struct device_attribute *attr, enable_show()
206 struct device_attribute *attr, const char *buf, numa_node_store()
230 static ssize_t numa_node_show(struct device *dev, struct device_attribute *attr, numa_node_show()
239 struct device_attribute *attr, char *buf) dma_mask_bits_show()
248 struct device_attribute *attr, consistent_dma_mask_bits_show()
255 static ssize_t msi_bus_show(struct device *dev, struct device_attribute *attr, msi_bus_show()
266 static ssize_t msi_bus_store(struct device *dev, struct device_attribute *attr, msi_bus_store()
336 struct device_attribute *attr, const char *buf, dev_rescan_store()
352 static struct device_attribute dev_rescan_attr = __ATTR(rescan,
356 static ssize_t remove_store(struct device *dev, struct device_attribute *attr, remove_store()
368 static struct device_attribute dev_remove_attr = __ATTR(remove,
373 struct device_attribute *attr, dev_bus_rescan_store()
396 struct device_attribute *attr, d3cold_allowed_store()
412 struct device_attribute *attr, char *buf) d3cold_allowed_show()
422 struct device_attribute *attr, char *buf) devspec_show()
436 struct device_attribute *attr, sriov_totalvfs_show()
446 struct device_attribute *attr, sriov_numvfs_show()
462 struct device_attribute *attr, sriov_numvfs_store()
511 static struct device_attribute sriov_totalvfs_attr = __ATTR_RO(sriov_totalvfs);
512 static struct device_attribute sriov_numvfs_attr =
518 struct device_attribute *attr, driver_override_store()
549 struct device_attribute *attr, char *buf) driver_override_show()
611 static ssize_t boot_vga_show(struct device *dev, struct device_attribute *attr, boot_vga_show()
624 static struct device_attribute vga_attr = __ATTR_RO(boot_vga);
1295 static ssize_t reset_store(struct device *dev, struct device_attribute *attr, reset_store()
1315 static struct device_attribute reset_attr = __ATTR(reset, 0200, NULL, reset_store);
/linux-4.1.27/drivers/infiniband/hw/usnic/
H A Dusnic_ib_sysfs.c34 struct device_attribute *attr, usnic_ib_show_fw_ver()
49 struct device_attribute *attr, usnic_ib_show_board()
67 usnic_ib_show_config(struct device *device, struct device_attribute *attr, usnic_ib_show_config()
130 usnic_ib_show_iface(struct device *device, struct device_attribute *attr, usnic_ib_show_iface()
142 usnic_ib_show_max_vf(struct device *device, struct device_attribute *attr, usnic_ib_show_max_vf()
154 usnic_ib_show_qp_per_vf(struct device *device, struct device_attribute *attr, usnic_ib_show_qp_per_vf()
169 usnic_ib_show_cq_per_vf(struct device *device, struct device_attribute *attr, usnic_ib_show_cq_per_vf()
188 static struct device_attribute *usnic_class_attributes[] = {
/linux-4.1.27/arch/tile/kernel/
H A Dsysfs.c36 struct device_attribute *attr, chip_width_show()
44 struct device_attribute *attr, chip_height_show()
52 struct device_attribute *attr, chip_serial_show()
60 struct device_attribute *attr, chip_revision_show()
69 struct device_attribute *attr, type_show()
78 struct device_attribute *attr, \
161 struct device_attribute *attr, hv_stats_show()
176 struct device_attribute *attr, hv_stats_store()
/linux-4.1.27/arch/powerpc/platforms/pseries/
H A Dpseries_energy.c178 struct device_attribute *attr, char *page) cpu_activate_hint_list_show()
184 struct device_attribute *attr, char *page) cpu_deactivate_hint_list_show()
190 struct device_attribute *attr, char *page) percpu_activate_hint_show()
196 struct device_attribute *attr, char *page) percpu_deactivate_hint_show()
211 struct device_attribute attr_cpu_activate_hint_list =
215 struct device_attribute attr_cpu_deactivate_hint_list =
219 struct device_attribute attr_percpu_activate_hint =
223 struct device_attribute attr_percpu_deactivate_hint =
/linux-4.1.27/net/ieee802154/
H A Dsysfs.c32 struct device_attribute *attr, \
42 struct device_attribute *attr, name_show()
/linux-4.1.27/include/linux/
H A Dattribute_container.h22 struct device_attribute **attrs;
70 struct device_attribute **attribute_container_classdev_to_attrs(const struct device *classdev);
H A Dhwmon-sysfs.h26 struct device_attribute dev_attr;
41 struct device_attribute dev_attr;
/linux-4.1.27/drivers/usb/misc/
H A Dcytherm.c86 static ssize_t show_brightness(struct device *dev, struct device_attribute *attr, char *buf) show_brightness()
94 static ssize_t set_brightness(struct device *dev, struct device_attribute *attr, const char *buf, set_brightness()
139 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, char *buf) show_temp()
175 static ssize_t set_temp(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) set_temp()
185 static ssize_t show_button(struct device *dev, struct device_attribute *attr, char *buf) show_button()
216 static ssize_t set_button(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) set_button()
224 static ssize_t show_port0(struct device *dev, struct device_attribute *attr, char *buf) show_port0()
250 static ssize_t set_port0(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) set_port0()
284 static ssize_t show_port1(struct device *dev, struct device_attribute *attr, char *buf) show_port1()
310 static ssize_t set_port1(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) set_port1()
H A Dusbsevseg.c175 struct device_attribute *attr, char *buf) \
184 struct device_attribute *attr, const char *buf, size_t count) \
197 struct device_attribute *attr, char *buf) show_attr_text()
206 struct device_attribute *attr, const char *buf, size_t count) set_attr_text()
228 struct device_attribute *attr, char *buf) show_attr_decimals()
250 struct device_attribute *attr, const char *buf, size_t count) set_attr_decimals()
277 struct device_attribute *attr, char *buf) show_attr_textmode()
303 struct device_attribute *attr, const char *buf, size_t count) set_attr_textmode()
H A Dcypress_cy7c63.c120 static ssize_t write_port(struct device *dev, struct device_attribute *attr, write_port()
152 struct device_attribute *attr, set_port0_handler()
160 struct device_attribute *attr, set_port1_handler()
167 static ssize_t read_port(struct device *dev, struct device_attribute *attr, read_port()
186 struct device_attribute *attr, char *buf) get_port0_handler()
193 struct device_attribute *attr, char *buf) get_port1_handler()
/linux-4.1.27/drivers/scsi/pm8001/
H A Dpm8001_ctl.c55 struct device_attribute *attr, char *buf) pm8001_ctl_mpi_interface_rev_show()
80 struct device_attribute *attr, char *buf) pm8001_ctl_fw_version_show()
109 struct device_attribute *attr, char *buf) pm8001_ctl_max_out_io_show()
132 struct device_attribute *attr, char *buf) pm8001_ctl_max_devices_show()
158 struct device_attribute *attr, char *buf) pm8001_ctl_max_sg_list_show()
202 struct device_attribute *attr, char *buf) pm8001_ctl_sas_spec_support_show()
231 struct device_attribute *attr, char *buf) pm8001_ctl_host_sas_address_show()
250 struct device_attribute *attr, char *buf) pm8001_ctl_logging_level_show()
259 struct device_attribute *attr, const char *buf, size_t count) pm8001_ctl_logging_level_store()
283 struct device_attribute *attr, char *buf) pm8001_ctl_aap_log_show()
318 struct device_attribute *attr, char *buf) pm8001_ctl_ib_queue_log_show()
351 struct device_attribute *attr, char *buf) pm8001_ctl_ob_queue_log_show()
382 struct device_attribute *attr, char *buf) pm8001_ctl_bios_version_show()
420 struct device_attribute *attr, char *buf) pm8001_ctl_iop_log_show()
457 struct device_attribute *attr, char *buf) pm8001_ctl_fatal_log_show()
475 struct device_attribute *attr, char *buf) pm8001_ctl_gsm_log_show()
636 struct device_attribute *attr, pm8001_store_update_fw()
713 struct device_attribute *attr, char *buf) pm8001_show_update_fw()
734 struct device_attribute *pm8001_host_attrs[] = {
/linux-4.1.27/drivers/s390/block/
H A Ddasd_devmap.c712 static ssize_t dasd_ff_show(struct device *dev, struct device_attribute *attr, dasd_ff_show()
726 static ssize_t dasd_ff_store(struct device *dev, struct device_attribute *attr, dasd_ff_store()
758 dasd_ro_show(struct device *dev, struct device_attribute *attr, char *buf) dasd_ro_show()
772 dasd_ro_store(struct device *dev, struct device_attribute *attr, dasd_ro_store()
810 dasd_erplog_show(struct device *dev, struct device_attribute *attr, char *buf) dasd_erplog_show()
824 dasd_erplog_store(struct device *dev, struct device_attribute *attr, dasd_erplog_store()
857 dasd_use_diag_show(struct device *dev, struct device_attribute *attr, char *buf) dasd_use_diag_show()
871 dasd_use_diag_store(struct device *dev, struct device_attribute *attr, dasd_use_diag_store()
908 dasd_use_raw_show(struct device *dev, struct device_attribute *attr, char *buf) dasd_use_raw_show()
922 dasd_use_raw_store(struct device *dev, struct device_attribute *attr, dasd_use_raw_store()
954 dasd_safe_offline_store(struct device *dev, struct device_attribute *attr, dasd_safe_offline_store()
987 dasd_discipline_show(struct device *dev, struct device_attribute *attr, dasd_discipline_show()
1013 dasd_device_status_show(struct device *dev, struct device_attribute *attr, dasd_device_status_show()
1053 struct device_attribute *attr, char *buf) dasd_alias_show()
1078 struct device_attribute *attr, char *buf) dasd_vendor_show()
1105 dasd_uid_show(struct device *dev, struct device_attribute *attr, char *buf) dasd_uid_show()
1158 dasd_eer_show(struct device *dev, struct device_attribute *attr, char *buf) dasd_eer_show()
1172 dasd_eer_store(struct device *dev, struct device_attribute *attr, dasd_eer_store()
1204 dasd_expires_show(struct device *dev, struct device_attribute *attr, char *buf) dasd_expires_show()
1218 dasd_expires_store(struct device *dev, struct device_attribute *attr, dasd_expires_store()
1244 dasd_retries_show(struct device *dev, struct device_attribute *attr, char *buf) dasd_retries_show()
1258 dasd_retries_store(struct device *dev, struct device_attribute *attr, dasd_retries_store()
1284 dasd_timeout_show(struct device *dev, struct device_attribute *attr, dasd_timeout_show()
1299 dasd_timeout_store(struct device *dev, struct device_attribute *attr, dasd_timeout_store()
1339 struct device_attribute *attr, dasd_reservation_policy_show()
1360 struct device_attribute *attr, dasd_reservation_policy_store()
1390 struct device_attribute *attr, dasd_reservation_state_show()
1411 struct device_attribute *attr, dasd_reservation_state_store()
1436 struct device_attribute *attr, char *buf) dasd_pm_show()
/linux-4.1.27/drivers/rapidio/
H A Drio-sysfs.c24 field##_show(struct device *dev, struct device_attribute *attr, char *buf) \
41 static ssize_t routes_show(struct device *dev, struct device_attribute *attr, char *buf) routes_show()
61 struct device_attribute *attr, char *buf) lprev_show()
71 struct device_attribute *attr, char *buf) lnext_show()
92 struct device_attribute *attr, char *buf) modalias_show()
346 port_destid_show(struct device *dev, struct device_attribute *attr, port_destid_show()
358 static ssize_t sys_size_show(struct device *dev, struct device_attribute *attr, sys_size_show()
/linux-4.1.27/drivers/platform/chrome/
H A Dcros_ec_lightbar.c41 struct device_attribute *attr, char *buf) interval_msec_show()
49 struct device_attribute *attr, interval_msec_store()
139 struct device_attribute *attr, char *buf) version_show()
157 struct device_attribute *attr, brightness_store()
195 static ssize_t led_rgb_store(struct device *dev, struct device_attribute *attr, led_rgb_store()
260 struct device_attribute *attr, char *buf) sequence_show()
290 static ssize_t sequence_store(struct device *dev, struct device_attribute *attr, sequence_store()
/linux-4.1.27/arch/ia64/kernel/
H A Derr_inject.c58 show_##name(struct device *dev, struct device_attribute *attr, \
67 store_##name(struct device *dev, struct device_attribute *attr, \
81 store_call_start(struct device *dev, struct device_attribute *attr, store_call_start()
130 show_virtual_to_phys(struct device *dev, struct device_attribute *attr, show_virtual_to_phys()
138 store_virtual_to_phys(struct device *dev, struct device_attribute *attr, store_virtual_to_phys()
163 struct device_attribute *attr, char *buf) show_err_data_buffer()
175 struct device_attribute *attr, store_err_data_buffer()
/linux-4.1.27/drivers/base/
H A Dcpu.c84 struct device_attribute *attr, cpu_probe_store()
102 struct device_attribute *attr, cpu_release_store()
138 static ssize_t show_crash_notes(struct device *dev, struct device_attribute *attr, show_crash_notes()
161 struct device_attribute *attr, show_crash_notes_size()
201 struct device_attribute attr;
206 struct device_attribute *attr, show_cpus_attr()
228 struct device_attribute *attr, char *buf) print_cpus_kernel_max()
239 struct device_attribute *attr, char *buf) print_cpus_offline()
289 struct device_attribute *attr, print_cpu_modalias()
H A Dtopology.c34 struct device_attribute *attr, char *buf) \
41 struct device_attribute *attr, char *buf) \
48 struct device_attribute *attr, \
/linux-4.1.27/drivers/iio/trigger/
H A Diio-trig-sysfs.c30 struct device_attribute *attr, iio_sysfs_trig_add()
49 struct device_attribute *attr, iio_sysfs_trig_remove()
103 struct device_attribute *attr, const char *buf, size_t count) iio_sysfs_trigger_poll()
/linux-4.1.27/block/
H A Dpartition-generic.c68 struct device_attribute *attr, char *buf) part_partition_show()
76 struct device_attribute *attr, char *buf) part_start_show()
84 struct device_attribute *attr, char *buf) part_size_show()
91 struct device_attribute *attr, char *buf) part_ro_show()
98 struct device_attribute *attr, char *buf) part_alignment_offset_show()
105 struct device_attribute *attr, char *buf) part_discard_alignment_show()
112 struct device_attribute *attr, char *buf) part_stat_show()
139 struct device_attribute *attr, char *buf) part_inflight_show()
149 struct device_attribute *attr, char *buf) part_fail_show()
157 struct device_attribute *attr, part_fail_store()
180 static struct device_attribute dev_attr_fail =
262 struct device_attribute *attr, char *buf) whole_disk_show()
/linux-4.1.27/drivers/usb/wusbcore/
H A Ddev-sysfs.c32 struct device_attribute *attr, wusb_disconnect_store()
59 struct device_attribute *attr, char *buf) wusb_cdid_show()
75 struct device_attribute *attr, wusb_ck_store()
H A Dwusbhc.c58 struct device_attribute *attr, wusb_trust_timeout_show()
67 struct device_attribute *attr, wusb_trust_timeout_store()
94 struct device_attribute *attr, char *buf) wusb_chid_show()
120 struct device_attribute *attr, wusb_chid_store()
152 struct device_attribute *attr, wusb_phy_rate_show()
161 struct device_attribute *attr, wusb_phy_rate_store()
181 struct device_attribute *attr, wusb_dnts_show()
191 struct device_attribute *attr, wusb_dnts_store()
211 struct device_attribute *attr, wusb_retry_count_show()
220 struct device_attribute *attr, wusb_retry_count_store()
/linux-4.1.27/arch/powerpc/sysdev/
H A Dfsl_mpic_timer_wakeup.c56 struct device_attribute *attr, fsl_timer_wakeup_show()
73 struct device_attribute *attr, fsl_timer_wakeup_store()
120 static struct device_attribute mpic_attributes = __ATTR(timer_wakeup, 0644,
/linux-4.1.27/arch/mips/kernel/
H A Dvpe-cmp.c24 static ssize_t store_kill(struct device *dev, struct device_attribute *attr, store_kill()
40 static ssize_t ntcs_show(struct device *cd, struct device_attribute *attr, ntcs_show()
48 static ssize_t ntcs_store(struct device *dev, struct device_attribute *attr, ntcs_store()
/linux-4.1.27/net/wireless/
H A Dsysfs.c29 struct device_attribute *attr, \
41 struct device_attribute *attr, name_show()
49 struct device_attribute *attr, addresses_show()
/linux-4.1.27/include/linux/iio/
H A Dsysfs.h24 struct device_attribute dev_attr;
34 struct device_attribute *attr,
45 struct device_attribute dev_attr;
/linux-4.1.27/net/core/
H A Dnet-sysfs.c45 struct device_attribute *attr, char *buf, netdev_show()
66 struct device_attribute *attr, char *buf) \
80 static ssize_t netdev_store(struct device *dev, struct device_attribute *attr, netdev_store()
116 static ssize_t iflink_show(struct device *dev, struct device_attribute *attr, iflink_show()
131 struct device_attribute *attr, name_assign_type_show()
145 static ssize_t address_show(struct device *dev, struct device_attribute *attr, address_show()
160 struct device_attribute *attr, char *buf) broadcast_show()
176 static ssize_t carrier_store(struct device *dev, struct device_attribute *attr, carrier_store()
183 struct device_attribute *attr, char *buf) carrier_show()
194 struct device_attribute *attr, char *buf) speed_show()
213 struct device_attribute *attr, char *buf) duplex_show()
245 struct device_attribute *attr, char *buf) dormant_show()
267 struct device_attribute *attr, char *buf) operstate_show()
286 struct device_attribute *attr, carrier_changes_show()
302 static ssize_t mtu_store(struct device *dev, struct device_attribute *attr, mtu_store()
314 static ssize_t flags_store(struct device *dev, struct device_attribute *attr, flags_store()
328 struct device_attribute *attr, tx_queue_len_store()
345 struct device_attribute *attr, gro_flush_timeout_store()
355 static ssize_t ifalias_store(struct device *dev, struct device_attribute *attr, ifalias_store()
379 struct device_attribute *attr, char *buf) ifalias_show()
399 static ssize_t group_store(struct device *dev, struct device_attribute *attr, group_store()
408 struct device_attribute *attr, char *buf) phys_port_id_show()
430 struct device_attribute *attr, char *buf) phys_port_name_show()
452 struct device_attribute *attr, char *buf) phys_switch_id_show()
506 struct device_attribute *attr, char *buf, netstat_show()
529 struct device_attribute *attr, char *buf) \
/linux-4.1.27/drivers/net/wireless/b43legacy/
H A Dsysfs.c76 struct device_attribute *attr, b43legacy_attr_interfmode_show()
110 struct device_attribute *attr, b43legacy_attr_interfmode_store()
158 struct device_attribute *attr, b43legacy_attr_preamble_show()
182 struct device_attribute *attr, b43legacy_attr_preamble_store()
/linux-4.1.27/drivers/firmware/
H A Ddmi-id.c17 struct device_attribute dev_attr;
24 struct device_attribute *attr, sys_dmi_field_show()
125 struct device_attribute *attr, char *page) sys_dmi_modalias_show()
134 static struct device_attribute sys_dmi_modalias_attr =
H A Ddcdbas.c120 struct device_attribute *attr, smi_data_buf_phys_addr_show()
127 struct device_attribute *attr, smi_data_buf_size_show()
134 struct device_attribute *attr, smi_data_buf_size_store()
188 struct device_attribute *attr, host_control_action_show()
195 struct device_attribute *attr, host_control_action_store()
212 struct device_attribute *attr, host_control_smi_type_show()
219 struct device_attribute *attr, host_control_smi_type_store()
227 struct device_attribute *attr, host_control_on_shutdown_show()
234 struct device_attribute *attr, host_control_on_shutdown_store()
301 struct device_attribute *attr, smi_request_store()
/linux-4.1.27/drivers/usb/host/
H A Dehci-sysfs.c24 struct device_attribute *attr, show_companion()
51 struct device_attribute *attr, store_companion()
82 struct device_attribute *attr, show_uframe_periodic_max()
95 struct device_attribute *attr, store_uframe_periodic_max()
/linux-4.1.27/drivers/media/pci/solo6x10/
H A Dsolo6x10-core.c180 static ssize_t eeprom_store(struct device *dev, struct device_attribute *attr, eeprom_store()
210 static ssize_t eeprom_show(struct device *dev, struct device_attribute *attr, eeprom_show()
226 struct device_attribute *attr, p2m_timeouts_show()
236 struct device_attribute *attr, sdram_size_show()
246 struct device_attribute *attr, tw28xx_show()
259 struct device_attribute *attr, input_map_show()
294 struct device_attribute *attr, p2m_timeout_store()
310 struct device_attribute *attr, p2m_timeout_show()
320 struct device_attribute *attr, intervals_show()
339 struct device_attribute *attr, sdram_offsets_show()
409 static const struct device_attribute solo_dev_attrs[] = {
/linux-4.1.27/drivers/staging/android/
H A Dtimed_output.c30 static ssize_t enable_show(struct device *dev, struct device_attribute *attr, enable_show()
39 static ssize_t enable_store(struct device *dev, struct device_attribute *attr, enable_store()
/linux-4.1.27/drivers/staging/iio/adc/
H A Dad7816.c113 struct device_attribute *attr, ad7816_show_mode()
125 struct device_attribute *attr, ad7816_store_mode()
149 struct device_attribute *attr, ad7816_show_available_modes()
159 struct device_attribute *attr, ad7816_show_channel()
169 struct device_attribute *attr, ad7816_store_channel()
208 struct device_attribute *attr, ad7816_show_value()
263 struct device_attribute *attr, ad7816_show_oti()
283 struct device_attribute *attr, ad7816_set_oti()
/linux-4.1.27/drivers/staging/iio/meter/
H A Dade7854.c26 struct device_attribute *attr, ade7854_read_8bit()
43 struct device_attribute *attr, ade7854_read_16bit()
60 struct device_attribute *attr, ade7854_read_24bit()
77 struct device_attribute *attr, ade7854_read_32bit()
94 struct device_attribute *attr, ade7854_write_8bit()
115 struct device_attribute *attr, ade7854_write_16bit()
136 struct device_attribute *attr, ade7854_write_24bit()
157 struct device_attribute *attr, ade7854_write_32bit()
H A Dade7753.c137 struct device_attribute *attr, ade7753_read_8bit()
152 struct device_attribute *attr, ade7753_read_16bit()
167 struct device_attribute *attr, ade7753_read_24bit()
182 struct device_attribute *attr, ade7753_write_8bit()
200 struct device_attribute *attr, ade7753_write_16bit()
378 struct device_attribute *attr, ade7753_read_frequency()
396 struct device_attribute *attr, ade7753_write_frequency()
H A Dade7754.c137 struct device_attribute *attr, ade7754_read_8bit()
152 struct device_attribute *attr, ade7754_read_16bit()
167 struct device_attribute *attr, ade7754_read_24bit()
182 struct device_attribute *attr, ade7754_write_8bit()
200 struct device_attribute *attr, ade7754_write_16bit()
408 struct device_attribute *attr, ade7754_read_frequency()
428 struct device_attribute *attr, ade7754_write_frequency()
H A Dade7759.c136 struct device_attribute *attr, ade7759_read_8bit()
151 struct device_attribute *attr, ade7759_read_16bit()
166 struct device_attribute *attr, ade7759_read_40bit()
181 struct device_attribute *attr, ade7759_write_8bit()
199 struct device_attribute *attr, ade7759_write_16bit()
347 struct device_attribute *attr, ade7759_read_frequency()
367 struct device_attribute *attr, ade7759_write_frequency()
/linux-4.1.27/arch/s390/kernel/
H A Didle.c52 struct device_attribute *attr, char *buf) show_idle_count()
69 struct device_attribute *attr, char *buf) show_idle_time()
H A Dtime.c1154 struct device_attribute *attr, etr_stepping_port_show()
1163 struct device_attribute *attr, etr_stepping_mode_show()
1191 struct device_attribute *attr, etr_online_show()
1201 struct device_attribute *attr, etr_online_store()
1241 struct device_attribute *attr, etr_stepping_control_show()
1251 struct device_attribute *attr, char *buf) etr_mode_code_show()
1263 struct device_attribute *attr, char *buf) etr_untuned_show()
1275 struct device_attribute *attr, char *buf) etr_network_id_show()
1287 struct device_attribute *attr, char *buf) etr_id_show()
1299 struct device_attribute *attr, char *buf) etr_port_number_show()
1311 struct device_attribute *attr, char *buf) etr_coupled_show()
1323 struct device_attribute *attr, char *buf) etr_local_time_show()
1335 struct device_attribute *attr, char *buf) etr_utc_offset_show()
1346 static struct device_attribute *etr_port_attributes[] = {
1362 struct device_attribute **attr; etr_register_port()
1384 struct device_attribute **attr; etr_unregister_port()
1627 struct device_attribute *attr, stp_ctn_id_show()
1639 struct device_attribute *attr, stp_ctn_type_show()
1650 struct device_attribute *attr, stp_dst_offset_show()
1661 struct device_attribute *attr, stp_leap_seconds_show()
1672 struct device_attribute *attr, stp_stratum_show()
1683 struct device_attribute *attr, stp_time_offset_show()
1694 struct device_attribute *attr, stp_time_zone_offset_show()
1706 struct device_attribute *attr, stp_timing_mode_show()
1717 struct device_attribute *attr, stp_timing_state_show()
1728 struct device_attribute *attr, stp_online_show()
1735 struct device_attribute *attr, stp_online_store()
1760 static struct device_attribute dev_attr_stp_online = {
1766 static struct device_attribute *stp_attributes[] = {
1782 struct device_attribute **attr; stp_init_sysfs()
/linux-4.1.27/arch/s390/pci/
H A Dpci_sysfs.c17 struct device_attribute *attr, char *buf) \
37 static ssize_t recover_store(struct device *dev, struct device_attribute *attr, recover_store()
/linux-4.1.27/drivers/scsi/be2iscsi/
H A Dbe_mgmt.h313 struct device_attribute *attr, char *buf);
316 struct device_attribute *attr, char *buf);
319 struct device_attribute *attr, char *buf);
322 struct device_attribute *attr, char *buf);
326 struct device_attribute *attr, char *buf);
329 struct device_attribute *attr, char *buf);
/linux-4.1.27/drivers/spi/
H A Dspi-tle62x0.c39 static int to_gpio_num(struct device_attribute *attr);
100 struct device_attribute *attr, char *buf) tle62x0_status_show()
137 struct device_attribute *attr, char *buf) tle62x0_gpio_show()
151 struct device_attribute *attr, tle62x0_gpio_store()
211 static struct device_attribute *gpio_attrs[] = {
230 static int to_gpio_num(struct device_attribute *attr) to_gpio_num()
/linux-4.1.27/arch/sparc/kernel/
H A Dsysfs.c20 struct device_attribute *attr, char *buf) \
143 struct device_attribute *attr, char *buf) show_mmustat_enable()
150 struct device_attribute *attr, const char *buf, store_mmustat_enable()
190 struct device_attribute *attr, char *buf) \
198 struct device_attribute *attr, char *buf) \
212 static struct device_attribute cpu_core_attrs[] = {
/linux-4.1.27/drivers/ata/
H A Dlibata-transport.c50 struct device_attribute private_port_attrs[ATA_PORT_ATTRS];
51 struct device_attribute private_link_attrs[ATA_LINK_ATTRS];
52 struct device_attribute private_dev_attrs[ATA_DEV_ATTRS];
61 struct device_attribute *link_attrs[ATA_LINK_ATTRS + 1];
62 struct device_attribute *port_attrs[ATA_PORT_ATTRS + 1];
63 struct device_attribute *dev_attrs[ATA_DEV_ATTRS + 1];
93 struct device_attribute device_attr_##_prefix##_##_name = \
207 struct device_attribute *attr, char *buf) \
330 struct device_attribute *attr, char *buf) \ noop()
456 struct device_attribute *attr, char *buf) \
476 struct device_attribute *attr, char *buf) \
511 struct device_attribute *attr, char *buf) show_ata_dev_ering()
525 struct device_attribute *attr, char *buf) show_ata_dev_id()
544 struct device_attribute *attr, char *buf) show_ata_dev_gscr()
565 struct device_attribute *attr, char *buf) show_ata_dev_trim()
/linux-4.1.27/sound/pci/hda/
H A Dhda_sysfs.c30 struct device_attribute *attr, power_on_acct_show()
39 struct device_attribute *attr, power_off_acct_show()
53 struct device_attribute *attr, \
62 struct device_attribute *attr, \
95 struct device_attribute *attr, init_pin_configs_show()
103 struct device_attribute *attr, driver_pin_configs_show()
167 struct device_attribute *attr, \
181 struct device_attribute *attr, \
202 struct device_attribute *attr, \
216 struct device_attribute *attr, init_verbs_show()
255 struct device_attribute *attr, init_verbs_store()
266 struct device_attribute *attr, hints_show()
360 struct device_attribute *attr, hints_store()
371 struct device_attribute *attr, user_pin_configs_show()
395 struct device_attribute *attr, user_pin_configs_store()
/linux-4.1.27/drivers/hv/
H A Dvmbus_drv.c130 static ssize_t id_show(struct device *dev, struct device_attribute *dev_attr, id_show()
141 static ssize_t state_show(struct device *dev, struct device_attribute *dev_attr, state_show()
153 struct device_attribute *dev_attr, char *buf) monitor_id_show()
164 struct device_attribute *dev_attr, char *buf) class_id_show()
176 struct device_attribute *dev_attr, char *buf) device_id_show()
188 struct device_attribute *dev_attr, char *buf) modalias_show()
199 struct device_attribute *dev_attr, server_monitor_pending_show()
213 struct device_attribute *dev_attr, client_monitor_pending_show()
227 struct device_attribute *dev_attr, server_monitor_latency_show()
241 struct device_attribute *dev_attr, client_monitor_latency_show()
255 struct device_attribute *dev_attr, server_monitor_conn_id_show()
269 struct device_attribute *dev_attr, client_monitor_conn_id_show()
283 struct device_attribute *dev_attr, char *buf) out_intr_mask_show()
296 struct device_attribute *dev_attr, char *buf) out_read_index_show()
309 struct device_attribute *dev_attr, out_write_index_show()
323 struct device_attribute *dev_attr, out_read_bytes_avail_show()
337 struct device_attribute *dev_attr, out_write_bytes_avail_show()
351 struct device_attribute *dev_attr, char *buf) in_intr_mask_show()
364 struct device_attribute *dev_attr, char *buf) in_read_index_show()
377 struct device_attribute *dev_attr, char *buf) in_write_index_show()
390 struct device_attribute *dev_attr, in_read_bytes_avail_show()
404 struct device_attribute *dev_attr, in_write_bytes_avail_show()
/linux-4.1.27/drivers/gpu/drm/i915/
H A Di915_sysfs.c100 show_rc6_mask(struct device *kdev, struct device_attribute *attr, char *buf) show_rc6_mask()
107 show_rc6_ms(struct device *kdev, struct device_attribute *attr, char *buf) show_rc6_ms()
115 show_rc6p_ms(struct device *kdev, struct device_attribute *attr, char *buf) show_rc6p_ms()
123 show_rc6pp_ms(struct device *kdev, struct device_attribute *attr, char *buf) show_rc6pp_ms()
131 show_media_rc6_ms(struct device *kdev, struct device_attribute *attr, char *buf) show_media_rc6_ms()
304 struct device_attribute *attr, char *buf) gt_act_freq_mhz_show()
338 struct device_attribute *attr, char *buf) gt_cur_freq_mhz_show()
359 struct device_attribute *attr, char *buf) vlv_rpe_freq_mhz_show()
370 static ssize_t gt_max_freq_mhz_show(struct device *kdev, struct device_attribute *attr, char *buf) gt_max_freq_mhz_show()
387 struct device_attribute *attr, gt_max_freq_mhz_store()
433 static ssize_t gt_min_freq_mhz_show(struct device *kdev, struct device_attribute *attr, char *buf) gt_min_freq_mhz_show()
450 struct device_attribute *attr, gt_min_freq_mhz_store()
500 static ssize_t gt_rp_mhz_show(struct device *kdev, struct device_attribute *attr, char *buf);
506 static ssize_t gt_rp_mhz_show(struct device *kdev, struct device_attribute *attr, char *buf) gt_rp_mhz_show()
/linux-4.1.27/drivers/scsi/qla2xxx/
H A Dqla_attr.c1006 struct device_attribute *attr, char *buf) qla2x00_drvr_version_show()
1013 struct device_attribute *attr, char *buf) qla2x00_fw_version_show()
1024 qla2x00_serial_num_show(struct device *dev, struct device_attribute *attr, qla2x00_serial_num_show()
1045 qla2x00_isp_name_show(struct device *dev, struct device_attribute *attr, qla2x00_isp_name_show()
1053 qla2x00_isp_id_show(struct device *dev, struct device_attribute *attr, qla2x00_isp_id_show()
1069 qla2x00_model_name_show(struct device *dev, struct device_attribute *attr, qla2x00_model_name_show()
1078 qla2x00_model_desc_show(struct device *dev, struct device_attribute *attr, qla2x00_model_desc_show()
1087 qla2x00_pci_info_show(struct device *dev, struct device_attribute *attr, qla2x00_pci_info_show()
1098 qla2x00_link_state_show(struct device *dev, struct device_attribute *attr, qla2x00_link_state_show()
1138 qla2x00_zio_show(struct device *dev, struct device_attribute *attr, qla2x00_zio_show()
1156 qla2x00_zio_store(struct device *dev, struct device_attribute *attr, qla2x00_zio_store()
1184 qla2x00_zio_timer_show(struct device *dev, struct device_attribute *attr, qla2x00_zio_timer_show()
1193 qla2x00_zio_timer_store(struct device *dev, struct device_attribute *attr, qla2x00_zio_timer_store()
1212 qla2x00_beacon_show(struct device *dev, struct device_attribute *attr, qla2x00_beacon_show()
1226 qla2x00_beacon_store(struct device *dev, struct device_attribute *attr, qla2x00_beacon_store()
1259 struct device_attribute *attr, char *buf) qla2x00_optrom_bios_version_show()
1269 struct device_attribute *attr, char *buf) qla2x00_optrom_efi_version_show()
1279 struct device_attribute *attr, char *buf) qla2x00_optrom_fcode_version_show()
1289 struct device_attribute *attr, char *buf) qla2x00_optrom_fw_version_show()
1300 struct device_attribute *attr, char *buf) qla2x00_optrom_gold_fw_version_show()
1315 struct device_attribute *attr, char *buf) qla2x00_total_isp_aborts_show()
1324 struct device_attribute *attr, char *buf) qla24xx_84xx_fw_version_show()
1345 qla2x00_mpi_version_show(struct device *dev, struct device_attribute *attr, qla2x00_mpi_version_show()
1360 qla2x00_phy_version_show(struct device *dev, struct device_attribute *attr, qla2x00_phy_version_show()
1375 struct device_attribute *attr, char *buf) qla2x00_flash_block_size_show()
1384 qla2x00_vlan_id_show(struct device *dev, struct device_attribute *attr, qla2x00_vlan_id_show()
1397 struct device_attribute *attr, char *buf) qla2x00_vn_port_mac_address_show()
1408 qla2x00_fabric_param_show(struct device *dev, struct device_attribute *attr, qla2x00_fabric_param_show()
1418 struct device_attribute *attr, char *buf) qla2x00_thermal_temp_show()
1441 qla2x00_fw_state_show(struct device *dev, struct device_attribute *attr, qla2x00_fw_state_show()
1468 struct device_attribute *attr, char *buf) qla2x00_diag_requests_show()
1480 struct device_attribute *attr, char *buf) qla2x00_diag_megabytes_show()
1492 qla2x00_fw_dump_size_show(struct device *dev, struct device_attribute *attr, qla2x00_fw_dump_size_show()
1511 struct device_attribute *attr, char *buf) qla2x00_allow_cna_fw_dump_show()
1524 struct device_attribute *attr, const char *buf, size_t count) qla2x00_allow_cna_fw_dump_store()
1585 struct device_attribute *qla2x00_host_attrs[] = {
/linux-4.1.27/drivers/net/ethernet/intel/igb/
H A Digb_hwmon.c44 struct device_attribute *attr, igb_hwmon_show_location()
54 struct device_attribute *attr, igb_hwmon_show_temp()
73 struct device_attribute *attr, igb_hwmon_show_cautionthresh()
87 struct device_attribute *attr, igb_hwmon_show_maxopthresh()
105 * For each file we want in hwmon's sysfs interface we need a device_attribute
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_sysfs.c43 struct device_attribute *attr, ixgbe_hwmon_show_location()
53 struct device_attribute *attr, ixgbe_hwmon_show_temp()
72 struct device_attribute *attr, ixgbe_hwmon_show_cautionthresh()
86 struct device_attribute *attr, ixgbe_hwmon_show_maxopthresh()
105 * For each file we want in hwmon's sysfs interface we need a device_attribute
/linux-4.1.27/drivers/net/wireless/libertas/
H A Dmesh.c157 struct device_attribute *attr, char * buf) lbs_anycast_get()
180 struct device_attribute *attr, const char * buf, size_t count) lbs_anycast_set()
205 struct device_attribute *attr, char *buf) lbs_prb_rsp_limit_get()
232 struct device_attribute *attr, const char *buf, size_t count) lbs_prb_rsp_limit_set()
264 struct device_attribute *attr, char * buf) lbs_mesh_get()
278 struct device_attribute *attr, const char * buf, size_t count) lbs_mesh_set()
356 struct device_attribute *attr, char *buf) bootflag_get()
376 static ssize_t bootflag_set(struct device *dev, struct device_attribute *attr, bootflag_set()
406 struct device_attribute *attr, char *buf) boottime_get()
427 struct device_attribute *attr, const char *buf, size_t count) boottime_set()
465 struct device_attribute *attr, char *buf) channel_get()
485 static ssize_t channel_set(struct device *dev, struct device_attribute *attr, channel_set()
514 static ssize_t mesh_id_get(struct device *dev, struct device_attribute *attr, mesh_id_get()
544 static ssize_t mesh_id_set(struct device *dev, struct device_attribute *attr, mesh_id_set()
590 struct device_attribute *attr, char *buf) protocol_id_get()
611 struct device_attribute *attr, const char *buf, size_t count) protocol_id_set()
651 struct device_attribute *attr, char *buf) metric_id_get()
671 static ssize_t metric_id_set(struct device *dev, struct device_attribute *attr, metric_id_set()
712 struct device_attribute *attr, char *buf) capability_get()
732 static ssize_t capability_set(struct device *dev, struct device_attribute *attr, capability_set()
/linux-4.1.27/drivers/w1/
H A Dw1.c101 static ssize_t name_show(struct device *dev, struct device_attribute *attr, char *buf) name_show()
110 struct device_attribute *attr, char *buf) id_show()
221 static ssize_t w1_master_attribute_show_name(struct device *dev, struct device_attribute *attr, char *buf) w1_master_attribute_show_name()
234 struct device_attribute *attr, w1_master_attribute_store_search()
256 struct device_attribute *attr, w1_master_attribute_show_search()
270 struct device_attribute *attr, w1_master_attribute_store_pullup()
289 struct device_attribute *attr, w1_master_attribute_show_pullup()
302 static ssize_t w1_master_attribute_show_pointer(struct device *dev, struct device_attribute *attr, char *buf) w1_master_attribute_show_pointer()
313 static ssize_t w1_master_attribute_show_timeout(struct device *dev, struct device_attribute *attr, char *buf) w1_master_attribute_show_timeout()
321 struct device_attribute *attr, const char *buf, size_t count) w1_master_attribute_store_max_slave_count()
338 static ssize_t w1_master_attribute_show_max_slave_count(struct device *dev, struct device_attribute *attr, char *buf) w1_master_attribute_show_max_slave_count()
349 static ssize_t w1_master_attribute_show_attempts(struct device *dev, struct device_attribute *attr, char *buf) w1_master_attribute_show_attempts()
360 static ssize_t w1_master_attribute_show_slave_count(struct device *dev, struct device_attribute *attr, char *buf) w1_master_attribute_show_slave_count()
372 struct device_attribute *attr, char *buf) w1_master_attribute_show_slaves()
395 struct device_attribute *attr, char *buf) w1_master_attribute_show_add()
463 struct device_attribute *attr, w1_master_attribute_store_add()
492 struct device_attribute *attr, char *buf) w1_master_attribute_show_remove()
501 struct device_attribute *attr, w1_master_attribute_store_remove()
530 struct device_attribute w1_master_attribute_##_name = \
535 struct device_attribute w1_master_attribute_##_name = \
/linux-4.1.27/drivers/power/
H A Dpower_supply_sysfs.c41 static struct device_attribute power_supply_attrs[];
44 struct device_attribute *attr, power_supply_show_property()
113 struct device_attribute *attr, power_supply_store_property()
136 static struct device_attribute power_supply_attrs[] = {
298 struct device_attribute *attr; power_supply_uevent()
/linux-4.1.27/drivers/xen/
H A Dxen-balloon.c122 struct device_attribute *attr, \
138 static ssize_t show_target_kb(struct device *dev, struct device_attribute *attr, show_target_kb()
145 struct device_attribute *attr, store_target_kb()
166 static ssize_t show_target(struct device *dev, struct device_attribute *attr, show_target()
175 struct device_attribute *attr, store_target()
/linux-4.1.27/drivers/scsi/aacraid/
H A Dlinit.c497 static ssize_t aac_show_raid_level(struct device *dev, struct device_attribute *attr, char *buf) aac_show_raid_level()
509 static struct device_attribute aac_raid_level_attr = {
517 static struct device_attribute *aac_dev_attrs[] = {
774 struct device_attribute *attr, char *buf) aac_show_model()
793 struct device_attribute *attr, char *buf) aac_show_vendor()
812 struct device_attribute *attr, char *buf) aac_show_flags()
838 struct device_attribute *attr, aac_show_kernel_version()
852 struct device_attribute *attr, aac_show_monitor_version()
866 struct device_attribute *attr, aac_show_bios_version()
880 struct device_attribute *attr, char *buf) aac_show_serial_number()
900 struct device_attribute *attr, char *buf) aac_show_max_channel()
907 struct device_attribute *attr, char *buf) aac_show_max_id()
914 struct device_attribute *attr, aac_store_reset_adapter()
928 struct device_attribute *attr, aac_show_reset_adapter()
941 static struct device_attribute aac_model = {
948 static struct device_attribute aac_vendor = {
955 static struct device_attribute aac_flags = {
962 static struct device_attribute aac_kernel_version = {
969 static struct device_attribute aac_monitor_version = {
976 static struct device_attribute aac_bios_version = {
983 static struct device_attribute aac_serial_number = {
990 static struct device_attribute aac_max_channel = {
997 static struct device_attribute aac_max_id = {
1004 static struct device_attribute aac_reset = {
1013 static struct device_attribute *aac_attrs[] = {
/linux-4.1.27/drivers/input/tablet/
H A Daiptek.c1052 static ssize_t show_tabletSize(struct device *dev, struct device_attribute *attr, char *buf) show_tabletSize()
1080 static ssize_t show_tabletPointerMode(struct device *dev, struct device_attribute *attr, char *buf) show_tabletPointerMode()
1090 store_tabletPointerMode(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_tabletPointerMode()
1117 static ssize_t show_tabletCoordinateMode(struct device *dev, struct device_attribute *attr, char *buf) show_tabletCoordinateMode()
1127 store_tabletCoordinateMode(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_tabletCoordinateMode()
1159 static ssize_t show_tabletToolMode(struct device *dev, struct device_attribute *attr, char *buf) show_tabletToolMode()
1169 store_tabletToolMode(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_tabletToolMode()
1189 static ssize_t show_tabletXtilt(struct device *dev, struct device_attribute *attr, char *buf) show_tabletXtilt()
1202 store_tabletXtilt(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_tabletXtilt()
1231 static ssize_t show_tabletYtilt(struct device *dev, struct device_attribute *attr, char *buf) show_tabletYtilt()
1244 store_tabletYtilt(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_tabletYtilt()
1273 static ssize_t show_tabletJitterDelay(struct device *dev, struct device_attribute *attr, char *buf) show_tabletJitterDelay()
1281 store_tabletJitterDelay(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_tabletJitterDelay()
1302 static ssize_t show_tabletProgrammableDelay(struct device *dev, struct device_attribute *attr, char *buf) show_tabletProgrammableDelay()
1311 store_tabletProgrammableDelay(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_tabletProgrammableDelay()
1332 static ssize_t show_tabletEventsReceived(struct device *dev, struct device_attribute *attr, char *buf) show_tabletEventsReceived()
1345 static ssize_t show_tabletDiagnosticMessage(struct device *dev, struct device_attribute *attr, char *buf) show_tabletDiagnosticMessage()
1391 static ssize_t show_tabletStylusUpper(struct device *dev, struct device_attribute *attr, char *buf) show_tabletStylusUpper()
1401 store_tabletStylusUpper(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_tabletStylusUpper()
1422 static ssize_t show_tabletStylusLower(struct device *dev, struct device_attribute *attr, char *buf) show_tabletStylusLower()
1432 store_tabletStylusLower(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_tabletStylusLower()
1460 static ssize_t show_tabletMouseLeft(struct device *dev, struct device_attribute *attr, char *buf) show_tabletMouseLeft()
1470 store_tabletMouseLeft(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_tabletMouseLeft()
1490 static ssize_t show_tabletMouseMiddle(struct device *dev, struct device_attribute *attr, char *buf) show_tabletMouseMiddle()
1500 store_tabletMouseMiddle(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_tabletMouseMiddle()
1520 static ssize_t show_tabletMouseRight(struct device *dev, struct device_attribute *attr, char *buf) show_tabletMouseRight()
1530 store_tabletMouseRight(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_tabletMouseRight()
1550 static ssize_t show_tabletWheel(struct device *dev, struct device_attribute *attr, char *buf) show_tabletWheel()
1563 store_tabletWheel(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_tabletWheel()
1583 static ssize_t show_tabletExecute(struct device *dev, struct device_attribute *attr, char *buf) show_tabletExecute()
1593 store_tabletExecute(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_tabletExecute()
1616 static ssize_t show_tabletODMCode(struct device *dev, struct device_attribute *attr, char *buf) show_tabletODMCode()
1629 static ssize_t show_tabletModelCode(struct device *dev, struct device_attribute *attr, char *buf) show_tabletModelCode()
1642 static ssize_t show_firmwareCode(struct device *dev, struct device_attribute *attr, char *buf) show_firmwareCode()

Completed in 5154 milliseconds

12345