/openbmc/linux/drivers/hwmon/ |
H A D | w83795.c | 704 struct sensor_device_attribute_2 *sensor_attr = in show_alarm_beep() 725 struct sensor_device_attribute_2 *sensor_attr = in store_beep() 777 struct sensor_device_attribute_2 *sensor_attr = in show_fan() 796 struct sensor_device_attribute_2 *sensor_attr = in store_fan_min() 829 struct sensor_device_attribute_2 *sensor_attr = in show_pwm() 859 struct sensor_device_attribute_2 *sensor_attr = in store_pwm() 889 struct sensor_device_attribute_2 *sensor_attr = in show_pwm_enable() 920 struct sensor_device_attribute_2 *sensor_attr = in store_pwm_enable() 1000 struct sensor_device_attribute_2 *sensor_attr = in show_temp_src() 1024 struct sensor_device_attribute_2 *sensor_attr = in store_temp_src() [all …]
|
H A D | abituguru.c | 215 struct sensor_device_attribute_2 sysfs_attr[ 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() 1189 struct sensor_device_attribute_2 abituguru_sysfs_bank1_templ[2][9] = { [all …]
|
H A D | w83793.c | 322 struct sensor_device_attribute_2 *sensor_attr = in show_vid() 354 struct sensor_device_attribute_2 *sensor_attr = in show_alarm_beep() 376 struct sensor_device_attribute_2 *sensor_attr = in store_beep() 465 struct sensor_device_attribute_2 *sensor_attr = in show_fan() 484 struct sensor_device_attribute_2 *sensor_attr = in store_fan_min() 510 struct sensor_device_attribute_2 *sensor_attr = in show_pwm() 531 struct sensor_device_attribute_2 *sensor_attr = in store_pwm() 564 struct sensor_device_attribute_2 *sensor_attr = in show_temp() 582 struct sensor_device_attribute_2 *sensor_attr = in store_temp() 624 struct sensor_device_attribute_2 *sensor_attr = in show_temp_mode() [all …]
|
H A D | vt1211.c | 338 struct sensor_device_attribute_2 *sensor_attr_2 = in show_in() 369 struct sensor_device_attribute_2 *sensor_attr_2 = in set_in() 412 struct sensor_device_attribute_2 *sensor_attr_2 = in show_temp() 443 struct sensor_device_attribute_2 *sensor_attr_2 = in set_temp() 488 struct sensor_device_attribute_2 *sensor_attr_2 = in show_fan() 519 struct sensor_device_attribute_2 *sensor_attr_2 = in set_fan() 594 struct sensor_device_attribute_2 *sensor_attr_2 = in show_pwm() 625 struct sensor_device_attribute_2 *sensor_attr_2 = in set_pwm() 749 struct sensor_device_attribute_2 *sensor_attr_2 = in show_pwm_auto_point_temp() 763 struct sensor_device_attribute_2 *sensor_attr_2 = in set_pwm_auto_point_temp() [all …]
|
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 | abituguru3.c | 155 struct sensor_device_attribute_2 sysfs_attr[ABIT_UGURU3_MAX_NO_SENSORS 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() 912 struct sensor_device_attribute_2 abituguru3_sysfs_templ[3][10] = { { 954 static struct sensor_device_attribute_2 abituguru3_sysfs_attr[] = {
|
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 | f71882fg.c | 709 static struct sensor_device_attribute_2 f71858fg_temp_attr[] = { 758 static struct sensor_device_attribute_2 fxxxx_temp_attr[3][9] = { { 886 static struct sensor_device_attribute_2 f8000_temp_attr[] = { 920 static struct sensor_device_attribute_2 fxxxx_in_attr[] = { 1023 static struct sensor_device_attribute_2 fxxxx_in1_alarm_attr[] = { 1271 static struct sensor_device_attribute_2 fxxxx_fan_attr[4][6] = { { 1350 static struct sensor_device_attribute_2 f71808a_fan3_attr[] = { 1394 static struct sensor_device_attribute_2 fxxxx_fan_beep_attr[] = { 1930 static struct sensor_device_attribute_2 f8000_fan_attr[] = { 2107 struct sensor_device_attribute_2 *attr, int count) in f71882fg_create_sysfs_files() [all …]
|
H A D | w83l786ng.c | 407 struct sensor_device_attribute_2 *sensor_attr = in show_temp() 419 struct sensor_device_attribute_2 *sensor_attr = in store_temp() 441 static struct sensor_device_attribute_2 sda_temp_input[] = { 446 static struct sensor_device_attribute_2 sda_temp_max[] = { 453 static struct sensor_device_attribute_2 sda_temp_max_hyst[] = {
|
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 | 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() 293 static struct sensor_device_attribute_2 emc1402_alarms[] = {
|
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 | nct6775-core.c | 1037 struct sensor_device_attribute_2 a2; 1083 struct sensor_device_attribute_2 *a2; in nct6775_add_template_attr_group() 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() [all …]
|
H A D | nct6683.c | 365 struct sensor_device_attribute_2 a2; 410 struct sensor_device_attribute_2 *a2; in nct6683_create_attr_group() 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()
|
H A D | max16065.c | 178 struct sensor_device_attribute_2 *attr2 = to_sensor_dev_attr_2(da); in max16065_alarm_show() 223 struct sensor_device_attribute_2 *attr2 = to_sensor_dev_attr_2(da); in max16065_limit_store() 249 struct sensor_device_attribute_2 *attr2 = to_sensor_dev_attr_2(da); in max16065_limit_show()
|
H A D | dme1737.c | 803 struct sensor_device_attribute_2 in show_in() 834 struct sensor_device_attribute_2 in set_in() 881 struct sensor_device_attribute_2 in show_temp() 918 struct sensor_device_attribute_2 in set_temp() 969 struct sensor_device_attribute_2 in show_zone() 1010 struct sensor_device_attribute_2 in set_zone() 1084 struct sensor_device_attribute_2 in show_fan() 1124 struct sensor_device_attribute_2 in set_fan() 1200 struct sensor_device_attribute_2 in show_pwm() 1263 struct sensor_device_attribute_2 in set_pwm()
|
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 | 524 struct sensor_device_attribute_2 *sensor_attr in show_temp23() 537 struct sensor_device_attribute_2 *sensor_attr in store_temp23() 836 struct sensor_device_attribute_2 *sensor_attr in show_sf2_point() 848 struct sensor_device_attribute_2 *sensor_attr in store_sf2_point() 877 struct sensor_device_attribute_2 *sensor_attr in show_sf2_level() 890 struct sensor_device_attribute_2 *sensor_attr in store_sf2_level()
|
H A D | ibmpex.c | 61 struct sensor_device_attribute_2 attr[PEX_NUM_SENSOR_FUNCS]; 270 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in ibmpex_show_sensor()
|
H A D | w83791d.c | 952 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in show_temp23() 963 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in store_temp23() 986 static struct sensor_device_attribute_2 sda_temp_input[] = { 992 static struct sensor_device_attribute_2 sda_temp_max[] = { 1001 static struct sensor_device_attribute_2 sda_temp_max_hyst[] = {
|
H A D | adt7411.c | 167 struct sensor_device_attribute_2 *attr2 = to_sensor_dev_attr_2(attr); in adt7411_show_bit() 179 struct sensor_device_attribute_2 *s_attr2 = to_sensor_dev_attr_2(attr); in adt7411_set_bit()
|
/openbmc/linux/include/linux/ |
H A D | hwmon-sysfs.h | 46 struct sensor_device_attribute_2 { struct 52 container_of(_dev_attr, struct sensor_device_attribute_2, dev_attr) argument 69 struct sensor_device_attribute_2 sensor_dev_attr_##_name \
|
/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 …]
|
H A D | common.h | 88 struct sensor_device_attribute_2 sensor;
|
/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()
|