/openbmc/linux/drivers/hwmon/ |
H A D | pc87360.c | 409 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_input_show() 432 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_status_show() 555 unsigned nr = to_sensor_dev_attr(devattr)->index; in in_min_alarm_show() 578 unsigned nr = to_sensor_dev_attr(devattr)->index; in in_max_alarm_show() 818 unsigned nr = to_sensor_dev_attr(devattr)->index; in therm_min_alarm_show() 834 unsigned nr = to_sensor_dev_attr(devattr)->index; in therm_max_alarm_show() 850 unsigned nr = to_sensor_dev_attr(devattr)->index; in therm_crit_alarm_show() 1025 unsigned nr = to_sensor_dev_attr(devattr)->index; in temp_min_alarm_show() 1041 unsigned nr = to_sensor_dev_attr(devattr)->index; in temp_max_alarm_show() 1057 unsigned nr = to_sensor_dev_attr(devattr)->index; in temp_crit_alarm_show() [all …]
|
H A D | lm85.c | 555 int nr = to_sensor_dev_attr(attr)->index; in fan_show() 563 int nr = to_sensor_dev_attr(attr)->index; in fan_min_show() 572 int nr = to_sensor_dev_attr(attr)->index; in fan_min_store() 658 int nr = to_sensor_dev_attr(attr)->index; in alarm_show() 686 int nr = to_sensor_dev_attr(attr)->index; in pwm_show() 694 int nr = to_sensor_dev_attr(attr)->index; in pwm_store() 714 int nr = to_sensor_dev_attr(attr)->index; in pwm_enable_show() 737 int nr = to_sensor_dev_attr(attr)->index; in pwm_enable_store() 780 int nr = to_sensor_dev_attr(attr)->index; in pwm_freq_show() 797 int nr = to_sensor_dev_attr(attr)->index; in pwm_freq_store() [all …]
|
H A D | adm1031.c | 323 int nr = to_sensor_dev_attr(attr)->index; in fan_auto_channel_show() 334 int nr = to_sensor_dev_attr(attr)->index; in fan_auto_channel_store() 388 int nr = to_sensor_dev_attr(attr)->index; in auto_temp_off_show() 396 int nr = to_sensor_dev_attr(attr)->index; in auto_temp_min_show() 407 int nr = to_sensor_dev_attr(attr)->index; in auto_temp_min_store() 426 int nr = to_sensor_dev_attr(attr)->index; in auto_temp_max_show() 437 int nr = to_sensor_dev_attr(attr)->index; in auto_temp_max_store() 469 int nr = to_sensor_dev_attr(attr)->index; in pwm_show() 478 int nr = to_sensor_dev_attr(attr)->index; in pwm_store() 558 int nr = to_sensor_dev_attr(attr)->index; in fan_show() [all …]
|
H A D | f75375s.c | 287 int nr = to_sensor_dev_attr(attr)->index; in set_fan_min() 307 int nr = to_sensor_dev_attr(attr)->index; in set_fan_target() 332 int nr = to_sensor_dev_attr(attr)->index; in set_pwm() 356 int nr = to_sensor_dev_attr(attr)->index; in show_pwm_enable() 428 int nr = to_sensor_dev_attr(attr)->index; in set_pwm_enable() 447 int nr = to_sensor_dev_attr(attr)->index; in set_pwm_mode() 491 int nr = to_sensor_dev_attr(attr)->index; in show_pwm() 499 int nr = to_sensor_dev_attr(attr)->index; in show_pwm_mode() 510 int nr = to_sensor_dev_attr(attr)->index; in show_in() 518 int nr = to_sensor_dev_attr(attr)->index; in show_in_max() [all …]
|
H A D | via686a.c | 414 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_show() 422 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_show() 430 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_show() 438 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_store() 457 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_store() 494 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_show() 501 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_over_show() 508 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_hyst_show() 516 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_over_store() 536 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_hyst_store() [all …]
|
H A D | lm93.c | 1104 int nr = (to_sensor_dev_attr(attr))->index; in in_show() 1130 int nr = (to_sensor_dev_attr(attr))->index; in in_min_show() 1147 int nr = (to_sensor_dev_attr(attr))->index; in in_min_store() 1195 int nr = (to_sensor_dev_attr(attr))->index; in in_max_show() 1212 int nr = (to_sensor_dev_attr(attr))->index; in in_max_store() 1260 int nr = (to_sensor_dev_attr(attr))->index; in temp_show() 1272 int nr = (to_sensor_dev_attr(attr))->index; in temp_min_show() 1281 int nr = (to_sensor_dev_attr(attr))->index; in temp_min_store() 1305 int nr = (to_sensor_dev_attr(attr))->index; in temp_max_show() 1314 int nr = (to_sensor_dev_attr(attr))->index; in temp_max_store() [all …]
|
H A D | max6639.c | 160 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in temp_input_show() 173 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in temp_fault_show() 184 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in temp_max_show() 194 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in temp_max_store() 216 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in temp_crit_show() 226 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in temp_crit_store() 249 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in temp_emergency_show() 259 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in temp_emergency_store() 281 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in pwm_show() 291 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in pwm_store() [all …]
|
H A D | gl520sm.c | 208 int n = to_sensor_dev_attr(attr)->index; in in_input_show() 221 int n = to_sensor_dev_attr(attr)->index; in in_min_show() 234 int n = to_sensor_dev_attr(attr)->index; in in_max_show() 249 int n = to_sensor_dev_attr(attr)->index; in in_min_store() 283 int n = to_sensor_dev_attr(attr)->index; in in_max_store() 341 int n = to_sensor_dev_attr(attr)->index; in fan_input_show() 351 int n = to_sensor_dev_attr(attr)->index; in fan_min_show() 361 int n = to_sensor_dev_attr(attr)->index; in fan_div_show() 380 int n = to_sensor_dev_attr(attr)->index; in fan_min_store() 420 int n = to_sensor_dev_attr(attr)->index; in fan_div_store() [all …]
|
H A D | smsc47m192.c | 172 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_show() 181 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_min_show() 190 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_max_show() 199 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_min_store() 221 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_max_store() 269 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_show() 278 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_min_show() 287 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_max_show() 297 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_min_store() 320 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_max_store() [all …]
|
H A D | lm95234.c | 209 int index = to_sensor_dev_attr(attr)->index; in temp_show() 223 u32 mask = to_sensor_dev_attr(attr)->index; in alarm_show() 236 u8 mask = to_sensor_dev_attr(attr)->index; in type_show() 250 u8 mask = to_sensor_dev_attr(attr)->index; in type_store() 280 int index = to_sensor_dev_attr(attr)->index; in tcrit2_show() 293 int index = to_sensor_dev_attr(attr)->index; in tcrit2_store() 319 int index = to_sensor_dev_attr(attr)->index; in tcrit2_hyst_show() 334 int index = to_sensor_dev_attr(attr)->index; in tcrit1_show() 343 int index = to_sensor_dev_attr(attr)->index; in tcrit1_store() 368 int index = to_sensor_dev_attr(attr)->index; in tcrit1_hyst_show() [all …]
|
H A D | adm1025.c | 166 int index = to_sensor_dev_attr(attr)->index; in in_show() 175 int index = to_sensor_dev_attr(attr)->index; in in_min_show() 184 int index = to_sensor_dev_attr(attr)->index; in in_max_show() 193 int index = to_sensor_dev_attr(attr)->index; in temp_show() 201 int index = to_sensor_dev_attr(attr)->index; in temp_min_show() 209 int index = to_sensor_dev_attr(attr)->index; in temp_max_show() 217 int index = to_sensor_dev_attr(attr)->index; in in_min_store() 238 int index = to_sensor_dev_attr(attr)->index; in in_max_store() 279 int index = to_sensor_dev_attr(attr)->index; in temp_min_store() 301 int index = to_sensor_dev_attr(attr)->index; in temp_max_store() [all …]
|
H A D | adt7462.c | 781 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_min_show() 794 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_min_store() 817 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_max_show() 830 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_max_store() 853 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_show() 867 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_label_show() 876 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in volt_max_show() 890 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in volt_max_store() 916 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in volt_min_show() 930 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in volt_min_store() [all …]
|
H A D | f71805f.c | 423 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in0() 433 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in0_max() 443 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in0_min() 453 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_in0_max() 474 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_in0_min() 495 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in() 505 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in_max() 515 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in_min() 525 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_in_max() 546 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_in_min() [all …]
|
H A D | w83l786ng.c | 226 int nr = to_sensor_dev_attr(attr)->index; \ 240 int nr = to_sensor_dev_attr(attr)->index; \ 280 int nr = to_sensor_dev_attr(attr)->index; \ 293 int nr = to_sensor_dev_attr(attr)->index; in store_fan_min() 316 int nr = to_sensor_dev_attr(attr)->index; in show_fan_div() 331 int nr = to_sensor_dev_attr(attr)->index; in store_fan_div() 477 int nr = to_sensor_dev_attr(attr)->index; in show_pwm_reg() 505 int nr = to_sensor_dev_attr(attr)->index; in store_pwm() 529 int nr = to_sensor_dev_attr(attr)->index; in store_pwm_enable() 576 int nr = to_sensor_dev_attr(attr)->index; in show_tolerance() [all …]
|
H A D | lm87.c | 270 int nr = to_sensor_dev_attr(attr)->index; in in_input_show() 280 int nr = to_sensor_dev_attr(attr)->index; in in_min_show() 290 int nr = to_sensor_dev_attr(attr)->index; in in_max_show() 301 int nr = to_sensor_dev_attr(attr)->index; in in_min_store() 322 int nr = to_sensor_dev_attr(attr)->index; in in_max_store() 367 int nr = to_sensor_dev_attr(attr)->index; in temp_input_show() 376 int nr = to_sensor_dev_attr(attr)->index; in temp_low_show() 386 int nr = to_sensor_dev_attr(attr)->index; in temp_high_show() 398 int nr = to_sensor_dev_attr(attr)->index; in temp_low_store() 419 int nr = to_sensor_dev_attr(attr)->index; in temp_high_store() [all …]
|
H A D | vt8231.c | 250 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_show() 260 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_min_show() 270 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_max_show() 280 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_min_store() 300 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_max_store() 467 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_show() 476 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_max_show() 485 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_min_show() 495 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_max_store() 515 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_min_store() [all …]
|
H A D | pc87427.c | 391 int nr = to_sensor_dev_attr(devattr)->index; in fan_input_show() 400 int nr = to_sensor_dev_attr(devattr)->index; in fan_min_show() 409 int nr = to_sensor_dev_attr(devattr)->index; in fan_alarm_show() 419 int nr = to_sensor_dev_attr(devattr)->index; in fan_fault_show() 430 int nr = to_sensor_dev_attr(devattr)->index; in fan_min_store() 568 int nr = to_sensor_dev_attr(devattr)->index; in pwm_enable_show() 582 int nr = to_sensor_dev_attr(devattr)->index; in pwm_enable_store() 603 int nr = to_sensor_dev_attr(devattr)->index; in pwm_show() 612 int nr = to_sensor_dev_attr(devattr)->index; in pwm_store() 695 int nr = to_sensor_dev_attr(devattr)->index; in temp_input_show() [all …]
|
H A D | i5k_amb.c | 130 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_alarm() 145 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in store_amb_min() 165 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in store_amb_mid() 185 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in store_amb_max() 204 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_min() 214 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_mid() 224 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_max() 234 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_temp() 244 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_label()
|
H A D | thmc50.c | 166 int nr = to_sensor_dev_attr(attr)->index; in temp_show() 174 int nr = to_sensor_dev_attr(attr)->index; in temp_min_show() 183 int nr = to_sensor_dev_attr(attr)->index; in temp_min_store() 204 int nr = to_sensor_dev_attr(attr)->index; in temp_max_show() 213 int nr = to_sensor_dev_attr(attr)->index; in temp_max_store() 234 int nr = to_sensor_dev_attr(attr)->index; in temp_critical_show() 242 int index = to_sensor_dev_attr(attr)->index; in alarm_show()
|
H A D | lm92.c | 140 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_show() 150 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_store() 171 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_hyst_show() 191 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_hyst_store() 222 int bitnr = to_sensor_dev_attr(attr)->index; in alarm_show()
|
H A D | w83627hf.c | 911 int bitnr = to_sensor_dev_attr(attr)->index; in alarm_show() 935 int bitnr = to_sensor_dev_attr(attr)->index; in beep_show() 944 int bitnr = to_sensor_dev_attr(attr)->index; in beep_store() 1009 int nr = to_sensor_dev_attr(devattr)->index; in in_input_show() 1017 int nr = to_sensor_dev_attr(devattr)->index; in in_min_show() 1026 int nr = to_sensor_dev_attr(devattr)->index; in in_min_store() 1045 int nr = to_sensor_dev_attr(devattr)->index; in in_max_show() 1054 int nr = to_sensor_dev_attr(devattr)->index; in in_max_store() 1099 int nr = to_sensor_dev_attr(devattr)->index; in fan_input_show() 1108 int nr = to_sensor_dev_attr(devattr)->index; in fan_min_show() [all …]
|
H A D | sch5636.c | 169 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_value_show() 185 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_label_show() 194 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_value_show() 208 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_fault_show() 222 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_alarm_show() 236 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_value_show() 253 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_fault_show() 267 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_alarm_show()
|
H A D | max1668.c | 133 int index = to_sensor_dev_attr(devattr)->index; in show_temp() 145 int index = to_sensor_dev_attr(devattr)->index; in show_temp_max() 157 int index = to_sensor_dev_attr(devattr)->index; in show_temp_min() 169 int index = to_sensor_dev_attr(attr)->index; in show_alarm() 181 int index = to_sensor_dev_attr(devattr)->index; in show_fault() 195 int index = to_sensor_dev_attr(devattr)->index; in set_temp_max() 221 int index = to_sensor_dev_attr(devattr)->index; in set_temp_min()
|
H A D | wm831x-hwmon.c | 34 int channel = to_sensor_dev_attr(attr)->index; in show_voltage() 48 int channel = to_sensor_dev_attr(attr)->index; in show_chip_temp() 65 int channel = to_sensor_dev_attr(attr)->index; in show_label()
|
/openbmc/linux/drivers/hwmon/pmbus/ |
H A D | inspur-ipsps.c | 62 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in ipsps_string_show() 84 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in ipsps_fw_version_show() 105 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in ipsps_mode_show() 137 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in ipsps_mode_store()
|