Home
last modified time | relevance | path

Searched defs:attr (Results 1 – 25 of 860) sorted by relevance

12345678910>>...35

/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()
248 struct device_attribute *attr, in pm_qos_no_power_off_show()
[all …]
/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 …]
/drivers/net/bonding/
Dbond_sysfs.c54 struct class_attribute *attr, in bonding_show_bonds()
101 struct class_attribute *attr, in bonding_store_bonds()
153 const struct class_attribute *attr) in bonding_namespace()
210 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()
369 struct device_attribute *attr, in bonding_show_xmit_hash()
380 struct device_attribute *attr, in bonding_store_xmit_hash()
417 struct device_attribute *attr, in bonding_show_arp_validate()
[all …]
/drivers/s390/net/
Dqeth_core_sys.c19 struct device_attribute *attr, char *buf) in qeth_dev_state_show()
47 struct device_attribute *attr, char *buf) in qeth_dev_chpid_show()
59 struct device_attribute *attr, char *buf) in qeth_dev_if_name_show()
70 struct device_attribute *attr, char *buf) in qeth_dev_card_type_show()
96 struct device_attribute *attr, char *buf) in qeth_dev_inbuf_size_show()
108 struct device_attribute *attr, char *buf) in qeth_dev_portno_show()
118 struct device_attribute *attr, const char *buf, size_t count) in qeth_dev_portno_store()
154 struct device_attribute *attr, char *buf) in qeth_dev_portname_show()
171 struct device_attribute *attr, const char *buf, size_t count) in qeth_dev_portname_store()
208 struct device_attribute *attr, char *buf) in qeth_dev_prioqing_show()
[all …]
Dqeth_l3_sys.c45 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_sniffer_show()
190 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_sniffer_store()
244 struct device_attribute *attr, char *buf) in qeth_l3_dev_hsuid_show()
264 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_hsuid_store()
[all …]
/drivers/video/
Dfbsysfs.c127 static ssize_t store_mode(struct device *device, struct device_attribute *attr, in store_mode()
158 static ssize_t show_mode(struct device *device, struct device_attribute *attr, in show_mode()
170 struct device_attribute *attr, in store_modes()
198 static ssize_t show_modes(struct device *device, struct device_attribute *attr, in show_modes()
216 static ssize_t store_bpp(struct device *device, struct device_attribute *attr, in store_bpp()
231 static ssize_t show_bpp(struct device *device, struct device_attribute *attr, in show_bpp()
239 struct device_attribute *attr, in store_rotate()
258 struct device_attribute *attr, char *buf) in show_rotate()
266 struct device_attribute *attr, in store_virtual()
287 struct device_attribute *attr, char *buf) in show_virtual()
[all …]
/drivers/staging/dgrp/
Ddgrp_sysfs.c40 struct class_attribute *attr, char *buf) in dgrp_class_version_show()
48 struct device_attribute *attr, in dgrp_class_register_with_sysfs_show()
58 struct device_attribute *attr, in dgrp_class_pollrate_show()
65 struct device_attribute *attr, in dgrp_class_pollrate_store()
154 struct device_attribute *attr, char *buf) in dgrp_node_state_show()
170 struct device_attribute *attr, in dgrp_node_description_show()
188 struct device_attribute *attr, in dgrp_node_hw_version_show()
209 struct device_attribute *attr, char *buf) in dgrp_node_hw_id_show()
227 struct device_attribute *attr, in dgrp_node_sw_version_show()
308 struct device_attribute *attr, char *buf) in dgrp_tty_state_show()
[all …]
/drivers/usb/core/
Dsysfs.c44 struct device_attribute *attr, char *buf) in show_bMaxPower()
58 struct device_attribute *attr, char *buf) in show_configuration_string()
75 set_bConfigurationValue(struct device *dev, struct device_attribute *attr, in set_bConfigurationValue()
113 show_speed(struct device *dev, struct device_attribute *attr, char *buf) in show_speed()
145 show_busnum(struct device *dev, struct device_attribute *attr, char *buf) in show_busnum()
155 show_devnum(struct device *dev, struct device_attribute *attr, char *buf) in show_devnum()
165 show_devpath(struct device *dev, struct device_attribute *attr, char *buf) in show_devpath()
175 show_version(struct device *dev, struct device_attribute *attr, char *buf) in show_version()
187 show_maxchild(struct device *dev, struct device_attribute *attr, char *buf) in show_maxchild()
197 show_quirks(struct device *dev, struct device_attribute *attr, char *buf) in show_quirks()
[all …]
/drivers/video/omap2/dss/
Ddisplay-sysfs.c33 struct device_attribute *attr, char *buf) in display_enabled_show()
42 struct device_attribute *attr, in display_enabled_store()
67 struct device_attribute *attr, char *buf) in display_tear_show()
76 struct device_attribute *attr, const char *buf, size_t size) in display_tear_store()
97 struct device_attribute *attr, char *buf) in display_timings_show()
114 struct device_attribute *attr, const char *buf, size_t size) in display_timings_store()
153 struct device_attribute *attr, char *buf) in display_rotate_show()
164 struct device_attribute *attr, const char *buf, size_t size) in display_rotate_store()
184 struct device_attribute *attr, char *buf) in display_mirror_show()
195 struct device_attribute *attr, const char *buf, size_t size) in display_mirror_store()
[all …]
/drivers/xen/
Dsys-hypervisor.c32 struct attribute attr; member
38 static ssize_t type_show(struct hyp_sysfs_attr *attr, char *buffer) in type_show()
56 static ssize_t major_show(struct hyp_sysfs_attr *attr, char *buffer) in major_show()
66 static ssize_t minor_show(struct hyp_sysfs_attr *attr, char *buffer) in minor_show()
76 static ssize_t extra_show(struct hyp_sysfs_attr *attr, char *buffer) in extra_show()
118 static ssize_t uuid_show_fallback(struct hyp_sysfs_attr *attr, char *buffer) in uuid_show_fallback()
139 static ssize_t uuid_show(struct hyp_sysfs_attr *attr, char *buffer) in uuid_show()
164 static ssize_t compiler_show(struct hyp_sysfs_attr *attr, char *buffer) in compiler_show()
182 static ssize_t compiled_by_show(struct hyp_sysfs_attr *attr, char *buffer) in compiled_by_show()
200 static ssize_t compile_date_show(struct hyp_sysfs_attr *attr, char *buffer) in compile_date_show()
[all …]
/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 …]
/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 …]
/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 …]
/drivers/pci/
Dpci-sysfs.c55 struct device_attribute *attr, in broken_parity_status_show()
63 struct device_attribute *attr, in broken_parity_status_store()
78 struct device_attribute *attr, char *buf) in local_cpus_show()
97 struct device_attribute *attr, char *buf) in local_cpulist_show()
119 struct device_attribute *attr, in pci_bus_show_cpuaffinity()
135 struct device_attribute *attr, in pci_bus_show_cpumaskaffinity()
142 struct device_attribute *attr, in pci_bus_show_cpulistaffinity()
150 resource_show(struct device * dev, struct device_attribute *attr, char * buf) in resource_show()
174 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, char *buf) in modalias_show()
186 struct device_attribute *attr, const char *buf, in is_enabled_store()
[all …]
/drivers/scsi/qla4xxx/
Dql4_attr.c120 struct bin_attribute *attr; member
155 struct device_attribute *attr, char *buf) in qla4xxx_fw_version_show()
172 qla4xxx_serial_num_show(struct device *dev, struct device_attribute *attr, in qla4xxx_serial_num_show()
180 qla4xxx_iscsi_version_show(struct device *dev, struct device_attribute *attr, in qla4xxx_iscsi_version_show()
189 qla4xxx_optrom_version_show(struct device *dev, struct device_attribute *attr, in qla4xxx_optrom_version_show()
199 qla4xxx_board_id_show(struct device *dev, struct device_attribute *attr, in qla4xxx_board_id_show()
207 qla4xxx_fw_state_show(struct device *dev, struct device_attribute *attr, in qla4xxx_fw_state_show()
218 qla4xxx_phy_port_cnt_show(struct device *dev, struct device_attribute *attr, in qla4xxx_phy_port_cnt_show()
230 qla4xxx_phy_port_num_show(struct device *dev, struct device_attribute *attr, in qla4xxx_phy_port_num_show()
242 qla4xxx_iscsi_func_cnt_show(struct device *dev, struct device_attribute *attr, in qla4xxx_iscsi_func_cnt_show()
[all …]
/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()
76 struct device_attribute *attr, in store_delete_devices()
92 struct device_attribute *attr, in store_scan()
/drivers/infiniband/core/
Dsysfs.c52 struct attribute attr; member
65 struct port_attribute attr; member
71 struct attribute *attr, char *buf) in port_attr_show()
90 struct ib_port_attr attr; in state_show() local
114 struct ib_port_attr attr; in lid_show() local
128 struct ib_port_attr attr; in lid_mask_count_show() local
141 struct ib_port_attr attr; in sm_lid_show() local
154 struct ib_port_attr attr; in sm_sl_show() local
167 struct ib_port_attr attr; in cap_mask_show() local
180 struct ib_port_attr attr; in rate_show() local
[all …]
/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()
112 rtc_sysfs_show_hctosys(struct device *dev, struct device_attribute *attr, in rtc_sysfs_show_hctosys()
137 rtc_sysfs_show_wakealarm(struct device *dev, struct device_attribute *attr, in rtc_sysfs_show_wakealarm()
162 rtc_sysfs_set_wakealarm(struct device *dev, struct device_attribute *attr, in rtc_sysfs_set_wakealarm()
/drivers/hwmon/
Dadm1026.c710 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in()
718 static ssize_t show_in_min(struct device *dev, struct device_attribute *attr, in show_in_min()
726 static ssize_t set_in_min(struct device *dev, struct device_attribute *attr, in set_in_min()
746 static ssize_t show_in_max(struct device *dev, struct device_attribute *attr, in show_in_max()
754 static ssize_t set_in_max(struct device *dev, struct device_attribute *attr, in set_in_max()
801 static ssize_t show_in16(struct device *dev, struct device_attribute *attr, in show_in16()
808 static ssize_t show_in16_min(struct device *dev, struct device_attribute *attr, in show_in16_min()
815 static ssize_t set_in16_min(struct device *dev, struct device_attribute *attr, in set_in16_min()
833 static ssize_t show_in16_max(struct device *dev, struct device_attribute *attr, in show_in16_max()
840 static ssize_t set_in16_max(struct device *dev, struct device_attribute *attr, in set_in16_max()
[all …]
Dvt8231.c195 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in()
205 static ssize_t show_in_min(struct device *dev, struct device_attribute *attr, in show_in_min()
215 static ssize_t show_in_max(struct device *dev, struct device_attribute *attr, in show_in_max()
225 static ssize_t set_in_min(struct device *dev, struct device_attribute *attr, in set_in_min()
245 static ssize_t set_in_max(struct device *dev, struct device_attribute *attr, in set_in_max()
266 static ssize_t show_in5(struct device *dev, struct device_attribute *attr, in show_in5()
275 static ssize_t show_in5_min(struct device *dev, struct device_attribute *attr, in show_in5_min()
284 static ssize_t show_in5_max(struct device *dev, struct device_attribute *attr, in show_in5_max()
293 static ssize_t set_in5_min(struct device *dev, struct device_attribute *attr, in set_in5_min()
312 static ssize_t set_in5_max(struct device *dev, struct device_attribute *attr, in set_in5_max()
[all …]
Dgl520sm.c138 static ssize_t get_cpu_vid(struct device *dev, struct device_attribute *attr, in get_cpu_vid()
152 static ssize_t get_in_input(struct device *dev, struct device_attribute *attr, in get_in_input()
165 static ssize_t get_in_min(struct device *dev, struct device_attribute *attr, in get_in_min()
178 static ssize_t get_in_max(struct device *dev, struct device_attribute *attr, in get_in_max()
191 static ssize_t set_in_min(struct device *dev, struct device_attribute *attr, in set_in_min()
225 static ssize_t set_in_max(struct device *dev, struct device_attribute *attr, in set_in_max()
290 static ssize_t get_fan_input(struct device *dev, struct device_attribute *attr, in get_fan_input()
300 static ssize_t get_fan_min(struct device *dev, struct device_attribute *attr, in get_fan_min()
310 static ssize_t get_fan_div(struct device *dev, struct device_attribute *attr, in get_fan_div()
319 static ssize_t get_fan_off(struct device *dev, struct device_attribute *attr, in get_fan_off()
[all …]
Dasc7621.c177 static ssize_t show_u8(struct device *dev, struct device_attribute *attr, in show_u8()
185 static ssize_t store_u8(struct device *dev, struct device_attribute *attr, in store_u8()
207 struct device_attribute *attr, char *buf) in show_bitmask()
217 struct device_attribute *attr, in store_bitmask()
247 struct device_attribute *attr, char *buf) in show_fan16()
262 struct device_attribute *attr, const char *buf, in store_fan16()
307 static ssize_t show_in10(struct device *dev, struct device_attribute *attr, in show_in10()
325 static ssize_t show_in8(struct device *dev, struct device_attribute *attr, in show_in8()
336 static ssize_t store_in8(struct device *dev, struct device_attribute *attr, in store_in8()
361 struct device_attribute *attr, char *buf) in show_temp8()
[all …]
/drivers/scsi/lpfc/
Dlpfc_attr.c103 lpfc_drvr_version_show(struct device *dev, struct device_attribute *attr, in lpfc_drvr_version_show()
118 lpfc_enable_fip_show(struct device *dev, struct device_attribute *attr, in lpfc_enable_fip_show()
132 lpfc_bg_info_show(struct device *dev, struct device_attribute *attr, in lpfc_bg_info_show()
151 lpfc_bg_guard_err_show(struct device *dev, struct device_attribute *attr, in lpfc_bg_guard_err_show()
163 lpfc_bg_apptag_err_show(struct device *dev, struct device_attribute *attr, in lpfc_bg_apptag_err_show()
175 lpfc_bg_reftag_err_show(struct device *dev, struct device_attribute *attr, in lpfc_bg_reftag_err_show()
195 lpfc_info_show(struct device *dev, struct device_attribute *attr, in lpfc_info_show()
212 lpfc_serialnum_show(struct device *dev, struct device_attribute *attr, in lpfc_serialnum_show()
235 lpfc_temp_sensor_show(struct device *dev, struct device_attribute *attr, in lpfc_temp_sensor_show()
253 lpfc_modeldesc_show(struct device *dev, struct device_attribute *attr, in lpfc_modeldesc_show()
[all …]
/drivers/input/tablet/
Daiptek.c1053 static ssize_t show_tabletSize(struct device *dev, struct device_attribute *attr, char *buf) in show_tabletSize()
1081 static ssize_t show_tabletPointerMode(struct device *dev, struct device_attribute *attr, char *buf) in show_tabletPointerMode()
1091 store_tabletPointerMode(struct device *dev, struct device_attribute *attr, const char *buf, size_t … in store_tabletPointerMode()
1118 static ssize_t show_tabletCoordinateMode(struct device *dev, struct device_attribute *attr, char *b… in show_tabletCoordinateMode()
1128 store_tabletCoordinateMode(struct device *dev, struct device_attribute *attr, const char *buf, size… in store_tabletCoordinateMode()
1160 static ssize_t show_tabletToolMode(struct device *dev, struct device_attribute *attr, char *buf) in show_tabletToolMode()
1170 store_tabletToolMode(struct device *dev, struct device_attribute *attr, const char *buf, size_t cou… in store_tabletToolMode()
1190 static ssize_t show_tabletXtilt(struct device *dev, struct device_attribute *attr, char *buf) in show_tabletXtilt()
1203 store_tabletXtilt(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) in store_tabletXtilt()
1232 static ssize_t show_tabletYtilt(struct device *dev, struct device_attribute *attr, char *buf) in show_tabletYtilt()
[all …]
/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()

12345678910>>...35