/drivers/hwmon/ |
H A D | f71882fg.c | 278 static ssize_t show_in(struct device *dev, struct device_attribute *devattr, 281 *devattr, char *buf); 283 *devattr, const char *buf, size_t count); 285 *devattr, char *buf); 287 *devattr, const char *buf, size_t count); 289 *devattr, char *buf); 291 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, 294 struct device_attribute *devattr, char *buf); 296 struct device_attribute *devattr, const char *buf, size_t count); 298 *devattr, cha 1319 show_fan(struct device *dev, struct device_attribute *devattr, char *buf) argument 1332 show_fan_full_speed(struct device *dev, struct device_attribute *devattr, char *buf) argument 1341 store_fan_full_speed(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 1364 show_fan_beep(struct device *dev, struct device_attribute *devattr, char *buf) argument 1376 store_fan_beep(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 1400 show_fan_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument 1412 show_in(struct device *dev, struct device_attribute *devattr, char *buf) argument 1421 show_in_max(struct device *dev, struct device_attribute *devattr, char *buf) argument 1429 store_in_max(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 1451 show_in_beep(struct device *dev, struct device_attribute *devattr, char *buf) argument 1463 store_in_beep(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 1487 show_in_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument 1499 show_temp(struct device *dev, struct device_attribute *devattr, char *buf) argument 1524 show_temp_max(struct device *dev, struct device_attribute *devattr, char *buf) argument 1533 store_temp_max(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 1555 show_temp_max_hyst(struct device *dev, struct device_attribute *devattr, char *buf) argument 1573 store_temp_max_hyst(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 1609 show_temp_crit(struct device *dev, struct device_attribute *devattr, char *buf) argument 1618 store_temp_crit(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 1640 show_temp_crit_hyst(struct device *dev, struct device_attribute *devattr, char *buf) argument 1658 show_temp_type(struct device *dev, struct device_attribute *devattr, char *buf) argument 1667 show_temp_beep(struct device *dev, struct device_attribute *devattr, char *buf) argument 1679 store_temp_beep(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 1703 show_temp_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument 1715 show_temp_fault(struct device *dev, struct device_attribute *devattr, char *buf) argument 1727 show_pwm(struct device *dev, struct device_attribute *devattr, char *buf) argument 1745 store_pwm(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 1786 show_simple_pwm(struct device *dev, struct device_attribute *devattr, char *buf) argument 1796 store_simple_pwm(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 1818 show_pwm_enable(struct device *dev, struct device_attribute *devattr, char *buf) argument 1844 store_pwm_enable(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 1900 show_pwm_auto_point_pwm(struct device *dev, struct device_attribute *devattr, char *buf) argument 1922 store_pwm_auto_point_pwm(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 1955 show_pwm_auto_point_temp_hyst(struct device *dev, struct device_attribute *devattr, char *buf) argument 1975 store_pwm_auto_point_temp_hyst(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 2011 show_pwm_interpolate(struct device *dev, struct device_attribute *devattr, char *buf) argument 2023 store_pwm_interpolate(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 2049 show_pwm_auto_point_channel(struct device *dev, struct device_attribute *devattr, char *buf) argument 2063 store_pwm_auto_point_channel(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 2100 show_pwm_auto_point_temp(struct device *dev, struct device_attribute *devattr, char *buf) argument 2113 store_pwm_auto_point_temp(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 2141 show_name(struct device *dev, struct device_attribute *devattr, char *buf) argument [all...] |
H A D | f71805f.c | 426 static ssize_t show_in0(struct device *dev, struct device_attribute *devattr, argument 430 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 437 *devattr, char *buf) 440 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 447 *devattr, char *buf) 450 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 457 *devattr, const char *buf, size_t count) 460 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 478 *devattr, const char *buf, size_t count) 481 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 436 show_in0_max(struct device *dev, struct device_attribute *devattr, char *buf) argument 446 show_in0_min(struct device *dev, struct device_attribute *devattr, char *buf) argument 456 set_in0_max(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 477 set_in0_min(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 498 show_in(struct device *dev, struct device_attribute *devattr, char *buf) argument 508 show_in_max(struct device *dev, struct device_attribute *devattr, char *buf) argument 518 show_in_min(struct device *dev, struct device_attribute *devattr, char *buf) argument 528 set_in_max(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 549 set_in_min(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 570 show_fan(struct device *dev, struct device_attribute *devattr, char *buf) argument 580 show_fan_min(struct device *dev, struct device_attribute *devattr, char *buf) argument 590 show_fan_target(struct device *dev, struct device_attribute *devattr, char *buf) argument 600 set_fan_min(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 621 set_fan_target(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 643 show_pwm(struct device *dev, struct device_attribute *devattr, char *buf) argument 653 show_pwm_enable(struct device *dev, struct device_attribute *devattr, char *buf) argument 675 show_pwm_freq(struct device *dev, struct device_attribute *devattr, char *buf) argument 685 show_pwm_mode(struct device *dev, struct device_attribute *devattr, char *buf) argument 695 set_pwm(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 721 set_pwm_enable(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 771 set_pwm_freq(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 792 show_pwm_auto_point_temp(struct device *dev, struct device_attribute *devattr, char *buf) argument 805 set_pwm_auto_point_temp(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 829 show_pwm_auto_point_fan(struct device *dev, struct device_attribute *devattr, char *buf) argument 842 set_pwm_auto_point_fan(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 866 show_temp(struct device *dev, struct device_attribute *devattr, char *buf) argument 876 show_temp_max(struct device *dev, struct device_attribute *devattr, char *buf) argument 886 show_temp_hyst(struct device *dev, struct device_attribute *devattr, char *buf) argument 896 show_temp_type(struct device *dev, struct device_attribute *devattr, char *buf) argument 907 set_temp_max(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 928 set_temp_hyst(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 949 show_alarms_in(struct device *dev, struct device_attribute *devattr, char *buf) argument 957 show_alarms_fan(struct device *dev, struct device_attribute *devattr, char *buf) argument 965 show_alarms_temp(struct device *dev, struct device_attribute *devattr, char *buf) argument 973 show_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument 983 show_name(struct device *dev, struct device_attribute *devattr, char *buf) argument [all...] |
H A D | tmp401.c | 240 struct device_attribute *devattr, char *buf) 242 int index = to_sensor_dev_attr(devattr)->index; 250 struct device_attribute *devattr, char *buf) 252 int index = to_sensor_dev_attr(devattr)->index; 260 struct device_attribute *devattr, char *buf) 262 int index = to_sensor_dev_attr(devattr)->index; 270 struct device_attribute *devattr, char *buf) 272 int index = to_sensor_dev_attr(devattr)->index; 281 struct device_attribute *devattr, char *buf) 283 int temp, index = to_sensor_dev_attr(devattr) 239 show_temp_value(struct device *dev, struct device_attribute *devattr, char *buf) argument 249 show_temp_min(struct device *dev, struct device_attribute *devattr, char *buf) argument 259 show_temp_max(struct device *dev, struct device_attribute *devattr, char *buf) argument 269 show_temp_crit(struct device *dev, struct device_attribute *devattr, char *buf) argument 280 show_temp_crit_hyst(struct device *dev, struct device_attribute *devattr, char *buf) argument 295 show_temp_lowest(struct device *dev, struct device_attribute *devattr, char *buf) argument 306 show_temp_highest(struct device *dev, struct device_attribute *devattr, char *buf) argument 317 show_status(struct device *dev, struct device_attribute *devattr, char *buf) argument 329 store_temp_min(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 356 store_temp_max(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 383 store_temp_crit(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 408 store_temp_crit_hyst(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 445 reset_temp_history(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument [all...] |
H A D | max6650.c | 154 static ssize_t get_fan(struct device *dev, struct device_attribute *devattr, argument 157 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 215 static ssize_t get_target(struct device *dev, struct device_attribute *devattr, argument 235 static ssize_t set_target(struct device *dev, struct device_attribute *devattr, argument 283 static ssize_t get_pwm(struct device *dev, struct device_attribute *devattr, argument 304 static ssize_t set_pwm(struct device *dev, struct device_attribute *devattr, argument 340 static ssize_t get_enable(struct device *dev, struct device_attribute *devattr, argument 350 static ssize_t set_enable(struct device *dev, struct device_attribute *devattr, argument 392 static ssize_t get_div(struct device *dev, struct device_attribute *devattr, argument 400 static ssize_t set_div(struct device *dev, struct device_attribute *devattr, argument 444 get_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument 489 struct device_attribute *devattr; local [all...] |
H A D | adt7470.c | 436 struct device_attribute *devattr, 444 struct device_attribute *devattr, 465 struct device_attribute *devattr, 473 struct device_attribute *devattr, 496 struct device_attribute *devattr, 499 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 505 struct device_attribute *devattr, 509 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 530 struct device_attribute *devattr, 533 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 435 show_auto_update_interval(struct device *dev, struct device_attribute *devattr, char *buf) argument 443 set_auto_update_interval(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 464 show_num_temp_sensors(struct device *dev, struct device_attribute *devattr, char *buf) argument 472 set_num_temp_sensors(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 495 show_temp_min(struct device *dev, struct device_attribute *devattr, char *buf) argument 504 set_temp_min(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 529 show_temp_max(struct device *dev, struct device_attribute *devattr, char *buf) argument 538 set_temp_max(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 563 show_temp(struct device *dev, struct device_attribute *devattr, char *buf) argument 571 show_alarm_mask(struct device *dev, struct device_attribute *devattr, char *buf) argument 580 show_fan_max(struct device *dev, struct device_attribute *devattr, char *buf) argument 594 set_fan_max(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 617 show_fan_min(struct device *dev, struct device_attribute *devattr, char *buf) argument 631 set_fan_min(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 654 show_fan(struct device *dev, struct device_attribute *devattr, char *buf) argument 667 show_force_pwm_max(struct device *dev, struct device_attribute *devattr, char *buf) argument 675 set_force_pwm_max(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 701 show_pwm(struct device *dev, struct device_attribute *devattr, char *buf) argument 709 set_pwm(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 730 show_pwm_max(struct device *dev, struct device_attribute *devattr, char *buf) argument 739 set_pwm_max(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 763 show_pwm_min(struct device *dev, struct device_attribute *devattr, char *buf) argument 772 set_pwm_min(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 796 show_pwm_tmax(struct device *dev, struct device_attribute *devattr, char *buf) argument 806 show_pwm_tmin(struct device *dev, struct device_attribute *devattr, char *buf) argument 815 set_pwm_tmin(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 840 show_pwm_auto(struct device *dev, struct device_attribute *devattr, char *buf) argument 849 set_pwm_auto(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 887 show_pwm_auto_temp(struct device *dev, struct device_attribute *devattr, char *buf) argument 910 set_pwm_auto_temp(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 947 show_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument [all...] |
H A D | pc87360.c | 259 struct device_attribute *devattr, char *buf) 261 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 267 struct device_attribute *devattr, char *buf) 269 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 275 struct device_attribute *devattr, char *buf) 277 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 283 struct device_attribute *devattr, char *buf) 285 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 291 struct device_attribute *devattr, const char *buf, 294 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 258 show_fan_input(struct device *dev, struct device_attribute *devattr, char *buf) argument 266 show_fan_min(struct device *dev, struct device_attribute *devattr, char *buf) argument 274 show_fan_div(struct device *dev, struct device_attribute *devattr, char *buf) argument 282 show_fan_status(struct device *dev, struct device_attribute *devattr, char *buf) argument 290 set_fan_min(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 357 show_pwm(struct device *dev, struct device_attribute *devattr, char *buf) argument 367 set_pwm(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 406 show_in_input(struct device *dev, struct device_attribute *devattr, char *buf) argument 414 show_in_min(struct device *dev, struct device_attribute *devattr, char *buf) argument 422 show_in_max(struct device *dev, struct device_attribute *devattr, char *buf) argument 430 show_in_status(struct device *dev, struct device_attribute *devattr, char *buf) argument 437 set_in_min(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 456 set_in_max(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 541 show_in_min_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument 549 show_in_max_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument 652 show_therm_input(struct device *dev, struct device_attribute *devattr, char *buf) argument 660 show_therm_min(struct device *dev, struct device_attribute *devattr, char *buf) argument 668 show_therm_max(struct device *dev, struct device_attribute *devattr, char *buf) argument 676 show_therm_crit(struct device *dev, struct device_attribute *devattr, char *buf) argument 684 show_therm_status(struct device *dev, struct device_attribute *devattr, char *buf) argument 692 set_therm_min(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 713 set_therm_max(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 733 set_therm_crit(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 798 show_therm_min_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument 806 show_therm_max_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument 814 show_therm_crit_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument 868 show_temp_input(struct device *dev, struct device_attribute *devattr, char *buf) argument 876 show_temp_min(struct device *dev, struct device_attribute *devattr, char *buf) argument 884 show_temp_max(struct device *dev, struct device_attribute *devattr, char *buf) argument 892 show_temp_crit(struct device *dev, struct device_attribute *devattr, char *buf) argument 901 show_temp_status(struct device *dev, struct device_attribute *devattr, char *buf) argument 909 set_temp_min(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 930 set_temp_max(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 951 set_temp_crit(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 1022 show_temp_min_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument 1031 show_temp_max_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument 1040 show_temp_crit_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument 1068 show_temp_fault(struct device *dev, struct device_attribute *devattr, char *buf) argument 1107 show_name(struct device *dev, struct device_attribute *devattr, char *buf) argument [all...] |
H A D | i5k_amb.c | 119 static ssize_t show_name(struct device *dev, struct device_attribute *devattr, argument 142 struct device_attribute *devattr, 145 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 156 struct device_attribute *devattr, 160 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 176 struct device_attribute *devattr, 180 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 196 struct device_attribute *devattr, 200 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 216 struct device_attribute *devattr, 141 show_amb_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument 155 store_amb_min(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 175 store_amb_mid(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 195 store_amb_max(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 215 show_amb_min(struct device *dev, struct device_attribute *devattr, char *buf) argument 225 show_amb_mid(struct device *dev, struct device_attribute *devattr, char *buf) argument 235 show_amb_max(struct device *dev, struct device_attribute *devattr, char *buf) argument 245 show_amb_temp(struct device *dev, struct device_attribute *devattr, char *buf) argument 255 show_label(struct device *dev, struct device_attribute *devattr, char *buf) argument [all...] |
H A D | sch5627.c | 208 static ssize_t show_name(struct device *dev, struct device_attribute *devattr, argument 215 *devattr, char *buf) 217 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 229 *devattr, char *buf) 231 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 241 *devattr, char *buf) 243 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 252 *devattr, char *buf) 254 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 263 *devattr, cha 214 show_temp(struct device *dev, struct device_attribute *devattr, char *buf) argument 228 show_temp_fault(struct device *dev, struct device_attribute *devattr, char *buf) argument 240 show_temp_max(struct device *dev, struct device_attribute *devattr, char *buf) argument 251 show_temp_crit(struct device *dev, struct device_attribute *devattr, char *buf) argument 262 show_fan(struct device *dev, struct device_attribute *devattr, char *buf) argument 279 show_fan_fault(struct device *dev, struct device_attribute *devattr, char *buf) argument 292 show_fan_min(struct device *dev, struct device_attribute *devattr, char *buf) argument 304 show_in(struct device *dev, struct device_attribute *devattr, char *buf) argument 320 show_in_label(struct device *dev, struct device_attribute *devattr, char *buf) argument [all...] |
H A D | abituguru.c | 798 struct device_attribute *devattr, char *buf) 800 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); 809 struct device_attribute *devattr, char *buf) 811 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); 819 struct device_attribute *devattr, char *buf) 821 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); 830 struct device_attribute *devattr, char *buf) 832 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); 840 *devattr, const char *buf, size_t count) 842 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); 797 show_bank1_value(struct device *dev, struct device_attribute *devattr, char *buf) argument 808 show_bank1_setting(struct device *dev, struct device_attribute *devattr, char *buf) argument 818 show_bank2_value(struct device *dev, struct device_attribute *devattr, char *buf) argument 829 show_bank2_setting(struct device *dev, struct device_attribute *devattr, char *buf) argument 839 store_bank1_setting(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 872 store_bank2_setting(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 907 show_bank1_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument 928 show_bank2_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument 941 show_bank1_mask(struct device *dev, struct device_attribute *devattr, char *buf) argument 952 show_bank2_mask(struct device *dev, struct device_attribute *devattr, char *buf) argument 963 store_bank1_mask(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 996 store_bank2_mask(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 1030 show_pwm_setting(struct device *dev, struct device_attribute *devattr, char *buf) argument 1039 store_pwm_setting(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 1089 show_pwm_sensor(struct device *dev, struct device_attribute *devattr, char *buf) argument 1107 store_pwm_sensor(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 1142 show_pwm_enable(struct device *dev, struct device_attribute *devattr, char *buf) argument 1153 store_pwm_enable(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 1191 show_name(struct device *dev, struct device_attribute *devattr, char *buf) argument [all...] |
H A D | pc87427.c | 388 *devattr, char *buf) 391 int nr = to_sensor_dev_attr(devattr)->index; 397 *devattr, char *buf) 400 int nr = to_sensor_dev_attr(devattr)->index; 406 *devattr, char *buf) 409 int nr = to_sensor_dev_attr(devattr)->index; 416 *devattr, char *buf) 419 int nr = to_sensor_dev_attr(devattr)->index; 426 *devattr, const char *buf, size_t count) 429 int nr = to_sensor_dev_attr(devattr) 387 show_fan_input(struct device *dev, struct device_attribute *devattr, char *buf) argument 396 show_fan_min(struct device *dev, struct device_attribute *devattr, char *buf) argument 405 show_fan_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument 415 show_fan_fault(struct device *dev, struct device_attribute *devattr, char *buf) argument 425 set_fan_min(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 571 show_pwm_enable(struct device *dev, struct device_attribute *devattr, char *buf) argument 584 set_pwm_enable(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 605 show_pwm(struct device *dev, struct device_attribute *devattr, char *buf) argument 614 set_pwm(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 700 show_temp_input(struct device *dev, struct device_attribute *devattr, char *buf) argument 709 show_temp_min(struct device *dev, struct device_attribute *devattr, char *buf) argument 718 show_temp_max(struct device *dev, struct device_attribute *devattr, char *buf) argument 727 show_temp_crit(struct device *dev, struct device_attribute *devattr, char *buf) argument 736 show_temp_type(struct device *dev, struct device_attribute *devattr, char *buf) argument 745 show_temp_min_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument 755 show_temp_max_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument 765 show_temp_crit_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument 775 show_temp_fault(struct device *dev, struct device_attribute *devattr, char *buf) argument 945 show_name(struct device *dev, struct device_attribute *devattr, char *buf) argument [all...] |
H A D | emc6w201.c | 193 static ssize_t show_in(struct device *dev, struct device_attribute *devattr, argument 197 int sf = to_sensor_dev_attr_2(devattr)->index; 198 int nr = to_sensor_dev_attr_2(devattr)->nr; 204 static ssize_t set_in(struct device *dev, struct device_attribute *devattr, argument 209 int sf = to_sensor_dev_attr_2(devattr)->index; 210 int nr = to_sensor_dev_attr_2(devattr)->nr; 231 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, argument 235 int sf = to_sensor_dev_attr_2(devattr)->index; 236 int nr = to_sensor_dev_attr_2(devattr)->nr; 241 static ssize_t set_temp(struct device *dev, struct device_attribute *devattr, argument 268 show_fan(struct device *dev, struct device_attribute *devattr, char *buf) argument 284 set_fan(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument [all...] |
H A D | mc13783-adc.c | 44 *devattr, char *buf) 52 struct device_attribute *devattr, unsigned int *val) 55 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 74 struct device_attribute *devattr, char *buf) 79 int ret = mc13783_adc_read(dev, devattr, &val); 97 struct device_attribute *devattr, char *buf) 100 int ret = mc13783_adc_read(dev, devattr, &val); 43 mc13783_adc_show_name(struct device *dev, struct device_attribute *devattr, char *buf) argument 51 mc13783_adc_read(struct device *dev, struct device_attribute *devattr, unsigned int *val) argument 73 mc13783_adc_read_bp(struct device *dev, struct device_attribute *devattr, char *buf) argument 96 mc13783_adc_read_gp(struct device *dev, struct device_attribute *devattr, char *buf) argument
|
H A D | tmp421.c | 128 struct device_attribute *devattr, char *buf) 130 int index = to_sensor_dev_attr(devattr)->index; 145 struct device_attribute *devattr, char *buf) 147 int index = to_sensor_dev_attr(devattr)->index; 165 struct device_attribute *devattr; local 168 devattr = container_of(a, struct device_attribute, attr); 169 index = to_sensor_dev_attr(devattr)->index; 127 show_temp_value(struct device *dev, struct device_attribute *devattr, char *buf) argument 144 show_fault(struct device *dev, struct device_attribute *devattr, char *buf) argument
|
H A D | adm1021.c | 138 struct device_attribute *devattr, char *buf) 140 int index = to_sensor_dev_attr(devattr)->index; 147 struct device_attribute *devattr, char *buf) 149 int index = to_sensor_dev_attr(devattr)->index; 156 struct device_attribute *devattr, char *buf) 158 int index = to_sensor_dev_attr(devattr)->index; 181 struct device_attribute *devattr, 184 int index = to_sensor_dev_attr(devattr)->index; 206 struct device_attribute *devattr, 209 int index = to_sensor_dev_attr(devattr) 137 show_temp(struct device *dev, struct device_attribute *devattr, char *buf) argument 146 show_temp_max(struct device *dev, struct device_attribute *devattr, char *buf) argument 155 show_temp_min(struct device *dev, struct device_attribute *devattr, char *buf) argument 180 set_temp_max(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 205 set_temp_min(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 230 show_low_power(struct device *dev, struct device_attribute *devattr, char *buf) argument 237 set_low_power(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument [all...] |
H A D | sch5636.c | 173 static ssize_t show_name(struct device *dev, struct device_attribute *devattr, argument 180 *devattr, char *buf) 182 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 196 *devattr, char *buf) 198 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 205 *devattr, char *buf) 207 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 219 *devattr, char *buf) 221 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 233 *devattr, cha 179 show_in_value(struct device *dev, struct device_attribute *devattr, char *buf) argument 195 show_in_label(struct device *dev, struct device_attribute *devattr, char *buf) argument 204 show_temp_value(struct device *dev, struct device_attribute *devattr, char *buf) argument 218 show_temp_fault(struct device *dev, struct device_attribute *devattr, char *buf) argument 232 show_temp_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument 246 show_fan_value(struct device *dev, struct device_attribute *devattr, char *buf) argument 263 show_fan_fault(struct device *dev, struct device_attribute *devattr, char *buf) argument 277 show_fan_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument [all...] |
H A D | adt7462.c | 814 struct device_attribute *devattr, 817 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 827 struct device_attribute *devattr, 831 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 852 struct device_attribute *devattr, 855 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 865 struct device_attribute *devattr, 869 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 889 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, argument 892 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 813 show_temp_min(struct device *dev, struct device_attribute *devattr, char *buf) argument 826 set_temp_min(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 851 show_temp_max(struct device *dev, struct device_attribute *devattr, char *buf) argument 864 set_temp_max(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 903 show_temp_label(struct device *dev, struct device_attribute *devattr, char *buf) argument 913 show_volt_max(struct device *dev, struct device_attribute *devattr, char *buf) argument 927 set_volt_max(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 955 show_volt_min(struct device *dev, struct device_attribute *devattr, char *buf) argument 969 set_volt_min(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 997 show_voltage(struct device *dev, struct device_attribute *devattr, char *buf) argument 1011 show_voltage_label(struct device *dev, struct device_attribute *devattr, char *buf) argument 1021 show_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument 1041 show_fan_min(struct device *dev, struct device_attribute *devattr, char *buf) argument 1060 set_fan_min(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 1086 show_fan(struct device *dev, struct device_attribute *devattr, char *buf) argument 1100 show_force_pwm_max(struct device *dev, struct device_attribute *devattr, char *buf) argument 1108 set_force_pwm_max(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 1134 show_pwm(struct device *dev, struct device_attribute *devattr, char *buf) argument 1142 set_pwm(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 1163 show_pwm_max(struct device *dev, struct device_attribute *devattr, char *buf) argument 1171 set_pwm_max(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 1193 show_pwm_min(struct device *dev, struct device_attribute *devattr, char *buf) argument 1202 set_pwm_min(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 1226 show_pwm_hyst(struct device *dev, struct device_attribute *devattr, char *buf) argument 1236 set_pwm_hyst(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 1265 show_pwm_tmax(struct device *dev, struct device_attribute *devattr, char *buf) argument 1280 set_pwm_tmax(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 1314 show_pwm_tmin(struct device *dev, struct device_attribute *devattr, char *buf) argument 1323 set_pwm_tmin(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 1348 show_pwm_auto(struct device *dev, struct device_attribute *devattr, char *buf) argument 1380 set_pwm_auto(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 1405 show_pwm_auto_temp(struct device *dev, struct device_attribute *devattr, char *buf) argument 1439 set_pwm_auto_temp(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument [all...] |
H A D | adcxx.c | 61 struct device_attribute *devattr, char *buf) 64 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 98 struct device_attribute *devattr, char *buf) 105 struct device_attribute *devattr, char *buf) 122 struct device_attribute *devattr, const char *buf, size_t count) 142 *devattr, char *buf) 60 adcxx_read(struct device *dev, struct device_attribute *devattr, char *buf) argument 97 adcxx_show_min(struct device *dev, struct device_attribute *devattr, char *buf) argument 104 adcxx_show_max(struct device *dev, struct device_attribute *devattr, char *buf) argument 121 adcxx_set_max(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 141 adcxx_show_name(struct device *dev, struct device_attribute *devattr, char *buf) argument
|
H A D | adm9240.c | 193 static ssize_t show_max(struct device *dev, struct device_attribute *devattr, argument 196 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 201 static ssize_t set_max(struct device *dev, struct device_attribute *devattr, argument 204 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 229 static ssize_t show_in(struct device *dev, struct device_attribute *devattr, argument 232 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 239 struct device_attribute *devattr, char *buf) 241 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 248 struct device_attribute *devattr, char *buf) 250 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 238 show_in_min(struct device *dev, struct device_attribute *devattr, char *buf) argument 247 show_in_max(struct device *dev, struct device_attribute *devattr, char *buf) argument 256 set_in_min(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 278 set_in_max(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 316 show_fan(struct device *dev, struct device_attribute *devattr, char *buf) argument 325 show_fan_min(struct device *dev, struct device_attribute *devattr, char *buf) argument 334 show_fan_div(struct device *dev, struct device_attribute *devattr, char *buf) argument 368 set_fan_min(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument [all...] |
H A D | smsc47m1.c | 170 *devattr, char *buf) 172 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 189 *devattr, char *buf) 191 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 200 *devattr, char *buf) 202 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 208 *devattr, char *buf) 210 int bitnr = to_sensor_dev_attr(devattr)->index; 216 *devattr, char *buf) 218 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 169 get_fan(struct device *dev, struct device_attribute *devattr, char *buf) argument 188 get_fan_min(struct device *dev, struct device_attribute *devattr, char *buf) argument 199 get_fan_div(struct device *dev, struct device_attribute *devattr, char *buf) argument 207 get_fan_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument 215 get_pwm(struct device *dev, struct device_attribute *devattr, char *buf) argument 223 get_pwm_en(struct device *dev, struct device_attribute *devattr, char *buf) argument 231 get_alarms(struct device *dev, struct device_attribute *devattr, char *buf) argument 238 set_fan_min(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 274 set_fan_div(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 337 set_pwm(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 363 set_pwm_en(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 409 show_name(struct device *dev, struct device_attribute *devattr, char *buf) argument [all...] |
H A D | fschmd.c | 335 struct device_attribute *devattr, char *buf) 338 int index = to_sensor_dev_attr(devattr)->index; 353 struct device_attribute *devattr, char *buf) 355 int index = to_sensor_dev_attr(devattr)->index; 362 struct device_attribute *devattr, char *buf) 364 int index = to_sensor_dev_attr(devattr)->index; 371 *devattr, const char *buf, size_t count) 373 int index = to_sensor_dev_attr(devattr)->index; 394 struct device_attribute *devattr, char *buf) 396 int index = to_sensor_dev_attr(devattr) 334 show_in_value(struct device *dev, struct device_attribute *devattr, char *buf) argument 352 show_temp_value(struct device *dev, struct device_attribute *devattr, char *buf) argument 361 show_temp_max(struct device *dev, struct device_attribute *devattr, char *buf) argument 370 store_temp_max(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 393 show_temp_fault(struct device *dev, struct device_attribute *devattr, char *buf) argument 406 show_temp_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument 422 show_fan_value(struct device *dev, struct device_attribute *devattr, char *buf) argument 431 show_fan_div(struct device *dev, struct device_attribute *devattr, char *buf) argument 441 store_fan_div(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 490 show_fan_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument 502 show_fan_fault(struct device *dev, struct device_attribute *devattr, char *buf) argument 515 show_pwm_auto_point1_pwm(struct device *dev, struct device_attribute *devattr, char *buf) argument 529 store_pwm_auto_point1_pwm(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 563 show_alert_led(struct device *dev, struct device_attribute *devattr, char *buf) argument 574 store_alert_led(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument [all...] |
H A D | coretemp.c | 118 struct device_attribute *devattr, char *buf) 124 struct device_attribute *devattr, char *buf) 126 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 137 struct device_attribute *devattr, char *buf) 140 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 150 struct device_attribute *devattr, char *buf) 152 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 159 struct device_attribute *devattr, char *buf) 161 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 168 struct device_attribute *devattr, cha 117 show_name(struct device *dev, struct device_attribute *devattr, char *buf) argument 123 show_label(struct device *dev, struct device_attribute *devattr, char *buf) argument 136 show_crit_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument 149 show_tjmax(struct device *dev, struct device_attribute *devattr, char *buf) argument 158 show_ttarget(struct device *dev, struct device_attribute *devattr, char *buf) argument 167 show_temp(struct device *dev, struct device_attribute *devattr, char *buf) argument [all...] |
H A D | max1668.c | 143 struct device_attribute *devattr, char *buf) 145 int index = to_sensor_dev_attr(devattr)->index; 155 struct device_attribute *devattr, char *buf) 157 int index = to_sensor_dev_attr(devattr)->index; 167 struct device_attribute *devattr, char *buf) 169 int index = to_sensor_dev_attr(devattr)->index; 191 struct device_attribute *devattr, char *buf) 193 int index = to_sensor_dev_attr(devattr)->index; 204 struct device_attribute *devattr, 207 int index = to_sensor_dev_attr(devattr) 142 show_temp(struct device *dev, struct device_attribute *devattr, char *buf) argument 154 show_temp_max(struct device *dev, struct device_attribute *devattr, char *buf) argument 166 show_temp_min(struct device *dev, struct device_attribute *devattr, char *buf) argument 190 show_fault(struct device *dev, struct device_attribute *devattr, char *buf) argument 203 set_temp_max(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 228 set_temp_min(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument [all...] |
H A D | ad7418.c | 145 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, argument 148 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 154 static ssize_t show_adc(struct device *dev, struct device_attribute *devattr, argument 157 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 164 static ssize_t set_temp(struct device *dev, struct device_attribute *devattr, argument 167 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
|
H A D | w83627hf.c | 414 show_in_input(struct device *dev, struct device_attribute *devattr, char *buf) argument 416 int nr = to_sensor_dev_attr(devattr)->index; 421 show_in_min(struct device *dev, struct device_attribute *devattr, char *buf) argument 423 int nr = to_sensor_dev_attr(devattr)->index; 428 show_in_max(struct device *dev, struct device_attribute *devattr, char *buf) argument 430 int nr = to_sensor_dev_attr(devattr)->index; 435 store_in_min(struct device *dev, struct device_attribute *devattr, argument 438 int nr = to_sensor_dev_attr(devattr)->index; 454 store_in_max(struct device *dev, struct device_attribute *devattr, argument 457 int nr = to_sensor_dev_attr(devattr) 592 show_fan_input(struct device *dev, struct device_attribute *devattr, char *buf) argument 600 show_fan_min(struct device *dev, struct device_attribute *devattr, char *buf) argument 608 store_fan_min(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 639 show_temp(struct device *dev, struct device_attribute *devattr, char *buf) argument 650 show_temp_max(struct device *dev, struct device_attribute *devattr, char *buf) argument 662 show_temp_max_hyst(struct device *dev, struct device_attribute *devattr, char *buf) argument 674 store_temp_max(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 696 store_temp_max_hyst(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 921 show_fan_div(struct device *dev, struct device_attribute *devattr, char *buf) argument 935 store_fan_div(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 983 show_pwm(struct device *dev, struct device_attribute *devattr, char *buf) argument 991 store_pwm(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 1029 show_pwm_enable(struct device *dev, struct device_attribute *devattr, char *buf) argument 1037 store_pwm_enable(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 1070 show_pwm_freq(struct device *dev, struct device_attribute *devattr, char *buf) argument 1083 store_pwm_freq(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 1122 show_temp_type(struct device *dev, struct device_attribute *devattr, char *buf) argument 1131 store_temp_type(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 1195 show_name(struct device *dev, struct device_attribute *devattr, char *buf) argument [all...] |
/drivers/misc/ |
H A D | ics932s401.c | 161 struct device_attribute *devattr, 208 struct device_attribute *devattr, 217 struct device_attribute *devattr, 264 struct device_attribute *devattr, 273 struct device_attribute *devattr, 312 struct device_attribute *devattr, 321 struct device_attribute *devattr, 336 struct device_attribute *devattr, 340 struct device_attribute *devattr, 372 struct device_attribute *devattr, 160 show_spread_enabled(struct device *dev, struct device_attribute *devattr, char *buf) argument 207 show_cpu_clock(struct device *dev, struct device_attribute *devattr, char *buf) argument 216 show_cpu_clock_sel(struct device *dev, struct device_attribute *devattr, char *buf) argument 263 show_src_clock(struct device *dev, struct device_attribute *devattr, char *buf) argument 272 show_src_clock_sel(struct device *dev, struct device_attribute *devattr, char *buf) argument 311 show_pci_clock(struct device *dev, struct device_attribute *devattr, char *buf) argument 320 show_pci_clock_sel(struct device *dev, struct device_attribute *devattr, char *buf) argument 371 show_value(struct device *dev, struct device_attribute *devattr, char *buf) argument 387 show_spread(struct device *dev, struct device_attribute *devattr, char *buf) argument [all...] |