/linux/drivers/hwmon/ |
H A D | pc87360.c | 415 static struct sensor_device_attribute in_input[] = { 437 static struct sensor_device_attribute in_status[] = { 481 static struct sensor_device_attribute in_min[] = { 526 static struct sensor_device_attribute in_max[] = { 731 static struct sensor_device_attribute therm_min[] = { 767 static struct sensor_device_attribute therm_max[] = { 938 static struct sensor_device_attribute temp_min[] = { 973 static struct sensor_device_attribute temp_max[] = { 1157 static struct sensor_device_attribute fan_div[] = { 1210 static struct sensor_device_attribute fan_min[] = { [all …]
|
H A D | w83791d.c | 353 struct sensor_device_attribute *sensor_attr = \ 369 struct sensor_device_attribute *sensor_attr = \ 401 static struct sensor_device_attribute sda_in_min[] = { 414 static struct sensor_device_attribute sda_in_max[] = { 431 struct sensor_device_attribute *sensor_attr = in show_beep() 442 struct sensor_device_attribute *sensor_attr = in store_beep() 477 struct sensor_device_attribute *sensor_attr = in show_alarm() 489 static struct sensor_device_attribute sda_in_beep[] = { 519 struct sensor_device_attribute *sensor_attr = \ 665 static struct sensor_device_attribute sda_fan_min[] = { [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() 278 static struct sensor_device_attribute sch5636_attr[] = { 292 static struct sensor_device_attribute sch5636_temp_attr[] = { [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 | 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 | 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 | i5k_amb.c | 89 struct sensor_device_attribute s_attr; 123 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_alarm() 138 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in store_amb_min() 158 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in store_amb_mid() 178 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in store_amb_max() 197 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_min() 207 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_mid() 217 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_max() 227 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_temp() 237 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_label()
|
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 | menf21bmc_hwmon.c | 102 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in label_show() 110 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_show() 122 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in min_show() 131 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in max_show()
|
H A D | w83l786ng.c | 258 static struct sensor_device_attribute sda_in_input[] = { 264 static struct sensor_device_attribute sda_in_min[] = { 270 static struct sensor_device_attribute sda_in_max[] = { 382 static struct sensor_device_attribute sda_fan_input[] = { 387 static struct sensor_device_attribute sda_fan_min[] = { 394 static struct sensor_device_attribute sda_fan_div[] = { 553 static struct sensor_device_attribute sda_pwm[] = { 558 static struct sensor_device_attribute sda_pwm_mode[] = { 565 static struct sensor_device_attribute sda_pwm_enable[] = { 611 static struct sensor_device_attribute sda_tolerance[] = {
|
H A D | sis5595.c | 266 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_show() 275 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_show() 284 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_show() 293 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_store() 313 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_store() 414 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_show() 424 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_min_show() 434 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_min_store() 454 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_div_show() 469 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_div_store()
|
H A D | w83792d.c | 342 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in() 353 struct sensor_device_attribute *sensor_attr \ 369 struct sensor_device_attribute *sensor_attr \ 393 struct sensor_device_attribute *sensor_attr \ 408 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in store_fan_min() 432 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_fan_div() 448 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in store_fan_div() 490 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_temp1() 499 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in store_temp1() 573 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_alarm() [all …]
|
H A D | adm1026.c | 470 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_show() 478 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_min_show() 486 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_min_store() 506 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_max_show() 514 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_max_store() 656 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in fan_show() 665 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in fan_min_show() 675 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in fan_min_store() 733 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in fan_div_show() 742 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in fan_div_store() [all …]
|
H A D | smsc47m1.c | 200 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_show() 219 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_min_show() 230 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_div_show() 246 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_show() 254 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_en_show() 270 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_min_store() 307 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_div_store() 372 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_store() 399 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_en_store()
|
H A D | lm78.c | 145 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_show() 153 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_show() 161 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_show() 169 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_store() 189 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_store() 296 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_show() 306 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_min_show() 316 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_min_store() 336 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_div_show() 350 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_div_store()
|
H A D | iio_hwmon.c | 40 struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr); in iio_hwmon_read_label() 58 struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr); in iio_hwmon_read_val() 82 struct sensor_device_attribute *a; in iio_hwmon_probe()
|
H A D | adm1029.c | 161 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_show() 170 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_show() 188 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_div_show() 202 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_div_store()
|
H A D | ds620.c | 132 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_show() 147 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_store() 169 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in alarm_show()
|
H A D | lm63.c | 334 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan() 364 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_pwm1() 382 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_pwm1() 460 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_local_temp8() 469 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_remote_temp8() 479 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_lut_temp() 488 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_temp8() 527 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp11() 562 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_temp11() 603 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_lut_temp_hyst() [all …]
|
H A D | lm73.c | 65 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_store() 84 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_show() 146 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in maxmin_alarm_show()
|
H A D | ltc4260.c | 76 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in ltc4260_value_show() 88 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in ltc4260_bool_show()
|
H A D | nct6775-core.c | 1036 struct sensor_device_attribute a1; 1082 struct sensor_device_attribute *a; in nct6775_add_template_attr_group() 1753 struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr); in nct6775_show_alarm() 1785 struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr); in show_temp_alarm() 1809 struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr); in nct6775_show_beep() 1854 struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr); in show_temp_beep() 1957 struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr); in show_fan() 1970 struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr); in show_fan_min() 1985 struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr); in show_fan_div() 1999 struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr); in store_fan_min() [all …]
|
/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()
|
/linux/include/linux/ |
H A D | hwmon-sysfs.h | 13 struct sensor_device_attribute{ struct 18 container_of(_dev_attr, struct sensor_device_attribute, dev_attr) argument 34 struct sensor_device_attribute sensor_dev_attr_##_name \
|