Home
last modified time | relevance | path

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

12345678910>>...50

/linux/drivers/scsi/
H A Dscsi_sas_internal.h17 struct device_attribute private_host_attrs[SAS_HOST_ATTRS];
18 struct device_attribute private_phy_attrs[SAS_PHY_ATTRS];
19 struct device_attribute private_port_attrs[SAS_PORT_ATTRS];
20 struct device_attribute private_rphy_attrs[SAS_RPORT_ATTRS];
21 struct device_attribute private_end_dev_attrs[SAS_END_DEV_ATTRS];
34 struct device_attribute *host_attrs[SAS_HOST_ATTRS + 1];
35 struct device_attribute *phy_attrs[SAS_PHY_ATTRS + 1];
36 struct device_attribute *port_attrs[SAS_PORT_ATTRS + 1];
37 struct device_attribute *rphy_attrs[SAS_RPORT_ATTRS + 1];
38 struct device_attribute *end_dev_attrs[SAS_END_DEV_ATTRS + 1];
[all …]
/linux/net/bridge/
H A Dbr_sysfs_br.c80 struct device_attribute *attr, in forward_delay_store()
142 struct device_attribute *attr, in ageing_time_store()
172 struct device_attribute *attr, in group_fwd_mask_show()
282 struct device_attribute *attr, in topology_change_timer_show()
306 struct device_attribute *attr, in group_addr_store()
356 struct device_attribute *attr, in flush_store()
378 struct device_attribute *attr, in no_linklocal_learn_store()
416 struct device_attribute *attr, in multicast_snooping_store()
441 struct device_attribute *attr, in multicast_query_use_ifaddr_store()
876 struct device_attribute *attr, in default_pvid_show()
[all …]
/linux/drivers/dma/idxd/
H A Dsysfs.c32 struct device_attribute *attr, in engine_group_id_store()
116 struct device_attribute *attr, in group_read_buffers_reserved_show()
125 struct device_attribute *attr, in group_tokens_reserved_show()
133 struct device_attribute *attr, in group_read_buffers_reserved_store()
166 struct device_attribute *attr, in group_tokens_reserved_store()
191 struct device_attribute *attr, in group_tokens_allowed_show()
199 struct device_attribute *attr, in group_read_buffers_allowed_store()
229 struct device_attribute *attr, in group_tokens_allowed_store()
245 struct device_attribute *attr, in group_use_read_buffer_limit_show()
628 struct device_attribute *attr, in wq_group_id_store()
[all …]
/linux/include/linux/
H A Dcpu.h52 struct device_attribute *attr, char *buf);
54 struct device_attribute *attr, char *buf);
56 struct device_attribute *attr, char *buf);
58 struct device_attribute *attr, char *buf);
60 struct device_attribute *attr, char *buf);
62 struct device_attribute *attr, char *buf);
64 struct device_attribute *attr,
67 struct device_attribute *attr, char *buf);
70 struct device_attribute *attr,
73 struct device_attribute *attr, char *buf);
[all …]
/linux/arch/powerpc/platforms/cell/
H A Dcbe_thermal.c138 struct device_attribute *attr, char *buf) in spu_show_throttle_end()
144 struct device_attribute *attr, char *buf) in spu_show_throttle_begin()
150 struct device_attribute *attr, char *buf) in spu_show_throttle_full_stop()
190 struct device_attribute *attr, char *buf) in ppe_show_temp0()
197 struct device_attribute *attr, char *buf) in ppe_show_temp1()
203 struct device_attribute *attr, char *buf) in ppe_show_throttle_end()
209 struct device_attribute *attr, char *buf) in ppe_show_throttle_begin()
215 struct device_attribute *attr, char *buf) in ppe_show_throttle_full_stop()
239 static struct device_attribute attr_spu_temperature = {
262 static struct device_attribute attr_ppe_temperature0 = {
[all …]
/linux/drivers/nvme/host/
H A Dsysfs.c14 struct device_attribute *attr, const char *buf, in nvme_sysfs_reset()
39 struct device_attribute *attr, char *buf) in nvme_adm_passthru_err_log_enabled_show()
73 struct device_attribute *attr, char *buf) in nvme_io_passthru_err_log_enabled_show()
353 struct device_attribute *attr, in nvme_sysfs_show_transport()
363 struct device_attribute *attr, in nvme_sysfs_show_state()
387 struct device_attribute *attr, in nvme_sysfs_show_subsysnqn()
397 struct device_attribute *attr, in nvme_sysfs_show_hostnqn()
407 struct device_attribute *attr, in nvme_sysfs_show_hostid()
417 struct device_attribute *attr, in nvme_sysfs_show_address()
766 struct device_attribute *attr, in nvme_subsys_show_nqn()
[all …]
/linux/drivers/net/bonding/
H A Dbond_sysfs.c142 struct device_attribute *attr, in bonding_sysfs_store_option()
226 struct device_attribute *attr, in bonding_show_arp_validate()
242 struct device_attribute *attr, in bonding_show_arp_all_targets()
258 struct device_attribute *attr, in bonding_show_fail_over_mac()
274 struct device_attribute *attr, in bonding_show_arp_interval()
286 struct device_attribute *attr, in bonding_show_arp_targets()
355 struct device_attribute *attr, in bonding_show_lacp_active()
485 struct device_attribute *attr, in bonding_show_active_slave()
538 struct device_attribute *attr, in bonding_show_ad_num_ports()
667 struct device_attribute *attr, in bonding_show_resend_igmp()
[all …]
/linux/drivers/misc/cxl/
H A Dsysfs.c18 struct device_attribute *attr, in caia_version_show()
28 struct device_attribute *attr, in psl_revision_show()
46 struct device_attribute *attr, in image_loaded_show()
57 struct device_attribute *attr, in psl_timebase_synced_show()
78 struct device_attribute *attr, in tunneled_ops_supported_show()
123 struct device_attribute *attr, in load_image_on_perst_show()
137 struct device_attribute *attr, in load_image_on_perst_store()
161 struct device_attribute *attr, in perst_reloads_same_image_show()
210 struct device_attribute *attr, in pp_mmio_off_show()
219 struct device_attribute *attr, in pp_mmio_len_show()
[all …]
/linux/drivers/accel/habanalabs/common/
H A Dsysfs.c125 struct device_attribute *attr, char *buf) in armcp_kernel_ver_show()
150 struct device_attribute *attr, char *buf) in cpucp_kernel_ver_show()
174 struct device_attribute *attr, char *buf) in thermal_ver_show()
182 struct device_attribute *attr, char *buf) in fw_os_ver_show()
190 struct device_attribute *attr, char *buf) in preboot_btl_ver_show()
226 struct device_attribute *attr, in hard_reset_store()
249 struct device_attribute *attr, char *buf) in device_type_show()
309 struct device_attribute *attr, char *buf) in soft_reset_cnt_show()
317 struct device_attribute *attr, char *buf) in hard_reset_cnt_show()
398 struct device_attribute *attr, char *buf) in security_enabled_show()
[all …]
/linux/drivers/hwtracing/coresight/
H A Dcoresight-etm3x-sysfs.c66 struct device_attribute *attr, in reset_store()
108 struct device_attribute *attr, in mode_store()
193 struct device_attribute *attr, in trigger_event_store()
223 struct device_attribute *attr, in enable_event_store()
333 struct device_attribute *attr, in addr_single_store()
454 struct device_attribute *attr, in addr_start_store()
554 struct device_attribute *attr, in addr_acctype_store()
627 struct device_attribute *attr, in cntr_rld_val_store()
662 struct device_attribute *attr, in cntr_event_store()
996 struct device_attribute *attr, in ctxid_idx_store()
[all …]
H A Dcoresight-etm4x-sysfs.c58 struct device_attribute *attr, in nr_pe_cmp_show()
70 struct device_attribute *attr, in nr_addr_cmp_show()
82 struct device_attribute *attr, in nr_cntr_show()
106 struct device_attribute *attr, in numcidc_show()
142 struct device_attribute *attr, in nr_resource_show()
166 struct device_attribute *attr, in reset_store()
281 struct device_attribute *attr, in mode_show()
293 struct device_attribute *attr, in mode_store()
459 struct device_attribute *attr, in pe_store()
720 struct device_attribute *attr, in event_vinst_show()
[all …]
H A Dcoresight-cti-sysfs.c80 struct device_attribute *attr, in enable_show()
100 struct device_attribute *attr, in enable_store()
131 struct device_attribute *attr, in powered_show()
360 struct device_attribute *attr, in inen_show()
375 struct device_attribute *attr, in inen_store()
399 struct device_attribute *attr, in outen_show()
658 struct device_attribute *attr, in chan_clear_store()
668 struct device_attribute *attr, in chan_pulse_store()
691 struct device_attribute *attr, in trig_filter_enable_store()
935 struct device_attribute *attr, in trigout_sig_show()
[all …]
/linux/drivers/video/fbdev/core/
H A Dfbsysfs.c97 struct device_attribute *attr, in store_modes()
164 struct device_attribute *attr, in store_rotate()
191 struct device_attribute *attr, in store_virtual()
227 struct device_attribute *attr, in store_blank()
253 struct device_attribute *attr, in store_console()
268 struct device_attribute *attr, in store_cursor()
283 struct device_attribute *attr, in store_pan()
308 struct device_attribute *attr, char *buf) in show_pan()
316 struct device_attribute *attr, char *buf) in show_name()
324 struct device_attribute *attr, in store_fbstate()
[all …]
/linux/drivers/usb/core/
H A Dsysfs.c27 struct device_attribute *attr, char *buf) \
53 struct device_attribute *attr, char *buf) in bMaxPower_show()
72 struct device_attribute *attr, char *buf) in configuration_show()
94 struct device_attribute *attr, in bConfigurationValue_store()
272 struct device_attribute *attr, in avoid_reset_quirk_store()
497 struct device_attribute *attr, in usb2_hardware_lpm_store()
528 struct device_attribute *attr, in usb2_lpm_l1_timeout_show()
536 struct device_attribute *attr, in usb2_lpm_l1_timeout_store()
559 struct device_attribute *attr, in usb2_lpm_besl_store()
972 struct device_attribute *attr, in authorized_default_store()
[all …]
/linux/Documentation/translations/zh_CN/filesystems/
H A Dsysfs.txt101 例如:驱动程序模型定义的 device_attribute 结构体如下:
103 struct device_attribute {
105 ssize_t (*show)(struct device *dev, struct device_attribute *attr,
107 ssize_t (*store)(struct device *dev, struct device_attribute *attr,
111 int device_create_file(struct device *, const struct device_attribute *);
125 static struct device_attribute dev_attr_foo = {
162 struct device_attribute *dev_attr = to_dev_attr(attr);
184 ssize_t (*store)(struct device *dev, struct device_attribute *attr,
308 struct device_attribute {
310 ssize_t (*show)(struct device *dev, struct device_attribute *attr,
[all …]
/linux/Documentation/translations/zh_TW/filesystems/
H A Dsysfs.txt104 例如:驅動程序模型定義的 device_attribute 結構體如下:
106 struct device_attribute {
108 ssize_t (*show)(struct device *dev, struct device_attribute *attr,
110 ssize_t (*store)(struct device *dev, struct device_attribute *attr,
114 int device_create_file(struct device *, const struct device_attribute *);
128 static struct device_attribute dev_attr_foo = {
165 struct device_attribute *dev_attr = to_dev_attr(attr);
187 ssize_t (*store)(struct device *dev, struct device_attribute *attr,
311 struct device_attribute {
313 ssize_t (*show)(struct device *dev, struct device_attribute *attr,
[all …]
/linux/drivers/base/power/
H A Dsysfs.c125 struct device_attribute *attr, in runtime_active_time_show()
183 struct device_attribute *attr, in autosuspend_delay_ms_show()
256 struct device_attribute *attr, in pm_qos_latency_tolerance_us_show()
270 struct device_attribute *attr, in pm_qos_latency_tolerance_us_store()
295 struct device_attribute *attr, in pm_qos_no_power_off_show()
303 struct device_attribute *attr, in pm_qos_no_power_off_store()
370 struct device_attribute *attr, in wakeup_active_count_show()
412 struct device_attribute *attr, in wakeup_expire_count_show()
453 struct device_attribute *attr, in wakeup_total_time_ms_show()
494 struct device_attribute *attr, in wakeup_last_time_ms_show()
[all …]
/linux/drivers/s390/net/
H A Dqeth_core_sys.c20 struct device_attribute *attr, char *buf) in qeth_dev_state_show()
41 struct device_attribute *attr, char *buf) in qeth_dev_chpid_show()
51 struct device_attribute *attr, char *buf) in qeth_dev_if_name_show()
61 struct device_attribute *attr, char *buf) in qeth_dev_card_type_show()
85 struct device_attribute *attr, char *buf) in qeth_dev_inbuf_size_show()
95 struct device_attribute *attr, char *buf) in qeth_dev_portno_show()
135 struct device_attribute *attr, char *buf) in qeth_dev_portname_show()
154 struct device_attribute *attr, char *buf) in qeth_dev_prioqing_show()
241 struct device_attribute *attr, char *buf) in qeth_dev_bufcnt_show()
299 struct device_attribute *attr, char *buf) in qeth_dev_performance_stats_show()
[all …]
H A Dqeth_l3_sys.c59 struct device_attribute *attr, char *buf) in qeth_l3_dev_route4_show()
117 struct device_attribute *attr, char *buf) in qeth_l3_dev_route6_show()
137 struct device_attribute *attr, char *buf) in qeth_l3_dev_sniffer_show()
193 struct device_attribute *attr, char *buf) in qeth_l3_dev_hsuid_show()
284 struct device_attribute *attr, char *buf) in qeth_l3_dev_ipato_enable_show()
337 struct device_attribute *attr, in qeth_l3_dev_ipato_invert4_store()
486 struct device_attribute *attr, char *buf) in qeth_l3_dev_ipato_invert6_show()
594 struct device_attribute *attr, in qeth_l3_dev_vipa_add4_show()
635 struct device_attribute *attr, in qeth_l3_dev_vipa_add6_show()
675 struct device_attribute *attr, in qeth_l3_dev_rxip_add4_show()
[all …]
/linux/drivers/media/usb/pvrusb2/
H A Dpvrusb2-sysfs.c50 struct device_attribute attr_name;
51 struct device_attribute attr_type;
52 struct device_attribute attr_min;
53 struct device_attribute attr_max;
54 struct device_attribute attr_def;
57 struct device_attribute attr_val;
70 struct device_attribute *attr, in show_name()
84 struct device_attribute *attr, in show_type()
105 struct device_attribute *attr, in show_min()
118 struct device_attribute *attr, in show_max()
[all …]
/linux/drivers/usb/typec/
H A Dpd.c37 dual_role_power_show(struct device *dev, struct device_attribute *attr, char *buf) in dual_role_power_show()
51 higher_capability_show(struct device *dev, struct device_attribute *attr, char *buf) in higher_capability_show()
72 dual_role_data_show(struct device *dev, struct device_attribute *attr, char *buf) in dual_role_data_show()
80 struct device_attribute *attr, char *buf) in unchunked_extended_messages_supported_show()
87 peak_current_show(struct device *dev, struct device_attribute *attr, char *buf) in peak_current_show()
113 static struct device_attribute maximum_current_attr = {
121 static struct device_attribute operational_current_attr = {
240 maximum_power_show(struct device *dev, struct device_attribute *attr, char *buf) in maximum_power_show()
309 static struct device_attribute pps_max_voltage_attr = {
317 static struct device_attribute pps_min_voltage_attr = {
[all …]
/linux/drivers/pcmcia/
H A Dsocket_sysfs.c33 static ssize_t pccard_show_type(struct device *dev, struct device_attribute *attr, in pccard_show_type()
46 static ssize_t pccard_show_voltage(struct device *dev, struct device_attribute *attr, in pccard_show_voltage()
60 static ssize_t pccard_show_vpp(struct device *dev, struct device_attribute *attr, in pccard_show_vpp()
70 static ssize_t pccard_show_vcc(struct device *dev, struct device_attribute *attr, in pccard_show_vcc()
97 struct device_attribute *attr, in pccard_show_card_pm_state()
105 struct device_attribute *attr, in pccard_store_card_pm_state()
128 struct device_attribute *attr, in pccard_store_eject()
144 struct device_attribute *attr, in pccard_show_irq_mask()
152 struct device_attribute *attr, in pccard_store_irq_mask()
177 struct device_attribute *attr, char *buf) in pccard_show_resource()
[all …]
/linux/drivers/misc/genwqe/
H A Dcard_sysfs.c39 static ssize_t status_show(struct device *dev, struct device_attribute *attr, in status_show()
49 static ssize_t appid_show(struct device *dev, struct device_attribute *attr, in appid_show()
60 static ssize_t version_show(struct device *dev, struct device_attribute *attr, in version_show()
73 static ssize_t type_show(struct device *dev, struct device_attribute *attr, in type_show()
97 struct device_attribute *attr, in freerunning_timer_show()
109 struct device_attribute *attr, in queue_working_time_show()
121 struct device_attribute *attr, in base_clock_show()
149 struct device_attribute *attr, char *buf) in curr_bitstream_show()
165 struct device_attribute *attr, char *buf) in next_bitstream_show()
185 struct device_attribute *attr, in next_bitstream_store()
[all …]
/linux/drivers/media/pci/mgb4/
H A Dmgb4_sysfs_in.c20 struct device_attribute *attr, char *buf) in input_id_show()
29 struct device_attribute *attr, char *buf) in oldi_lane_width_show()
66 struct device_attribute *attr, in oldi_lane_width_store()
133 struct device_attribute *attr, in color_mapping_store()
164 struct device_attribute *attr, char *buf) in link_status_show()
247 struct device_attribute *attr, in hsync_gap_length_show()
263 struct device_attribute *attr, in hsync_gap_length_store()
299 struct device_attribute *attr, in vsync_gap_length_store()
406 struct device_attribute *attr, in frequency_range_store()
466 struct device_attribute *attr, in fpdl3_input_width_store()
[all …]
/linux/drivers/s390/crypto/
H A Dap_card.c23 struct device_attribute *attr, char *buf) in hwtype_show()
33 struct device_attribute *attr, char *buf) in raw_hwtype_show()
53 struct device_attribute *attr, char *buf) in ap_functions_show()
63 struct device_attribute *attr, in request_count_show()
77 struct device_attribute *attr, in request_count_store()
97 struct device_attribute *attr, char *buf) in requestq_count_show()
116 struct device_attribute *attr, char *buf) in pendingq_count_show()
143 struct device_attribute *attr, char *buf) in config_show()
151 struct device_attribute *attr, in config_store()
177 struct device_attribute *attr, char *buf) in chkstop_show()
[all …]

12345678910>>...50