Home
last modified time | relevance | path

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

12345678910>>...32

/linux-3.4.99/drivers/scsi/
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];
[all …]
/linux-3.4.99/net/bridge/
Dbr_sysfs_br.c52 struct device_attribute *attr, char *buf) in show_forward_delay()
59 struct device_attribute *attr, in store_forward_delay()
67 static ssize_t show_hello_time(struct device *d, struct device_attribute *attr, in show_hello_time()
75 struct device_attribute *attr, const char *buf, in store_hello_time()
83 static ssize_t show_max_age(struct device *d, struct device_attribute *attr, in show_max_age()
90 static ssize_t store_max_age(struct device *d, struct device_attribute *attr, in store_max_age()
98 struct device_attribute *attr, char *buf) in show_ageing_time()
111 struct device_attribute *attr, in store_ageing_time()
120 struct device_attribute *attr, char *buf) in show_stp_state()
128 struct device_attribute *attr, const char *buf, in store_stp_state()
[all …]
/linux-3.4.99/arch/powerpc/platforms/cell/
Dcbe_thermal.c63 struct device_attribute attr_ ## _prefix ## _ ## _name = { \
100 static ssize_t spu_show_temp(struct device *dev, struct device_attribute *attr, in spu_show_temp()
151 struct device_attribute *attr, char *buf) in spu_show_throttle_end()
157 struct device_attribute *attr, char *buf) in spu_show_throttle_begin()
163 struct device_attribute *attr, char *buf) in spu_show_throttle_full_stop()
169 struct device_attribute *attr, const char *buf, size_t size) in spu_store_throttle_end()
175 struct device_attribute *attr, const char *buf, size_t size) in spu_store_throttle_begin()
181 struct device_attribute *attr, const char *buf, size_t size) in spu_store_throttle_full_stop()
203 struct device_attribute *attr, char *buf) in ppe_show_temp0()
210 struct device_attribute *attr, char *buf) in ppe_show_temp1()
[all …]
/linux-3.4.99/drivers/ide/
Dide-sysfs.c22 static ssize_t media_show(struct device *dev, struct device_attribute *attr, in media_show()
29 static ssize_t drivename_show(struct device *dev, struct device_attribute *attr, in drivename_show()
36 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, in modalias_show()
43 static ssize_t model_show(struct device *dev, struct device_attribute *attr, in model_show()
50 static ssize_t firmware_show(struct device *dev, struct device_attribute *attr, in firmware_show()
57 static ssize_t serial_show(struct device *dev, struct device_attribute *attr, in serial_show()
64 struct device_attribute ide_dev_attrs[] = {
76 struct device_attribute *attr, in store_delete_devices()
92 struct device_attribute *attr, in store_scan()
108 static struct device_attribute *ide_port_attrs[] = {
/linux-3.4.99/drivers/scsi/qla4xxx/
Dql4_attr.c15 struct device_attribute *attr, char *buf) in qla4xxx_fw_version_show()
32 qla4xxx_serial_num_show(struct device *dev, struct device_attribute *attr, in qla4xxx_serial_num_show()
40 qla4xxx_iscsi_version_show(struct device *dev, struct device_attribute *attr, in qla4xxx_iscsi_version_show()
49 qla4xxx_optrom_version_show(struct device *dev, struct device_attribute *attr, in qla4xxx_optrom_version_show()
59 qla4xxx_board_id_show(struct device *dev, struct device_attribute *attr, in qla4xxx_board_id_show()
67 qla4xxx_fw_state_show(struct device *dev, struct device_attribute *attr, in qla4xxx_fw_state_show()
78 qla4xxx_phy_port_cnt_show(struct device *dev, struct device_attribute *attr, in qla4xxx_phy_port_cnt_show()
90 qla4xxx_phy_port_num_show(struct device *dev, struct device_attribute *attr, in qla4xxx_phy_port_num_show()
102 qla4xxx_iscsi_func_cnt_show(struct device *dev, struct device_attribute *attr, in qla4xxx_iscsi_func_cnt_show()
114 qla4xxx_hba_model_show(struct device *dev, struct device_attribute *attr, in qla4xxx_hba_model_show()
[all …]
/linux-3.4.99/drivers/media/video/pvrusb2/
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;
[all …]
/linux-3.4.99/drivers/video/
Dfbsysfs.c125 static ssize_t store_mode(struct device *device, struct device_attribute *attr, in store_mode()
156 static ssize_t show_mode(struct device *device, struct device_attribute *attr, in show_mode()
168 struct device_attribute *attr, in store_modes()
196 static ssize_t show_modes(struct device *device, struct device_attribute *attr, in show_modes()
214 static ssize_t store_bpp(struct device *device, struct device_attribute *attr, in store_bpp()
229 static ssize_t show_bpp(struct device *device, struct device_attribute *attr, in show_bpp()
237 struct device_attribute *attr, in store_rotate()
256 struct device_attribute *attr, char *buf) in show_rotate()
264 struct device_attribute *attr, in store_virtual()
285 struct device_attribute *attr, char *buf) in show_virtual()
[all …]
/linux-3.4.99/drivers/pcmcia/
Dsocket_sysfs.c36 static ssize_t pccard_show_type(struct device *dev, struct device_attribute *attr, in pccard_show_type()
49 static ssize_t pccard_show_voltage(struct device *dev, struct device_attribute *attr, in pccard_show_voltage()
63 static ssize_t pccard_show_vpp(struct device *dev, struct device_attribute *attr, in pccard_show_vpp()
73 static ssize_t pccard_show_vcc(struct device *dev, struct device_attribute *attr, in pccard_show_vcc()
84 static ssize_t pccard_store_insert(struct device *dev, struct device_attribute *attr, in pccard_store_insert()
100 struct device_attribute *attr, in pccard_show_card_pm_state()
108 struct device_attribute *attr, in pccard_store_card_pm_state()
131 struct device_attribute *attr, in pccard_store_eject()
147 struct device_attribute *attr, in pccard_show_irq_mask()
155 struct device_attribute *attr, in pccard_store_irq_mask()
[all …]
/linux-3.4.99/drivers/base/power/
Dsysfs.c105 static ssize_t control_show(struct device *dev, struct device_attribute *attr, in control_show()
112 static ssize_t control_store(struct device * dev, struct device_attribute *attr, in control_store()
135 struct device_attribute *attr, char *buf) in rtpm_active_time_show()
148 struct device_attribute *attr, char *buf) in rtpm_suspended_time_show()
162 struct device_attribute *attr, char *buf) in rtpm_status_show()
194 struct device_attribute *attr, char *buf) in autosuspend_delay_ms_show()
202 struct device_attribute *attr, const char *buf, size_t n) in autosuspend_delay_ms_store()
222 struct device_attribute *attr, char *buf) in pm_qos_latency_show()
228 struct device_attribute *attr, in pm_qos_latency_store()
250 wake_show(struct device * dev, struct device_attribute *attr, char * buf) in wake_show()
[all …]
/linux-3.4.99/drivers/usb/core/
Dsysfs.c22 struct device_attribute *attr, char *buf) \
45 struct device_attribute *attr, char *buf) in show_configuration_string()
62 set_bConfigurationValue(struct device *dev, struct device_attribute *attr, in set_bConfigurationValue()
82 struct device_attribute *attr, char *buf) \
100 show_speed(struct device *dev, struct device_attribute *attr, char *buf) in show_speed()
132 show_busnum(struct device *dev, struct device_attribute *attr, char *buf) in show_busnum()
142 show_devnum(struct device *dev, struct device_attribute *attr, char *buf) in show_devnum()
152 show_devpath(struct device *dev, struct device_attribute *attr, char *buf) in show_devpath()
162 show_version(struct device *dev, struct device_attribute *attr, char *buf) in show_version()
174 show_maxchild(struct device *dev, struct device_attribute *attr, char *buf) in show_maxchild()
[all …]
/linux-3.4.99/drivers/infiniband/hw/ipath/
Dipath_sysfs.c89 struct device_attribute *attr, in show_status()
122 struct device_attribute *attr, in show_status_str()
160 struct device_attribute *attr, in show_boardversion()
169 struct device_attribute *attr, in show_localbus_info()
178 struct device_attribute *attr, in show_lmc()
187 struct device_attribute *attr, in store_lmc()
214 struct device_attribute *attr, in show_lid()
223 struct device_attribute *attr, in store_lid()
250 struct device_attribute *attr, in show_mlid()
259 struct device_attribute *attr, in store_mlid()
[all …]
/linux-3.4.99/drivers/pps/
Dsysfs.c33 struct device_attribute *attr, char *buf) in pps_show_assert()
46 struct device_attribute *attr, char *buf) in pps_show_clear()
59 struct device_attribute *attr, char *buf) in pps_show_mode()
67 struct device_attribute *attr, char *buf) in pps_show_echo()
75 struct device_attribute *attr, char *buf) in pps_show_name()
83 struct device_attribute *attr, char *buf) in pps_show_path()
90 struct device_attribute pps_attrs[] = {
/linux-3.4.99/drivers/staging/zram/
Dzram_sysfs.c47 struct device_attribute *attr, char *buf) in disksize_show()
55 struct device_attribute *attr, const char *buf, size_t len) in disksize_store()
80 struct device_attribute *attr, char *buf) in initstate_show()
88 struct device_attribute *attr, const char *buf, size_t len) in reset_store()
133 struct device_attribute *attr, char *buf) in num_reads_show()
142 struct device_attribute *attr, char *buf) in num_writes_show()
151 struct device_attribute *attr, char *buf) in invalid_io_show()
160 struct device_attribute *attr, char *buf) in notify_free_show()
169 struct device_attribute *attr, char *buf) in zero_pages_show()
177 struct device_attribute *attr, char *buf) in orig_data_size_show()
[all …]
/linux-3.4.99/drivers/rtc/
Drtc-sysfs.c28 rtc_sysfs_show_name(struct device *dev, struct device_attribute *attr, in rtc_sysfs_show_name()
35 rtc_sysfs_show_date(struct device *dev, struct device_attribute *attr, in rtc_sysfs_show_date()
51 rtc_sysfs_show_time(struct device *dev, struct device_attribute *attr, in rtc_sysfs_show_time()
67 rtc_sysfs_show_since_epoch(struct device *dev, struct device_attribute *attr, in rtc_sysfs_show_since_epoch()
84 rtc_sysfs_show_max_user_freq(struct device *dev, struct device_attribute *attr, in rtc_sysfs_show_max_user_freq()
91 rtc_sysfs_set_max_user_freq(struct device *dev, struct device_attribute *attr, in rtc_sysfs_set_max_user_freq()
106 rtc_sysfs_show_hctosys(struct device *dev, struct device_attribute *attr, in rtc_sysfs_show_hctosys()
119 static struct device_attribute rtc_attrs[] = {
131 rtc_sysfs_show_wakealarm(struct device *dev, struct device_attribute *attr, in rtc_sysfs_show_wakealarm()
156 rtc_sysfs_set_wakealarm(struct device *dev, struct device_attribute *attr, in rtc_sysfs_set_wakealarm()
/linux-3.4.99/drivers/staging/iio/addac/
Dadt7316.c220 struct device_attribute *attr, in adt7316_show_enabled()
251 struct device_attribute *attr, in adt7316_store_enabled()
276 struct device_attribute *attr, in adt7316_show_select_ex_temp()
289 struct device_attribute *attr, in adt7316_store_select_ex_temp()
320 struct device_attribute *attr, in adt7316_show_mode()
333 struct device_attribute *attr, in adt7316_store_mode()
361 struct device_attribute *attr, in adt7316_show_all_modes()
370 struct device_attribute *attr, in adt7316_show_ad_channel()
408 struct device_attribute *attr, in adt7316_store_ad_channel()
455 struct device_attribute *attr, in adt7316_show_all_ad_channels()
[all …]
/linux-3.4.99/drivers/s390/net/
Dqeth_core_sys.c21 struct device_attribute *attr, char *buf) in qeth_dev_state_show()
49 struct device_attribute *attr, char *buf) in qeth_dev_chpid_show()
61 struct device_attribute *attr, char *buf) in qeth_dev_if_name_show()
72 struct device_attribute *attr, char *buf) in qeth_dev_card_type_show()
98 struct device_attribute *attr, char *buf) in qeth_dev_inbuf_size_show()
110 struct device_attribute *attr, char *buf) in qeth_dev_portno_show()
120 struct device_attribute *attr, const char *buf, size_t count) in qeth_dev_portno_store()
156 struct device_attribute *attr, char *buf) in qeth_dev_portname_show()
173 struct device_attribute *attr, const char *buf, size_t count) in qeth_dev_portname_store()
210 struct device_attribute *attr, char *buf) in qeth_dev_prioqing_show()
[all …]
Dqeth_l3_sys.c16 struct device_attribute dev_attr_##_id = __ATTR(_name, _mode, _show, _store)
47 struct device_attribute *attr, char *buf) in qeth_l3_dev_route4_show()
97 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_route4_store()
112 struct device_attribute *attr, char *buf) in qeth_l3_dev_route6_show()
123 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_route6_store()
138 struct device_attribute *attr, char *buf) in qeth_l3_dev_fake_broadcast_show()
149 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_fake_broadcast_store()
179 struct device_attribute *attr, char *buf) in qeth_l3_dev_broadcast_mode_show()
196 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_broadcast_mode_store()
235 struct device_attribute *attr, char *buf) in qeth_l3_dev_canonical_macaddr_show()
[all …]
/linux-3.4.99/drivers/s390/scsi/
Dzfcp_sysfs.c16 struct device_attribute dev_attr_##_feat##_##_name = __ATTR(_name, _mode,\
20 struct device_attribute *at,\
32 struct device_attribute *at,\
86 struct device_attribute *attr, in zfcp_sysfs_port_failed_show()
98 struct device_attribute *attr, in zfcp_sysfs_port_failed_store()
118 struct device_attribute *attr, in zfcp_sysfs_unit_failed_show()
136 struct device_attribute *attr, in zfcp_sysfs_unit_failed_store()
162 struct device_attribute *attr, in zfcp_sysfs_adapter_failed_show()
182 struct device_attribute *attr, in zfcp_sysfs_adapter_failed_store()
211 struct device_attribute *attr, in zfcp_sysfs_port_rescan_store()
[all …]
/linux-3.4.99/arch/powerpc/kernel/
Dsysfs.c41 struct device_attribute *attr, in store_smt_snooze_delay()
60 struct device_attribute *attr, in show_smt_snooze_delay()
122 struct device_attribute *attr, \
131 store_##NAME(struct device *dev, struct device_attribute *attr, \
197 static void add_write_permission_dev_attr(struct device_attribute *attr) in add_write_permission_dev_attr()
203 struct device_attribute *attr, char *buf) in show_dscr_default()
217 struct device_attribute *attr, const char *buf, in store_dscr_default()
284 static struct device_attribute ibm_common_attrs[] = {
291 static struct device_attribute g4_common_attrs[] = {
298 static struct device_attribute classic_pmc_attrs[] = {
[all …]
/linux-3.4.99/drivers/hwmon/
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
[all …]
/linux-3.4.99/drivers/net/bonding/
Dbond_sysfs.c210 struct device_attribute *attr, char *buf) in bonding_show_slaves()
240 struct device_attribute *attr, in bonding_store_slaves()
303 struct device_attribute *attr, char *buf) in bonding_show_mode()
313 struct device_attribute *attr, in bonding_store_mode()
365 struct device_attribute *attr, in bonding_show_xmit_hash()
376 struct device_attribute *attr, in bonding_store_xmit_hash()
413 struct device_attribute *attr, in bonding_show_arp_validate()
424 struct device_attribute *attr, in bonding_store_arp_validate()
458 struct device_attribute *attr, in bonding_show_fail_over_mac()
469 struct device_attribute *attr, in bonding_store_fail_over_mac()
[all …]
/linux-3.4.99/drivers/char/tpm/
Dtpm.h46 extern ssize_t tpm_show_pubek(struct device *, struct device_attribute *attr,
48 extern ssize_t tpm_show_pcrs(struct device *, struct device_attribute *attr,
50 extern ssize_t tpm_show_caps(struct device *, struct device_attribute *attr,
52 extern ssize_t tpm_show_caps_1_2(struct device *, struct device_attribute *attr,
54 extern ssize_t tpm_store_cancel(struct device *, struct device_attribute *attr,
56 extern ssize_t tpm_show_enabled(struct device *, struct device_attribute *attr,
58 extern ssize_t tpm_show_active(struct device *, struct device_attribute *attr,
60 extern ssize_t tpm_show_owned(struct device *, struct device_attribute *attr,
63 struct device_attribute *attr, char *);
65 struct device_attribute *attr, char *);
[all …]
/linux-3.4.99/drivers/net/ethernet/freescale/
Dgianfar_sysfs.c40 struct device_attribute *attr, char *buf) in gfar_show_bd_stash()
48 struct device_attribute *attr, in gfar_set_bd_stash()
95 struct device_attribute *attr, char *buf) in gfar_show_rx_stash_size()
103 struct device_attribute *attr, in gfar_set_rx_stash_size()
153 struct device_attribute *attr, in gfar_show_rx_stash_index()
162 struct device_attribute *attr, in gfar_set_rx_stash_index()
201 struct device_attribute *attr, in gfar_show_fifo_threshold()
210 struct device_attribute *attr, in gfar_set_fifo_threshold()
242 struct device_attribute *attr, char *buf) in gfar_show_fifo_starve()
250 struct device_attribute *attr, in gfar_set_fifo_starve()
[all …]
/linux-3.4.99/net/bluetooth/
Dhci_sysfs.c34 static ssize_t show_link_type(struct device *dev, struct device_attribute *attr, char *buf) in show_link_type()
40 static ssize_t show_link_address(struct device *dev, struct device_attribute *attr, char *buf) in show_link_address()
46 static ssize_t show_link_features(struct device *dev, struct device_attribute *attr, char *buf) in show_link_features()
58 struct device_attribute link_attr_##_name = __ATTR(_name, _mode, _show, _store)
188 static ssize_t show_bus(struct device *dev, struct device_attribute *attr, char *buf) in show_bus()
194 static ssize_t show_type(struct device *dev, struct device_attribute *attr, char *buf) in show_type()
200 static ssize_t show_name(struct device *dev, struct device_attribute *attr, char *buf) in show_name()
213 static ssize_t show_class(struct device *dev, struct device_attribute *attr, char *buf) in show_class()
220 static ssize_t show_address(struct device *dev, struct device_attribute *attr, char *buf) in show_address()
226 static ssize_t show_features(struct device *dev, struct device_attribute *attr, char *buf) in show_features()
[all …]
/linux-3.4.99/drivers/macintosh/
Dmacio_sysfs.c8 field##_show (struct device *dev, struct device_attribute *attr, \
16 compatible_show (struct device *dev, struct device_attribute *attr, char *buf) in compatible_show()
41 static ssize_t modalias_show (struct device *dev, struct device_attribute *attr, in modalias_show()
53 struct device_attribute *attr, char *buf) in devspec_show()
64 struct device_attribute macio_dev_attrs[] = {

12345678910>>...32