/Linux-v6.1/drivers/hwmon/ |
D | pc87360.c | 405 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_input_show() 411 static struct sensor_device_attribute in_input[] = { 428 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_status_show() 433 static struct sensor_device_attribute in_status[] = { 450 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_min_show() 460 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_min_store() 477 static struct sensor_device_attribute in_min[] = { 494 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_max_show() 504 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_max_store() 522 static struct sensor_device_attribute in_max[] = { [all …]
|
D | w83791d.c | 353 struct sensor_device_attribute *sensor_attr = \ 369 struct sensor_device_attribute *sensor_attr = \ 388 static struct sensor_device_attribute sda_in_input[] = { 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[] = { 502 static struct sensor_device_attribute sda_in_alarm[] = { [all …]
|
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 …]
|
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 …]
|
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 …]
|
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 …]
|
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 …]
|
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 …]
|
D | i5k_amb.c | 89 struct sensor_device_attribute s_attr; 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()
|
D | s3c-hwmon.c | 27 struct sensor_device_attribute in; 28 struct sensor_device_attribute label; 90 struct sensor_device_attribute *sa = to_sensor_dev_attr(attr); in s3c_hwmon_show_raw() 154 struct sensor_device_attribute *sen_attr = to_sensor_dev_attr(attr); in s3c_hwmon_ch_show() 184 struct sensor_device_attribute *sen_attr = to_sensor_dev_attr(attr); in s3c_hwmon_label_show() 212 struct sensor_device_attribute *attr; in s3c_hwmon_create_attr()
|
D | vt8231.c | 251 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_show() 261 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_min_show() 271 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_max_show() 281 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_min_store() 301 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_max_store() 468 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_show() 477 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_max_show() 486 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_min_show() 496 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_max_store() 516 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_min_store() [all …]
|
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()
|
D | w83l786ng.c | 259 static struct sensor_device_attribute sda_in_input[] = { 265 static struct sensor_device_attribute sda_in_min[] = { 271 static struct sensor_device_attribute sda_in_max[] = { 383 static struct sensor_device_attribute sda_fan_input[] = { 388 static struct sensor_device_attribute sda_fan_min[] = { 395 static struct sensor_device_attribute sda_fan_div[] = { 554 static struct sensor_device_attribute sda_pwm[] = { 559 static struct sensor_device_attribute sda_pwm_mode[] = { 566 static struct sensor_device_attribute sda_pwm_enable[] = { 612 static struct sensor_device_attribute sda_tolerance[] = {
|
D | sis5595.c | 270 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_show() 279 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_show() 288 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_show() 297 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_store() 317 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_store() 418 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_show() 428 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_min_show() 438 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_min_store() 458 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_div_show() 473 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_div_store()
|
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 …]
|
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 …]
|
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()
|
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()
|
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()
|
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()
|
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()
|
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 …]
|
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()
|
/Linux-v6.1/drivers/hwmon/pmbus/ |
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-v6.1/include/linux/ |
D | hwmon-sysfs.h | 12 struct sensor_device_attribute{ struct 17 container_of(_dev_attr, struct sensor_device_attribute, dev_attr) argument 33 struct sensor_device_attribute sensor_dev_attr_##_name \
|