/linux-3.4.99/drivers/hwmon/ |
D | adm1031.c | 274 int nr = to_sensor_dev_attr(attr)->index; in show_fan_auto_channel() 285 int nr = to_sensor_dev_attr(attr)->index; in set_fan_auto_channel() 341 int nr = to_sensor_dev_attr(attr)->index; in show_auto_temp_off() 349 int nr = to_sensor_dev_attr(attr)->index; in show_auto_temp_min() 360 int nr = to_sensor_dev_attr(attr)->index; in set_auto_temp_min() 378 int nr = to_sensor_dev_attr(attr)->index; in show_auto_temp_max() 389 int nr = to_sensor_dev_attr(attr)->index; in set_auto_temp_max() 422 int nr = to_sensor_dev_attr(attr)->index; in show_pwm() 431 int nr = to_sensor_dev_attr(attr)->index; in set_pwm() 514 int nr = to_sensor_dev_attr(attr)->index; in show_fan() [all …]
|
D | lm85.c | 383 int nr = to_sensor_dev_attr(attr)->index; in show_fan() 391 int nr = to_sensor_dev_attr(attr)->index; in show_fan_min() 399 int nr = to_sensor_dev_attr(attr)->index; in set_fan_min() 484 int nr = to_sensor_dev_attr(attr)->index; in show_alarm() 512 int nr = to_sensor_dev_attr(attr)->index; in show_pwm() 520 int nr = to_sensor_dev_attr(attr)->index; in set_pwm() 540 int nr = to_sensor_dev_attr(attr)->index; in show_pwm_enable() 562 int nr = to_sensor_dev_attr(attr)->index; in set_pwm_enable() 605 int nr = to_sensor_dev_attr(attr)->index; in show_pwm_freq() 620 int nr = to_sensor_dev_attr(attr)->index; in set_pwm_freq() [all …]
|
D | f75375s.c | 302 int nr = to_sensor_dev_attr(attr)->index; in set_fan_min() 322 int nr = to_sensor_dev_attr(attr)->index; in set_fan_target() 347 int nr = to_sensor_dev_attr(attr)->index; in set_pwm() 371 int nr = to_sensor_dev_attr(attr)->index; in show_pwm_enable() 443 int nr = to_sensor_dev_attr(attr)->index; in set_pwm_enable() 462 int nr = to_sensor_dev_attr(attr)->index; in set_pwm_mode() 506 int nr = to_sensor_dev_attr(attr)->index; in show_pwm() 514 int nr = to_sensor_dev_attr(attr)->index; in show_pwm_mode() 525 int nr = to_sensor_dev_attr(attr)->index; in show_in() 533 int nr = to_sensor_dev_attr(attr)->index; in show_in_max() [all …]
|
D | pc87360.c | 261 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan_input() 269 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan_min() 277 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan_div() 285 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan_status() 294 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_fan_min() 360 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_pwm() 370 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_pwm() 409 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in_input() 417 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in_min() 425 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in_max() [all …]
|
D | via686a.c | 364 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_in() 372 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_in_min() 380 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_in_max() 388 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in set_in_min() 407 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in set_in_max() 441 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_temp() 448 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_temp_over() 455 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_temp_hyst() 462 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in set_temp_over() 481 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in set_temp_hyst() [all …]
|
D | lm95241.c | 144 int index = to_sensor_dev_attr(attr)->index; in show_input() 160 data->model & to_sensor_dev_attr(attr)->index ? "1\n" : "2\n"); in show_type() 170 u8 mask = to_sensor_dev_attr(attr)->index; in set_type() 208 data->config & to_sensor_dev_attr(attr)->index ? in show_min() 227 data->config |= to_sensor_dev_attr(attr)->index; in set_min() 229 data->config &= ~to_sensor_dev_attr(attr)->index; in set_min() 246 data->config & to_sensor_dev_attr(attr)->index ? in show_max() 265 data->config |= to_sensor_dev_attr(attr)->index; in set_max() 267 data->config &= ~to_sensor_dev_attr(attr)->index; in set_max()
|
D | max6639.c | 170 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in show_temp_input() 183 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in show_temp_fault() 196 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in show_temp_max() 207 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in set_temp_max() 229 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in show_temp_crit() 240 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in set_temp_crit() 263 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in show_temp_emergency() 274 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in set_temp_emergency() 296 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in show_pwm() 307 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in set_pwm() [all …]
|
D | tmp401.c | 242 int index = to_sensor_dev_attr(devattr)->index; in show_temp_value() 252 int index = to_sensor_dev_attr(devattr)->index; in show_temp_min() 262 int index = to_sensor_dev_attr(devattr)->index; in show_temp_max() 272 int index = to_sensor_dev_attr(devattr)->index; in show_temp_crit() 283 int temp, index = to_sensor_dev_attr(devattr)->index; in show_temp_crit_hyst() 298 int index = to_sensor_dev_attr(devattr)->index; in show_temp_lowest() 309 int index = to_sensor_dev_attr(devattr)->index; in show_temp_highest() 320 int mask = to_sensor_dev_attr(devattr)->index; in show_status() 332 int index = to_sensor_dev_attr(devattr)->index; in store_temp_min() 359 int index = to_sensor_dev_attr(devattr)->index; in store_temp_max() [all …]
|
D | gl520sm.c | 155 int n = to_sensor_dev_attr(attr)->index; in get_in_input() 168 int n = to_sensor_dev_attr(attr)->index; in get_in_min() 181 int n = to_sensor_dev_attr(attr)->index; in get_in_max() 196 int n = to_sensor_dev_attr(attr)->index; in set_in_min() 230 int n = to_sensor_dev_attr(attr)->index; in set_in_max() 294 int n = to_sensor_dev_attr(attr)->index; in get_fan_input() 304 int n = to_sensor_dev_attr(attr)->index; in get_fan_min() 314 int n = to_sensor_dev_attr(attr)->index; in get_fan_div() 332 int n = to_sensor_dev_attr(attr)->index; in set_fan_min() 371 int n = to_sensor_dev_attr(attr)->index; in set_fan_div() [all …]
|
D | adm1025.c | 168 int index = to_sensor_dev_attr(attr)->index; in show_in() 177 int index = to_sensor_dev_attr(attr)->index; in show_in_min() 186 int index = to_sensor_dev_attr(attr)->index; in show_in_max() 195 int index = to_sensor_dev_attr(attr)->index; in show_temp() 203 int index = to_sensor_dev_attr(attr)->index; in show_temp_min() 211 int index = to_sensor_dev_attr(attr)->index; in show_temp_max() 219 int index = to_sensor_dev_attr(attr)->index; in set_in_min() 240 int index = to_sensor_dev_attr(attr)->index; in set_in_max() 275 int index = to_sensor_dev_attr(attr)->index; in set_temp_min() 296 int index = to_sensor_dev_attr(attr)->index; in set_temp_max() [all …]
|
D | f71805f.c | 430 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in0() 440 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in0_max() 450 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in0_min() 460 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_in0_max() 481 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_in0_min() 502 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in() 512 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in_max() 522 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in_min() 532 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_in_max() 553 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_in_min() [all …]
|
D | lm93.c | 1112 int nr = (to_sensor_dev_attr(attr))->index; in show_in() 1138 int nr = (to_sensor_dev_attr(attr))->index; in show_in_min() 1155 int nr = (to_sensor_dev_attr(attr))->index; in store_in_min() 1219 int nr = (to_sensor_dev_attr(attr))->index; in show_in_max() 1236 int nr = (to_sensor_dev_attr(attr))->index; in store_in_max() 1300 int nr = (to_sensor_dev_attr(attr))->index; in show_temp() 1312 int nr = (to_sensor_dev_attr(attr))->index; in show_temp_min() 1320 int nr = (to_sensor_dev_attr(attr))->index; in store_temp_min() 1347 int nr = (to_sensor_dev_attr(attr))->index; in show_temp_max() 1355 int nr = (to_sensor_dev_attr(attr))->index; in store_temp_max() [all …]
|
D | smsc47m192.c | 144 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in() 153 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_min() 162 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_max() 171 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_in_min() 193 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_in_max() 233 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_temp() 242 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_temp_min() 251 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_temp_max() 260 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_temp_min() 282 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_temp_max() [all …]
|
D | adt7470.c | 499 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp_min() 509 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_temp_min() 533 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp_max() 543 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_temp_max() 566 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp() 584 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan_max() 598 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_fan_max() 621 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan_min() 635 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_fan_min() 657 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan() [all …]
|
D | adt7462.c | 817 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp_min() 831 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_temp_min() 855 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp_max() 869 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_temp_max() 892 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp() 907 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp_label() 917 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_volt_max() 932 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_volt_max() 959 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_volt_min() 974 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_volt_min() [all …]
|
D | lm87.c | 283 int nr = to_sensor_dev_attr(attr)->index; in show_in_input() 293 int nr = to_sensor_dev_attr(attr)->index; in show_in_min() 303 int nr = to_sensor_dev_attr(attr)->index; in show_in_max() 314 int nr = to_sensor_dev_attr(attr)->index; in set_in_min() 335 int nr = to_sensor_dev_attr(attr)->index; in set_in_max() 371 int nr = to_sensor_dev_attr(attr)->index; in show_temp_input() 380 int nr = to_sensor_dev_attr(attr)->index; in show_temp_low() 390 int nr = to_sensor_dev_attr(attr)->index; in show_temp_high() 401 int nr = to_sensor_dev_attr(attr)->index; in set_temp_low() 421 int nr = to_sensor_dev_attr(attr)->index; in set_temp_high() [all …]
|
D | vt8231.c | 198 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in() 208 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_min() 218 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_max() 228 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_in_min() 248 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_in_max() 409 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_temp() 418 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_temp_max() 427 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_temp_min() 436 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_temp_max() 455 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_temp_min() [all …]
|
D | w83l786ng.c | 195 int nr = to_sensor_dev_attr(attr)->index; \ 209 int nr = to_sensor_dev_attr(attr)->index; \ 249 int nr = to_sensor_dev_attr(attr)->index; \ 262 int nr = to_sensor_dev_attr(attr)->index; in store_fan_min() 285 int nr = to_sensor_dev_attr(attr)->index; in show_fan_div() 300 int nr = to_sensor_dev_attr(attr)->index; in store_fan_div() 434 int nr = to_sensor_dev_attr(attr)->index; \ 446 int nr = to_sensor_dev_attr(attr)->index; in show_pwm_reg() 474 int nr = to_sensor_dev_attr(attr)->index; in store_pwm() 498 int nr = to_sensor_dev_attr(attr)->index; in store_pwm_enable() [all …]
|
D | adm9240.c | 196 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_max() 204 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_max() 232 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in() 241 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in_min() 250 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in_max() 260 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_in_min() 282 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_in_max() 319 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan() 328 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan_min() 337 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan_div() [all …]
|
D | w83627hf.c | 416 int nr = to_sensor_dev_attr(devattr)->index; in show_in_input() 423 int nr = to_sensor_dev_attr(devattr)->index; in show_in_min() 430 int nr = to_sensor_dev_attr(devattr)->index; in show_in_max() 438 int nr = to_sensor_dev_attr(devattr)->index; in store_in_min() 457 int nr = to_sensor_dev_attr(devattr)->index; in store_in_max() 594 int nr = to_sensor_dev_attr(devattr)->index; in show_fan_input() 602 int nr = to_sensor_dev_attr(devattr)->index; in show_fan_min() 611 int nr = to_sensor_dev_attr(devattr)->index; in store_fan_min() 641 int nr = to_sensor_dev_attr(devattr)->index; in show_temp() 653 int nr = to_sensor_dev_attr(devattr)->index; in show_temp_max() [all …]
|
D | i5k_amb.c | 145 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_alarm() 160 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in store_amb_min() 180 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in store_amb_mid() 200 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in store_amb_max() 219 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_min() 229 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_mid() 239 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_max() 249 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_temp() 259 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_label()
|
D | pc87427.c | 391 int nr = to_sensor_dev_attr(devattr)->index; in show_fan_input() 400 int nr = to_sensor_dev_attr(devattr)->index; in show_fan_min() 409 int nr = to_sensor_dev_attr(devattr)->index; in show_fan_alarm() 419 int nr = to_sensor_dev_attr(devattr)->index; in show_fan_fault() 429 int nr = to_sensor_dev_attr(devattr)->index; in set_fan_min() 575 int nr = to_sensor_dev_attr(devattr)->index; in show_pwm_enable() 588 int nr = to_sensor_dev_attr(devattr)->index; in set_pwm_enable() 609 int nr = to_sensor_dev_attr(devattr)->index; in show_pwm() 618 int nr = to_sensor_dev_attr(devattr)->index; in set_pwm() 704 int nr = to_sensor_dev_attr(devattr)->index; in show_temp_input() [all …]
|
D | thmc50.c | 162 int nr = to_sensor_dev_attr(attr)->index; in show_temp() 170 int nr = to_sensor_dev_attr(attr)->index; in show_temp_min() 178 int nr = to_sensor_dev_attr(attr)->index; in set_temp_min() 199 int nr = to_sensor_dev_attr(attr)->index; in show_temp_max() 207 int nr = to_sensor_dev_attr(attr)->index; in set_temp_max() 229 int nr = to_sensor_dev_attr(attr)->index; in show_temp_critical() 237 int index = to_sensor_dev_attr(attr)->index; in show_alarm()
|
D | it87.c | 446 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in() 456 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_min() 466 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_max() 476 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_in_min() 495 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_in_max() 544 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_temp() 553 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_temp_max() 562 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_temp_min() 571 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_temp_max() 589 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_temp_min() [all …]
|
D | ultra45_env.c | 98 int fan_nr = to_sensor_dev_attr(attr)->index; in show_fan_speed() 116 int fan_nr = to_sensor_dev_attr(attr)->index; in set_fan_speed() 140 int fan_nr = to_sensor_dev_attr(attr)->index; in show_fan_fault() 163 int temp_nr = to_sensor_dev_attr(attr)->index; in show_temp() 184 int index = to_sensor_dev_attr(attr)->index; in show_stat_bit()
|