Searched refs:devattr (Results 1 - 25 of 69) sorted by relevance

123

/linux-master/drivers/hwmon/
H A Dpc87360.c407 struct device_attribute *devattr, char *buf)
409 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
430 struct device_attribute *devattr, char *buf)
432 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
452 struct device_attribute *devattr, char *buf)
454 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
461 struct device_attribute *devattr, const char *buf,
464 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
496 struct device_attribute *devattr, char *buf)
498 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
406 in_input_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
429 in_status_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
451 in_min_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
460 in_min_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
495 in_max_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
504 in_max_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
551 in_min_alarm_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
574 in_max_alarm_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
668 therm_input_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
687 therm_status_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
701 therm_min_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
710 therm_min_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
737 therm_max_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
746 therm_max_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
773 therm_crit_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
782 therm_crit_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
813 therm_min_alarm_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
829 therm_max_alarm_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
845 therm_crit_alarm_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
881 temp_input_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
895 temp_status_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
909 temp_min_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
917 temp_min_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
944 temp_max_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
952 temp_max_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
979 temp_crit_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
988 temp_crit_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1020 temp_min_alarm_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
1036 temp_max_alarm_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
1052 temp_crit_alarm_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
1069 temp_fault_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
1118 fan_input_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
1133 fan_status_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
1148 fan_div_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
1163 fan_min_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
1172 fan_min_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1236 pwm_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
1247 pwm_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1274 name_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
[all...]
H A Df71805f.c419 static ssize_t show_in0(struct device *dev, struct device_attribute *devattr, argument
423 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
430 *devattr, char *buf)
433 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
440 *devattr, char *buf)
443 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
450 *devattr, const char *buf, size_t count)
453 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
471 *devattr, const char *buf, size_t count)
474 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
429 show_in0_max(struct device *dev, struct device_attribute *devattr, char *buf) argument
439 show_in0_min(struct device *dev, struct device_attribute *devattr, char *buf) argument
449 set_in0_max(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
470 set_in0_min(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
491 show_in(struct device *dev, struct device_attribute *devattr, char *buf) argument
501 show_in_max(struct device *dev, struct device_attribute *devattr, char *buf) argument
511 show_in_min(struct device *dev, struct device_attribute *devattr, char *buf) argument
521 set_in_max(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
542 set_in_min(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
563 show_fan(struct device *dev, struct device_attribute *devattr, char *buf) argument
573 show_fan_min(struct device *dev, struct device_attribute *devattr, char *buf) argument
583 show_fan_target(struct device *dev, struct device_attribute *devattr, char *buf) argument
593 set_fan_min(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
614 set_fan_target(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
636 show_pwm(struct device *dev, struct device_attribute *devattr, char *buf) argument
646 show_pwm_enable(struct device *dev, struct device_attribute *devattr, char *buf) argument
668 show_pwm_freq(struct device *dev, struct device_attribute *devattr, char *buf) argument
678 show_pwm_mode(struct device *dev, struct device_attribute *devattr, char *buf) argument
688 set_pwm(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
714 set_pwm_enable(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
764 set_pwm_freq(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
785 show_pwm_auto_point_temp(struct device *dev, struct device_attribute *devattr, char *buf) argument
798 set_pwm_auto_point_temp(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
822 show_pwm_auto_point_fan(struct device *dev, struct device_attribute *devattr, char *buf) argument
835 set_pwm_auto_point_fan(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
859 show_temp(struct device *dev, struct device_attribute *devattr, char *buf) argument
869 show_temp_max(struct device *dev, struct device_attribute *devattr, char *buf) argument
879 show_temp_hyst(struct device *dev, struct device_attribute *devattr, char *buf) argument
889 show_temp_type(struct device *dev, struct device_attribute *devattr, char *buf) argument
900 set_temp_max(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
921 set_temp_hyst(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
942 alarms_in_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
950 alarms_fan_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
958 alarms_temp_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
966 show_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument
976 name_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
[all...]
H A Dadt7462.c779 struct device_attribute *devattr, char *buf)
781 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
791 struct device_attribute *devattr,
794 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
815 struct device_attribute *devattr, char *buf)
817 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
827 struct device_attribute *devattr,
830 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
850 static ssize_t temp_show(struct device *dev, struct device_attribute *devattr, argument
853 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
778 temp_min_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
790 temp_min_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
814 temp_max_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
826 temp_max_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
864 temp_label_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
873 volt_max_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
886 volt_max_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
913 volt_min_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
926 volt_min_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
953 voltage_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
966 voltage_label_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
975 alarm_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
994 fan_min_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
1012 fan_min_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1038 fan_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
1052 force_pwm_max_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
1059 force_pwm_max_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1084 pwm_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
1092 pwm_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1113 pwm_max_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
1120 pwm_max_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1141 pwm_min_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
1149 pwm_min_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1172 pwm_hyst_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
1181 pwm_hyst_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1209 pwm_tmax_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
1223 pwm_tmax_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1255 pwm_tmin_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
1263 pwm_tmin_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1287 pwm_auto_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
1318 pwm_auto_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1342 pwm_auto_temp_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
1375 pwm_auto_temp_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
[all...]
H A Df71882fg.c513 static ssize_t name_show(struct device *dev, struct device_attribute *devattr, argument
522 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, argument
526 int nr = to_sensor_dev_attr_2(devattr)->index;
549 *devattr, char *buf)
552 int nr = to_sensor_dev_attr_2(devattr)->index;
558 *devattr, const char *buf, size_t count)
561 int err, nr = to_sensor_dev_attr_2(devattr)->index;
580 *devattr, char *buf)
583 int nr = to_sensor_dev_attr_2(devattr)->index;
598 *devattr, cons
548 show_temp_max(struct device *dev, struct device_attribute *devattr, char *buf) argument
557 store_temp_max(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
579 show_temp_max_hyst(struct device *dev, struct device_attribute *devattr, char *buf) argument
597 store_temp_max_hyst(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
632 show_temp_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument
644 show_temp_crit(struct device *dev, struct device_attribute *devattr, char *buf) argument
653 store_temp_crit(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
675 show_temp_crit_hyst(struct device *dev, struct device_attribute *devattr, char *buf) argument
693 show_temp_fault(struct device *dev, struct device_attribute *devattr, char *buf) argument
748 show_temp_type(struct device *dev, struct device_attribute *devattr, char *buf) argument
809 show_temp_beep(struct device *dev, struct device_attribute *devattr, char *buf) argument
821 store_temp_beep(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
910 show_in(struct device *dev, struct device_attribute *devattr, char *buf) argument
934 show_in_max(struct device *dev, struct device_attribute *devattr, char *buf) argument
942 store_in_max(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
967 show_in_beep(struct device *dev, struct device_attribute *devattr, char *buf) argument
979 store_in_beep(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1010 show_in_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument
1031 show_fan(struct device *dev, struct device_attribute *devattr, char *buf) argument
1044 show_fan_full_speed(struct device *dev, struct device_attribute *devattr, char *buf) argument
1053 store_fan_full_speed(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1076 show_fan_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument
1088 show_pwm(struct device *dev, struct device_attribute *devattr, char *buf) argument
1109 store_pwm(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1150 show_pwm_enable(struct device *dev, struct device_attribute *devattr, char *buf) argument
1176 store_pwm_enable(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1232 show_pwm_interpolate(struct device *dev, struct device_attribute *devattr, char *buf) argument
1244 store_pwm_interpolate(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1317 show_simple_pwm(struct device *dev, struct device_attribute *devattr, char *buf) argument
1327 store_simple_pwm(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1357 show_fan_beep(struct device *dev, struct device_attribute *devattr, char *buf) argument
1369 store_fan_beep(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1405 show_pwm_auto_point_channel(struct device *dev, struct device_attribute *devattr, char *buf) argument
1419 store_pwm_auto_point_channel(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1456 show_pwm_auto_point_pwm(struct device *dev, struct device_attribute *devattr, char *buf) argument
1478 store_pwm_auto_point_pwm(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1511 show_pwm_auto_point_temp(struct device *dev, struct device_attribute *devattr, char *buf) argument
1524 store_pwm_auto_point_temp(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1552 show_pwm_auto_point_temp_hyst(struct device *dev, struct device_attribute *devattr, char *buf) argument
1572 store_pwm_auto_point_temp_hyst(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
[all...]
H A Dmc13783-adc.c32 static ssize_t name_show(struct device *dev, struct device_attribute *devattr, argument
41 struct device_attribute *devattr, unsigned int *val)
44 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
67 struct device_attribute *devattr,
73 int ret = mc13783_adc_read(dev, devattr, &val);
91 struct device_attribute *devattr,
95 int ret = mc13783_adc_read(dev, devattr, &val);
110 struct device_attribute *devattr,
116 int ret = mc13783_adc_read(dev, devattr, &val);
132 struct device_attribute *devattr,
40 mc13783_adc_read(struct device *dev, struct device_attribute *devattr, unsigned int *val) argument
66 mc13783_adc_bp_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
90 mc13783_adc_gp_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
109 mc13783_adc_uid_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
131 mc13783_adc_temp_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
[all...]
H A Dmenf21bmc_hwmon.c100 label_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
102 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
108 in_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
110 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
120 min_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
122 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
129 max_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
131 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
H A Di5k_amb.c104 static ssize_t name_show(struct device *dev, struct device_attribute *devattr, argument
127 struct device_attribute *devattr,
130 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
141 struct device_attribute *devattr,
145 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
161 struct device_attribute *devattr,
165 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
181 struct device_attribute *devattr,
185 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
201 struct device_attribute *devattr,
126 show_amb_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument
140 store_amb_min(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
160 store_amb_mid(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
180 store_amb_max(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
200 show_amb_min(struct device *dev, struct device_attribute *devattr, char *buf) argument
210 show_amb_mid(struct device *dev, struct device_attribute *devattr, char *buf) argument
220 show_amb_max(struct device *dev, struct device_attribute *devattr, char *buf) argument
230 show_amb_temp(struct device *dev, struct device_attribute *devattr, char *buf) argument
240 show_label(struct device *dev, struct device_attribute *devattr, char *buf) argument
[all...]
H A Dabituguru.c788 struct device_attribute *devattr, char *buf)
790 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr);
799 struct device_attribute *devattr, char *buf)
801 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);
820 struct device_attribute *devattr, char *buf)
822 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr);
830 *devattr, const char *buf, size_t count)
832 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr);
787 show_bank1_value(struct device *dev, struct device_attribute *devattr, char *buf) argument
798 show_bank1_setting(struct device *dev, struct device_attribute *devattr, char *buf) argument
808 show_bank2_value(struct device *dev, struct device_attribute *devattr, char *buf) argument
819 show_bank2_setting(struct device *dev, struct device_attribute *devattr, char *buf) argument
829 store_bank1_setting(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
862 store_bank2_setting(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
897 show_bank1_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument
918 show_bank2_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument
931 show_bank1_mask(struct device *dev, struct device_attribute *devattr, char *buf) argument
942 show_bank2_mask(struct device *dev, struct device_attribute *devattr, char *buf) argument
953 store_bank1_mask(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
986 store_bank2_mask(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1020 show_pwm_setting(struct device *dev, struct device_attribute *devattr, char *buf) argument
1029 store_pwm_setting(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1079 show_pwm_sensor(struct device *dev, struct device_attribute *devattr, char *buf) argument
1097 store_pwm_sensor(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1132 show_pwm_enable(struct device *dev, struct device_attribute *devattr, char *buf) argument
1143 store_pwm_enable(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1181 show_name(struct device *dev, struct device_attribute *devattr, char *buf) argument
[all...]
H A Dpc87427.c388 struct device_attribute *devattr, char *buf)
391 int nr = to_sensor_dev_attr(devattr)->index;
397 struct device_attribute *devattr, char *buf)
400 int nr = to_sensor_dev_attr(devattr)->index;
406 struct device_attribute *devattr, char *buf)
409 int nr = to_sensor_dev_attr(devattr)->index;
416 struct device_attribute *devattr, char *buf)
419 int nr = to_sensor_dev_attr(devattr)->index;
426 struct device_attribute *devattr,
430 int nr = to_sensor_dev_attr(devattr)
387 fan_input_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
396 fan_min_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
405 fan_alarm_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
415 fan_fault_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
425 fan_min_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
564 pwm_enable_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
577 pwm_enable_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
599 pwm_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
608 pwm_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
691 temp_input_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
700 temp_min_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
709 temp_max_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
718 temp_crit_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
727 temp_type_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
736 temp_min_alarm_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
747 temp_max_alarm_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
758 temp_crit_alarm_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
769 temp_fault_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
921 name_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
[all...]
H A Demc6w201.c179 static ssize_t in_show(struct device *dev, struct device_attribute *devattr, argument
183 int sf = to_sensor_dev_attr_2(devattr)->index;
184 int nr = to_sensor_dev_attr_2(devattr)->nr;
190 static ssize_t in_store(struct device *dev, struct device_attribute *devattr, argument
195 int sf = to_sensor_dev_attr_2(devattr)->index;
196 int nr = to_sensor_dev_attr_2(devattr)->nr;
218 static ssize_t temp_show(struct device *dev, struct device_attribute *devattr, argument
222 int sf = to_sensor_dev_attr_2(devattr)->index;
223 int nr = to_sensor_dev_attr_2(devattr)->nr;
229 struct device_attribute *devattr, cons
228 temp_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
257 fan_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
273 fan_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
[all...]
H A Dadm1021.c146 static ssize_t temp_show(struct device *dev, struct device_attribute *devattr, argument
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;
165 struct device_attribute *devattr, char *buf)
167 int index = to_sensor_dev_attr(devattr)->index;
190 struct device_attribute *devattr,
193 int index = to_sensor_dev_attr(devattr)->index;
216 struct device_attribute *devattr,
219 int index = to_sensor_dev_attr(devattr)
155 temp_max_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
164 temp_min_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
189 temp_max_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
215 temp_min_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
241 low_power_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
248 low_power_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
[all...]
H A Dmax1668.c131 struct device_attribute *devattr, char *buf)
133 int index = to_sensor_dev_attr(devattr)->index;
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;
179 struct device_attribute *devattr, char *buf)
181 int index = to_sensor_dev_attr(devattr)->index;
192 struct device_attribute *devattr,
195 int index = to_sensor_dev_attr(devattr)
130 show_temp(struct device *dev, struct device_attribute *devattr, char *buf) argument
142 show_temp_max(struct device *dev, struct device_attribute *devattr, char *buf) argument
154 show_temp_min(struct device *dev, struct device_attribute *devattr, char *buf) argument
178 show_fault(struct device *dev, struct device_attribute *devattr, char *buf) argument
191 set_temp_max(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
217 set_temp_min(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
[all...]
H A Dda9052-hwmon.c86 struct device_attribute *devattr, char *buf)
118 struct device_attribute *devattr, char *buf)
132 struct device_attribute *devattr, char *buf)
140 struct device_attribute *devattr, char *buf)
153 struct device_attribute *devattr,
157 int channel = to_sensor_dev_attr(devattr)->index;
241 struct device_attribute *devattr, char *buf)
244 int channel = to_sensor_dev_attr(devattr)->index;
258 struct device_attribute *devattr, char *buf)
280 struct device_attribute *devattr, cha
85 da9052_vddout_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
117 da9052_ich_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
131 da9052_tbat_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
139 da9052_vbat_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
152 da9052_misc_channel_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
240 da9052_tsi_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
257 da9052_tjunc_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
279 da9052_vbbat_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
292 label_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
[all...]
H A Dsch5636.c160 static ssize_t name_show(struct device *dev, struct device_attribute *devattr, argument
167 struct device_attribute *devattr, char *buf)
169 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
183 struct device_attribute *devattr, char *buf)
185 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
192 struct device_attribute *devattr, char *buf)
194 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
206 struct device_attribute *devattr, char *buf)
208 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
220 struct device_attribute *devattr, cha
166 in_value_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
182 in_label_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
191 temp_value_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
205 temp_fault_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
219 temp_alarm_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
233 fan_value_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
250 fan_fault_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
264 fan_alarm_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
[all...]
H A Dlm92.c137 static ssize_t temp_show(struct device *dev, struct device_attribute *devattr, argument
140 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
147 struct device_attribute *devattr, const char *buf,
150 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
169 struct device_attribute *devattr, char *buf)
171 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
188 struct device_attribute *devattr,
191 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
146 temp_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
168 temp_hyst_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
187 temp_hyst_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
H A Dadm1029.c159 temp_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
161 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
168 fan_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
170 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
186 fan_div_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
188 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
197 struct device_attribute *devattr,
202 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
196 fan_div_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
H A Dadcxx.c48 struct device_attribute *devattr, char *buf)
51 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
85 struct device_attribute *devattr, char *buf)
92 struct device_attribute *devattr, char *buf)
109 struct device_attribute *devattr,
130 struct device_attribute *devattr, char *buf)
47 adcxx_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
84 adcxx_min_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
91 adcxx_max_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
108 adcxx_max_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
129 adcxx_name_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
H A Dsmsc47m1.c197 static ssize_t fan_show(struct device *dev, struct device_attribute *devattr, argument
200 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
217 struct device_attribute *devattr, char *buf)
219 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
228 struct device_attribute *devattr, char *buf)
230 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
236 struct device_attribute *devattr, char *buf)
238 int bitnr = to_sensor_dev_attr(devattr)->index;
243 static ssize_t pwm_show(struct device *dev, struct device_attribute *devattr, argument
246 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
216 fan_min_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
227 fan_div_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
235 fan_alarm_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
251 pwm_en_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
259 alarms_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
266 fan_min_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
303 fan_div_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
369 pwm_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
395 pwm_en_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
443 name_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
[all...]
H A Dlm77.c131 static ssize_t temp_show(struct device *dev, struct device_attribute *devattr, argument
134 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
141 struct device_attribute *devattr, char *buf)
143 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
155 struct device_attribute *devattr, const char *buf,
158 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
182 struct device_attribute *devattr,
140 temp_hyst_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
154 temp_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
181 temp_hyst_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
H A Dfschmd.c321 struct device_attribute *devattr, char *buf)
324 int index = to_sensor_dev_attr(devattr)->index;
339 struct device_attribute *devattr, char *buf)
341 int index = to_sensor_dev_attr(devattr)->index;
348 struct device_attribute *devattr, char *buf)
350 int index = to_sensor_dev_attr(devattr)->index;
357 struct device_attribute *devattr,
360 int index = to_sensor_dev_attr(devattr)->index;
381 struct device_attribute *devattr, char *buf)
383 int index = to_sensor_dev_attr(devattr)
320 in_value_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
338 temp_value_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
347 temp_max_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
356 temp_max_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
380 temp_fault_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
393 temp_alarm_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
409 fan_value_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
418 fan_div_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
428 fan_div_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
479 fan_alarm_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
491 fan_fault_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
504 pwm_auto_point1_pwm_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
519 pwm_auto_point1_pwm_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
554 alert_led_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
565 alert_led_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
[all...]
H A Dda9055-hwmon.c139 struct device_attribute *devattr,
144 int channel = to_sensor_dev_attr(devattr)->index;
176 struct device_attribute *devattr, char *buf)
199 struct device_attribute *devattr, char *buf)
202 input_names[to_sensor_dev_attr(devattr)->index]);
138 da9055_auto_ch_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
175 da9055_tjunc_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
198 label_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
H A Dadt7470.c473 struct device_attribute *devattr,
485 struct device_attribute *devattr,
504 struct device_attribute *devattr,
516 struct device_attribute *devattr,
592 struct device_attribute *devattr, char *buf)
603 struct device_attribute *devattr,
692 struct device_attribute *devattr, char *buf)
703 struct device_attribute *devattr,
857 struct device_attribute *devattr, char *buf)
859 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
472 auto_update_interval_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
484 auto_update_interval_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
503 num_temp_sensors_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
515 num_temp_sensors_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
591 alarm_mask_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
602 alarm_mask_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
691 force_pwm_max_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
702 force_pwm_max_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
856 pwm_max_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
868 pwm_max_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
891 pwm_min_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
903 pwm_min_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
926 pwm_tmax_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
939 pwm_tmin_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
951 pwm_tmin_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
975 pwm_auto_temp_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
1001 pwm_auto_temp_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
[all...]
H A Dad7418.c126 static ssize_t temp_show(struct device *dev, struct device_attribute *devattr, argument
129 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
141 static ssize_t adc_show(struct device *dev, struct device_attribute *devattr, argument
144 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
157 struct device_attribute *devattr, const char *buf,
160 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
156 temp_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
/linux-master/drivers/misc/
H A Dics932s401.c149 struct device_attribute *devattr,
196 struct device_attribute *devattr,
205 struct device_attribute *devattr,
253 struct device_attribute *devattr,
262 struct device_attribute *devattr,
301 struct device_attribute *devattr,
310 struct device_attribute *devattr,
325 struct device_attribute *devattr,
329 struct device_attribute *devattr,
360 struct device_attribute *devattr,
148 show_spread_enabled(struct device *dev, struct device_attribute *devattr, char *buf) argument
195 show_cpu_clock(struct device *dev, struct device_attribute *devattr, char *buf) argument
204 show_cpu_clock_sel(struct device *dev, struct device_attribute *devattr, char *buf) argument
252 show_src_clock(struct device *dev, struct device_attribute *devattr, char *buf) argument
261 show_src_clock_sel(struct device *dev, struct device_attribute *devattr, char *buf) argument
300 show_pci_clock(struct device *dev, struct device_attribute *devattr, char *buf) argument
309 show_pci_clock_sel(struct device *dev, struct device_attribute *devattr, char *buf) argument
359 show_value(struct device *dev, struct device_attribute *devattr, char *buf) argument
375 show_spread(struct device *dev, struct device_attribute *devattr, char *buf) argument
[all...]
/linux-master/drivers/hwmon/pmbus/
H A Dinspur-ipsps.c54 struct device_attribute *devattr,
62 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
77 struct device_attribute *devattr,
84 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
100 struct device_attribute *devattr, char *buf)
105 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
131 struct device_attribute *devattr,
137 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
53 ipsps_string_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
76 ipsps_fw_version_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
99 ipsps_mode_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
130 ipsps_mode_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument

Completed in 382 milliseconds

123