Home
last modified time | relevance | path

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

12345678910>>...53

/linux-6.3-rc2/drivers/scsi/
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-6.3-rc2/net/bridge/
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-6.3-rc2/drivers/dma/idxd/
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-6.3-rc2/arch/powerpc/platforms/cell/
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-6.3-rc2/include/linux/
A Dcpu.h44 extern int cpu_add_dev_attr(struct device_attribute *attr);
51 struct device_attribute *attr, char *buf);
53 struct device_attribute *attr, char *buf);
55 struct device_attribute *attr, char *buf);
57 struct device_attribute *attr, char *buf);
59 struct device_attribute *attr, char *buf);
61 struct device_attribute *attr, char *buf);
63 struct device_attribute *attr,
66 struct device_attribute *attr, char *buf);
69 struct device_attribute *attr,
[all …]
/linux-6.3-rc2/drivers/net/bonding/
A Dbond_sysfs.c142 struct device_attribute *attr, in bonding_sysfs_store_option()
227 struct device_attribute *attr, in bonding_show_arp_validate()
243 struct device_attribute *attr, in bonding_show_arp_all_targets()
259 struct device_attribute *attr, in bonding_show_fail_over_mac()
275 struct device_attribute *attr, in bonding_show_arp_interval()
287 struct device_attribute *attr, in bonding_show_arp_targets()
356 struct device_attribute *attr, in bonding_show_lacp_active()
486 struct device_attribute *attr, in bonding_show_active_slave()
539 struct device_attribute *attr, in bonding_show_ad_num_ports()
668 struct device_attribute *attr, in bonding_show_resend_igmp()
[all …]
/linux-6.3-rc2/drivers/misc/cxl/
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-6.3-rc2/drivers/usb/core/
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()
275 struct device_attribute *attr, in avoid_reset_quirk_store()
498 struct device_attribute *attr, in usb2_hardware_lpm_store()
529 struct device_attribute *attr, in usb2_lpm_l1_timeout_show()
537 struct device_attribute *attr, in usb2_lpm_l1_timeout_store()
560 struct device_attribute *attr, in usb2_lpm_besl_store()
921 struct device_attribute *attr, in authorized_default_store()
[all …]
/linux-6.3-rc2/drivers/hwtracing/coresight/
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 …]
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 …]
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-6.3-rc2/drivers/accel/habanalabs/common/
A Dsysfs.c109 struct device_attribute *attr, char *buf) in armcp_kernel_ver_show()
134 struct device_attribute *attr, char *buf) in cpucp_kernel_ver_show()
158 struct device_attribute *attr, char *buf) in thermal_ver_show()
166 struct device_attribute *attr, char *buf) in fw_os_ver_show()
174 struct device_attribute *attr, char *buf) in preboot_btl_ver_show()
182 struct device_attribute *attr, const char *buf, in soft_reset_store()
210 struct device_attribute *attr, in hard_reset_store()
233 struct device_attribute *attr, char *buf) in device_type_show()
290 struct device_attribute *attr, char *buf) in soft_reset_cnt_show()
298 struct device_attribute *attr, char *buf) in hard_reset_cnt_show()
[all …]
/linux-6.3-rc2/Documentation/translations/zh_CN/filesystems/
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-6.3-rc2/Documentation/translations/zh_TW/filesystems/
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-6.3-rc2/drivers/base/power/
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-6.3-rc2/drivers/s390/net/
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 …]
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-6.3-rc2/drivers/media/usb/pvrusb2/
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;
55 struct device_attribute attr_enum;
57 struct device_attribute attr_val;
74 struct device_attribute *attr, in show_name()
109 struct device_attribute *attr, in show_min()
122 struct device_attribute *attr, in show_max()
[all …]
/linux-6.3-rc2/drivers/usb/typec/
A Dpd.c38 dual_role_power_show(struct device *dev, struct device_attribute *attr, char *buf) in dual_role_power_show()
52 higher_capability_show(struct device *dev, struct device_attribute *attr, char *buf) in higher_capability_show()
73 dual_role_data_show(struct device *dev, struct device_attribute *attr, char *buf) in dual_role_data_show()
81 struct device_attribute *attr, char *buf) in unchunked_extended_messages_supported_show()
116 static struct device_attribute maximum_current_attr = {
124 static struct device_attribute operational_current_attr = {
198 maximum_voltage_show(struct device *dev, struct device_attribute *attr, char *buf) in maximum_voltage_show()
243 maximum_power_show(struct device *dev, struct device_attribute *attr, char *buf) in maximum_power_show()
312 static struct device_attribute pps_max_voltage_attr = {
320 static struct device_attribute pps_min_voltage_attr = {
[all …]
/linux-6.3-rc2/drivers/video/fbdev/core/
A Dfbsysfs.c177 struct device_attribute *attr, in store_modes()
246 struct device_attribute *attr, in store_rotate()
273 struct device_attribute *attr, in store_virtual()
309 struct device_attribute *attr, in store_blank()
335 struct device_attribute *attr, in store_console()
350 struct device_attribute *attr, in store_cursor()
365 struct device_attribute *attr, in store_pan()
390 struct device_attribute *attr, char *buf) in show_pan()
398 struct device_attribute *attr, char *buf) in show_name()
406 struct device_attribute *attr, in store_fbstate()
[all …]
/linux-6.3-rc2/drivers/pcmcia/
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-6.3-rc2/drivers/misc/genwqe/
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-6.3-rc2/drivers/s390/crypto/
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()
144 struct device_attribute *attr, char *buf) in config_show()
152 struct device_attribute *attr, in config_store()
178 struct device_attribute *attr, char *buf) in chkstop_show()
[all …]
/linux-6.3-rc2/drivers/base/
A Dcpu.c88 struct device_attribute *attr, in cpu_probe_store()
106 struct device_attribute *attr, in cpu_release_store()
132 struct device_attribute *attr, in crash_notes_show()
154 struct device_attribute *attr, in crash_notes_size_show()
191 struct device_attribute attr;
196 struct device_attribute *attr, in show_cpus_attr()
228 struct device_attribute *attr, char *buf) in print_cpus_offline()
258 struct device_attribute *attr, char *buf) in print_cpus_isolated()
306 struct device_attribute *attr, in print_cpu_modalias()
513 struct device_attribute *attr, char *buf) in cpu_show_meltdown()
[all …]
/linux-6.3-rc2/drivers/accel/habanalabs/goya/
A Dgoya_hwmgr.c38 static ssize_t mme_clk_show(struct device *dev, struct device_attribute *attr, in mme_clk_show()
55 static ssize_t mme_clk_store(struct device *dev, struct device_attribute *attr, in mme_clk_store()
87 static ssize_t tpc_clk_show(struct device *dev, struct device_attribute *attr, in tpc_clk_show()
104 static ssize_t tpc_clk_store(struct device *dev, struct device_attribute *attr, in tpc_clk_store()
136 static ssize_t ic_clk_show(struct device *dev, struct device_attribute *attr, in ic_clk_show()
153 static ssize_t ic_clk_store(struct device *dev, struct device_attribute *attr, in ic_clk_store()
186 struct device_attribute *attr, char *buf) in mme_clk_curr_show()
203 struct device_attribute *attr, char *buf) in tpc_clk_curr_show()
220 struct device_attribute *attr, char *buf) in ic_clk_curr_show()
237 struct device_attribute *attr, char *buf) in pm_mng_profile_show()
[all …]

Completed in 83 milliseconds

12345678910>>...53