/linux/drivers/hwmon/ |
A D | pc87360.c | 247 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_input_show() 255 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_min_show() 533 unsigned nr = to_sensor_dev_attr(devattr)->index; in in_min_alarm_show() 541 unsigned nr = to_sensor_dev_attr(devattr)->index; in in_max_alarm_show() 785 unsigned nr = to_sensor_dev_attr(devattr)->index; in therm_min_alarm_show() 794 unsigned nr = to_sensor_dev_attr(devattr)->index; in therm_max_alarm_show() 803 unsigned nr = to_sensor_dev_attr(devattr)->index; in therm_crit_alarm_show() 994 unsigned nr = to_sensor_dev_attr(devattr)->index; in temp_min_alarm_show() 1004 unsigned nr = to_sensor_dev_attr(devattr)->index; in temp_max_alarm_show() 1014 unsigned nr = to_sensor_dev_attr(devattr)->index; in temp_crit_alarm_show() [all …]
|
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 …]
|
A D | adm1031.c | 324 int nr = to_sensor_dev_attr(attr)->index; in fan_auto_channel_show() 335 int nr = to_sensor_dev_attr(attr)->index; in fan_auto_channel_store() 389 int nr = to_sensor_dev_attr(attr)->index; in auto_temp_off_show() 397 int nr = to_sensor_dev_attr(attr)->index; in auto_temp_min_show() 408 int nr = to_sensor_dev_attr(attr)->index; in auto_temp_min_store() 427 int nr = to_sensor_dev_attr(attr)->index; in auto_temp_max_show() 438 int nr = to_sensor_dev_attr(attr)->index; in auto_temp_max_store() 470 int nr = to_sensor_dev_attr(attr)->index; in pwm_show() 479 int nr = to_sensor_dev_attr(attr)->index; in pwm_store() 559 int nr = to_sensor_dev_attr(attr)->index; in fan_show() [all …]
|
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 …]
|
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 …]
|
A D | max6639.c | 157 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in temp_input_show() 170 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in temp_fault_show() 181 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in temp_max_show() 191 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in temp_max_store() 213 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in temp_crit_show() 223 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in temp_crit_store() 246 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in temp_emergency_show() 256 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in temp_emergency_store() 278 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in pwm_show() 288 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in pwm_store() [all …]
|
A D | via686a.c | 347 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_show() 355 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_show() 363 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_show() 371 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_store() 390 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_store() 427 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_show() 434 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_over_show() 441 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_hyst_show() 449 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_over_store() 469 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_hyst_store() [all …]
|
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 …]
|
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() 318 int index = to_sensor_dev_attr(attr)->index; in tcrit2_hyst_show() 333 int index = to_sensor_dev_attr(attr)->index; in tcrit1_show() 342 int index = to_sensor_dev_attr(attr)->index; in tcrit1_store() 367 int index = to_sensor_dev_attr(attr)->index; in tcrit1_hyst_show() [all …]
|
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 …]
|
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 …]
|
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 …]
|
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 …]
|
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 …]
|
A D | vt8231.c | 185 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_show() 195 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_min_show() 205 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_max_show() 215 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_min_store() 235 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_max_store() 402 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_show() 411 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_max_show() 420 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_min_show() 430 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_max_store() 450 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_min_store() [all …]
|
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 …]
|
A D | w83l786ng.c | 227 int nr = to_sensor_dev_attr(attr)->index; \ 241 int nr = to_sensor_dev_attr(attr)->index; \ 281 int nr = to_sensor_dev_attr(attr)->index; \ 294 int nr = to_sensor_dev_attr(attr)->index; in store_fan_min() 317 int nr = to_sensor_dev_attr(attr)->index; in show_fan_div() 332 int nr = to_sensor_dev_attr(attr)->index; in store_fan_div() 478 int nr = to_sensor_dev_attr(attr)->index; in show_pwm_reg() 506 int nr = to_sensor_dev_attr(attr)->index; in store_pwm() 530 int nr = to_sensor_dev_attr(attr)->index; in store_pwm_enable() 577 int nr = to_sensor_dev_attr(attr)->index; in show_tolerance() [all …]
|
A D | w83627hf.c | 479 int nr = to_sensor_dev_attr(devattr)->index; in in_input_show() 486 int nr = to_sensor_dev_attr(devattr)->index; in in_min_show() 493 int nr = to_sensor_dev_attr(devattr)->index; in in_max_show() 501 int nr = to_sensor_dev_attr(devattr)->index; in in_min_store() 520 int nr = to_sensor_dev_attr(devattr)->index; in in_max_store() 668 int nr = to_sensor_dev_attr(devattr)->index; in fan_input_show() 676 int nr = to_sensor_dev_attr(devattr)->index; in fan_min_show() 685 int nr = to_sensor_dev_attr(devattr)->index; in fan_min_store() 713 int nr = to_sensor_dev_attr(devattr)->index; in temp_show() 724 int nr = to_sensor_dev_attr(devattr)->index; in temp_max_show() [all …]
|
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()
|
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()
|
A D | sch5636.c | 168 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_value_show() 184 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_label_show() 193 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_value_show() 207 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_fault_show() 221 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_alarm_show() 235 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_value_show() 252 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_fault_show() 266 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_alarm_show()
|
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()
|
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()
|
A D | sis5595.c | 215 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_show() 224 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_show() 233 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_show() 242 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_store() 262 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_store() 363 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_show() 373 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_min_show() 383 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_min_store() 403 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_div_show() 418 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_div_store() [all …]
|
/linux/drivers/hwmon/pmbus/ |
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()
|