/linux/net/bridge/ |
A D | br_sysfs_br.c | 81 struct device_attribute *attr, in forward_delay_store() 143 struct device_attribute *attr, in ageing_time_store() 173 struct device_attribute *attr, in group_fwd_mask_show() 283 struct device_attribute *attr, in topology_change_timer_show() 307 struct device_attribute *attr, in group_addr_store() 353 struct device_attribute *attr, in flush_store() 375 struct device_attribute *attr, in no_linklocal_learn_store() 413 struct device_attribute *attr, in multicast_snooping_store() 438 struct device_attribute *attr, in multicast_query_use_ifaddr_store() 873 struct device_attribute *attr, in default_pvid_show() [all …]
|
/linux/drivers/scsi/ |
A D | scsi_sas_internal.h | 17 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/drivers/dma/idxd/ |
A D | sysfs.c | 32 struct device_attribute *attr, in engine_group_id_store() 116 struct device_attribute *attr, in group_tokens_reserved_show() 125 struct device_attribute *attr, in group_tokens_reserved_store() 162 struct device_attribute *attr, in group_tokens_allowed_show() 171 struct device_attribute *attr, in group_tokens_allowed_store() 205 struct device_attribute *attr, in group_use_token_limit_show() 303 struct device_attribute *attr, in group_traffic_class_a_show() 345 struct device_attribute *attr, in group_traffic_class_b_show() 461 struct device_attribute *attr, in wq_group_id_store() 600 struct device_attribute *attr, in wq_priority_store() [all …]
|
/linux/arch/powerpc/platforms/cell/ |
A D | cbe_thermal.c | 139 struct device_attribute *attr, char *buf) in spu_show_throttle_end() 145 struct device_attribute *attr, char *buf) in spu_show_throttle_begin() 151 struct device_attribute *attr, char *buf) in spu_show_throttle_full_stop() 191 struct device_attribute *attr, char *buf) in ppe_show_temp0() 198 struct device_attribute *attr, char *buf) in ppe_show_temp1() 204 struct device_attribute *attr, char *buf) in ppe_show_throttle_end() 210 struct device_attribute *attr, char *buf) in ppe_show_throttle_begin() 216 struct device_attribute *attr, char *buf) in ppe_show_throttle_full_stop() 240 static struct device_attribute attr_spu_temperature = { 263 static struct device_attribute attr_ppe_temperature0 = { [all …]
|
/linux/drivers/hwtracing/coresight/ |
A D | coresight-etm3x-sysfs.c | 66 struct device_attribute *attr, in reset_store() 107 struct device_attribute *attr, in mode_store() 192 struct device_attribute *attr, in trigger_event_store() 222 struct device_attribute *attr, in enable_event_store() 332 struct device_attribute *attr, in addr_single_store() 453 struct device_attribute *attr, in addr_start_store() 553 struct device_attribute *attr, in addr_acctype_store() 626 struct device_attribute *attr, in cntr_rld_val_store() 661 struct device_attribute *attr, in cntr_event_store() 995 struct device_attribute *attr, in ctxid_idx_store() [all …]
|
A D | coresight-etm4x-sysfs.c | 58 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() 280 struct device_attribute *attr, in mode_show() 292 struct device_attribute *attr, in mode_store() 454 struct device_attribute *attr, in pe_store() 710 struct device_attribute *attr, in event_vinst_show() [all …]
|
A D | coresight-cti-sysfs.c | 80 struct device_attribute *attr, in enable_show() 100 struct device_attribute *attr, in enable_store() 122 struct device_attribute *attr, in powered_show() 317 struct device_attribute *attr, in inen_show() 332 struct device_attribute *attr, in inen_store() 356 struct device_attribute *attr, in outen_show() 371 struct device_attribute *attr, in outen_store() 690 struct device_attribute *attr, in chan_clear_store() 700 struct device_attribute *attr, in chan_pulse_store() 967 struct device_attribute *attr, in trigout_sig_show() [all …]
|
/linux/drivers/usb/core/ |
A D | sysfs.c | 26 struct device_attribute *attr, char *buf) \ 52 struct device_attribute *attr, char *buf) in bMaxPower_show() 71 struct device_attribute *attr, char *buf) in configuration_show() 93 struct device_attribute *attr, in bConfigurationValue_store() 274 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() 925 struct device_attribute *attr, in authorized_default_store() [all …]
|
/linux/drivers/net/bonding/ |
A D | bond_sysfs.c | 142 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() 344 struct device_attribute *attr, in bonding_show_lacp_active() 474 struct device_attribute *attr, in bonding_show_active_slave() 527 struct device_attribute *attr, in bonding_show_ad_num_ports() 656 struct device_attribute *attr, in bonding_show_resend_igmp() [all …]
|
/linux/drivers/misc/cxl/ |
A D | sysfs.c | 18 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/base/power/ |
A D | sysfs.c | 125 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/ |
A D | qeth_core_sys.c | 20 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 D | qeth_l3_sys.c | 59 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() 500 struct device_attribute *attr, char *buf) in qeth_l3_dev_ipato_invert6_show() 621 struct device_attribute *attr, in qeth_l3_dev_vipa_add4_show() 662 struct device_attribute *attr, in qeth_l3_dev_vipa_add6_show() 702 struct device_attribute *attr, in qeth_l3_dev_rxip_add4_show() [all …]
|
/linux/drivers/media/usb/pvrusb2/ |
A D | pvrusb2-sysfs.c | 50 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/Documentation/translations/zh_CN/filesystems/ |
A D | sysfs.txt | 101 例如:驱动程序模型定义的 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/ |
A D | sysfs.txt | 104 例如:驅動程序模型定義的 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/video/fbdev/core/ |
A D | fbsysfs.c | 168 struct device_attribute *attr, in store_modes() 237 struct device_attribute *attr, in store_rotate() 264 struct device_attribute *attr, in store_virtual() 300 struct device_attribute *attr, in store_blank() 326 struct device_attribute *attr, in store_console() 341 struct device_attribute *attr, in store_cursor() 356 struct device_attribute *attr, in store_pan() 381 struct device_attribute *attr, char *buf) in show_pan() 389 struct device_attribute *attr, char *buf) in show_name() 397 struct device_attribute *attr, in store_fbstate() [all …]
|
/linux/include/linux/ |
A D | cpu.h | 44 extern int cpu_add_dev_attr(struct device_attribute *attr); 45 extern void cpu_remove_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); [all …]
|
/linux/drivers/misc/genwqe/ |
A D | card_sysfs.c | 39 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/pcmcia/ |
A D | socket_sysfs.c | 33 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/habanalabs/common/ |
A D | sysfs.c | 121 struct device_attribute *attr, char *buf) in armcp_kernel_ver_show() 146 struct device_attribute *attr, char *buf) in cpucp_kernel_ver_show() 162 struct device_attribute *attr, char *buf) in infineon_ver_show() 179 struct device_attribute *attr, char *buf) in thermal_ver_show() 187 struct device_attribute *attr, char *buf) in preboot_btl_ver_show() 195 struct device_attribute *attr, const char *buf, in soft_reset_store() 223 struct device_attribute *attr, in hard_reset_store() 246 struct device_attribute *attr, char *buf) in device_type_show() 297 struct device_attribute *attr, char *buf) in soft_reset_cnt_show() 305 struct device_attribute *attr, char *buf) in hard_reset_cnt_show() [all …]
|
/linux/drivers/s390/crypto/ |
A D | ap_card.c | 23 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() 135 struct device_attribute *attr, char *buf) in modalias_show() 144 struct device_attribute *attr, char *buf) in config_show() 152 struct device_attribute *attr, in config_store() [all …]
|
/linux/drivers/staging/iio/addac/ |
A D | adt7316.c | 222 struct device_attribute *attr, in adt7316_show_enabled() 277 struct device_attribute *attr, in adt7316_show_select_ex_temp() 321 struct device_attribute *attr, in adt7316_show_mode() 334 struct device_attribute *attr, in adt7316_store_mode() 409 struct device_attribute *attr, in adt7316_store_ad_channel() 645 struct device_attribute *attr, in adt7316_store_da_high_resolution() 921 struct device_attribute *attr, in adt7316_store_update_DAC() 1175 struct device_attribute *attr, in adt7316_show_VDD() 1212 struct device_attribute *attr, in adt7316_show_AIN2() 1223 struct device_attribute *attr, in adt7316_show_AIN3() [all …]
|
/linux/drivers/base/ |
A D | cpu.c | 88 struct device_attribute *attr, in cpu_probe_store() 106 struct device_attribute *attr, in cpu_release_store() 143 struct device_attribute *attr, in crash_notes_show() 165 struct device_attribute *attr, in crash_notes_size_show() 202 struct device_attribute attr; 207 struct device_attribute *attr, in show_cpus_attr() 239 struct device_attribute *attr, char *buf) in print_cpus_offline() 269 struct device_attribute *attr, char *buf) in print_cpus_isolated() 317 struct device_attribute *attr, in print_cpu_modalias() 513 struct device_attribute *attr, char *buf) in cpu_show_meltdown() [all …]
|
/linux/drivers/thermal/ |
A D | thermal_sysfs.c | 27 type_show(struct device *dev, struct device_attribute *attr, char *buf) in type_show() 35 temp_show(struct device *dev, struct device_attribute *attr, char *buf) in temp_show() 49 mode_show(struct device *dev, struct device_attribute *attr, char *buf) in mode_show() 58 mode_store(struct device *dev, struct device_attribute *attr, in mode_store() 78 trip_point_type_show(struct device *dev, struct device_attribute *attr, in trip_point_type_show() 220 policy_store(struct device *dev, struct device_attribute *attr, in policy_store() 253 emul_temp_store(struct device *dev, struct device_attribute *attr, in emul_temp_store() 606 cur_state_store(struct device *dev, struct device_attribute *attr, in cur_state_store() 632 static struct device_attribute 698 struct device_attribute *attr, char *buf) in total_trans_show() [all …]
|