/drivers/hwmon/ |
D | pc87360.c | 403 struct device_attribute *devattr, char *buf) in in_input_show() argument 405 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_input_show() 426 struct device_attribute *devattr, char *buf) in in_status_show() argument 428 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_status_show() 448 struct device_attribute *devattr, char *buf) in in_min_show() argument 450 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_min_show() 457 struct device_attribute *devattr, const char *buf, in in_min_store() argument 460 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_min_store() 492 struct device_attribute *devattr, char *buf) in in_max_show() argument 494 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_max_show() [all …]
|
D | f71805f.c | 419 static ssize_t show_in0(struct device *dev, struct device_attribute *devattr, in show_in0() argument 423 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in0() 430 *devattr, char *buf) in show_in0_max() 433 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in0_max() 440 *devattr, char *buf) in show_in0_min() 443 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in0_min() 450 *devattr, const char *buf, size_t count) in set_in0_max() 453 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_in0_max() 471 *devattr, const char *buf, size_t count) in set_in0_min() 474 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_in0_min() [all …]
|
D | adt7462.c | 779 struct device_attribute *devattr, char *buf) in temp_min_show() argument 781 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_min_show() 791 struct device_attribute *devattr, in temp_min_store() argument 794 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_min_store() 815 struct device_attribute *devattr, char *buf) in temp_max_show() argument 817 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_max_show() 827 struct device_attribute *devattr, in temp_max_store() argument 830 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_max_store() 850 static ssize_t temp_show(struct device *dev, struct device_attribute *devattr, in temp_show() argument 853 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_show() [all …]
|
D | f71882fg.c | 513 static ssize_t name_show(struct device *dev, struct device_attribute *devattr, in name_show() argument 522 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, in show_temp() argument 526 int nr = to_sensor_dev_attr_2(devattr)->index; in show_temp() 549 *devattr, char *buf) in show_temp_max() 552 int nr = to_sensor_dev_attr_2(devattr)->index; in show_temp_max() 558 *devattr, const char *buf, size_t count) in store_temp_max() 561 int err, nr = to_sensor_dev_attr_2(devattr)->index; in store_temp_max() 580 *devattr, char *buf) in show_temp_max_hyst() 583 int nr = to_sensor_dev_attr_2(devattr)->index; in show_temp_max_hyst() 598 *devattr, const char *buf, size_t count) in store_temp_max_hyst() [all …]
|
D | pc87427.c | 388 struct device_attribute *devattr, char *buf) in fan_input_show() argument 391 int nr = to_sensor_dev_attr(devattr)->index; in fan_input_show() 397 struct device_attribute *devattr, char *buf) in fan_min_show() argument 400 int nr = to_sensor_dev_attr(devattr)->index; in fan_min_show() 406 struct device_attribute *devattr, char *buf) in fan_alarm_show() argument 409 int nr = to_sensor_dev_attr(devattr)->index; in fan_alarm_show() 416 struct device_attribute *devattr, char *buf) in fan_fault_show() argument 419 int nr = to_sensor_dev_attr(devattr)->index; in fan_fault_show() 426 struct device_attribute *devattr, in fan_min_store() argument 430 int nr = to_sensor_dev_attr(devattr)->index; in fan_min_store() [all …]
|
D | i5k_amb.c | 104 static ssize_t name_show(struct device *dev, struct device_attribute *devattr, in name_show() argument 127 struct device_attribute *devattr, in show_amb_alarm() argument 130 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_alarm() 141 struct device_attribute *devattr, in store_amb_min() argument 145 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in store_amb_min() 161 struct device_attribute *devattr, in store_amb_mid() argument 165 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in store_amb_mid() 181 struct device_attribute *devattr, in store_amb_max() argument 185 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in store_amb_max() 201 struct device_attribute *devattr, in show_amb_min() argument [all …]
|
D | emc6w201.c | 179 static ssize_t in_show(struct device *dev, struct device_attribute *devattr, in in_show() argument 183 int sf = to_sensor_dev_attr_2(devattr)->index; in in_show() 184 int nr = to_sensor_dev_attr_2(devattr)->nr; in in_show() 190 static ssize_t in_store(struct device *dev, struct device_attribute *devattr, in in_store() argument 195 int sf = to_sensor_dev_attr_2(devattr)->index; in in_store() 196 int nr = to_sensor_dev_attr_2(devattr)->nr; in in_store() 218 static ssize_t temp_show(struct device *dev, struct device_attribute *devattr, in temp_show() argument 222 int sf = to_sensor_dev_attr_2(devattr)->index; in temp_show() 223 int nr = to_sensor_dev_attr_2(devattr)->nr; in temp_show() 229 struct device_attribute *devattr, const char *buf, in temp_store() argument [all …]
|
D | mc13783-adc.c | 32 static ssize_t name_show(struct device *dev, struct device_attribute *devattr, in name_show() argument 41 struct device_attribute *devattr, unsigned int *val) in mc13783_adc_read() argument 44 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in mc13783_adc_read() 67 struct device_attribute *devattr, in mc13783_adc_bp_show() argument 73 int ret = mc13783_adc_read(dev, devattr, &val); in mc13783_adc_bp_show() 91 struct device_attribute *devattr, in mc13783_adc_gp_show() argument 95 int ret = mc13783_adc_read(dev, devattr, &val); in mc13783_adc_gp_show() 110 struct device_attribute *devattr, in mc13783_adc_uid_show() argument 116 int ret = mc13783_adc_read(dev, devattr, &val); in mc13783_adc_uid_show() 132 struct device_attribute *devattr, in mc13783_adc_temp_show() argument [all …]
|
D | abituguru.c | 788 struct device_attribute *devattr, char *buf) in show_bank1_value() argument 790 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in show_bank1_value() 799 struct device_attribute *devattr, char *buf) in show_bank1_setting() argument 801 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in show_bank1_setting() 809 struct device_attribute *devattr, char *buf) in show_bank2_value() argument 811 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in show_bank2_value() 820 struct device_attribute *devattr, char *buf) in show_bank2_setting() argument 822 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in show_bank2_setting() 830 *devattr, const char *buf, size_t count) in store_bank1_setting() 832 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in store_bank1_setting() [all …]
|
D | sch5636.c | 160 static ssize_t name_show(struct device *dev, struct device_attribute *devattr, in name_show() argument 167 struct device_attribute *devattr, char *buf) in in_value_show() argument 169 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_value_show() 183 struct device_attribute *devattr, char *buf) in in_label_show() argument 185 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_label_show() 192 struct device_attribute *devattr, char *buf) in temp_value_show() argument 194 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_value_show() 206 struct device_attribute *devattr, char *buf) in temp_fault_show() argument 208 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_fault_show() 220 struct device_attribute *devattr, char *buf) in temp_alarm_show() argument [all …]
|
D | smsc47m1.c | 197 static ssize_t fan_show(struct device *dev, struct device_attribute *devattr, in fan_show() argument 200 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_show() 217 struct device_attribute *devattr, char *buf) in fan_min_show() argument 219 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_min_show() 228 struct device_attribute *devattr, char *buf) in fan_div_show() argument 230 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_div_show() 236 struct device_attribute *devattr, char *buf) in fan_alarm_show() argument 238 int bitnr = to_sensor_dev_attr(devattr)->index; in fan_alarm_show() 243 static ssize_t pwm_show(struct device *dev, struct device_attribute *devattr, in pwm_show() argument 246 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_show() [all …]
|
D | w83627hf.c | 1007 in_input_show(struct device *dev, struct device_attribute *devattr, char *buf) in in_input_show() argument 1009 int nr = to_sensor_dev_attr(devattr)->index; in in_input_show() 1015 in_min_show(struct device *dev, struct device_attribute *devattr, char *buf) in in_min_show() argument 1017 int nr = to_sensor_dev_attr(devattr)->index; in in_min_show() 1023 in_min_store(struct device *dev, struct device_attribute *devattr, in in_min_store() argument 1026 int nr = to_sensor_dev_attr(devattr)->index; in in_min_store() 1043 in_max_show(struct device *dev, struct device_attribute *devattr, char *buf) in in_max_show() argument 1045 int nr = to_sensor_dev_attr(devattr)->index; in in_max_show() 1051 in_max_store(struct device *dev, struct device_attribute *devattr, in in_max_store() argument 1054 int nr = to_sensor_dev_attr(devattr)->index; in in_max_store() [all …]
|
D | fschmd.c | 321 struct device_attribute *devattr, char *buf) in in_value_show() argument 324 int index = to_sensor_dev_attr(devattr)->index; in in_value_show() 339 struct device_attribute *devattr, char *buf) in temp_value_show() argument 341 int index = to_sensor_dev_attr(devattr)->index; in temp_value_show() 348 struct device_attribute *devattr, char *buf) in temp_max_show() argument 350 int index = to_sensor_dev_attr(devattr)->index; in temp_max_show() 357 struct device_attribute *devattr, in temp_max_store() argument 360 int index = to_sensor_dev_attr(devattr)->index; in temp_max_store() 381 struct device_attribute *devattr, char *buf) in temp_fault_show() argument 383 int index = to_sensor_dev_attr(devattr)->index; in temp_fault_show() [all …]
|
D | menf21bmc_hwmon.c | 100 label_show(struct device *dev, struct device_attribute *devattr, char *buf) in label_show() argument 102 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in label_show() 108 in_show(struct device *dev, struct device_attribute *devattr, char *buf) in in_show() argument 110 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_show() 120 min_show(struct device *dev, struct device_attribute *devattr, char *buf) in min_show() argument 122 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in min_show() 129 max_show(struct device *dev, struct device_attribute *devattr, char *buf) in max_show() argument 131 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in max_show()
|
D | adm1021.c | 146 static ssize_t temp_show(struct device *dev, struct device_attribute *devattr, in temp_show() argument 149 int index = to_sensor_dev_attr(devattr)->index; in temp_show() 156 struct device_attribute *devattr, char *buf) in temp_max_show() argument 158 int index = to_sensor_dev_attr(devattr)->index; in temp_max_show() 165 struct device_attribute *devattr, char *buf) in temp_min_show() argument 167 int index = to_sensor_dev_attr(devattr)->index; in temp_min_show() 190 struct device_attribute *devattr, in temp_max_store() argument 193 int index = to_sensor_dev_attr(devattr)->index; in temp_max_store() 216 struct device_attribute *devattr, in temp_min_store() argument 219 int index = to_sensor_dev_attr(devattr)->index; in temp_min_store() [all …]
|
D | da9052-hwmon.c | 86 struct device_attribute *devattr, char *buf) in da9052_vddout_show() argument 118 struct device_attribute *devattr, char *buf) in da9052_ich_show() argument 132 struct device_attribute *devattr, char *buf) in da9052_tbat_show() argument 140 struct device_attribute *devattr, char *buf) in da9052_vbat_show() argument 153 struct device_attribute *devattr, in da9052_misc_channel_show() argument 157 int channel = to_sensor_dev_attr(devattr)->index; in da9052_misc_channel_show() 241 struct device_attribute *devattr, char *buf) in da9052_tsi_show() argument 244 int channel = to_sensor_dev_attr(devattr)->index; in da9052_tsi_show() 258 struct device_attribute *devattr, char *buf) in da9052_tjunc_show() argument 280 struct device_attribute *devattr, char *buf) in da9052_vbbat_show() argument [all …]
|
D | max1668.c | 131 struct device_attribute *devattr, char *buf) in show_temp() argument 133 int index = to_sensor_dev_attr(devattr)->index; in show_temp() 143 struct device_attribute *devattr, char *buf) in show_temp_max() argument 145 int index = to_sensor_dev_attr(devattr)->index; in show_temp_max() 155 struct device_attribute *devattr, char *buf) in show_temp_min() argument 157 int index = to_sensor_dev_attr(devattr)->index; in show_temp_min() 179 struct device_attribute *devattr, char *buf) in show_fault() argument 181 int index = to_sensor_dev_attr(devattr)->index; in show_fault() 192 struct device_attribute *devattr, in set_temp_max() argument 195 int index = to_sensor_dev_attr(devattr)->index; in set_temp_max() [all …]
|
D | adt7470.c | 473 struct device_attribute *devattr, in auto_update_interval_show() argument 485 struct device_attribute *devattr, in auto_update_interval_store() argument 504 struct device_attribute *devattr, in num_temp_sensors_show() argument 516 struct device_attribute *devattr, in num_temp_sensors_store() argument 592 struct device_attribute *devattr, char *buf) in alarm_mask_show() argument 603 struct device_attribute *devattr, in alarm_mask_store() argument 692 struct device_attribute *devattr, char *buf) in force_pwm_max_show() argument 703 struct device_attribute *devattr, in force_pwm_max_store() argument 857 struct device_attribute *devattr, char *buf) in pwm_max_show() argument 859 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_max_show() [all …]
|
D | amc6821.c | 267 static ssize_t temp_show(struct device *dev, struct device_attribute *devattr, in temp_show() argument 271 int ix = to_sensor_dev_attr(devattr)->index; in temp_show() 300 struct device_attribute *devattr, char *buf) in temp_alarm_show() argument 303 int ix = to_sensor_dev_attr(devattr)->index; in temp_alarm_show() 336 struct device_attribute *devattr, char *buf) in temp2_fault_show() argument 345 static ssize_t pwm1_show(struct device *dev, struct device_attribute *devattr, in pwm1_show() argument 353 struct device_attribute *devattr, const char *buf, in pwm1_store() argument 371 struct device_attribute *devattr, char *buf) in pwm1_enable_show() argument 425 struct device_attribute *devattr, in pwm1_auto_channels_temp_show() argument 433 struct device_attribute *devattr, in temp_auto_point_temp_show() argument [all …]
|
D | ftsteutates.c | 347 struct device_attribute *devattr, char *buf) in in_value_show() argument 350 int index = to_sensor_dev_attr(devattr)->index; in in_value_show() 363 struct device_attribute *devattr, char *buf) in temp_value_show() argument 366 int index = to_sensor_dev_attr(devattr)->index; in temp_value_show() 379 struct device_attribute *devattr, char *buf) in temp_fault_show() argument 382 int index = to_sensor_dev_attr(devattr)->index; in temp_fault_show() 394 struct device_attribute *devattr, char *buf) in temp_alarm_show() argument 397 int index = to_sensor_dev_attr(devattr)->index; in temp_alarm_show() 408 temp_alarm_store(struct device *dev, struct device_attribute *devattr, in temp_alarm_store() argument 412 int index = to_sensor_dev_attr(devattr)->index; in temp_alarm_store() [all …]
|
D | lm92.c | 137 static ssize_t temp_show(struct device *dev, struct device_attribute *devattr, in temp_show() argument 140 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_show() 147 struct device_attribute *devattr, const char *buf, in temp_store() argument 150 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_store() 169 struct device_attribute *devattr, char *buf) in temp_hyst_show() argument 171 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_hyst_show() 188 struct device_attribute *devattr, in temp_hyst_store() argument 191 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_hyst_store()
|
D | adm1029.c | 159 temp_show(struct device *dev, struct device_attribute *devattr, char *buf) in temp_show() argument 161 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_show() 168 fan_show(struct device *dev, struct device_attribute *devattr, char *buf) in fan_show() argument 170 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_show() 186 fan_div_show(struct device *dev, struct device_attribute *devattr, char *buf) in fan_div_show() argument 188 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_div_show() 197 struct device_attribute *devattr, in fan_div_store() argument 202 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_div_store()
|
D | lm63.c | 331 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, in show_fan() argument 334 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan() 361 static ssize_t show_pwm1(struct device *dev, struct device_attribute *devattr, in show_pwm1() argument 364 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_pwm1() 379 static ssize_t set_pwm1(struct device *dev, struct device_attribute *devattr, in set_pwm1() argument 382 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_pwm1() 457 struct device_attribute *devattr, in show_local_temp8() argument 460 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_local_temp8() 466 struct device_attribute *devattr, in show_remote_temp8() argument 469 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_remote_temp8() [all …]
|
/drivers/misc/ |
D | ics932s401.c | 150 struct device_attribute *devattr, in show_spread_enabled() argument 197 struct device_attribute *devattr, in show_cpu_clock() argument 206 struct device_attribute *devattr, in show_cpu_clock_sel() argument 254 struct device_attribute *devattr, in show_src_clock() argument 263 struct device_attribute *devattr, in show_src_clock_sel() argument 302 struct device_attribute *devattr, in show_pci_clock() argument 311 struct device_attribute *devattr, in show_pci_clock_sel() argument 326 struct device_attribute *devattr, 330 struct device_attribute *devattr, 361 struct device_attribute *devattr, in show_value() argument [all …]
|
/drivers/hwmon/pmbus/ |
D | inspur-ipsps.c | 54 struct device_attribute *devattr, in ipsps_string_show() argument 62 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in ipsps_string_show() 77 struct device_attribute *devattr, in ipsps_fw_version_show() argument 84 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in ipsps_fw_version_show() 100 struct device_attribute *devattr, char *buf) in ipsps_mode_show() argument 105 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in ipsps_mode_show() 131 struct device_attribute *devattr, in ipsps_mode_store() argument 137 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in ipsps_mode_store()
|