/linux-4.4.14/drivers/scsi/ |
D | scsi_sas_internal.h | 16 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 …]
|
D | scsi_sysfs.c | 128 show_##name (struct device *dev, struct device_attribute *attr, \ 151 store_scan(struct device *dev, struct device_attribute *attr, in store_scan() 165 store_shost_state(struct device *dev, struct device_attribute *attr, in store_shost_state() 189 show_shost_state(struct device *dev, struct device_attribute *attr, char *buf) in show_shost_state() 201 struct device_attribute dev_attr_hstate = 221 show_shost_supported_mode(struct device *dev, struct device_attribute *attr, in show_shost_supported_mode() 238 struct device_attribute *attr, char *buf) in show_shost_active_mode() 261 store_host_reset(struct device *dev, struct device_attribute *attr, in store_host_reset() 286 struct device_attribute *attr, char *buf) in show_shost_eh_deadline() 296 store_shost_eh_deadline(struct device *dev, struct device_attribute *attr, in store_shost_eh_deadline() [all …]
|
/linux-4.4.14/net/bridge/ |
D | br_sysfs_br.c | 53 struct device_attribute *attr, char *buf) in forward_delay_show() 60 struct device_attribute *attr, in forward_delay_store() 67 static ssize_t hello_time_show(struct device *d, struct device_attribute *attr, in hello_time_show() 75 struct device_attribute *attr, const char *buf, in hello_time_store() 82 static ssize_t max_age_show(struct device *d, struct device_attribute *attr, in max_age_show() 89 static ssize_t max_age_store(struct device *d, struct device_attribute *attr, in max_age_store() 97 struct device_attribute *attr, char *buf) in ageing_time_show() 117 struct device_attribute *attr, in ageing_time_store() 125 struct device_attribute *attr, char *buf) in stp_state_show() 133 struct device_attribute *attr, const char *buf, in stp_state_store() [all …]
|
/linux-4.4.14/arch/powerpc/platforms/cell/ |
D | cbe_thermal.c | 63 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-4.4.14/drivers/base/power/ |
D | sysfs.c | 101 static ssize_t control_show(struct device *dev, struct device_attribute *attr, in control_show() 108 static ssize_t control_store(struct device * dev, struct device_attribute *attr, in control_store() 131 struct device_attribute *attr, char *buf) in rtpm_active_time_show() 144 struct device_attribute *attr, char *buf) in rtpm_suspended_time_show() 158 struct device_attribute *attr, char *buf) in rtpm_status_show() 190 struct device_attribute *attr, char *buf) in autosuspend_delay_ms_show() 198 struct device_attribute *attr, const char *buf, size_t n) in autosuspend_delay_ms_store() 218 struct device_attribute *attr, in pm_qos_resume_latency_show() 225 struct device_attribute *attr, in pm_qos_resume_latency_store() 246 struct device_attribute *attr, in pm_qos_latency_tolerance_show() [all …]
|
/linux-4.4.14/drivers/usb/core/ |
D | sysfs.c | 22 struct device_attribute *attr, char *buf) \ 46 struct device_attribute *attr, char *buf) in bMaxPower_show() 63 struct device_attribute *attr, char *buf) in configuration_show() 83 struct device_attribute *attr, in bConfigurationValue_store() 102 struct device_attribute *attr, char *buf) \ 119 static ssize_t speed_show(struct device *dev, struct device_attribute *attr, in speed_show() 151 static ssize_t busnum_show(struct device *dev, struct device_attribute *attr, in busnum_show() 161 static ssize_t devnum_show(struct device *dev, struct device_attribute *attr, in devnum_show() 171 static ssize_t devpath_show(struct device *dev, struct device_attribute *attr, in devpath_show() 181 static ssize_t version_show(struct device *dev, struct device_attribute *attr, in version_show() [all …]
|
D | endpoint.c | 36 struct device_attribute *attr, \ 50 struct device_attribute *attr, char *buf) in wMaxPacketSize_show() 58 static ssize_t type_show(struct device *dev, struct device_attribute *attr, in type_show() 82 static ssize_t interval_show(struct device *dev, struct device_attribute *attr, in interval_show() 128 static ssize_t direction_show(struct device *dev, struct device_attribute *attr, in direction_show()
|
/linux-4.4.14/Documentation/zh_CN/filesystems/ |
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 *); 112 void device_remove_file(struct device *, const struct device_attribute *); 117 struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store) 125 static struct device_attribute dev_attr_foo = { 158 #define to_dev_attr(_attr) container_of(_attr, struct device_attribute, attr) 163 struct device_attribute *dev_attr = to_dev_attr(attr); [all …]
|
/linux-4.4.14/drivers/net/bonding/ |
D | bond_sysfs.c | 159 struct device_attribute *attr, in bonding_sysfs_store_option() 178 struct device_attribute *attr, char *buf) in bonding_show_slaves() 211 struct device_attribute *attr, char *buf) in bonding_show_mode() 225 struct device_attribute *attr, in bonding_show_xmit_hash() 240 struct device_attribute *attr, in bonding_show_arp_validate() 256 struct device_attribute *attr, in bonding_show_arp_all_targets() 272 struct device_attribute *attr, in bonding_show_fail_over_mac() 288 struct device_attribute *attr, in bonding_show_arp_interval() 300 struct device_attribute *attr, in bonding_show_arp_targets() 321 struct device_attribute *attr, in bonding_show_downdelay() [all …]
|
/linux-4.4.14/drivers/misc/cxl/ |
D | sysfs.c | 22 struct device_attribute *attr, in caia_version_show() 32 struct device_attribute *attr, in psl_revision_show() 41 struct device_attribute *attr, in base_image_show() 50 struct device_attribute *attr, in image_loaded_show() 61 struct device_attribute *attr, in reset_adapter_store() 78 struct device_attribute *attr, in load_image_on_perst_show() 92 struct device_attribute *attr, in load_image_on_perst_store() 116 struct device_attribute *attr, in perst_reloads_same_image_show() 125 struct device_attribute *attr, in perst_reloads_same_image_store() 140 static struct device_attribute adapter_attrs[] = { [all …]
|
/linux-4.4.14/drivers/gpu/drm/nouveau/ |
D | nouveau_hwmon.c | 39 nouveau_hwmon_show_temp(struct device *d, struct device_attribute *a, char *buf) in nouveau_hwmon_show_temp() 56 struct device_attribute *a, char *buf) in nouveau_hwmon_show_temp1_auto_point1_pwm() 65 struct device_attribute *a, char *buf) in nouveau_hwmon_temp1_auto_point1_temp() 76 struct device_attribute *a, in nouveau_hwmon_set_temp1_auto_point1_temp() 98 struct device_attribute *a, char *buf) in nouveau_hwmon_temp1_auto_point1_temp_hyst() 109 struct device_attribute *a, in nouveau_hwmon_set_temp1_auto_point1_temp_hyst() 130 nouveau_hwmon_max_temp(struct device *d, struct device_attribute *a, char *buf) in nouveau_hwmon_max_temp() 140 nouveau_hwmon_set_max_temp(struct device *d, struct device_attribute *a, in nouveau_hwmon_set_max_temp() 160 nouveau_hwmon_max_temp_hyst(struct device *d, struct device_attribute *a, in nouveau_hwmon_max_temp_hyst() 171 nouveau_hwmon_set_max_temp_hyst(struct device *d, struct device_attribute *a, in nouveau_hwmon_set_max_temp_hyst() [all …]
|
/linux-4.4.14/drivers/media/usb/pvrusb2/ |
D | pvrusb2-sysfs.c | 40 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-4.4.14/drivers/video/fbdev/core/ |
D | fbsysfs.c | 127 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() 201 static ssize_t show_modes(struct device *device, struct device_attribute *attr, in show_modes() 219 static ssize_t store_bpp(struct device *device, struct device_attribute *attr, in store_bpp() 234 static ssize_t show_bpp(struct device *device, struct device_attribute *attr, in show_bpp() 242 struct device_attribute *attr, in store_rotate() 261 struct device_attribute *attr, char *buf) in show_rotate() 269 struct device_attribute *attr, in store_virtual() 290 struct device_attribute *attr, char *buf) in show_virtual() [all …]
|
/linux-4.4.14/drivers/pcmcia/ |
D | socket_sysfs.c | 36 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-4.4.14/drivers/misc/mic/cosm/ |
D | cosm_sysfs.c | 67 family_show(struct device *dev, struct device_attribute *attr, char *buf) in family_show() 79 stepping_show(struct device *dev, struct device_attribute *attr, char *buf) in stepping_show() 91 state_show(struct device *dev, struct device_attribute *attr, char *buf) in state_show() 103 state_store(struct device *dev, struct device_attribute *attr, in state_store() 134 struct device_attribute *attr, char *buf) in shutdown_status_show() 148 struct device_attribute *attr, char *buf) in heartbeat_enable_show() 160 struct device_attribute *attr, in heartbeat_enable_store() 187 cmdline_show(struct device *dev, struct device_attribute *attr, char *buf) in cmdline_show() 203 cmdline_store(struct device *dev, struct device_attribute *attr, in cmdline_store() 233 firmware_show(struct device *dev, struct device_attribute *attr, char *buf) in firmware_show() [all …]
|
/linux-4.4.14/drivers/soc/versatile/ |
D | soc-realview.c | 55 struct device_attribute *attr, in realview_get_manf() 61 static struct device_attribute realview_manf_attr = 65 struct device_attribute *attr, in realview_get_board() 71 static struct device_attribute realview_board_attr = 75 struct device_attribute *attr, in realview_get_arch() 81 static struct device_attribute realview_arch_attr = 85 struct device_attribute *attr, in realview_get_build() 91 static struct device_attribute realview_build_attr =
|
D | soc-integrator.c | 64 struct device_attribute *attr, in integrator_get_manf() 70 static struct device_attribute integrator_manf_attr = 74 struct device_attribute *attr, in integrator_get_arch() 80 static struct device_attribute integrator_arch_attr = 84 struct device_attribute *attr, in integrator_get_fpga() 90 static struct device_attribute integrator_fpga_attr = 94 struct device_attribute *attr, in integrator_get_build() 100 static struct device_attribute integrator_build_attr =
|
/linux-4.4.14/drivers/ide/ |
D | ide-sysfs.c | 22 static ssize_t media_show(struct device *dev, struct device_attribute *attr, in media_show() 30 static ssize_t drivename_show(struct device *dev, struct device_attribute *attr, in drivename_show() 38 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, in modalias_show() 46 static ssize_t model_show(struct device *dev, struct device_attribute *attr, in model_show() 54 static ssize_t firmware_show(struct device *dev, struct device_attribute *attr, in firmware_show() 62 static ssize_t serial_show(struct device *dev, struct device_attribute *attr, in serial_show() 93 struct device_attribute *attr, in store_delete_devices() 109 struct device_attribute *attr, in store_scan() 125 static struct device_attribute *ide_port_attrs[] = {
|
/linux-4.4.14/drivers/platform/mips/ |
D | cpu_hwmon.c | 34 struct device_attribute *attr, char *buf); 49 struct device_attribute *attr, char *buf) in get_hwmon_name() 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); 81 struct device_attribute *attr, char *buf) in cpu0_temp_label() 87 struct device_attribute *attr, char *buf) in cpu1_temp_label() 93 struct device_attribute *attr, char *buf) in get_cpu0_temp() 100 struct device_attribute *attr, char *buf) in get_cpu1_temp()
|
/linux-4.4.14/drivers/s390/net/ |
D | qeth_core_sys.c | 19 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() 160 struct device_attribute *attr, const char *buf, size_t count) in qeth_dev_portname_store() 173 struct device_attribute *attr, char *buf) in qeth_dev_prioqing_show() [all …]
|
D | qeth_l3_sys.c | 14 struct device_attribute dev_attr_##_id = __ATTR(_name, _mode, _show, _store) 45 struct device_attribute *attr, char *buf) in qeth_l3_dev_route4_show() 94 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_route4_store() 109 struct device_attribute *attr, char *buf) in qeth_l3_dev_route6_show() 120 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_route6_store() 135 struct device_attribute *attr, char *buf) in qeth_l3_dev_fake_broadcast_show() 146 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_fake_broadcast_store() 176 struct device_attribute *attr, char *buf) in qeth_l3_dev_sniffer_show() 187 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_sniffer_store() 241 struct device_attribute *attr, char *buf) in qeth_l3_dev_hsuid_show() [all …]
|
D | qeth_l2_sys.c | 12 struct device_attribute dev_attr_##_id = __ATTR(_name, _mode, _show, _store) 15 struct device_attribute *attr, char *buf, in qeth_bridge_port_role_state_show() 64 struct device_attribute *attr, char *buf) in qeth_bridge_port_role_show() 70 struct device_attribute *attr, const char *buf, size_t count) in qeth_bridge_port_role_store() 107 struct device_attribute *attr, char *buf) in qeth_bridge_port_state_show() 116 struct device_attribute *attr, char *buf) in qeth_bridgeport_hostnotification_show() 130 struct device_attribute *attr, const char *buf, size_t count) in qeth_bridgeport_hostnotification_store() 165 struct device_attribute *attr, char *buf) in qeth_bridgeport_reflect_show() 185 struct device_attribute *attr, const char *buf, size_t count) in qeth_bridgeport_reflect_store()
|
D | ctcm_sysfs.c | 24 struct device_attribute *attr, char *buf) in ctcm_buffer_show() 34 struct device_attribute *attr, const char *buf, size_t count) in ctcm_buffer_write() 113 struct device_attribute *attr, char *buf) in stats_show() 124 static ssize_t stats_write(struct device *dev, struct device_attribute *attr, in stats_write() 137 struct device_attribute *attr, char *buf) in ctcm_proto_show() 147 struct device_attribute *attr, const char *buf, size_t count) in ctcm_proto_store() 177 struct device_attribute *attr, char *buf) in ctcm_type_show()
|
/linux-4.4.14/drivers/misc/genwqe/ |
D | card_sysfs.c | 47 static ssize_t status_show(struct device *dev, struct device_attribute *attr, in status_show() 57 static ssize_t appid_show(struct device *dev, struct device_attribute *attr, in appid_show() 68 static ssize_t version_show(struct device *dev, struct device_attribute *attr, in version_show() 81 static ssize_t type_show(struct device *dev, struct device_attribute *attr, in type_show() 93 static ssize_t tempsens_show(struct device *dev, struct device_attribute *attr, in tempsens_show() 105 struct device_attribute *attr, in freerunning_timer_show() 117 struct device_attribute *attr, in queue_working_time_show() 129 struct device_attribute *attr, in base_clock_show() 157 struct device_attribute *attr, char *buf) in curr_bitstream_show() 173 struct device_attribute *attr, char *buf) in next_bitstream_show() [all …]
|
/linux-4.4.14/drivers/staging/rdma/ipath/ |
D | ipath_sysfs.c | 89 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-4.4.14/drivers/scsi/qla4xxx/ |
D | ql4_attr.c | 155 struct device_attribute *attr, char *buf) in qla4xxx_fw_version_show() 170 qla4xxx_serial_num_show(struct device *dev, struct device_attribute *attr, in qla4xxx_serial_num_show() 178 qla4xxx_iscsi_version_show(struct device *dev, struct device_attribute *attr, in qla4xxx_iscsi_version_show() 187 qla4xxx_optrom_version_show(struct device *dev, struct device_attribute *attr, in qla4xxx_optrom_version_show() 197 qla4xxx_board_id_show(struct device *dev, struct device_attribute *attr, in qla4xxx_board_id_show() 205 qla4xxx_fw_state_show(struct device *dev, struct device_attribute *attr, in qla4xxx_fw_state_show() 216 qla4xxx_phy_port_cnt_show(struct device *dev, struct device_attribute *attr, in qla4xxx_phy_port_cnt_show() 228 qla4xxx_phy_port_num_show(struct device *dev, struct device_attribute *attr, in qla4xxx_phy_port_num_show() 240 qla4xxx_iscsi_func_cnt_show(struct device *dev, struct device_attribute *attr, in qla4xxx_iscsi_func_cnt_show() 252 qla4xxx_hba_model_show(struct device *dev, struct device_attribute *attr, in qla4xxx_hba_model_show() [all …]
|
/linux-4.4.14/drivers/hwtracing/coresight/ |
D | coresight-etm4x.c | 315 struct device_attribute *attr, in nr_pe_cmp_show() 327 struct device_attribute *attr, in nr_addr_cmp_show() 339 struct device_attribute *attr, in nr_cntr_show() 351 struct device_attribute *attr, in nr_ext_inp_show() 363 struct device_attribute *attr, in numcidc_show() 375 struct device_attribute *attr, in numvmidc_show() 387 struct device_attribute *attr, in nrseqstate_show() 399 struct device_attribute *attr, in nr_resource_show() 411 struct device_attribute *attr, in nr_ss_cmp_show() 423 struct device_attribute *attr, in reset_store() [all …]
|
D | coresight-etm3x.c | 434 struct device_attribute *attr, char *buf) in nr_addr_cmp_show() 445 struct device_attribute *attr, char *buf) in nr_cntr_show() 455 struct device_attribute *attr, char *buf) in nr_ctxid_cmp_show() 466 struct device_attribute *attr, char *buf) in etmsr_show() 486 struct device_attribute *attr, in reset_store() 520 struct device_attribute *attr, char *buf) in mode_show() 530 struct device_attribute *attr, in mode_store() 589 struct device_attribute *attr, char *buf) in trigger_event_show() 599 struct device_attribute *attr, in trigger_event_store() 617 struct device_attribute *attr, char *buf) in enable_event_show() [all …]
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | sysfs.c | 41 struct device_attribute *attr, in store_smt_snooze_delay() 58 struct device_attribute *attr, in show_smt_snooze_delay() 116 struct device_attribute *attr, char *buf) in show_pw20_state() 144 struct device_attribute *attr, in store_pw20_state() 162 struct device_attribute *attr, char *buf) in show_pw20_wait_time() 211 struct device_attribute *attr, in store_pw20_wait_time() 238 struct device_attribute *attr, char *buf) in show_altivec_idle() 266 struct device_attribute *attr, in store_altivec_idle() 284 struct device_attribute *attr, char *buf) in show_altivec_idle_wait_time() 333 struct device_attribute *attr, in store_altivec_idle_wait_time() [all …]
|
D | eeh_sysfs.c | 41 struct device_attribute *attr, char *buf) \ 58 struct device_attribute *attr, char *buf) in eeh_pe_state_show() 73 struct device_attribute *attr, in eeh_pe_state_store()
|
/linux-4.4.14/drivers/staging/iio/addac/ |
D | adt7316.c | 220 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-4.4.14/drivers/s390/scsi/ |
D | zfcp_sysfs.c | 16 struct device_attribute dev_attr_##_feat##_##_name = __ATTR(_name, _mode,\ 20 struct device_attribute *at,\ 32 struct device_attribute *at,\ 42 struct device_attribute *at,\ 90 struct device_attribute *attr, in zfcp_sysfs_port_failed_show() 102 struct device_attribute *attr, in zfcp_sysfs_port_failed_store() 122 struct device_attribute *attr, in zfcp_sysfs_unit_failed_show() 140 struct device_attribute *attr, in zfcp_sysfs_unit_failed_store() 166 struct device_attribute *attr, in zfcp_sysfs_adapter_failed_show() 186 struct device_attribute *attr, in zfcp_sysfs_adapter_failed_store() [all …]
|
/linux-4.4.14/drivers/pps/ |
D | sysfs.c | 32 static ssize_t assert_show(struct device *dev, struct device_attribute *attr, in assert_show() 46 static ssize_t clear_show(struct device *dev, struct device_attribute *attr, in clear_show() 60 static ssize_t mode_show(struct device *dev, struct device_attribute *attr, in mode_show() 69 static ssize_t echo_show(struct device *dev, struct device_attribute *attr, in echo_show() 78 static ssize_t name_show(struct device *dev, struct device_attribute *attr, in name_show() 87 static ssize_t path_show(struct device *dev, struct device_attribute *attr, in path_show()
|
/linux-4.4.14/drivers/scsi/snic/ |
D | snic_attrs.c | 25 struct device_attribute *attr, in snic_show_sym_name() 35 struct device_attribute *attr, in snic_show_state() 46 struct device_attribute *attr, in snic_show_drv_version() 54 struct device_attribute *attr, in snic_show_link_state() 71 struct device_attribute *snic_attrs[] = {
|
/linux-4.4.14/drivers/rtc/ |
D | rtc-sysfs.c | 28 name_show(struct device *dev, struct device_attribute *attr, char *buf) in name_show() 35 date_show(struct device *dev, struct device_attribute *attr, char *buf) in date_show() 51 time_show(struct device *dev, struct device_attribute *attr, char *buf) in time_show() 67 since_epoch_show(struct device *dev, struct device_attribute *attr, char *buf) in since_epoch_show() 84 max_user_freq_show(struct device *dev, struct device_attribute *attr, char *buf) in max_user_freq_show() 90 max_user_freq_store(struct device *dev, struct device_attribute *attr, in max_user_freq_store() 112 hctosys_show(struct device *dev, struct device_attribute *attr, char *buf) in hctosys_show() 126 wakealarm_show(struct device *dev, struct device_attribute *attr, char *buf) in wakealarm_show() 150 wakealarm_store(struct device *dev, struct device_attribute *attr, in wakealarm_store()
|
/linux-4.4.14/drivers/edac/ |
D | edac_mc_sysfs.c | 152 static struct device_attribute dev_attr_legacy_##_name = __ATTR(_name, _mode, _show, _store) 155 struct device_attribute attr; 167 struct device_attribute *mattr, char *data) in csrow_ue_count_show() 175 struct device_attribute *mattr, char *data) in csrow_ce_count_show() 183 struct device_attribute *mattr, char *data) in csrow_size_show() 195 struct device_attribute *mattr, char *data) in csrow_mem_type_show() 203 struct device_attribute *mattr, char *data) in csrow_dev_type_show() 211 struct device_attribute *mattr, in csrow_edac_mode_show() 221 struct device_attribute *mattr, in channel_dimm_label_show() 237 struct device_attribute *mattr, in channel_dimm_label_store() [all …]
|
D | amd64_edac_inj.c | 4 struct device_attribute *mattr, in amd64_inject_section_show() 19 struct device_attribute *mattr, in amd64_inject_section_store() 41 struct device_attribute *mattr, in amd64_inject_word_show() 56 struct device_attribute *mattr, in amd64_inject_word_store() 78 struct device_attribute *mattr, in amd64_inject_ecc_vector_show() 92 struct device_attribute *mattr, in amd64_inject_ecc_vector_store() 118 struct device_attribute *mattr, in amd64_inject_read_store() 151 struct device_attribute *mattr, in amd64_inject_write_store()
|
/linux-4.4.14/drivers/pwm/ |
D | sysfs.c | 44 struct device_attribute *attr, in period_show() 53 struct device_attribute *attr, in period_store() 70 struct device_attribute *attr, in duty_cycle_show() 79 struct device_attribute *attr, in duty_cycle_store() 96 struct device_attribute *attr, in enable_show() 105 struct device_attribute *attr, in enable_store() 131 struct device_attribute *attr, in polarity_show() 151 struct device_attribute *attr, in polarity_store() 248 struct device_attribute *attr, in export_store() 276 struct device_attribute *attr, in unexport_store() [all …]
|
/linux-4.4.14/drivers/macintosh/ |
D | macio_sysfs.c | 8 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[] = {
|
/linux-4.4.14/drivers/hid/ |
D | hid-lenovo.c | 220 struct device_attribute *attr, in attr_fn_lock_show_cptkbd() 230 struct device_attribute *attr, in attr_fn_lock_store_cptkbd() 250 struct device_attribute *attr, in attr_sensitivity_show_cptkbd() 261 struct device_attribute *attr, in attr_sensitivity_store_cptkbd() 279 static struct device_attribute dev_attr_fn_lock_cptkbd = 284 static struct device_attribute dev_attr_sensitivity_cptkbd = 387 struct device_attribute *attr, in attr_press_to_select_show_tpkbd() 397 struct device_attribute *attr, in attr_press_to_select_store_tpkbd() 417 struct device_attribute *attr, in attr_dragging_show_tpkbd() 427 struct device_attribute *attr, in attr_dragging_store_tpkbd() [all …]
|
D | hid-ntrig.c | 173 struct device_attribute *attr, in show_phys_width() 185 struct device_attribute *attr, in show_phys_height() 197 struct device_attribute *attr, in show_log_width() 209 struct device_attribute *attr, in show_log_height() 221 struct device_attribute *attr, in show_min_width() 233 struct device_attribute *attr, in set_min_width() 256 struct device_attribute *attr, in show_min_height() 268 struct device_attribute *attr, in set_min_height() 292 struct device_attribute *attr, in show_activate_slack() 302 struct device_attribute *attr, in set_activate_slack() [all …]
|
/linux-4.4.14/drivers/hwmon/ |
D | f71882fg.c | 307 static ssize_t show_in(struct device *dev, struct device_attribute *devattr, 309 static ssize_t show_in_max(struct device *dev, struct device_attribute 311 static ssize_t store_in_max(struct device *dev, struct device_attribute 313 static ssize_t show_in_beep(struct device *dev, struct device_attribute 315 static ssize_t store_in_beep(struct device *dev, struct device_attribute 317 static ssize_t show_in_alarm(struct device *dev, struct device_attribute 320 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, 323 struct device_attribute *devattr, char *buf); 325 struct device_attribute *devattr, const char *buf, size_t count); 326 static ssize_t show_fan_beep(struct device *dev, struct device_attribute [all …]
|
D | vt8231.c | 195 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 …]
|
D | adm1026.c | 478 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() 486 static ssize_t show_in_min(struct device *dev, struct device_attribute *attr, in show_in_min() 494 static ssize_t set_in_min(struct device *dev, struct device_attribute *attr, in set_in_min() 514 static ssize_t show_in_max(struct device *dev, struct device_attribute *attr, in show_in_max() 522 static ssize_t set_in_max(struct device *dev, struct device_attribute *attr, in set_in_max() 569 static ssize_t show_in16(struct device *dev, struct device_attribute *attr, in show_in16() 576 static ssize_t show_in16_min(struct device *dev, struct device_attribute *attr, in show_in16_min() 583 static ssize_t set_in16_min(struct device *dev, struct device_attribute *attr, in set_in16_min() 601 static ssize_t show_in16_max(struct device *dev, struct device_attribute *attr, in show_in16_max() 608 static ssize_t set_in16_max(struct device *dev, struct device_attribute *attr, in set_in16_max() [all …]
|
D | gl520sm.c | 203 static ssize_t get_cpu_vid(struct device *dev, struct device_attribute *attr, in get_cpu_vid() 217 static ssize_t get_in_input(struct device *dev, struct device_attribute *attr, in get_in_input() 230 static ssize_t get_in_min(struct device *dev, struct device_attribute *attr, in get_in_min() 243 static ssize_t get_in_max(struct device *dev, struct device_attribute *attr, in get_in_max() 256 static ssize_t set_in_min(struct device *dev, struct device_attribute *attr, in set_in_min() 290 static ssize_t set_in_max(struct device *dev, struct device_attribute *attr, in set_in_max() 355 static ssize_t get_fan_input(struct device *dev, struct device_attribute *attr, in get_fan_input() 365 static ssize_t get_fan_min(struct device *dev, struct device_attribute *attr, in get_fan_min() 375 static ssize_t get_fan_div(struct device *dev, struct device_attribute *attr, in get_fan_div() 384 static ssize_t get_fan_off(struct device *dev, struct device_attribute *attr, in get_fan_off() [all …]
|
D | adm1025.c | 177 show_in(struct device *dev, struct device_attribute *attr, char *buf) in show_in() 186 show_in_min(struct device *dev, struct device_attribute *attr, char *buf) in show_in_min() 195 show_in_max(struct device *dev, struct device_attribute *attr, char *buf) in show_in_max() 204 show_temp(struct device *dev, struct device_attribute *attr, char *buf) in show_temp() 212 show_temp_min(struct device *dev, struct device_attribute *attr, char *buf) in show_temp_min() 220 show_temp_max(struct device *dev, struct device_attribute *attr, char *buf) in show_temp_max() 227 static ssize_t set_in_min(struct device *dev, struct device_attribute *attr, in set_in_min() 248 static ssize_t set_in_max(struct device *dev, struct device_attribute *attr, in set_in_max() 283 static ssize_t set_temp_min(struct device *dev, struct device_attribute *attr, in set_temp_min() 304 static ssize_t set_temp_max(struct device *dev, struct device_attribute *attr, in set_temp_max() [all …]
|
D | da9052-hwmon.c | 76 struct device_attribute *devattr, char *buf) in da9052_read_vddout() 108 struct device_attribute *devattr, char *buf) in da9052_read_ich() 122 struct device_attribute *devattr, char *buf) in da9052_read_tbat() 130 struct device_attribute *devattr, char *buf) in da9052_read_vbat() 143 struct device_attribute *devattr, in da9052_read_misc_channel() 158 struct device_attribute *devattr, char *buf) in da9052_read_tjunc() 180 struct device_attribute *devattr, char *buf) in da9052_read_vbbat() 193 struct device_attribute *devattr, char *buf) in show_label()
|
D | lm85.c | 557 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, in show_fan() 565 static ssize_t show_fan_min(struct device *dev, struct device_attribute *attr, in show_fan_min() 573 static ssize_t set_fan_min(struct device *dev, struct device_attribute *attr, in set_fan_min() 606 static ssize_t show_vid_reg(struct device *dev, struct device_attribute *attr, in show_vid_reg() 625 static ssize_t show_vrm_reg(struct device *dev, struct device_attribute *attr, in show_vrm_reg() 632 static ssize_t store_vrm_reg(struct device *dev, struct device_attribute *attr, in store_vrm_reg() 652 static ssize_t show_alarms_reg(struct device *dev, struct device_attribute in show_alarms_reg() 661 static ssize_t show_alarm(struct device *dev, struct device_attribute *attr, in show_alarm() 689 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm() 697 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() [all …]
|
D | adt7470.c | 399 struct device_attribute *devattr, in show_auto_update_interval() 407 struct device_attribute *devattr, in set_auto_update_interval() 427 struct device_attribute *devattr, in show_num_temp_sensors() 435 struct device_attribute *devattr, in set_num_temp_sensors() 457 struct device_attribute *devattr, in show_temp_min() 466 struct device_attribute *devattr, in set_temp_min() 491 struct device_attribute *devattr, in show_temp_max() 500 struct device_attribute *devattr, in set_temp_max() 524 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, in show_temp() 533 struct device_attribute *devattr, in show_alarm_mask() [all …]
|
D | lm93.c | 1114 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() 1141 struct device_attribute *attr, char *buf) in show_in_min() 1157 static ssize_t store_in_min(struct device *dev, struct device_attribute *attr, in store_in_min() 1222 struct device_attribute *attr, char *buf) in show_in_max() 1238 static ssize_t store_in_max(struct device *dev, struct device_attribute *attr, in store_in_max() 1303 struct device_attribute *attr, char *buf) in show_temp() 1315 struct device_attribute *attr, char *buf) in show_temp_min() 1322 static ssize_t store_temp_min(struct device *dev, struct device_attribute *attr, in store_temp_min() 1350 struct device_attribute *attr, char *buf) in show_temp_max() 1357 static ssize_t store_temp_max(struct device *dev, struct device_attribute *attr, in store_temp_max() [all …]
|
D | max6650.c | 174 static ssize_t get_fan(struct device *dev, struct device_attribute *devattr, in get_fan() 235 static ssize_t get_target(struct device *dev, struct device_attribute *devattr, in get_target() 255 static ssize_t set_target(struct device *dev, struct device_attribute *devattr, in set_target() 303 static ssize_t get_pwm(struct device *dev, struct device_attribute *devattr, in get_pwm() 324 static ssize_t set_pwm(struct device *dev, struct device_attribute *devattr, in set_pwm() 360 static ssize_t get_enable(struct device *dev, struct device_attribute *devattr, in get_enable() 370 static ssize_t set_enable(struct device *dev, struct device_attribute *devattr, in set_enable() 412 static ssize_t get_div(struct device *dev, struct device_attribute *devattr, in get_div() 420 static ssize_t set_div(struct device *dev, struct device_attribute *devattr, in set_div() 464 static ssize_t get_alarm(struct device *dev, struct device_attribute *devattr, in get_alarm() [all …]
|
D | adm9240.c | 262 static ssize_t show_temp(struct device *dev, struct device_attribute *dummy, in show_temp() 269 static ssize_t show_max(struct device *dev, struct device_attribute *devattr, in show_max() 277 static ssize_t set_max(struct device *dev, struct device_attribute *devattr, in set_max() 305 static ssize_t show_in(struct device *dev, struct device_attribute *devattr, in show_in() 315 struct device_attribute *devattr, char *buf) in show_in_min() 324 struct device_attribute *devattr, char *buf) in show_in_max() 333 struct device_attribute *devattr, in set_in_min() 355 struct device_attribute *devattr, in set_in_max() 393 struct device_attribute *devattr, char *buf) in show_fan() 402 struct device_attribute *devattr, char *buf) in show_fan_min() [all …]
|
D | lm87.c | 279 static ssize_t show_in_input(struct device *dev, struct device_attribute *attr, in show_in_input() 290 struct device_attribute *attr, char *buf) in show_in_min() 300 struct device_attribute *attr, char *buf) in show_in_max() 309 static ssize_t set_in_min(struct device *dev, struct device_attribute *attr, in set_in_min() 330 static ssize_t set_in_max(struct device *dev, struct device_attribute *attr, in set_in_max() 368 struct device_attribute *attr, char *buf) in show_temp_input() 377 struct device_attribute *attr, char *buf) in show_temp_low() 387 struct device_attribute *attr, char *buf) in show_temp_high() 396 static ssize_t set_temp_low(struct device *dev, struct device_attribute *attr, in set_temp_low() 416 static ssize_t set_temp_high(struct device *dev, struct device_attribute *attr, in set_temp_high() [all …]
|
D | adm1031.c | 335 struct device_attribute *attr, char *buf) in show_fan_auto_channel() 343 set_fan_auto_channel(struct device *dev, struct device_attribute *attr, in set_fan_auto_channel() 402 struct device_attribute *attr, char *buf) in show_auto_temp_off() 410 struct device_attribute *attr, char *buf) in show_auto_temp_min() 418 set_auto_temp_min(struct device *dev, struct device_attribute *attr, in set_auto_temp_min() 440 struct device_attribute *attr, char *buf) in show_auto_temp_max() 448 set_auto_temp_max(struct device *dev, struct device_attribute *attr, in set_auto_temp_max() 485 struct device_attribute *attr, char *buf) in show_pwm() 491 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() 577 struct device_attribute *attr, char *buf) in show_fan() [all …]
|
D | smsc47m192.c | 181 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() 190 static ssize_t show_in_min(struct device *dev, struct device_attribute *attr, in show_in_min() 199 static ssize_t show_in_max(struct device *dev, struct device_attribute *attr, in show_in_max() 208 static ssize_t set_in_min(struct device *dev, struct device_attribute *attr, in set_in_min() 230 static ssize_t set_in_max(struct device *dev, struct device_attribute *attr, in set_in_max() 270 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, in show_temp() 279 static ssize_t show_temp_min(struct device *dev, struct device_attribute *attr, in show_temp_min() 288 static ssize_t show_temp_max(struct device *dev, struct device_attribute *attr, in show_temp_max() 297 static ssize_t set_temp_min(struct device *dev, struct device_attribute *attr, in set_temp_min() 319 static ssize_t set_temp_max(struct device *dev, struct device_attribute *attr, in set_temp_max() [all …]
|
D | emc2103.c | 188 show_temp(struct device *dev, struct device_attribute *da, char *buf) in show_temp() 198 show_temp_min(struct device *dev, struct device_attribute *da, char *buf) in show_temp_min() 207 show_temp_max(struct device *dev, struct device_attribute *da, char *buf) in show_temp_max() 216 show_temp_fault(struct device *dev, struct device_attribute *da, char *buf) in show_temp_fault() 225 show_temp_min_alarm(struct device *dev, struct device_attribute *da, char *buf) in show_temp_min_alarm() 234 show_temp_max_alarm(struct device *dev, struct device_attribute *da, char *buf) in show_temp_max_alarm() 242 static ssize_t set_temp_min(struct device *dev, struct device_attribute *da, in set_temp_min() 264 static ssize_t set_temp_max(struct device *dev, struct device_attribute *da, in set_temp_max() 287 show_fan(struct device *dev, struct device_attribute *da, char *buf) in show_fan() 297 show_fan_div(struct device *dev, struct device_attribute *da, char *buf) in show_fan_div() [all …]
|
D | pc87360.c | 258 struct device_attribute *devattr, char *buf) in show_fan_input() 266 struct device_attribute *devattr, char *buf) in show_fan_min() 274 struct device_attribute *devattr, char *buf) in show_fan_div() 282 struct device_attribute *devattr, char *buf) in show_fan_status() 290 struct device_attribute *devattr, const char *buf, in set_fan_min() 356 static ssize_t show_pwm(struct device *dev, struct device_attribute *devattr, in show_pwm() 366 static ssize_t set_pwm(struct device *dev, struct device_attribute *devattr, in set_pwm() 406 struct device_attribute *devattr, char *buf) in show_in_input() 414 struct device_attribute *devattr, char *buf) in show_in_min() 422 struct device_attribute *devattr, char *buf) in show_in_max() [all …]
|
D | f71805f.c | 426 static ssize_t show_in0(struct device *dev, struct device_attribute *devattr, in show_in0() 436 static ssize_t show_in0_max(struct device *dev, struct device_attribute in show_in0_max() 446 static ssize_t show_in0_min(struct device *dev, struct device_attribute in show_in0_min() 456 static ssize_t set_in0_max(struct device *dev, struct device_attribute in set_in0_max() 477 static ssize_t set_in0_min(struct device *dev, struct device_attribute in set_in0_min() 498 static ssize_t show_in(struct device *dev, struct device_attribute *devattr, in show_in() 508 static ssize_t show_in_max(struct device *dev, struct device_attribute in show_in_max() 518 static ssize_t show_in_min(struct device *dev, struct device_attribute in show_in_min() 528 static ssize_t set_in_max(struct device *dev, struct device_attribute in set_in_max() 549 static ssize_t set_in_min(struct device *dev, struct device_attribute in set_in_min() [all …]
|
D | sis5595.c | 225 static ssize_t show_in(struct device *dev, struct device_attribute *da, in show_in() 234 static ssize_t show_in_min(struct device *dev, struct device_attribute *da, in show_in_min() 243 static ssize_t show_in_max(struct device *dev, struct device_attribute *da, in show_in_max() 252 static ssize_t set_in_min(struct device *dev, struct device_attribute *da, in set_in_min() 272 static ssize_t set_in_max(struct device *dev, struct device_attribute *da, in set_in_max() 307 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, in show_temp() 314 static ssize_t show_temp_over(struct device *dev, struct device_attribute *attr, in show_temp_over() 321 static ssize_t set_temp_over(struct device *dev, struct device_attribute *attr, in set_temp_over() 339 static ssize_t show_temp_hyst(struct device *dev, struct device_attribute *attr, in show_temp_hyst() 346 static ssize_t set_temp_hyst(struct device *dev, struct device_attribute *attr, in set_temp_hyst() [all …]
|
D | via686a.c | 358 static ssize_t show_in(struct device *dev, struct device_attribute *da, in show_in() 366 static ssize_t show_in_min(struct device *dev, struct device_attribute *da, in show_in_min() 374 static ssize_t show_in_max(struct device *dev, struct device_attribute *da, in show_in_max() 382 static ssize_t set_in_min(struct device *dev, struct device_attribute *da, in set_in_min() 401 static ssize_t set_in_max(struct device *dev, struct device_attribute *da, in set_in_max() 435 static ssize_t show_temp(struct device *dev, struct device_attribute *da, in show_temp() 442 static ssize_t show_temp_over(struct device *dev, struct device_attribute *da, in show_temp_over() 449 static ssize_t show_temp_hyst(struct device *dev, struct device_attribute *da, in show_temp_hyst() 456 static ssize_t set_temp_over(struct device *dev, struct device_attribute *da, in set_temp_over() 475 static ssize_t set_temp_hyst(struct device *dev, struct device_attribute *da, in set_temp_hyst() [all …]
|
D | thmc50.c | 132 struct device_attribute *attr, char *buf) in show_analog_out() 139 struct device_attribute *attr, in set_analog_out() 169 static ssize_t show_pwm_mode(struct device *dev, struct device_attribute *attr, in show_pwm_mode() 176 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, in show_temp() 184 static ssize_t show_temp_min(struct device *dev, struct device_attribute *attr, in show_temp_min() 192 static ssize_t set_temp_min(struct device *dev, struct device_attribute *attr, in set_temp_min() 213 static ssize_t show_temp_max(struct device *dev, struct device_attribute *attr, in show_temp_max() 221 static ssize_t set_temp_max(struct device *dev, struct device_attribute *attr, in set_temp_max() 243 struct device_attribute *attr, in show_temp_critical() 251 static ssize_t show_alarm(struct device *dev, struct device_attribute *attr, in show_alarm()
|
D | lm95245.c | 213 static ssize_t show_input(struct device *dev, struct device_attribute *attr, in show_input() 235 static ssize_t show_limit(struct device *dev, struct device_attribute *attr, in show_limit() 245 static ssize_t set_limit(struct device *dev, struct device_attribute *attr, in set_limit() 271 static ssize_t show_crit_hyst(struct device *dev, struct device_attribute *attr, in show_crit_hyst() 281 static ssize_t set_crit_hyst(struct device *dev, struct device_attribute *attr, in set_crit_hyst() 309 static ssize_t show_type(struct device *dev, struct device_attribute *attr, in show_type() 318 static ssize_t set_type(struct device *dev, struct device_attribute *attr, in set_type() 347 static ssize_t show_alarm(struct device *dev, struct device_attribute *attr, in show_alarm() 357 static ssize_t show_interval(struct device *dev, struct device_attribute *attr, in show_interval() 365 static ssize_t set_interval(struct device *dev, struct device_attribute *attr, in set_interval()
|
D | lm95241.c | 140 static ssize_t show_input(struct device *dev, struct device_attribute *attr, in show_input() 153 static ssize_t show_type(struct device *dev, struct device_attribute *attr, in show_type() 162 static ssize_t set_type(struct device *dev, struct device_attribute *attr, in set_type() 200 static ssize_t show_min(struct device *dev, struct device_attribute *attr, in show_min() 210 static ssize_t set_min(struct device *dev, struct device_attribute *attr, in set_min() 237 static ssize_t show_max(struct device *dev, struct device_attribute *attr, in show_max() 247 static ssize_t set_max(struct device *dev, struct device_attribute *attr, in set_max() 274 static ssize_t show_interval(struct device *dev, struct device_attribute *attr, in show_interval() 283 static ssize_t set_interval(struct device *dev, struct device_attribute *attr, in set_interval()
|
D | asc7621.c | 177 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 …]
|
D | amc6821.c | 282 struct device_attribute *devattr, in get_temp() 293 struct device_attribute *attr, in set_temp() 319 struct device_attribute *devattr, in get_temp_alarm() 357 struct device_attribute *devattr, in get_temp2_fault() 369 struct device_attribute *devattr, in get_pwm1() 378 struct device_attribute *devattr, in set_pwm1() 398 struct device_attribute *devattr, in get_pwm1_enable() 407 struct device_attribute *attr, in set_pwm1_enable() 456 struct device_attribute *devattr, in get_pwm1_auto_channels_temp() 465 struct device_attribute *devattr, in get_temp_auto_point_temp() [all …]
|
D | f75375s.c | 299 static ssize_t set_fan_min(struct device *dev, struct device_attribute *attr, in set_fan_min() 319 static ssize_t set_fan_target(struct device *dev, struct device_attribute *attr, in set_fan_target() 344 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() 368 static ssize_t show_pwm_enable(struct device *dev, struct device_attribute in show_pwm_enable() 440 static ssize_t set_pwm_enable(struct device *dev, struct device_attribute *attr, in set_pwm_enable() 459 static ssize_t set_pwm_mode(struct device *dev, struct device_attribute *attr, in set_pwm_mode() 503 static ssize_t show_pwm(struct device *dev, struct device_attribute in show_pwm() 511 static ssize_t show_pwm_mode(struct device *dev, struct device_attribute in show_pwm_mode() 522 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() 530 static ssize_t show_in_max(struct device *dev, struct device_attribute *attr, in show_in_max() [all …]
|
D | lm95234.c | 214 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, in show_temp() 229 struct device_attribute *attr, char *buf) in show_alarm() 241 static ssize_t show_type(struct device *dev, struct device_attribute *attr, in show_type() 254 static ssize_t set_type(struct device *dev, struct device_attribute *attr, in set_type() 285 static ssize_t show_tcrit2(struct device *dev, struct device_attribute *attr, in show_tcrit2() 298 static ssize_t set_tcrit2(struct device *dev, struct device_attribute *attr, in set_tcrit2() 324 struct device_attribute *attr, char *buf) in show_tcrit2_hyst() 338 static ssize_t show_tcrit1(struct device *dev, struct device_attribute *attr, in show_tcrit1() 347 static ssize_t set_tcrit1(struct device *dev, struct device_attribute *attr, in set_tcrit1() 373 struct device_attribute *attr, char *buf) in show_tcrit1_hyst() [all …]
|
D | g762.c | 738 static ssize_t get_fan_rpm(struct device *dev, struct device_attribute *da, in get_fan_rpm() 764 static ssize_t get_pwm_mode(struct device *dev, struct device_attribute *da, in get_pwm_mode() 776 static ssize_t set_pwm_mode(struct device *dev, struct device_attribute *da, in set_pwm_mode() 797 struct device_attribute *da, char *buf) in get_fan_div() 808 struct device_attribute *da, in set_fan_div() 829 struct device_attribute *da, char *buf) in get_fan_pulses() 840 struct device_attribute *da, in set_fan_pulses() 871 struct device_attribute *da, char *buf) in get_pwm_enable() 883 struct device_attribute *da, in set_pwm_enable() 904 static ssize_t get_pwm(struct device *dev, struct device_attribute *da, in get_pwm() [all …]
|
D | w83627hf.c | 485 show_in_input(struct device *dev, struct device_attribute *devattr, char *buf) in show_in_input() 492 show_in_min(struct device *dev, struct device_attribute *devattr, char *buf) in show_in_min() 499 show_in_max(struct device *dev, struct device_attribute *devattr, char *buf) in show_in_max() 506 store_in_min(struct device *dev, struct device_attribute *devattr, in store_in_min() 525 store_in_max(struct device *dev, struct device_attribute *devattr, in store_in_max() 578 static ssize_t show_regs_in_0(struct device *dev, struct device_attribute *attr, char *buf) in show_regs_in_0() 584 static ssize_t show_regs_in_min0(struct device *dev, struct device_attribute *attr, char *buf) in show_regs_in_min0() 590 static ssize_t show_regs_in_max0(struct device *dev, struct device_attribute *attr, char *buf) in show_regs_in_max0() 596 static ssize_t store_regs_in_min0(struct device *dev, struct device_attribute *attr, in store_regs_in_min0() 625 static ssize_t store_regs_in_max0(struct device *dev, struct device_attribute *attr, in store_regs_in_max0() [all …]
|
D | atxp1.c | 85 struct device_attribute *attr, char *buf) in atxp1_showvcore() 99 struct device_attribute *attr, in atxp1_storevcore() 162 struct device_attribute *attr, char *buf) in atxp1_showgpio1() 175 struct device_attribute *attr, const char *buf, in atxp1_storegpio1() 208 struct device_attribute *attr, char *buf) in atxp1_showgpio2() 221 struct device_attribute *attr, in atxp1_storegpio2()
|
D | abx500.c | 124 static ssize_t show_name(struct device *dev, struct device_attribute *devattr, in show_name() 133 struct device_attribute *devattr, char *buf) in show_label() 141 struct device_attribute *devattr, char *buf) in show_input() 156 static ssize_t set_min(struct device *dev, struct device_attribute *devattr, in set_min() 176 static ssize_t set_max(struct device *dev, struct device_attribute *devattr, in set_max() 197 struct device_attribute *devattr, in set_max_hyst() 219 struct device_attribute *devattr, char *buf) in show_min() 228 struct device_attribute *devattr, char *buf) in show_max() 237 struct device_attribute *devattr, char *buf) in show_max_hyst() 246 struct device_attribute *devattr, char *buf) in show_min_alarm() [all …]
|
D | lm63.c | 343 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, in show_fan() 351 static ssize_t set_fan(struct device *dev, struct device_attribute *dummy, in set_fan() 373 static ssize_t show_pwm1(struct device *dev, struct device_attribute *devattr, in show_pwm1() 391 static ssize_t set_pwm1(struct device *dev, struct device_attribute *devattr, in set_pwm1() 421 struct device_attribute *dummy, char *buf) in show_pwm1_enable() 428 struct device_attribute *dummy, in set_pwm1_enable() 469 struct device_attribute *devattr, in show_local_temp8() 478 struct device_attribute *devattr, in show_remote_temp8() 488 struct device_attribute *devattr, in show_lut_temp() 497 static ssize_t set_temp8(struct device *dev, struct device_attribute *devattr, in set_temp8() [all …]
|
D | adm1021.c | 160 struct device_attribute *devattr, char *buf) in show_temp() 169 struct device_attribute *devattr, char *buf) in show_temp_max() 178 struct device_attribute *devattr, char *buf) in show_temp_min() 186 static ssize_t show_alarm(struct device *dev, struct device_attribute *attr, in show_alarm() 195 struct device_attribute *attr, in show_alarms() 203 struct device_attribute *devattr, in set_temp_max() 229 struct device_attribute *devattr, in set_temp_min() 255 struct device_attribute *devattr, char *buf) in show_low_power() 262 struct device_attribute *devattr, in set_low_power()
|
D | max6639.c | 166 struct device_attribute *dev_attr, char *buf) in show_temp_input() 180 struct device_attribute *dev_attr, char *buf) in show_temp_fault() 192 struct device_attribute *dev_attr, char *buf) in show_temp_max() 201 struct device_attribute *dev_attr, in set_temp_max() 224 struct device_attribute *dev_attr, char *buf) in show_temp_crit() 233 struct device_attribute *dev_attr, in set_temp_crit() 256 struct device_attribute *dev_attr, in show_temp_emergency() 266 struct device_attribute *dev_attr, in set_temp_emergency() 289 struct device_attribute *dev_attr, char *buf) in show_pwm() 298 struct device_attribute *dev_attr, in set_pwm() [all …]
|
D | adt7462.c | 788 struct device_attribute *devattr, in show_temp_min() 801 struct device_attribute *devattr, in set_temp_min() 826 struct device_attribute *devattr, in show_temp_max() 839 struct device_attribute *devattr, in set_temp_max() 863 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, in show_temp() 878 struct device_attribute *devattr, in show_temp_label() 888 struct device_attribute *devattr, in show_volt_max() 902 struct device_attribute *devattr, in set_volt_max() 930 struct device_attribute *devattr, in show_volt_min() 944 struct device_attribute *devattr, in set_volt_min() [all …]
|
D | w83791d.c | 367 static ssize_t show_##reg(struct device *dev, struct device_attribute *attr, \ 383 struct device_attribute *attr, \ 445 static ssize_t show_beep(struct device *dev, struct device_attribute *attr, in show_beep() 456 static ssize_t store_beep(struct device *dev, struct device_attribute *attr, in store_beep() 491 static ssize_t show_alarm(struct device *dev, struct device_attribute *attr, in show_alarm() 533 static ssize_t show_##reg(struct device *dev, struct device_attribute *attr, \ 547 static ssize_t store_fan_min(struct device *dev, struct device_attribute *attr, in store_fan_min() 569 static ssize_t show_fan_div(struct device *dev, struct device_attribute *attr, in show_fan_div() 584 static ssize_t store_fan_div(struct device *dev, struct device_attribute *attr, in store_fan_div() 725 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm() [all …]
|
D | asb100.c | 249 static ssize_t show_##reg(struct device *dev, struct device_attribute *attr, \ 262 static ssize_t set_in_##reg(struct device *dev, struct device_attribute *attr, \ 300 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, in show_fan() 309 static ssize_t show_fan_min(struct device *dev, struct device_attribute *attr, in show_fan_min() 318 static ssize_t show_fan_div(struct device *dev, struct device_attribute *attr, in show_fan_div() 326 static ssize_t set_fan_min(struct device *dev, struct device_attribute *attr, in set_fan_min() 352 static ssize_t set_fan_div(struct device *dev, struct device_attribute *attr, in set_fan_div() 431 static ssize_t show_##reg(struct device *dev, struct device_attribute *attr, \ 444 static ssize_t set_##reg(struct device *dev, struct device_attribute *attr, \ 486 static ssize_t show_vid(struct device *dev, struct device_attribute *attr, in show_vid() [all …]
|
D | lm78.c | 158 static ssize_t show_in(struct device *dev, struct device_attribute *da, in show_in() 166 static ssize_t show_in_min(struct device *dev, struct device_attribute *da, in show_in_min() 174 static ssize_t show_in_max(struct device *dev, struct device_attribute *da, in show_in_max() 182 static ssize_t set_in_min(struct device *dev, struct device_attribute *da, in set_in_min() 202 static ssize_t set_in_max(struct device *dev, struct device_attribute *da, in set_in_max() 239 static ssize_t show_temp(struct device *dev, struct device_attribute *da, in show_temp() 246 static ssize_t show_temp_over(struct device *dev, struct device_attribute *da, in show_temp_over() 253 static ssize_t set_temp_over(struct device *dev, struct device_attribute *da, in set_temp_over() 271 static ssize_t show_temp_hyst(struct device *dev, struct device_attribute *da, in show_temp_hyst() 278 static ssize_t set_temp_hyst(struct device *dev, struct device_attribute *da, in set_temp_hyst() [all …]
|
D | lm92.c | 145 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, in show_temp() 154 static ssize_t set_temp(struct device *dev, struct device_attribute *devattr, in set_temp() 176 struct device_attribute *devattr, char *buf) in show_temp_hyst() 185 struct device_attribute *attr, char *buf) in show_temp_min_hyst() 193 struct device_attribute *devattr, in set_temp_hyst() 216 static ssize_t show_alarms(struct device *dev, struct device_attribute *attr, in show_alarms() 223 static ssize_t show_alarm(struct device *dev, struct device_attribute *attr, in show_alarm()
|
D | ultra45_env.c | 96 static ssize_t show_fan_speed(struct device *dev, struct device_attribute *attr, in show_fan_speed() 114 static ssize_t set_fan_speed(struct device *dev, struct device_attribute *attr, in set_fan_speed() 138 static ssize_t show_fan_fault(struct device *dev, struct device_attribute *attr, in show_fan_fault() 161 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, in show_temp() 182 static ssize_t show_stat_bit(struct device *dev, struct device_attribute *attr, in show_stat_bit() 199 static ssize_t show_fwver(struct device *dev, struct device_attribute *attr, in show_fwver() 211 static ssize_t show_name(struct device *dev, struct device_attribute *attr, in show_name()
|
D | applesmc.c | 713 struct device_attribute *attr, char *buf) in applesmc_name_show() 719 struct device_attribute *attr, char *buf) in applesmc_position_show() 742 struct device_attribute *attr, char *sysfsbuf) in applesmc_light_show() 781 struct device_attribute *devattr, char *sysfsbuf) in applesmc_show_sensor_label() 790 struct device_attribute *devattr, char *sysfsbuf) in applesmc_show_temperature() 807 struct device_attribute *attr, char *sysfsbuf) in applesmc_show_fan_speed() 826 struct device_attribute *attr, in applesmc_store_fan_speed() 850 struct device_attribute *attr, char *sysfsbuf) in applesmc_show_fan_manual() 866 struct device_attribute *attr, in applesmc_store_fan_manual() 900 struct device_attribute *attr, char *sysfsbuf) in applesmc_show_fan_position() [all …]
|
D | w83l786ng.c | 237 show_##reg(struct device *dev, struct device_attribute *attr, \ 251 store_in_##reg(struct device *dev, struct device_attribute *attr, \ 291 static ssize_t show_##reg(struct device *dev, struct device_attribute *attr, \ 304 store_fan_min(struct device *dev, struct device_attribute *attr, in store_fan_min() 327 show_fan_div(struct device *dev, struct device_attribute *attr, in show_fan_div() 342 store_fan_div(struct device *dev, struct device_attribute *attr, in store_fan_div() 419 show_temp(struct device *dev, struct device_attribute *attr, char *buf) in show_temp() 430 store_temp(struct device *dev, struct device_attribute *attr, in store_temp() 475 static ssize_t show_##reg(struct device *dev, struct device_attribute *attr, \ 488 store_pwm_mode(struct device *dev, struct device_attribute *attr, in show_pwm_reg() [all …]
|
D | adcxx.c | 61 struct device_attribute *devattr, char *buf) in adcxx_read() 98 struct device_attribute *devattr, char *buf) in adcxx_show_min() 105 struct device_attribute *devattr, char *buf) in adcxx_show_max() 122 struct device_attribute *devattr, const char *buf, size_t count) in adcxx_set_max() 141 static ssize_t adcxx_show_name(struct device *dev, struct device_attribute in adcxx_show_name()
|
D | vexpress.c | 33 struct device_attribute *dev_attr, char *buffer) in vexpress_hwmon_label_show() 41 struct device_attribute *dev_attr, char *buffer) in vexpress_hwmon_u32_show() 56 struct device_attribute *dev_attr, char *buffer) in vexpress_hwmon_u64_show() 79 struct device_attribute *dev_attr = container_of(attr, in vexpress_hwmon_attr_is_visible() 80 struct device_attribute, attr); in vexpress_hwmon_attr_is_visible()
|
D | gpio-fan.c | 81 struct device_attribute *attr, char *buf) in show_fan_alarm() 192 struct device_attribute *attr, char *buf) in show_pwm() 200 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() 228 struct device_attribute *attr, char *buf) in show_pwm_enable() 235 static ssize_t set_pwm_enable(struct device *dev, struct device_attribute *attr, in set_pwm_enable() 261 struct device_attribute *attr, char *buf) in show_pwm_mode() 267 struct device_attribute *attr, char *buf) in show_rpm_min() 275 struct device_attribute *attr, char *buf) in show_rpm_max() 284 struct device_attribute *attr, char *buf) in show_rpm() 291 static ssize_t set_rpm(struct device *dev, struct device_attribute *attr, in set_rpm()
|
D | w83795.c | 714 show_alarm_beep(struct device *dev, struct device_attribute *attr, char *buf) in show_alarm_beep() 733 store_beep(struct device *dev, struct device_attribute *attr, in store_beep() 763 struct device_attribute *attr, const char *buf, in store_chassis_clear() 788 show_fan(struct device *dev, struct device_attribute *attr, char *buf) in show_fan() 806 store_fan_min(struct device *dev, struct device_attribute *attr, in store_fan_min() 839 show_pwm(struct device *dev, struct device_attribute *attr, char *buf) in show_pwm() 867 store_pwm(struct device *dev, struct device_attribute *attr, in store_pwm() 900 show_pwm_enable(struct device *dev, struct device_attribute *attr, char *buf) in show_pwm_enable() 928 store_pwm_enable(struct device *dev, struct device_attribute *attr, in store_pwm_enable() 975 show_pwm_mode(struct device *dev, struct device_attribute *attr, char *buf) in show_pwm_mode() [all …]
|
D | w83792d.c | 356 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() 367 static ssize_t show_##reg(struct device *dev, struct device_attribute *attr, \ 383 struct device_attribute *attr, \ 407 static ssize_t show_##reg(struct device *dev, struct device_attribute *attr, \ 422 store_fan_min(struct device *dev, struct device_attribute *attr, in store_fan_min() 446 show_fan_div(struct device *dev, struct device_attribute *attr, in show_fan_div() 462 store_fan_div(struct device *dev, struct device_attribute *attr, in store_fan_div() 504 static ssize_t show_temp1(struct device *dev, struct device_attribute *attr, in show_temp1() 513 static ssize_t store_temp1(struct device *dev, struct device_attribute *attr, in store_temp1() 538 static ssize_t show_temp23(struct device *dev, struct device_attribute *attr, in show_temp23() [all …]
|
D | i5k_amb.c | 117 static ssize_t show_name(struct device *dev, struct device_attribute *devattr, in show_name() 140 struct device_attribute *devattr, in show_amb_alarm() 154 struct device_attribute *devattr, in store_amb_min() 174 struct device_attribute *devattr, in store_amb_mid() 194 struct device_attribute *devattr, in store_amb_max() 214 struct device_attribute *devattr, in show_amb_min() 224 struct device_attribute *devattr, in show_amb_mid() 234 struct device_attribute *devattr, in show_amb_max() 244 struct device_attribute *devattr, in show_amb_temp() 254 struct device_attribute *devattr, in show_label()
|
D | g760a.c | 110 static ssize_t show_fan(struct device *dev, struct device_attribute *da, in show_fan() 124 static ssize_t show_fan_alarm(struct device *dev, struct device_attribute *da, in show_fan_alarm() 134 static ssize_t get_pwm(struct device *dev, struct device_attribute *da, in get_pwm() 142 static ssize_t set_pwm(struct device *dev, struct device_attribute *da, in set_pwm()
|
D | lm73.c | 65 static ssize_t set_temp(struct device *dev, struct device_attribute *da, in set_temp() 84 static ssize_t show_temp(struct device *dev, struct device_attribute *da, in show_temp() 101 static ssize_t set_convrate(struct device *dev, struct device_attribute *da, in set_convrate() 136 static ssize_t show_convrate(struct device *dev, struct device_attribute *da, in show_convrate() 147 struct device_attribute *da, char *buf) in show_maxmin_alarm()
|
D | pcf8591.c | 93 struct device_attribute *attr, \ 107 struct device_attribute *attr, char *buf) in show_out0_ouput() 114 struct device_attribute *attr, in set_out0_output() 139 struct device_attribute *attr, char *buf) in show_out0_enable() 146 struct device_attribute *attr, in set_out0_enable()
|
D | ds1621.c | 237 static ssize_t show_temp(struct device *dev, struct device_attribute *da, in show_temp() 246 static ssize_t set_temp(struct device *dev, struct device_attribute *da, in set_temp() 266 static ssize_t show_alarms(struct device *dev, struct device_attribute *da, in show_alarms() 273 static ssize_t show_alarm(struct device *dev, struct device_attribute *da, in show_alarm() 281 static ssize_t show_convrate(struct device *dev, struct device_attribute *da, in show_convrate() 288 static ssize_t set_convrate(struct device *dev, struct device_attribute *da, in set_convrate()
|
D | abx500.h | 27 struct device_attribute *, char *); 29 struct device_attribute *, char *);
|
D | max31790.c | 173 struct device_attribute *devattr, char *buf) in get_fan() 189 struct device_attribute *devattr, char *buf) in get_fan_target() 205 struct device_attribute *devattr, in set_fan_target() 257 struct device_attribute *devattr, char *buf) in get_pwm() 272 struct device_attribute *devattr, in set_pwm() 304 struct device_attribute *devattr, char *buf) in get_pwm_enable() 324 struct device_attribute *devattr, in set_pwm_enable() 375 struct device_attribute *devattr, char *buf) in get_fan_fault() 507 struct device_attribute *devattr = in max31790_attrs_visible() 508 container_of(a, struct device_attribute, attr); in max31790_attrs_visible()
|
/linux-4.4.14/drivers/platform/x86/ |
D | intel-rst.c | 28 struct device_attribute *attr, in irst_show_wakeup_events() 45 struct device_attribute *attr, in irst_store_wakeup_events() 68 static struct device_attribute irst_wakeup_attr = { 75 struct device_attribute *attr, char *buf) in irst_show_wakeup_time() 91 struct device_attribute *attr, in irst_store_wakeup_time() 114 static struct device_attribute irst_timeout_attr = {
|
D | hdaps.c | 355 struct device_attribute *attr, char *buf) in hdaps_position_show() 367 struct device_attribute *attr, char *buf) in hdaps_variance_show() 379 struct device_attribute *attr, char *buf) in hdaps_temp1_show() 392 struct device_attribute *attr, char *buf) in hdaps_temp2_show() 405 struct device_attribute *attr, in hdaps_keyboard_activity_show() 412 struct device_attribute *attr, in hdaps_mouse_activity_show() 419 struct device_attribute *attr, char *buf) in hdaps_calibrate_show() 425 struct device_attribute *attr, in hdaps_calibrate_store() 436 struct device_attribute *attr, char *buf) in hdaps_invert_show() 442 struct device_attribute *attr, in hdaps_invert_store()
|
D | alienware-wmi.c | 127 struct device_attribute *attr; 153 static struct device_attribute *zone_dev_attrs; 198 static struct platform_zone *match_zone(struct device_attribute *attr) in match_zone() 202 if ((struct device_attribute *)zone_data[i].attr == attr) { in match_zone() 254 static ssize_t zone_show(struct device *dev, struct device_attribute *attr, in zone_show() 267 static ssize_t zone_set(struct device *dev, struct device_attribute *attr, in zone_set() 332 struct device_attribute *attr, char *buf) in show_control_state() 342 struct device_attribute *attr, in store_control_state() 385 kzalloc(sizeof(struct device_attribute) * (quirks->num_zones + 1), in alienware_zone_init() 471 struct device_attribute *attr, char *buf) in show_hdmi_cable() [all …]
|
D | msi-laptop.c | 321 struct device_attribute *attr, char *buf) in show_wlan() 339 struct device_attribute *attr, const char *buf, size_t count) in store_wlan() 345 struct device_attribute *attr, char *buf) in show_bluetooth() 363 struct device_attribute *attr, const char *buf, size_t count) in store_bluetooth() 369 struct device_attribute *attr, char *buf) in show_threeg() 386 struct device_attribute *attr, const char *buf, size_t count) in store_threeg() 392 struct device_attribute *attr, char *buf) in show_lcd_level() 405 struct device_attribute *attr, const char *buf, size_t count) in store_lcd_level() 422 struct device_attribute *attr, char *buf) in show_auto_brightness() 435 struct device_attribute *attr, const char *buf, size_t count) in store_auto_brightness() [all …]
|
D | sony-laptop.c | 642 static ssize_t sony_nc_sysfs_show(struct device *, struct device_attribute *, 644 static ssize_t sony_nc_sysfs_store(struct device *, struct device_attribute *, 657 struct device_attribute devattr; /* sysfs attribute */ 832 struct device_attribute devattr; 838 struct device_attribute *attr, char *buffer) in sony_nc_handles_show() 970 static ssize_t sony_nc_sysfs_show(struct device *dev, struct device_attribute *attr, in sony_nc_sysfs_show() 992 struct device_attribute *attr, in sony_nc_sysfs_store() 1776 struct device_attribute mode_attr; 1777 struct device_attribute timeout_attr; 1805 struct device_attribute *attr, in sony_nc_kbd_backlight_mode_store() [all …]
|
/linux-4.4.14/arch/powerpc/platforms/pseries/ |
D | pseries_energy.c | 178 struct device_attribute *attr, char *page) in cpu_activate_hint_list_show() 184 struct device_attribute *attr, char *page) in cpu_deactivate_hint_list_show() 190 struct device_attribute *attr, char *page) in percpu_activate_hint_show() 196 struct device_attribute *attr, char *page) in percpu_deactivate_hint_show() 211 struct device_attribute attr_cpu_activate_hint_list = 215 struct device_attribute attr_cpu_deactivate_hint_list = 219 struct device_attribute attr_percpu_activate_hint = 223 struct device_attribute attr_percpu_deactivate_hint =
|
/linux-4.4.14/drivers/scsi/bnx2i/ |
D | bnx2i_sysfs.c | 39 struct device_attribute *attr, char *buf) in bnx2i_show_sq_info() 58 struct device_attribute *attr, in bnx2i_set_sq_info() 95 struct device_attribute *attr, char *buf) in bnx2i_show_ccell_info() 112 struct device_attribute *attr, in bnx2i_set_ccell_info() 141 struct device_attribute *bnx2i_dev_attributes[] = {
|
/linux-4.4.14/drivers/staging/dgnc/ |
D | dgnc_sysfs.c | 106 static ssize_t dgnc_vpd_show(struct device *p, struct device_attribute *attr, in dgnc_vpd_show() 129 struct device_attribute *attr, char *buf) in dgnc_serial_number_show() 146 struct device_attribute *attr, char *buf) in dgnc_ports_state_show() 164 struct device_attribute *attr, char *buf) in dgnc_ports_baud_show() 182 struct device_attribute *attr, in dgnc_ports_msignals_show() 212 struct device_attribute *attr, char *buf) in dgnc_ports_iflag_show() 230 struct device_attribute *attr, char *buf) in dgnc_ports_cflag_show() 248 struct device_attribute *attr, char *buf) in dgnc_ports_oflag_show() 266 struct device_attribute *attr, char *buf) in dgnc_ports_lflag_show() 284 struct device_attribute *attr, in dgnc_ports_digi_flag_show() [all …]
|
/linux-4.4.14/drivers/char/ |
D | tlclk.c | 281 struct device_attribute *attr, char *buf) in show_current_ref() 297 struct device_attribute *attr, char *buf) in show_telclock_version() 313 struct device_attribute *attr, char *buf) in show_alarms() 328 struct device_attribute *attr, const char *buf, size_t count) in store_received_ref_clk3a() 350 struct device_attribute *attr, const char *buf, size_t count) in store_received_ref_clk3b() 372 struct device_attribute *attr, const char *buf, size_t count) in store_enable_clk3b_output() 393 struct device_attribute *attr, const char *buf, size_t count) in store_enable_clk3a_output() 414 struct device_attribute *attr, const char *buf, size_t count) in store_enable_clkb1_output() 436 struct device_attribute *attr, const char *buf, size_t count) in store_enable_clka1_output() 457 struct device_attribute *attr, const char *buf, size_t count) in store_enable_clkb0_output() [all …]
|
/linux-4.4.14/drivers/scsi/fnic/ |
D | fnic_attrs.c | 24 struct device_attribute *attr, char *buf) in fnic_show_state() 33 struct device_attribute *attr, char *buf) in fnic_show_drv_version() 39 struct device_attribute *attr, char *buf) in fnic_show_link_state() 51 struct device_attribute *fnic_attrs[] = {
|
/linux-4.4.14/drivers/dio/ |
D | dio-sysfs.c | 20 static ssize_t dio_show_id(struct device *dev, struct device_attribute *attr, char *buf) in dio_show_id() 29 static ssize_t dio_show_ipl(struct device *dev, struct device_attribute *attr, char *buf) in dio_show_ipl() 38 static ssize_t dio_show_secid(struct device *dev, struct device_attribute *attr, char *buf) in dio_show_secid() 47 static ssize_t dio_show_name(struct device *dev, struct device_attribute *attr, char *buf) in dio_show_name() 56 static ssize_t dio_show_resource(struct device *dev, struct device_attribute *attr, char *buf) in dio_show_resource()
|
/linux-4.4.14/drivers/char/tpm/ |
D | tpm-sysfs.c | 30 static ssize_t pubek_show(struct device *dev, struct device_attribute *attr, in pubek_show() 87 static ssize_t pcrs_show(struct device *dev, struct device_attribute *attr, in pcrs_show() 116 static ssize_t enabled_show(struct device *dev, struct device_attribute *attr, in enabled_show() 132 static ssize_t active_show(struct device *dev, struct device_attribute *attr, in active_show() 148 static ssize_t owned_show(struct device *dev, struct device_attribute *attr, in owned_show() 165 struct device_attribute *attr, char *buf) in temp_deactivated_show() 180 static ssize_t caps_show(struct device *dev, struct device_attribute *attr, in caps_show() 222 static ssize_t cancel_store(struct device *dev, struct device_attribute *attr, in cancel_store() 234 static ssize_t durations_show(struct device *dev, struct device_attribute *attr, in durations_show() 251 static ssize_t timeouts_show(struct device *dev, struct device_attribute *attr, in timeouts_show()
|
D | tpm_ppi.c | 54 struct device_attribute *attr, char *buf) in tpm_show_ppi_version() 62 struct device_attribute *attr, char *buf) in tpm_show_ppi_request() 95 struct device_attribute *attr, in tpm_store_ppi_request() 148 struct device_attribute *attr, in tpm_show_ppi_transition_action() 194 struct device_attribute *attr, in tpm_show_ppi_response() 296 struct device_attribute *attr, in tpm_show_ppi_tcg_operations() 306 struct device_attribute *attr, in tpm_show_ppi_vs_operations()
|
/linux-4.4.14/drivers/pci/ |
D | pci-sysfs.c | 40 field##_show(struct device *dev, struct device_attribute *attr, char *buf) \ 57 struct device_attribute *attr, in broken_parity_status_show() 65 struct device_attribute *attr, in broken_parity_status_store() 81 struct device_attribute *attr, char *buf) in pci_dev_show_local_cpu() 95 struct device_attribute *attr, char *buf) in local_cpus_show() 102 struct device_attribute *attr, char *buf) in local_cpulist_show() 112 struct device_attribute *attr, char *buf) in cpuaffinity_show() 121 struct device_attribute *attr, char *buf) in cpulistaffinity_show() 130 static ssize_t resource_show(struct device *dev, struct device_attribute *attr, in resource_show() 156 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, in modalias_show() [all …]
|
D | pci-label.c | 88 struct device_attribute *attr, char *buf) in smbioslabel_show() 98 struct device_attribute *attr, char *buf) in smbiosinstance_show() 107 static struct device_attribute smbios_attr_label = { 112 static struct device_attribute smbios_attr_instance = { 233 struct device_attribute *attr, char *buf) in acpilabel_show() 239 struct device_attribute *attr, char *buf) in acpiindex_show() 244 static struct device_attribute acpi_attr_label = { 249 static struct device_attribute acpi_attr_index = {
|
/linux-4.4.14/arch/sh/drivers/dma/ |
D | dma-sysfs.c | 27 struct device_attribute *attr, char *buf) in dma_show_devices() 62 struct device_attribute *attr, char *buf) in dma_show_dev_id() 69 struct device_attribute *attr, in dma_store_dev_id() 80 struct device_attribute *attr, in dma_store_config() 95 struct device_attribute *attr, char *buf) in dma_show_mode() 102 struct device_attribute *attr, in dma_store_mode() 114 struct device_attribute *attr, char *buf)\
|
/linux-4.4.14/drivers/leds/trigger/ |
D | ledtrig-oneshot.c | 30 struct device_attribute *attr, const char *buf, size_t size) in led_shot() 43 struct device_attribute *attr, char *buf) in led_invert_show() 52 struct device_attribute *attr, const char *buf, size_t size) in led_invert_store() 74 struct device_attribute *attr, char *buf) in led_delay_on_show() 82 struct device_attribute *attr, const char *buf, size_t size) in led_delay_on_store() 97 struct device_attribute *attr, char *buf) in led_delay_off_show() 105 struct device_attribute *attr, const char *buf, size_t size) in led_delay_off_store()
|
D | ledtrig-transient.c | 48 struct device_attribute *attr, char *buf) in transient_activate_show() 57 struct device_attribute *attr, const char *buf, size_t size) in transient_activate_store() 100 struct device_attribute *attr, char *buf) in transient_duration_show() 109 struct device_attribute *attr, const char *buf, size_t size) in transient_duration_store() 125 struct device_attribute *attr, char *buf) in transient_state_show() 136 struct device_attribute *attr, const char *buf, size_t size) in transient_state_store()
|
D | ledtrig-timer.c | 22 struct device_attribute *attr, char *buf) in led_delay_on_show() 30 struct device_attribute *attr, const char *buf, size_t size) in led_delay_on_store() 47 struct device_attribute *attr, char *buf) in led_delay_off_show() 55 struct device_attribute *attr, const char *buf, size_t size) in led_delay_off_store()
|
D | ledtrig-gpio.c | 67 struct device_attribute *attr, char *buf) in gpio_trig_brightness_show() 76 struct device_attribute *attr, const char *buf, size_t n) in gpio_trig_brightness_store() 97 struct device_attribute *attr, char *buf) in gpio_trig_inverted_show() 106 struct device_attribute *attr, const char *buf, size_t n) in gpio_trig_inverted_store() 131 struct device_attribute *attr, char *buf) in gpio_trig_gpio_show() 140 struct device_attribute *attr, const char *buf, size_t n) in gpio_trig_gpio_store()
|
/linux-4.4.14/drivers/acpi/ |
D | bgrt.c | 20 struct device_attribute *attr, char *buf) in show_version() 27 struct device_attribute *attr, char *buf) in show_status() 34 struct device_attribute *attr, char *buf) in show_type() 41 struct device_attribute *attr, char *buf) in show_xoffset() 48 struct device_attribute *attr, char *buf) in show_yoffset()
|
D | device_sysfs.c | 336 acpi_device_modalias_show(struct device *dev, struct device_attribute *attr, char *buf) { in acpi_device_modalias_show() 342 struct device_attribute *attr, char *buf) in real_power_state_show() 358 struct device_attribute *attr, char *buf) in power_state_show() 368 acpi_eject_store(struct device *d, struct device_attribute *attr, in acpi_eject_store() 400 acpi_device_hid_show(struct device *dev, struct device_attribute *attr, char *buf) { in acpi_device_hid_show() 408 struct device_attribute *attr, char *buf) in acpi_device_uid_show() 417 struct device_attribute *attr, char *buf) in acpi_device_adr_show() 427 struct device_attribute *attr, char *buf) in acpi_device_path_show() 437 struct device_attribute *attr, in description_show() 462 acpi_device_sun_show(struct device *dev, struct device_attribute *attr, in acpi_device_sun_show() [all …]
|
/linux-4.4.14/arch/avr32/kernel/ |
D | cpu.c | 30 struct device_attribute *attr, char *buf) in show_pc0event() 38 struct device_attribute *attr, const char *buf, in store_pc0event() 54 struct device_attribute *attr, char *buf) in show_pc0count() 62 struct device_attribute *attr, in store_pc0count() 77 struct device_attribute *attr, char *buf) in show_pc1event() 85 struct device_attribute *attr, const char *buf, in store_pc1event() 101 struct device_attribute *attr, char *buf) in show_pc1count() 109 struct device_attribute *attr, const char *buf, in store_pc1count() 124 struct device_attribute *attr, char *buf) in show_pccycles() 132 struct device_attribute *attr, const char *buf, in store_pccycles() [all …]
|
/linux-4.4.14/drivers/video/backlight/ |
D | adp5520_bl.c | 179 struct device_attribute *attr, char *buf) in adp5520_bl_dark_max_show() 185 struct device_attribute *attr, in adp5520_bl_dark_max_store() 194 struct device_attribute *attr, char *buf) in adp5520_bl_office_max_show() 200 struct device_attribute *attr, in adp5520_bl_office_max_store() 209 struct device_attribute *attr, char *buf) in adp5520_bl_daylight_max_show() 215 struct device_attribute *attr, in adp5520_bl_daylight_max_store() 231 struct device_attribute *attr, char *buf) in adp5520_bl_dark_dim_show() 237 struct device_attribute *attr, in adp5520_bl_dark_dim_store() 246 struct device_attribute *attr, char *buf) in adp5520_bl_office_dim_show() 252 struct device_attribute *attr, in adp5520_bl_office_dim_store() [all …]
|
D | adp8870_bl.c | 586 struct device_attribute *attr, char *buf) in adp8870_bl_l5_dark_max_show() 592 struct device_attribute *attr, const char *buf, size_t count) in adp8870_bl_l5_dark_max_store() 601 struct device_attribute *attr, char *buf) in adp8870_bl_l4_indoor_max_show() 607 struct device_attribute *attr, const char *buf, size_t count) in adp8870_bl_l4_indoor_max_store() 616 struct device_attribute *attr, char *buf) in adp8870_bl_l3_office_max_show() 622 struct device_attribute *attr, const char *buf, size_t count) in adp8870_bl_l3_office_max_store() 631 struct device_attribute *attr, char *buf) in adp8870_bl_l2_bright_max_show() 637 struct device_attribute *attr, const char *buf, size_t count) in adp8870_bl_l2_bright_max_store() 645 struct device_attribute *attr, char *buf) in adp8870_bl_l1_daylight_max_show() 651 struct device_attribute *attr, const char *buf, size_t count) in adp8870_bl_l1_daylight_max_store() [all …]
|
D | lm3533_bl.c | 75 struct device_attribute *attr, char *buf) in show_id() 83 struct device_attribute *attr, char *buf) in show_als_channel() 92 struct device_attribute *attr, char *buf) in show_als_en() 112 struct device_attribute *attr, in store_als_en() 141 struct device_attribute *attr, char *buf) in show_linear() 164 struct device_attribute *attr, in store_linear() 192 struct device_attribute *attr, in show_pwm() 207 struct device_attribute *attr, in store_pwm()
|
D | adp8860_bl.c | 465 struct device_attribute *attr, char *buf) in adp8860_bl_l3_dark_max_show() 471 struct device_attribute *attr, const char *buf, size_t count) in adp8860_bl_l3_dark_max_store() 480 struct device_attribute *attr, char *buf) in adp8860_bl_l2_office_max_show() 486 struct device_attribute *attr, const char *buf, size_t count) in adp8860_bl_l2_office_max_store() 494 struct device_attribute *attr, char *buf) in adp8860_bl_l1_daylight_max_show() 500 struct device_attribute *attr, const char *buf, size_t count) in adp8860_bl_l1_daylight_max_store() 514 struct device_attribute *attr, char *buf) in adp8860_bl_l3_dark_dim_show() 520 struct device_attribute *attr, in adp8860_bl_l3_dark_dim_store() 529 struct device_attribute *attr, char *buf) in adp8860_bl_l2_office_dim_show() 535 struct device_attribute *attr, in adp8860_bl_l2_office_dim_store() [all …]
|
/linux-4.4.14/drivers/scsi/arcmsr/ |
D | arcmsr_attr.c | 61 struct device_attribute *arcmsr_host_attrs[]; 261 struct device_attribute *attr, char *buf) in arcmsr_attr_host_driver_version() 270 struct device_attribute *attr, char *buf) in arcmsr_attr_host_driver_posted_cmd() 282 struct device_attribute *attr, char *buf) in arcmsr_attr_host_driver_reset() 294 struct device_attribute *attr, char *buf) in arcmsr_attr_host_driver_abort() 305 arcmsr_attr_host_fw_model(struct device *dev, struct device_attribute *attr, in arcmsr_attr_host_fw_model() 318 struct device_attribute *attr, char *buf) in arcmsr_attr_host_fw_version() 331 struct device_attribute *attr, char *buf) in arcmsr_attr_host_fw_request_len() 344 struct device_attribute *attr, char *buf) in arcmsr_attr_host_fw_numbers_queue() 357 struct device_attribute *attr, char *buf) in arcmsr_attr_host_fw_sdram_size() [all …]
|
/linux-4.4.14/drivers/scsi/pm8001/ |
D | pm8001_ctl.c | 55 struct device_attribute *attr, char *buf) in pm8001_ctl_mpi_interface_rev_show() 80 struct device_attribute *attr, char *buf) in pm8001_ctl_fw_version_show() 109 struct device_attribute *attr, char *buf) in pm8001_ctl_max_out_io_show() 132 struct device_attribute *attr, char *buf) in pm8001_ctl_max_devices_show() 158 struct device_attribute *attr, char *buf) in pm8001_ctl_max_sg_list_show() 202 struct device_attribute *attr, char *buf) in pm8001_ctl_sas_spec_support_show() 231 struct device_attribute *attr, char *buf) in pm8001_ctl_host_sas_address_show() 250 struct device_attribute *attr, char *buf) in pm8001_ctl_logging_level_show() 259 struct device_attribute *attr, const char *buf, size_t count) in pm8001_ctl_logging_level_store() 283 struct device_attribute *attr, char *buf) in pm8001_ctl_aap_log_show() [all …]
|
/linux-4.4.14/net/atm/ |
D | atm_sysfs.c | 14 struct device_attribute *attr, char *buf) in show_type() 22 struct device_attribute *attr, char *buf) in show_address() 30 struct device_attribute *attr, char *buf) in show_atmaddress() 59 struct device_attribute *attr, char *buf) in show_atmindex() 67 struct device_attribute *attr, char *buf) in show_carrier() 76 struct device_attribute *attr, char *buf) in show_link_rate() 105 static struct device_attribute *atm_attrs[] = {
|
/linux-4.4.14/drivers/xen/ |
D | xen-selfballoon.c | 250 struct device_attribute *attr, \ 259 struct device_attribute *attr, in store_selfballooning() 290 struct device_attribute *attr, in store_selfballoon_interval() 314 struct device_attribute *attr, in store_selfballoon_downhys() 339 struct device_attribute *attr, in store_selfballoon_uphys() 364 struct device_attribute *attr, in store_selfballoon_min_usable_mb() 390 struct device_attribute *attr, in store_selfballoon_reserved_mb() 417 struct device_attribute *attr, in store_frontswap_selfshrinking() 447 struct device_attribute *attr, in store_frontswap_inertia() 472 struct device_attribute *attr, in store_frontswap_hysteresis()
|
D | xen-balloon.c | 122 struct device_attribute *attr, \ 138 static ssize_t show_target_kb(struct device *dev, struct device_attribute *attr, in show_target_kb() 145 struct device_attribute *attr, in store_target_kb() 166 static ssize_t show_target(struct device *dev, struct device_attribute *attr, in show_target() 175 struct device_attribute *attr, in store_target()
|
/linux-4.4.14/drivers/regulator/ |
D | virtual.c | 112 struct device_attribute *attr, char *buf) in show_min_uV() 118 static ssize_t set_min_uV(struct device *dev, struct device_attribute *attr, in set_min_uV() 138 struct device_attribute *attr, char *buf) in show_max_uV() 144 static ssize_t set_max_uV(struct device *dev, struct device_attribute *attr, in set_max_uV() 164 struct device_attribute *attr, char *buf) in show_min_uA() 170 static ssize_t set_min_uA(struct device *dev, struct device_attribute *attr, in set_min_uA() 190 struct device_attribute *attr, char *buf) in show_max_uA() 196 static ssize_t set_max_uA(struct device *dev, struct device_attribute *attr, in set_max_uA() 216 struct device_attribute *attr, char *buf) in show_mode() 234 static ssize_t set_mode(struct device *dev, struct device_attribute *attr, in set_mode()
|
/linux-4.4.14/drivers/input/tablet/ |
D | aiptek.c | 1052 static ssize_t show_tabletSize(struct device *dev, struct device_attribute *attr, char *buf) in show_tabletSize() 1080 static ssize_t show_tabletPointerMode(struct device *dev, struct device_attribute *attr, char *buf) in show_tabletPointerMode() 1090 store_tabletPointerMode(struct device *dev, struct device_attribute *attr, const char *buf, size_t … in store_tabletPointerMode() 1117 static ssize_t show_tabletCoordinateMode(struct device *dev, struct device_attribute *attr, char *b… in show_tabletCoordinateMode() 1127 store_tabletCoordinateMode(struct device *dev, struct device_attribute *attr, const char *buf, size… in store_tabletCoordinateMode() 1159 static ssize_t show_tabletToolMode(struct device *dev, struct device_attribute *attr, char *buf) in show_tabletToolMode() 1169 store_tabletToolMode(struct device *dev, struct device_attribute *attr, const char *buf, size_t cou… in store_tabletToolMode() 1189 static ssize_t show_tabletXtilt(struct device *dev, struct device_attribute *attr, char *buf) in show_tabletXtilt() 1202 store_tabletXtilt(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) in store_tabletXtilt() 1231 static ssize_t show_tabletYtilt(struct device *dev, struct device_attribute *attr, char *buf) in show_tabletYtilt() [all …]
|
/linux-4.4.14/drivers/video/fbdev/omap2/omapfb/ |
D | omapfb-sysfs.c | 38 struct device_attribute *attr, char *buf) in show_rotate_type() 47 struct device_attribute *attr, in store_rotate_type() 93 struct device_attribute *attr, char *buf) in show_mirror() 102 struct device_attribute *attr, in store_mirror() 144 struct device_attribute *attr, char *buf) in show_overlays() 193 static ssize_t store_overlays(struct device *dev, struct device_attribute *attr, in store_overlays() 336 struct device_attribute *attr, char *buf) in show_overlays_rotate() 359 struct device_attribute *attr, const char *buf, size_t count) in store_overlays_rotate() 430 struct device_attribute *attr, char *buf) in show_size() 438 static ssize_t store_size(struct device *dev, struct device_attribute *attr, in store_size() [all …]
|
/linux-4.4.14/drivers/misc/ |
D | bh1770glc.c | 647 struct device_attribute *attr, in bh1770_power_state_store() 690 struct device_attribute *attr, char *buf) in bh1770_power_state_show() 696 struct device_attribute *attr, char *buf) in bh1770_lux_result_show() 719 struct device_attribute *attr, char *buf) in bh1770_lux_range_show() 725 struct device_attribute *attr, in bh1770_prox_enable_store() 757 struct device_attribute *attr, char *buf) in bh1770_prox_enable_show() 769 struct device_attribute *attr, char *buf) in bh1770_prox_result_show() 784 struct device_attribute *attr, char *buf) in bh1770_prox_range_show() 790 struct device_attribute *attr, char *buf) in bh1770_get_prox_rate_avail() 801 struct device_attribute *attr, char *buf) in bh1770_get_prox_rate_above() [all …]
|
D | ics932s401.c | 161 struct device_attribute *devattr, in show_spread_enabled() 208 struct device_attribute *devattr, in show_cpu_clock() 217 struct device_attribute *devattr, in show_cpu_clock_sel() 264 struct device_attribute *devattr, in show_src_clock() 273 struct device_attribute *devattr, in show_src_clock_sel() 312 struct device_attribute *devattr, in show_pci_clock() 321 struct device_attribute *devattr, in show_pci_clock_sel() 336 struct device_attribute *devattr, 340 struct device_attribute *devattr, 372 struct device_attribute *devattr, in show_value() [all …]
|
D | enclosure.c | 431 struct device_attribute *attr, char *buf) in components_show() 440 struct device_attribute *attr, in id_show() 483 struct device_attribute *attr, char *buf) in get_component_fault() 494 struct device_attribute *attr, in set_component_fault() 507 struct device_attribute *attr,char *buf) in get_component_status() 518 struct device_attribute *attr, in set_component_status() 541 struct device_attribute *attr, char *buf) in get_component_active() 552 struct device_attribute *attr, in set_component_active() 565 struct device_attribute *attr, char *buf) in get_component_locate() 576 struct device_attribute *attr, in set_component_locate() [all …]
|
D | isl29003.c | 196 struct device_attribute *attr, char *buf) in isl29003_show_range() 203 struct device_attribute *attr, in isl29003_store_range() 230 struct device_attribute *attr, in isl29003_show_resolution() 238 struct device_attribute *attr, in isl29003_store_resolution() 264 struct device_attribute *attr, char *buf) in isl29003_show_mode() 271 struct device_attribute *attr, const char *buf, size_t count) in isl29003_store_mode() 297 struct device_attribute *attr, in isl29003_show_power_state() 305 struct device_attribute *attr, in isl29003_store_power_state() 329 struct device_attribute *attr, char *buf) in isl29003_show_lux()
|
D | apds990x.c | 638 struct device_attribute *attr, char *buf) in apds990x_lux_show() 669 struct device_attribute *attr, char *buf) in apds990x_lux_range_show() 677 struct device_attribute *attr, char *buf) in apds990x_lux_calib_format_show() 686 struct device_attribute *attr, char *buf) in apds990x_lux_calib_show() 694 struct device_attribute *attr, in apds990x_lux_calib_store() 714 struct device_attribute *attr, char *buf) in apds990x_rate_avail() 725 struct device_attribute *attr, char *buf) in apds990x_rate_show() 757 struct device_attribute *attr, in apds990x_rate_store() 783 struct device_attribute *attr, char *buf) in apds990x_prox_show() 799 struct device_attribute *attr, char *buf) in apds990x_prox_range_show() [all …]
|
/linux-4.4.14/arch/s390/kernel/ |
D | time.c | 1161 struct device_attribute *attr, in etr_stepping_port_show() 1170 struct device_attribute *attr, in etr_stepping_mode_show() 1198 struct device_attribute *attr, in etr_online_show() 1208 struct device_attribute *attr, in etr_online_store() 1248 struct device_attribute *attr, in etr_stepping_control_show() 1258 struct device_attribute *attr, char *buf) in etr_mode_code_show() 1270 struct device_attribute *attr, char *buf) in etr_untuned_show() 1282 struct device_attribute *attr, char *buf) in etr_network_id_show() 1294 struct device_attribute *attr, char *buf) in etr_id_show() 1306 struct device_attribute *attr, char *buf) in etr_port_number_show() [all …]
|
/linux-4.4.14/arch/tile/kernel/ |
D | sysfs.c | 36 struct device_attribute *attr, in chip_width_show() 44 struct device_attribute *attr, in chip_height_show() 52 struct device_attribute *attr, in chip_serial_show() 60 struct device_attribute *attr, in chip_revision_show() 69 struct device_attribute *attr, in type_show() 78 struct device_attribute *attr, \ 161 struct device_attribute *attr, in hv_stats_show() 176 struct device_attribute *attr, in hv_stats_store()
|
/linux-4.4.14/drivers/powercap/ |
D | powercap_sys.c | 32 struct device_attribute *dev_attr,\ 50 struct device_attribute *dev_attr, \ 73 struct device_attribute *dev_attr,\ 98 struct device_attribute *dev_attr, \ 148 struct device_attribute power_limit_attr; 149 struct device_attribute time_window_attr; 150 struct device_attribute max_power_attr; 151 struct device_attribute min_power_attr; 152 struct device_attribute max_time_window_attr; 153 struct device_attribute min_time_window_attr; [all …]
|
/linux-4.4.14/drivers/s390/block/ |
D | dasd_devmap.c | 712 static ssize_t dasd_ff_show(struct device *dev, struct device_attribute *attr, in dasd_ff_show() 726 static ssize_t dasd_ff_store(struct device *dev, struct device_attribute *attr, in dasd_ff_store() 758 dasd_ro_show(struct device *dev, struct device_attribute *attr, char *buf) in dasd_ro_show() 772 dasd_ro_store(struct device *dev, struct device_attribute *attr, in dasd_ro_store() 810 dasd_erplog_show(struct device *dev, struct device_attribute *attr, char *buf) in dasd_erplog_show() 824 dasd_erplog_store(struct device *dev, struct device_attribute *attr, in dasd_erplog_store() 857 dasd_use_diag_show(struct device *dev, struct device_attribute *attr, char *buf) in dasd_use_diag_show() 871 dasd_use_diag_store(struct device *dev, struct device_attribute *attr, in dasd_use_diag_store() 908 dasd_use_raw_show(struct device *dev, struct device_attribute *attr, char *buf) in dasd_use_raw_show() 922 dasd_use_raw_store(struct device *dev, struct device_attribute *attr, in dasd_use_raw_store() [all …]
|
/linux-4.4.14/drivers/base/ |
D | cpu.c | 85 struct device_attribute *attr, in cpu_probe_store() 103 struct device_attribute *attr, in cpu_release_store() 139 static ssize_t show_crash_notes(struct device *dev, struct device_attribute *attr, in show_crash_notes() 162 struct device_attribute *attr, in show_crash_notes_size() 202 struct device_attribute attr; 207 struct device_attribute *attr, in show_cpus_attr() 229 struct device_attribute *attr, char *buf) in print_cpus_kernel_max() 240 struct device_attribute *attr, char *buf) in print_cpus_offline() 270 struct device_attribute *attr, char *buf) in print_cpus_isolated() 282 struct device_attribute *attr, char *buf) in print_cpus_nohz_full() [all …]
|
D | memory.c | 112 struct device_attribute *attr, char *buf) in show_mem_start_phys_index() 125 struct device_attribute *attr, char *buf) in show_mem_removable() 145 struct device_attribute *attr, char *buf) in show_mem_state() 315 struct device_attribute *attr, const char *buf, size_t count) in store_mem_state() 379 struct device_attribute *attr, char *buf) in show_phys_device() 387 struct device_attribute *attr, char *buf) in show_valid_zones() 433 print_block_size(struct device *dev, struct device_attribute *attr, in print_block_size() 449 memory_probe_store(struct device *dev, struct device_attribute *attr, in memory_probe_store() 490 struct device_attribute *attr, in store_soft_offline_page() 509 struct device_attribute *attr, in store_hard_offline_page()
|
D | topology.c | 34 struct device_attribute *attr, char *buf) \ 41 struct device_attribute *attr, char *buf) \ 48 struct device_attribute *attr, \
|
/linux-4.4.14/net/bluetooth/ |
D | hci_sysfs.c | 27 struct device_attribute *attr, char *buf) in show_link_type() 34 struct device_attribute *attr, char *buf) in show_link_address() 41 struct device_attribute link_attr_##_name = __ATTR(_name, _mode, _show, _store) 140 struct device_attribute *attr, char *buf) in show_type() 147 struct device_attribute *attr, char *buf) in show_name() 161 struct device_attribute *attr, char *buf) in show_address()
|
/linux-4.4.14/drivers/usb/wusbcore/ |
D | wusbhc.c | 58 struct device_attribute *attr, in wusb_trust_timeout_show() 67 struct device_attribute *attr, in wusb_trust_timeout_store() 94 struct device_attribute *attr, char *buf) in wusb_chid_show() 120 struct device_attribute *attr, in wusb_chid_store() 152 struct device_attribute *attr, in wusb_phy_rate_show() 161 struct device_attribute *attr, in wusb_phy_rate_store() 181 struct device_attribute *attr, in wusb_dnts_show() 191 struct device_attribute *attr, in wusb_dnts_store() 211 struct device_attribute *attr, in wusb_retry_count_show() 220 struct device_attribute *attr, in wusb_retry_count_store()
|
D | cbaf.c | 314 struct device_attribute *attr, in cbaf_wusb_chid_show() 326 struct device_attribute *attr, in cbaf_wusb_chid_store() 361 struct device_attribute *attr, in cbaf_wusb_host_name_show() 371 struct device_attribute *attr, in cbaf_wusb_host_name_store() 388 struct device_attribute *attr, in cbaf_wusb_host_band_groups_show() 398 struct device_attribute *attr, in cbaf_wusb_host_band_groups_store() 428 struct device_attribute *attr, char *buf) in cbaf_wusb_cdid_show() 439 struct device_attribute *attr, in cbaf_wusb_cdid_store() 470 struct device_attribute *attr, in cbaf_wusb_device_band_groups_show() 484 struct device_attribute *attr, in cbaf_wusb_device_name_show() [all …]
|
/linux-4.4.14/drivers/usb/misc/ |
D | cytherm.c | 86 static ssize_t show_brightness(struct device *dev, struct device_attribute *attr, char *buf) in show_brightness() 94 static ssize_t set_brightness(struct device *dev, struct device_attribute *attr, const char *buf, in set_brightness() 139 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, char *buf) in show_temp() 175 static ssize_t set_temp(struct device *dev, struct device_attribute *attr, const char *buf, size_t … in set_temp() 185 static ssize_t show_button(struct device *dev, struct device_attribute *attr, char *buf) in show_button() 216 static ssize_t set_button(struct device *dev, struct device_attribute *attr, const char *buf, size_… in set_button() 224 static ssize_t show_port0(struct device *dev, struct device_attribute *attr, char *buf) in show_port0() 250 static ssize_t set_port0(struct device *dev, struct device_attribute *attr, const char *buf, size_t… in set_port0() 284 static ssize_t show_port1(struct device *dev, struct device_attribute *attr, char *buf) in show_port1() 310 static ssize_t set_port1(struct device *dev, struct device_attribute *attr, const char *buf, size_t… in set_port1()
|
D | cypress_cy7c63.c | 120 static ssize_t write_port(struct device *dev, struct device_attribute *attr, in write_port() 152 struct device_attribute *attr, in set_port0_handler() 160 struct device_attribute *attr, in set_port1_handler() 167 static ssize_t read_port(struct device *dev, struct device_attribute *attr, in read_port() 186 struct device_attribute *attr, char *buf) in get_port0_handler() 193 struct device_attribute *attr, char *buf) in get_port1_handler()
|
D | usbsevseg.c | 175 struct device_attribute *attr, char *buf) \ 184 struct device_attribute *attr, const char *buf, size_t count) \ 197 struct device_attribute *attr, char *buf) in show_attr_text() 206 struct device_attribute *attr, const char *buf, size_t count) in set_attr_text() 228 struct device_attribute *attr, char *buf) in show_attr_decimals() 250 struct device_attribute *attr, const char *buf, size_t count) in set_attr_decimals() 277 struct device_attribute *attr, char *buf) in show_attr_textmode() 303 struct device_attribute *attr, const char *buf, size_t count) in set_attr_textmode()
|
/linux-4.4.14/drivers/hv/ |
D | vmbus_drv.c | 157 static ssize_t id_show(struct device *dev, struct device_attribute *dev_attr, in id_show() 168 static ssize_t state_show(struct device *dev, struct device_attribute *dev_attr, in state_show() 180 struct device_attribute *dev_attr, char *buf) in monitor_id_show() 191 struct device_attribute *dev_attr, char *buf) in class_id_show() 203 struct device_attribute *dev_attr, char *buf) in device_id_show() 215 struct device_attribute *dev_attr, char *buf) in modalias_show() 226 struct device_attribute *dev_attr, in server_monitor_pending_show() 240 struct device_attribute *dev_attr, in client_monitor_pending_show() 254 struct device_attribute *dev_attr, in server_monitor_latency_show() 268 struct device_attribute *dev_attr, in client_monitor_latency_show() [all …]
|
/linux-4.4.14/drivers/net/wireless/ath/ath5k/ |
D | sysfs.c | 11 struct device_attribute *attr, \ 20 struct device_attribute *attr, \ 38 struct device_attribute *attr, \ 63 struct device_attribute *attr, in ath5k_attr_show_noise_immunity_level_max() 72 struct device_attribute *attr, in ath5k_attr_show_firstep_level_max()
|
/linux-4.4.14/drivers/ata/ |
D | libata-transport.c | 50 struct device_attribute private_port_attrs[ATA_PORT_ATTRS]; 51 struct device_attribute private_link_attrs[ATA_LINK_ATTRS]; 52 struct device_attribute private_dev_attrs[ATA_DEV_ATTRS]; 61 struct device_attribute *link_attrs[ATA_LINK_ATTRS + 1]; 62 struct device_attribute *port_attrs[ATA_PORT_ATTRS + 1]; 63 struct device_attribute *dev_attrs[ATA_DEV_ATTRS + 1]; 93 struct device_attribute device_attr_##_prefix##_##_name = \ 207 struct device_attribute *attr, char *buf) \ 330 struct device_attribute *attr, char *buf) \ 456 struct device_attribute *attr, char *buf) \ [all …]
|
/linux-4.4.14/drivers/staging/iio/light/ |
D | tsl2583.c | 485 struct device_attribute *attr, char *buf) in taos_power_state_show() 494 struct device_attribute *attr, const char *buf, size_t len) in taos_power_state_store() 511 struct device_attribute *attr, char *buf) in taos_gain_show() 536 struct device_attribute *attr, const char *buf, size_t len) in taos_gain_store() 567 struct device_attribute *attr, char *buf) in taos_gain_available_show() 573 struct device_attribute *attr, char *buf) in taos_als_time_show() 582 struct device_attribute *attr, const char *buf, size_t len) in taos_als_time_store() 603 struct device_attribute *attr, char *buf) in taos_als_time_available_show() 610 struct device_attribute *attr, char *buf) in taos_als_trim_show() 619 struct device_attribute *attr, const char *buf, size_t len) in taos_als_trim_store() [all …]
|
/linux-4.4.14/drivers/firmware/ |
D | dcdbas.c | 120 struct device_attribute *attr, in smi_data_buf_phys_addr_show() 127 struct device_attribute *attr, in smi_data_buf_size_show() 134 struct device_attribute *attr, in smi_data_buf_size_store() 188 struct device_attribute *attr, in host_control_action_show() 195 struct device_attribute *attr, in host_control_action_store() 212 struct device_attribute *attr, in host_control_smi_type_show() 219 struct device_attribute *attr, in host_control_smi_type_store() 227 struct device_attribute *attr, in host_control_on_shutdown_show() 234 struct device_attribute *attr, in host_control_on_shutdown_store() 301 struct device_attribute *attr, in smi_request_store()
|
/linux-4.4.14/arch/ia64/kernel/ |
D | err_inject.c | 58 show_##name(struct device *dev, struct device_attribute *attr, \ 67 store_##name(struct device *dev, struct device_attribute *attr, \ 81 store_call_start(struct device *dev, struct device_attribute *attr, in show() 130 show_virtual_to_phys(struct device *dev, struct device_attribute *attr, in store() 138 store_virtual_to_phys(struct device *dev, struct device_attribute *attr, in store_virtual_to_phys() 163 struct device_attribute *attr, char *buf) in store() 175 struct device_attribute *attr, in store_err_data_buffer()
|
/linux-4.4.14/drivers/net/wireless/libertas/ |
D | mesh.c | 157 struct device_attribute *attr, char * buf) in lbs_anycast_get() 180 struct device_attribute *attr, const char * buf, size_t count) in lbs_anycast_set() 205 struct device_attribute *attr, char *buf) in lbs_prb_rsp_limit_get() 232 struct device_attribute *attr, const char *buf, size_t count) in lbs_prb_rsp_limit_set() 264 struct device_attribute *attr, char * buf) in lbs_mesh_get() 278 struct device_attribute *attr, const char * buf, size_t count) in lbs_mesh_set() 356 struct device_attribute *attr, char *buf) in bootflag_get() 376 static ssize_t bootflag_set(struct device *dev, struct device_attribute *attr, in bootflag_set() 406 struct device_attribute *attr, char *buf) in boottime_get() 427 struct device_attribute *attr, const char *buf, size_t count) in boottime_set() [all …]
|
/linux-4.4.14/drivers/leds/ |
D | led-class-flash.c | 41 struct device_attribute *attr, const char *buf, size_t size) in flash_brightness_store() 70 struct device_attribute *attr, char *buf) in flash_brightness_show() 83 struct device_attribute *attr, char *buf) in max_flash_brightness_show() 93 struct device_attribute *attr, const char *buf, size_t size) in flash_strobe_store() 126 struct device_attribute *attr, char *buf) in flash_strobe_show() 143 struct device_attribute *attr, const char *buf, size_t size) in flash_timeout_store() 172 struct device_attribute *attr, char *buf) in flash_timeout_show() 182 struct device_attribute *attr, char *buf) in max_flash_timeout_show() 192 struct device_attribute *attr, char *buf) in flash_fault_show()
|
D | leds-lp55xx-common.h | 41 struct device_attribute *attr, \ 49 struct device_attribute *attr, \ 57 struct device_attribute *attr, \ 65 struct device_attribute *attr, \ 73 struct device_attribute *attr, \
|
D | leds-lm3533.c | 330 struct device_attribute *attr, char *buf) in show_id() 351 struct device_attribute *attr, in show_risefalltime() 369 struct device_attribute *attr, char *buf) in show_risetime() 376 struct device_attribute *attr, char *buf) in show_falltime() 383 struct device_attribute *attr, in store_risefalltime() 404 struct device_attribute *attr, in store_risetime() 412 struct device_attribute *attr, in store_falltime() 420 struct device_attribute *attr, char *buf) in show_als_channel() 440 struct device_attribute *attr, in store_als_channel() 470 struct device_attribute *attr, char *buf) in show_als_en() [all …]
|
/linux-4.4.14/drivers/hwtracing/intel_th/ |
D | pti.c | 55 static ssize_t mode_show(struct device *dev, struct device_attribute *attr, in mode_show() 63 static ssize_t mode_store(struct device *dev, struct device_attribute *attr, in mode_store() 86 freerunning_clock_show(struct device *dev, struct device_attribute *attr, in freerunning_clock_show() 95 freerunning_clock_store(struct device *dev, struct device_attribute *attr, in freerunning_clock_store() 114 clock_divider_show(struct device *dev, struct device_attribute *attr, in clock_divider_show() 123 clock_divider_store(struct device *dev, struct device_attribute *attr, in clock_divider_store()
|
/linux-4.4.14/drivers/staging/fbtft/ |
D | fbtft-sysfs.c | 115 struct device_attribute *attr, in store_gamma_curve() 140 struct device_attribute *attr, char *buf) in show_gamma_curve() 148 static struct device_attribute gamma_device_attrs[] = { 180 struct device_attribute *attr, in store_debug() 196 struct device_attribute *attr, char *buf) in show_debug() 204 static struct device_attribute debug_device_attr = \
|
/linux-4.4.14/drivers/scsi/aacraid/ |
D | linit.c | 497 static ssize_t aac_show_raid_level(struct device *dev, struct device_attribute *attr, char *buf) in aac_show_raid_level() 509 static struct device_attribute aac_raid_level_attr = { 517 static struct device_attribute *aac_dev_attrs[] = { 774 struct device_attribute *attr, char *buf) in aac_show_model() 793 struct device_attribute *attr, char *buf) in aac_show_vendor() 812 struct device_attribute *attr, char *buf) in aac_show_flags() 838 struct device_attribute *attr, in aac_show_kernel_version() 852 struct device_attribute *attr, in aac_show_monitor_version() 866 struct device_attribute *attr, in aac_show_bios_version() 880 struct device_attribute *attr, char *buf) in aac_show_serial_number() [all …]
|
/linux-4.4.14/arch/mips/txx9/generic/ |
D | 7segled.c | 41 struct device_attribute *attr, in ascii_store() 50 struct device_attribute *attr, in raw_store() 62 struct device_attribute *attr, in map_seg7_show() 70 struct device_attribute *attr, in map_seg7_store()
|
/linux-4.4.14/sound/pci/hda/ |
D | hda_sysfs.c | 30 struct device_attribute *attr, in power_on_acct_show() 39 struct device_attribute *attr, in power_off_acct_show() 53 struct device_attribute *attr, \ 62 struct device_attribute *attr, \ 95 struct device_attribute *attr, in init_pin_configs_show() 103 struct device_attribute *attr, in driver_pin_configs_show() 167 struct device_attribute *attr, \ 181 struct device_attribute *attr, \ 202 struct device_attribute *attr, \ 216 struct device_attribute *attr, in init_verbs_show() [all …]
|
/linux-4.4.14/drivers/infiniband/hw/usnic/ |
D | usnic_ib_sysfs.c | 49 struct device_attribute *attr, in usnic_ib_show_fw_ver() 64 struct device_attribute *attr, in usnic_ib_show_board() 82 usnic_ib_show_config(struct device *device, struct device_attribute *attr, in usnic_ib_show_config() 145 usnic_ib_show_iface(struct device *device, struct device_attribute *attr, in usnic_ib_show_iface() 157 usnic_ib_show_max_vf(struct device *device, struct device_attribute *attr, in usnic_ib_show_max_vf() 169 usnic_ib_show_qp_per_vf(struct device *device, struct device_attribute *attr, in usnic_ib_show_qp_per_vf() 184 usnic_ib_show_cq_per_vf(struct device *device, struct device_attribute *attr, in usnic_ib_show_cq_per_vf() 203 static struct device_attribute *usnic_class_attributes[] = {
|
/linux-4.4.14/Documentation/filesystems/ |
D | sysfs.txt | 86 For example, the driver model defines struct device_attribute like: 88 struct device_attribute { 90 ssize_t (*show)(struct device *dev, struct device_attribute *attr, 92 ssize_t (*store)(struct device *dev, struct device_attribute *attr, 96 int device_create_file(struct device *, const struct device_attribute *); 97 void device_remove_file(struct device *, const struct device_attribute *); 102 struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store) 110 static struct device_attribute dev_attr_foo = { 145 #define to_dev_attr(_attr) container_of(_attr, struct device_attribute, attr) 150 struct device_attribute *dev_attr = to_dev_attr(attr); [all …]
|
/linux-4.4.14/block/ |
D | partition-generic.c | 68 struct device_attribute *attr, char *buf) in part_partition_show() 76 struct device_attribute *attr, char *buf) in part_start_show() 84 struct device_attribute *attr, char *buf) in part_size_show() 91 struct device_attribute *attr, char *buf) in part_ro_show() 98 struct device_attribute *attr, char *buf) in part_alignment_offset_show() 105 struct device_attribute *attr, char *buf) in part_discard_alignment_show() 112 struct device_attribute *attr, char *buf) in part_stat_show() 139 struct device_attribute *attr, char *buf) in part_inflight_show() 149 struct device_attribute *attr, char *buf) in part_fail_show() 157 struct device_attribute *attr, in part_fail_store() [all …]
|
/linux-4.4.14/net/core/ |
D | net-sysfs.c | 44 struct device_attribute *attr, char *buf, in netdev_show() 65 struct device_attribute *attr, char *buf) \ 79 static ssize_t netdev_store(struct device *dev, struct device_attribute *attr, in netdev_store() 115 static ssize_t iflink_show(struct device *dev, struct device_attribute *attr, in iflink_show() 130 struct device_attribute *attr, in name_assign_type_show() 144 static ssize_t address_show(struct device *dev, struct device_attribute *attr, in address_show() 159 struct device_attribute *attr, char *buf) in broadcast_show() 175 static ssize_t carrier_store(struct device *dev, struct device_attribute *attr, in carrier_store() 182 struct device_attribute *attr, char *buf) in carrier_show() 193 struct device_attribute *attr, char *buf) in speed_show() [all …]
|
/linux-4.4.14/drivers/scsi/lpfc/ |
D | lpfc_attr.c | 103 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 …]
|
/linux-4.4.14/drivers/ptp/ |
D | ptp_sysfs.c | 26 struct device_attribute *attr, char *page) in clock_name_show() 35 struct device_attribute *attr, char *page) \ 71 struct device_attribute *attr, in extts_enable_store() 96 struct device_attribute *attr, char *page) in extts_fifo_show() 129 struct device_attribute *attr, in period_store() 156 struct device_attribute *attr, in pps_enable_store() 191 static ssize_t ptp_pin_show(struct device *dev, struct device_attribute *attr, in ptp_pin_show() 213 static ssize_t ptp_pin_store(struct device *dev, struct device_attribute *attr, in ptp_pin_store() 283 struct device_attribute *da = &ptp->pin_dev_attr[i]; in ptp_populate_pins()
|
/linux-4.4.14/drivers/w1/ |
D | w1.c | 105 static ssize_t name_show(struct device *dev, struct device_attribute *attr, char *buf) in name_show() 114 struct device_attribute *attr, char *buf) in id_show() 225 static ssize_t w1_master_attribute_show_name(struct device *dev, struct device_attribute *attr, cha… in w1_master_attribute_show_name() 238 struct device_attribute *attr, in w1_master_attribute_store_search() 260 struct device_attribute *attr, in w1_master_attribute_show_search() 274 struct device_attribute *attr, in w1_master_attribute_store_pullup() 293 struct device_attribute *attr, in w1_master_attribute_show_pullup() 306 static ssize_t w1_master_attribute_show_pointer(struct device *dev, struct device_attribute *attr, … in w1_master_attribute_show_pointer() 317 static ssize_t w1_master_attribute_show_timeout(struct device *dev, struct device_attribute *attr, … in w1_master_attribute_show_timeout() 325 struct device_attribute *attr, char *buf) in w1_master_attribute_show_timeout_us() [all …]
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
D | i915_sysfs.c | 70 show_rc6_mask(struct device *kdev, struct device_attribute *attr, char *buf) in show_rc6_mask() 77 show_rc6_ms(struct device *kdev, struct device_attribute *attr, char *buf) in show_rc6_ms() 85 show_rc6p_ms(struct device *kdev, struct device_attribute *attr, char *buf) in show_rc6p_ms() 93 show_rc6pp_ms(struct device *kdev, struct device_attribute *attr, char *buf) in show_rc6pp_ms() 101 show_media_rc6_ms(struct device *kdev, struct device_attribute *attr, char *buf) in show_media_rc6_ms() 274 struct device_attribute *attr, char *buf) in gt_act_freq_mhz_show() 308 struct device_attribute *attr, char *buf) in gt_cur_freq_mhz_show() 329 struct device_attribute *attr, char *buf) in vlv_rpe_freq_mhz_show() 340 static ssize_t gt_max_freq_mhz_show(struct device *kdev, struct device_attribute *attr, char *buf) in gt_max_freq_mhz_show() 357 struct device_attribute *attr, in gt_max_freq_mhz_store() [all …]
|
/linux-4.4.14/drivers/isdn/mISDN/ |
D | core.c | 41 struct device_attribute *attr, char *buf) in id_show() 52 struct device_attribute *attr, char *buf) in nrbchan_show() 63 struct device_attribute *attr, char *buf) in d_protocols_show() 74 struct device_attribute *attr, char *buf) in b_protocols_show() 85 struct device_attribute *attr, char *buf) in protocol_show() 96 struct device_attribute *attr, char *buf) in name_show() 104 static ssize_t name_set(struct device *dev, struct device_attribute *attr, 126 struct device_attribute *attr, char *buf) in channelmap_show()
|
/linux-4.4.14/drivers/zorro/ |
D | zorro-sysfs.c | 27 show_##name(struct device *dev, struct device_attribute *attr, char *buf) \ 42 show_serial(struct device *dev, struct device_attribute *attr, char *buf) in show_serial() 52 static ssize_t zorro_show_resource(struct device *dev, struct device_attribute *attr, char *buf) in zorro_show_resource() 92 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, in modalias_show()
|
/linux-4.4.14/drivers/platform/chrome/ |
D | cros_ec_lightbar.c | 42 struct device_attribute *attr, char *buf) in interval_msec_show() 50 struct device_attribute *attr, in interval_msec_store() 165 struct device_attribute *attr, char *buf) in version_show() 184 struct device_attribute *attr, in brightness_store() 231 static ssize_t led_rgb_store(struct device *dev, struct device_attribute *attr, in led_rgb_store() 302 struct device_attribute *attr, char *buf) in sequence_show() 343 static ssize_t sequence_store(struct device *dev, struct device_attribute *attr, in sequence_store()
|
/linux-4.4.14/include/linux/power/ |
D | charger-manager.h | 123 struct device_attribute attr_name; 124 struct device_attribute attr_state; 125 struct device_attribute attr_externally_control;
|
/linux-4.4.14/drivers/usb/host/ |
D | ehci-sysfs.c | 24 struct device_attribute *attr, in show_companion() 51 struct device_attribute *attr, in store_companion() 82 struct device_attribute *attr, in show_uframe_periodic_max() 95 struct device_attribute *attr, in store_uframe_periodic_max()
|
/linux-4.4.14/arch/s390/include/asm/ |
D | idle.h | 24 extern struct device_attribute dev_attr_idle_count; 25 extern struct device_attribute dev_attr_idle_time_us;
|
/linux-4.4.14/drivers/staging/iio/adc/ |
D | ad7816.c | 112 struct device_attribute *attr, in ad7816_show_mode() 124 struct device_attribute *attr, in ad7816_store_mode() 148 struct device_attribute *attr, in ad7816_show_available_modes() 158 struct device_attribute *attr, in ad7816_show_channel() 168 struct device_attribute *attr, in ad7816_store_channel() 206 struct device_attribute *attr, in ad7816_show_value() 261 struct device_attribute *attr, in ad7816_show_oti() 281 struct device_attribute *attr, in ad7816_set_oti()
|
/linux-4.4.14/drivers/uwb/ |
D | lc-dev.c | 119 struct device_attribute *attr, char *buf) in uwb_dev_EUI_48_show() 130 struct device_attribute *attr, char *buf) in uwb_dev_DevAddr_show() 147 struct device_attribute *attr, char *buf) in uwb_dev_BPST_show() 175 struct device_attribute *attr, char *buf) in uwb_dev_IEs_show() 184 struct device_attribute *attr, char *buf) in uwb_dev_LQE_show() 197 struct device_attribute *attr, in uwb_dev_LQE_store() 212 struct device_attribute *attr, char *buf) in uwb_dev_RSSI_show() 225 struct device_attribute *attr, in uwb_dev_RSSI_store()
|
/linux-4.4.14/drivers/gpu/drm/ |
D | drm_sysfs.c | 165 struct device_attribute *attr, in status_store() 219 struct device_attribute *attr, in status_show() 229 struct device_attribute *attr, in dpms_show() 242 struct device_attribute *attr, in enabled_show() 279 struct device_attribute *attr, in modes_show() 295 struct device_attribute *attr, in tv_subconnector_show() 319 struct device_attribute *attr, in tv_select_subconnector_show() 343 struct device_attribute *attr, in dvii_subconnector_show() 367 struct device_attribute *attr, in dvii_select_subconnector_show()
|
/linux-4.4.14/drivers/spi/ |
D | spi-tle62x0.c | 39 static int to_gpio_num(struct device_attribute *attr); 100 struct device_attribute *attr, char *buf) in tle62x0_status_show() 137 struct device_attribute *attr, char *buf) in tle62x0_gpio_show() 151 struct device_attribute *attr, in tle62x0_gpio_store() 211 static struct device_attribute *gpio_attrs[] = { 230 static int to_gpio_num(struct device_attribute *attr) in to_gpio_num()
|
/linux-4.4.14/drivers/scsi/be2iscsi/ |
D | be_mgmt.h | 313 struct device_attribute *attr, char *buf); 316 struct device_attribute *attr, char *buf); 319 struct device_attribute *attr, char *buf); 322 struct device_attribute *attr, char *buf); 326 struct device_attribute *attr, char *buf); 329 struct device_attribute *attr, char *buf);
|
/linux-4.4.14/arch/sparc/kernel/ |
D | sysfs.c | 20 struct device_attribute *attr, char *buf) \ 143 struct device_attribute *attr, char *buf) in show_mmustat_enable() 150 struct device_attribute *attr, const char *buf, in store_mmustat_enable() 190 struct device_attribute *attr, char *buf) \ 198 struct device_attribute *attr, char *buf) \ 212 static struct device_attribute cpu_core_attrs[] = {
|
/linux-4.4.14/include/linux/ |
D | device.h | 109 struct device_attribute *dev_attrs; /* use dev_groups instead */ 544 struct device_attribute { struct 546 ssize_t (*show)(struct device *dev, struct device_attribute *attr, argument 548 ssize_t (*store)(struct device *dev, struct device_attribute *attr, argument 553 struct device_attribute attr; 557 ssize_t device_show_ulong(struct device *dev, struct device_attribute *attr, 559 ssize_t device_store_ulong(struct device *dev, struct device_attribute *attr, 561 ssize_t device_show_int(struct device *dev, struct device_attribute *attr, 563 ssize_t device_store_int(struct device *dev, struct device_attribute *attr, 565 ssize_t device_show_bool(struct device *dev, struct device_attribute *attr, [all …]
|
/linux-4.4.14/drivers/gpio/ |
D | gpiolib-sysfs.c | 57 struct device_attribute *attr, char *buf) in direction_show() 76 struct device_attribute *attr, const char *buf, size_t size) in direction_store() 100 struct device_attribute *attr, char *buf) in value_show() 116 struct device_attribute *attr, const char *buf, size_t size) in value_store() 230 struct device_attribute *attr, char *buf) in edge_show() 251 struct device_attribute *attr, const char *buf, size_t size) in edge_store() 318 struct device_attribute *attr, char *buf) in active_low_show() 335 struct device_attribute *attr, const char *buf, size_t size) in active_low_store() 401 struct device_attribute *attr, char *buf) in base_show() 410 struct device_attribute *attr, char *buf) in label_show() [all …]
|
/linux-4.4.14/drivers/media/pci/solo6x10/ |
D | solo6x10-core.c | 167 static ssize_t eeprom_store(struct device *dev, struct device_attribute *attr, in eeprom_store() 197 static ssize_t eeprom_show(struct device *dev, struct device_attribute *attr, in eeprom_show() 213 struct device_attribute *attr, in p2m_timeouts_show() 223 struct device_attribute *attr, in sdram_size_show() 233 struct device_attribute *attr, in tw28xx_show() 246 struct device_attribute *attr, in input_map_show() 281 struct device_attribute *attr, in p2m_timeout_store() 297 struct device_attribute *attr, in p2m_timeout_show() 307 struct device_attribute *attr, in intervals_show() 326 struct device_attribute *attr, in sdram_offsets_show() [all …]
|
/linux-4.4.14/drivers/rapidio/ |
D | rio-sysfs.c | 24 field##_show(struct device *dev, struct device_attribute *attr, char *buf) \ 41 static ssize_t routes_show(struct device *dev, struct device_attribute *attr, char *buf) in routes_show() 61 struct device_attribute *attr, char *buf) in lprev_show() 71 struct device_attribute *attr, char *buf) in lnext_show() 92 struct device_attribute *attr, char *buf) in modalias_show() 346 port_destid_show(struct device *dev, struct device_attribute *attr, in port_destid_show() 358 static ssize_t sys_size_show(struct device *dev, struct device_attribute *attr, in sys_size_show()
|
/linux-4.4.14/drivers/nvdimm/ |
D | region_devs.c | 138 struct device_attribute *attr, char *buf) in size_show() 156 struct device_attribute *attr, char *buf) in mappings_show() 165 struct device_attribute *attr, char *buf) in nstype_show() 174 struct device_attribute *attr, char *buf) in set_cookie_show() 222 struct device_attribute *attr, char *buf) in available_size_show() 243 struct device_attribute *attr, char *buf) in init_namespaces_show() 260 struct device_attribute *attr, char *buf) in namespace_seed_show() 276 struct device_attribute *attr, char *buf) in btt_seed_show() 293 struct device_attribute *attr, char *buf) in pfn_seed_show() 310 struct device_attribute *attr, char *buf) in read_only_show() [all …]
|
D | btt_devs.c | 60 struct device_attribute *attr, char *buf) in sector_size_show() 68 struct device_attribute *attr, const char *buf, size_t len) in sector_size_store() 87 struct device_attribute *attr, char *buf) in uuid_show() 97 struct device_attribute *attr, const char *buf, size_t len) in uuid_store() 113 struct device_attribute *attr, char *buf) in namespace_show() 126 struct device_attribute *attr, const char *buf, size_t len) in namespace_store()
|
D | pfn_devs.c | 57 struct device_attribute *attr, char *buf) in mode_show() 72 struct device_attribute *attr, const char *buf, size_t len) in mode_store() 107 struct device_attribute *attr, char *buf) in uuid_show() 117 struct device_attribute *attr, const char *buf, size_t len) in uuid_store() 133 struct device_attribute *attr, char *buf) in namespace_show() 146 struct device_attribute *attr, const char *buf, size_t len) in namespace_store()
|
/linux-4.4.14/drivers/staging/iio/resolver/ |
D | ad2s1210.c | 196 struct device_attribute *attr, in ad2s1210_show_fclkin() 205 struct device_attribute *attr, in ad2s1210_store_fclkin() 235 struct device_attribute *attr, in ad2s1210_show_fexcit() 244 struct device_attribute *attr, in ad2s1210_store_fexcit() 272 struct device_attribute *attr, in ad2s1210_show_control() 285 struct device_attribute *attr, in ad2s1210_store_control() 333 struct device_attribute *attr, char *buf) in ad2s1210_show_resolution() 341 struct device_attribute *attr, in ad2s1210_store_resolution() 392 struct device_attribute *attr, char *buf) in ad2s1210_show_fault() 405 struct device_attribute *attr, in ad2s1210_clear_fault() [all …]
|
/linux-4.4.14/drivers/scsi/qla2xxx/ |
D | qla_attr.c | 1004 struct device_attribute *attr, char *buf) in qla2x00_drvr_version_show() 1011 struct device_attribute *attr, char *buf) in qla2x00_fw_version_show() 1022 qla2x00_serial_num_show(struct device *dev, struct device_attribute *attr, in qla2x00_serial_num_show() 1043 qla2x00_isp_name_show(struct device *dev, struct device_attribute *attr, in qla2x00_isp_name_show() 1051 qla2x00_isp_id_show(struct device *dev, struct device_attribute *attr, in qla2x00_isp_id_show() 1067 qla2x00_model_name_show(struct device *dev, struct device_attribute *attr, in qla2x00_model_name_show() 1076 qla2x00_model_desc_show(struct device *dev, struct device_attribute *attr, in qla2x00_model_desc_show() 1084 qla2x00_pci_info_show(struct device *dev, struct device_attribute *attr, in qla2x00_pci_info_show() 1095 qla2x00_link_state_show(struct device *dev, struct device_attribute *attr, in qla2x00_link_state_show() 1135 qla2x00_zio_show(struct device *dev, struct device_attribute *attr, in qla2x00_zio_show() [all …]
|
/linux-4.4.14/include/linux/iio/ |
D | sysfs.h | 25 struct device_attribute dev_attr; 35 struct device_attribute *attr, 46 struct device_attribute dev_attr;
|
/linux-4.4.14/drivers/staging/olpc_dcon/ |
D | olpc_dcon.c | 396 struct device_attribute *attr, char *buf) in dcon_mode_show() 404 struct device_attribute *attr, char *buf) in dcon_sleep_show() 412 struct device_attribute *attr, char *buf) in dcon_freeze_show() 420 struct device_attribute *attr, char *buf) in dcon_mono_show() 428 struct device_attribute *attr, char *buf) in dcon_resumeline_show() 434 struct device_attribute *attr, const char *buf, size_t count) in dcon_mono_store() 449 struct device_attribute *attr, const char *buf, size_t count) in dcon_freeze_store() 479 struct device_attribute *attr, const char *buf, size_t count) in dcon_resumeline_store() 495 struct device_attribute *attr, const char *buf, size_t count) in dcon_sleep_store() 508 static struct device_attribute dcon_device_files[] = {
|
/linux-4.4.14/drivers/mtd/ |
D | mtdcore.c | 112 struct device_attribute *attr, char *buf) in mtd_type_show() 151 struct device_attribute *attr, char *buf) in mtd_flags_show() 161 struct device_attribute *attr, char *buf) in mtd_size_show() 172 struct device_attribute *attr, char *buf) in mtd_erasesize_show() 182 struct device_attribute *attr, char *buf) in mtd_writesize_show() 192 struct device_attribute *attr, char *buf) in mtd_subpagesize_show() 203 struct device_attribute *attr, char *buf) in mtd_oobsize_show() 213 struct device_attribute *attr, char *buf) in mtd_numeraseregions_show() 224 struct device_attribute *attr, char *buf) in mtd_name_show() 234 struct device_attribute *attr, char *buf) in mtd_ecc_strength_show() [all …]
|
/linux-4.4.14/drivers/net/wireless/b43legacy/ |
D | sysfs.c | 76 struct device_attribute *attr, in b43legacy_attr_interfmode_show() 110 struct device_attribute *attr, in b43legacy_attr_interfmode_store() 158 struct device_attribute *attr, in b43legacy_attr_preamble_show() 182 struct device_attribute *attr, in b43legacy_attr_preamble_store()
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_sysfs.c | 43 struct device_attribute *attr, in ixgbe_hwmon_show_location() 53 struct device_attribute *attr, in ixgbe_hwmon_show_temp() 72 struct device_attribute *attr, in ixgbe_hwmon_show_cautionthresh() 86 struct device_attribute *attr, in ixgbe_hwmon_show_maxopthresh()
|
/linux-4.4.14/drivers/thermal/ |
D | thermal_core.c | 591 type_show(struct device *dev, struct device_attribute *attr, char *buf) in type_show() 599 temp_show(struct device *dev, struct device_attribute *attr, char *buf) in temp_show() 613 mode_show(struct device *dev, struct device_attribute *attr, char *buf) in mode_show() 631 mode_store(struct device *dev, struct device_attribute *attr, in mode_store() 654 trip_point_type_show(struct device *dev, struct device_attribute *attr, in trip_point_type_show() 686 trip_point_temp_store(struct device *dev, struct device_attribute *attr, in trip_point_temp_store() 708 trip_point_temp_show(struct device *dev, struct device_attribute *attr, in trip_point_temp_show() 730 trip_point_hyst_store(struct device *dev, struct device_attribute *attr, in trip_point_hyst_store() 757 trip_point_hyst_show(struct device *dev, struct device_attribute *attr, in trip_point_hyst_show() 776 passive_store(struct device *dev, struct device_attribute *attr, in passive_store() [all …]
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
D | qib_sysfs.c | 501 static ssize_t show_rev(struct device *device, struct device_attribute *attr, in show_rev() 510 static ssize_t show_hca(struct device *device, struct device_attribute *attr, in show_hca() 526 struct device_attribute *attr, char *buf) in show_version() 533 struct device_attribute *attr, char *buf) in show_boardversion() 545 struct device_attribute *attr, char *buf) in show_localbus_info() 557 struct device_attribute *attr, char *buf) in show_nctxts() 572 struct device_attribute *attr, char *buf) in show_nfreectxts() 583 struct device_attribute *attr, char *buf) in show_serial() 596 struct device_attribute *attr, const char *buf, in store_chip_reset() 618 struct device_attribute *attr, char *buf) in show_tempsense() [all …]
|
/linux-4.4.14/drivers/scsi/fcoe/ |
D | fcoe_sysfs.c | 145 struct device_attribute device_attr_fcoe_##_prefix##_##_name = \ 150 struct device_attribute *attr, \ 162 struct device_attribute *attr, \ 175 struct device_attribute *attr, \ 184 struct device_attribute *attr, \ 257 struct device_attribute *attr, in fcoe_enum_name_search() 271 struct device_attribute *attr, in show_ctlr_mode() 285 struct device_attribute *attr, in store_ctlr_mode() 334 struct device_attribute *attr, in store_ctlr_enabled() 371 struct device_attribute *attr, in fcoe_enum_name_search() [all …]
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_pm.c | 50 struct device_attribute *attr, in amdgpu_get_dpm_state() 63 struct device_attribute *attr, in amdgpu_set_dpm_state() 93 struct device_attribute *attr, in amdgpu_get_dpm_forced_performance_level() 106 struct device_attribute *attr, in amdgpu_set_dpm_forced_performance_level() 147 struct device_attribute *attr, in amdgpu_hwmon_show_temp() 162 struct device_attribute *attr, in amdgpu_hwmon_show_temp_thresh() 178 struct device_attribute *attr, in amdgpu_hwmon_get_pwm1_enable() 192 struct device_attribute *attr, in amdgpu_hwmon_set_pwm1_enable() 220 struct device_attribute *attr, in amdgpu_hwmon_get_pwm1_min() 227 struct device_attribute *attr, in amdgpu_hwmon_get_pwm1_max() [all …]
|