/openbmc/linux/drivers/hwmon/ |
H A D | emc6w201.c | 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() 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() 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() 234 int sf = to_sensor_dev_attr_2(devattr)->index; in temp_store() 235 int nr = to_sensor_dev_attr_2(devattr)->nr; in temp_store() 261 int sf = to_sensor_dev_attr_2(devattr)->index; in fan_show() 262 int nr = to_sensor_dev_attr_2(devattr)->nr; in fan_show() [all …]
|
H A D | f71882fg.c | 526 int nr = to_sensor_dev_attr_2(devattr)->index; in show_temp() 552 int nr = to_sensor_dev_attr_2(devattr)->index; in show_temp_max() 583 int nr = to_sensor_dev_attr_2(devattr)->index; in show_temp_max_hyst() 636 int nr = to_sensor_dev_attr_2(devattr)->index; in show_temp_alarm() 648 int nr = to_sensor_dev_attr_2(devattr)->index; in show_temp_crit() 679 int nr = to_sensor_dev_attr_2(devattr)->index; in show_temp_crit_hyst() 697 int nr = to_sensor_dev_attr_2(devattr)->index; in show_temp_fault() 752 int nr = to_sensor_dev_attr_2(devattr)->index; in show_temp_type() 813 int nr = to_sensor_dev_attr_2(devattr)->index; in show_temp_beep() 914 int nr = to_sensor_dev_attr_2(devattr)->index; in show_in() [all …]
|
H A D | w83795.c | 705 to_sensor_dev_attr_2(attr); in show_alarm_beep() 726 to_sensor_dev_attr_2(attr); in store_beep() 778 to_sensor_dev_attr_2(attr); in show_fan() 797 to_sensor_dev_attr_2(attr); in store_fan_min() 830 to_sensor_dev_attr_2(attr); in show_pwm() 860 to_sensor_dev_attr_2(attr); in store_pwm() 890 to_sensor_dev_attr_2(attr); in show_pwm_enable() 921 to_sensor_dev_attr_2(attr); in store_pwm_enable() 1001 to_sensor_dev_attr_2(attr); in show_temp_src() 1025 to_sensor_dev_attr_2(attr); in store_temp_src() [all …]
|
H A D | abituguru.c | 790 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in show_bank1_value() 801 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in show_bank1_setting() 811 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in show_bank2_value() 822 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in show_bank2_setting() 832 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in store_bank1_setting() 865 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in store_bank2_setting() 900 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in show_bank1_alarm() 921 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in show_bank2_alarm() 934 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in show_bank1_mask() 945 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in show_bank2_mask() [all …]
|
H A D | lm80.c | 263 int index = to_sensor_dev_attr_2(attr)->index; in in_show() 264 int nr = to_sensor_dev_attr_2(attr)->nr; in in_show() 276 int index = to_sensor_dev_attr_2(attr)->index; in in_store() 277 int nr = to_sensor_dev_attr_2(attr)->nr; in in_store() 296 int index = to_sensor_dev_attr_2(attr)->index; in fan_show() 297 int nr = to_sensor_dev_attr_2(attr)->nr; in fan_show() 318 int index = to_sensor_dev_attr_2(attr)->index; in fan_store() 319 int nr = to_sensor_dev_attr_2(attr)->nr; in fan_store()
|
H A D | adt7475.c | 331 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in voltage_show() 353 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in voltage_store() 390 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in temp_show() 447 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in temp_store() 549 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in temp_st_show() 576 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in temp_st_store() 637 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in point2_show() 656 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in point2_store() 698 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in tach_show() 716 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in tach_store() [all …]
|
H A D | w83793.c | 323 to_sensor_dev_attr_2(attr); in show_vid() 355 to_sensor_dev_attr_2(attr); in show_alarm_beep() 377 to_sensor_dev_attr_2(attr); in store_beep() 466 to_sensor_dev_attr_2(attr); in show_fan() 485 to_sensor_dev_attr_2(attr); in store_fan_min() 511 to_sensor_dev_attr_2(attr); in show_pwm() 532 to_sensor_dev_attr_2(attr); in store_pwm() 565 to_sensor_dev_attr_2(attr); in show_temp() 583 to_sensor_dev_attr_2(attr); in store_temp() 625 to_sensor_dev_attr_2(attr); in show_temp_mode() [all …]
|
H A D | vt1211.c | 339 to_sensor_dev_attr_2(attr); in show_in() 370 to_sensor_dev_attr_2(attr); in set_in() 413 to_sensor_dev_attr_2(attr); in show_temp() 444 to_sensor_dev_attr_2(attr); in set_temp() 489 to_sensor_dev_attr_2(attr); in show_fan() 520 to_sensor_dev_attr_2(attr); in set_fan() 595 to_sensor_dev_attr_2(attr); in show_pwm() 626 to_sensor_dev_attr_2(attr); in set_pwm() 750 to_sensor_dev_attr_2(attr); in show_pwm_auto_point_temp() 764 to_sensor_dev_attr_2(attr); in set_pwm_auto_point_temp() [all …]
|
H A D | nct7802.c | 361 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in in_show() 375 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in in_store() 393 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in in_alarm_show() 454 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in temp_show() 467 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in temp_store() 500 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in fan_min_show() 515 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in fan_min_store() 532 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in alarm_show() 547 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in beep_show() 563 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in beep_store()
|
H A D | adc128d818.c | 151 int index = to_sensor_dev_attr_2(attr)->index; in adc128_in_show() 152 int nr = to_sensor_dev_attr_2(attr)->nr; in adc128_in_show() 167 int index = to_sensor_dev_attr_2(attr)->index; in adc128_in_store() 168 int nr = to_sensor_dev_attr_2(attr)->nr; in adc128_in_store()
|
H A D | max6642.c | 209 struct sensor_device_attribute_2 *attr2 = to_sensor_dev_attr_2(attr); in temp_max_show() 219 struct sensor_device_attribute_2 *attr2 = to_sensor_dev_attr_2(attr); in temp_max_store()
|
H A D | max197.c | 92 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in max197_show_range() 120 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in max197_store_range()
|
H A D | abituguru3.c | 829 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in show_value() 862 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in show_alarm() 886 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in show_mask() 898 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in show_label()
|
H A D | max6697.c | 270 int nr = to_sensor_dev_attr_2(devattr)->nr; in temp_show() 271 int index = to_sensor_dev_attr_2(devattr)->index; in temp_show() 303 int nr = to_sensor_dev_attr_2(devattr)->nr; in temp_store() 304 int index = to_sensor_dev_attr_2(devattr)->index; in temp_store()
|
H A D | amc6821.c | 436 int ix = to_sensor_dev_attr_2(devattr)->index; in temp_auto_point_temp_show() 437 int nr = to_sensor_dev_attr_2(devattr)->nr; in temp_auto_point_temp_show() 489 int ix = to_sensor_dev_attr_2(attr)->index; in temp_auto_point_temp_store() 490 int nr = to_sensor_dev_attr_2(attr)->nr; in temp_auto_point_temp_store()
|
H A D | nct6775-core.c | 1717 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in show_in_reg() 1733 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in store_in_reg() 1826 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in nct6775_store_beep() 1880 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in store_temp_beep() 2207 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in show_temp() 2222 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in store_temp() 2517 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in show_pwm() 2546 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in store_pwm() 2935 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in show_temp_tolerance() 2950 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in store_temp_tolerance() [all …]
|
H A D | max16065.c | 186 struct sensor_device_attribute_2 *attr2 = to_sensor_dev_attr_2(da); in max16065_alarm_show() 231 struct sensor_device_attribute_2 *attr2 = to_sensor_dev_attr_2(da); in max16065_limit_store() 257 struct sensor_device_attribute_2 *attr2 = to_sensor_dev_attr_2(da); in max16065_limit_show()
|
H A D | dme1737.c | 804 *sensor_attr_2 = to_sensor_dev_attr_2(attr); in show_in() 835 *sensor_attr_2 = to_sensor_dev_attr_2(attr); in set_in() 882 *sensor_attr_2 = to_sensor_dev_attr_2(attr); in show_temp() 919 *sensor_attr_2 = to_sensor_dev_attr_2(attr); in set_temp() 970 *sensor_attr_2 = to_sensor_dev_attr_2(attr); in show_zone() 1011 *sensor_attr_2 = to_sensor_dev_attr_2(attr); in set_zone() 1085 *sensor_attr_2 = to_sensor_dev_attr_2(attr); in show_fan() 1125 *sensor_attr_2 = to_sensor_dev_attr_2(attr); in set_fan() 1201 *sensor_attr_2 = to_sensor_dev_attr_2(attr); in show_pwm() 1264 *sensor_attr_2 = to_sensor_dev_attr_2(attr); in set_pwm()
|
H A D | emc1403.c | 52 struct sensor_device_attribute_2 *sda = to_sensor_dev_attr_2(attr); in bit_show() 83 struct sensor_device_attribute_2 *sda = to_sensor_dev_attr_2(attr); in bit_store()
|
H A D | ltc4222.c | 103 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(da); in ltc4222_bool_show()
|
H A D | w83792d.c | 525 = to_sensor_dev_attr_2(attr); in show_temp23() 538 = to_sensor_dev_attr_2(attr); in store_temp23() 837 = to_sensor_dev_attr_2(attr); in show_sf2_point() 849 = to_sensor_dev_attr_2(attr); in store_sf2_point() 878 = to_sensor_dev_attr_2(attr); in show_sf2_level() 891 = to_sensor_dev_attr_2(attr); in store_sf2_level()
|
H A D | nct6683.c | 666 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in show_in_reg() 796 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in show_temp8() 915 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in show_pwm() 925 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in store_pwm()
|
/openbmc/linux/drivers/hwmon/occ/ |
H A D | common.c | 237 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in occ_show_temp_1() 273 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in occ_show_temp_2() 324 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in occ_show_temp_10() 371 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in occ_show_freq_1() 401 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in occ_show_freq_2() 431 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in occ_show_power_1() 478 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in occ_show_power_2() 517 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in occ_show_power_a0() 597 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in occ_show_caps_1_2() 647 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in occ_show_caps_3() [all …]
|
/openbmc/linux/drivers/misc/ |
H A D | ds1682.c | 57 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in ds1682_show() 100 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in ds1682_store()
|
/openbmc/linux/include/linux/ |
H A D | hwmon-sysfs.h | 51 #define to_sensor_dev_attr_2(_dev_attr) \ macro
|