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

123

/drivers/hwmon/
H A Df71882fg.c278 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
1608 show_temp_crit(struct device *dev, struct device_attribute *devattr, char *buf) argument
1617 store_temp_crit(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1639 show_temp_crit_hyst(struct device *dev, struct device_attribute *devattr, char *buf) argument
1657 show_temp_type(struct device *dev, struct device_attribute *devattr, char *buf) argument
1666 show_temp_beep(struct device *dev, struct device_attribute *devattr, char *buf) argument
1678 store_temp_beep(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1702 show_temp_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument
1714 show_temp_fault(struct device *dev, struct device_attribute *devattr, char *buf) argument
1726 show_pwm(struct device *dev, struct device_attribute *devattr, char *buf) argument
1744 store_pwm(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1785 show_simple_pwm(struct device *dev, struct device_attribute *devattr, char *buf) argument
1795 store_simple_pwm(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1817 show_pwm_enable(struct device *dev, struct device_attribute *devattr, char *buf) argument
1843 store_pwm_enable(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1899 show_pwm_auto_point_pwm(struct device *dev, struct device_attribute *devattr, char *buf) argument
1921 store_pwm_auto_point_pwm(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1954 show_pwm_auto_point_temp_hyst(struct device *dev, struct device_attribute *devattr, char *buf) argument
1974 store_pwm_auto_point_temp_hyst(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
2010 show_pwm_interpolate(struct device *dev, struct device_attribute *devattr, char *buf) argument
2022 store_pwm_interpolate(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
2048 show_pwm_auto_point_channel(struct device *dev, struct device_attribute *devattr, char *buf) argument
2062 store_pwm_auto_point_channel(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
2099 show_pwm_auto_point_temp(struct device *dev, struct device_attribute *devattr, char *buf) argument
2112 store_pwm_auto_point_temp(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
2140 show_name(struct device *dev, struct device_attribute *devattr, char *buf) argument
[all...]
H A Dmax6650.c174 static ssize_t get_fan(struct device *dev, struct device_attribute *devattr, argument
177 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
235 static ssize_t get_target(struct device *dev, struct device_attribute *devattr, argument
255 static ssize_t set_target(struct device *dev, struct device_attribute *devattr, argument
303 static ssize_t get_pwm(struct device *dev, struct device_attribute *devattr, argument
324 static ssize_t set_pwm(struct device *dev, struct device_attribute *devattr, argument
360 static ssize_t get_enable(struct device *dev, struct device_attribute *devattr, argument
370 static ssize_t set_enable(struct device *dev, struct device_attribute *devattr, argument
412 static ssize_t get_div(struct device *dev, struct device_attribute *devattr, argument
420 static ssize_t set_div(struct device *dev, struct device_attribute *devattr, argument
464 get_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument
510 struct device_attribute *devattr; local
[all...]
H A Dadt7470.c399 struct device_attribute *devattr,
407 struct device_attribute *devattr,
427 struct device_attribute *devattr,
435 struct device_attribute *devattr,
457 struct device_attribute *devattr,
460 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
466 struct device_attribute *devattr,
470 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
491 struct device_attribute *devattr,
494 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
398 show_auto_update_interval(struct device *dev, struct device_attribute *devattr, char *buf) argument
406 set_auto_update_interval(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
426 show_num_temp_sensors(struct device *dev, struct device_attribute *devattr, char *buf) argument
434 set_num_temp_sensors(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
456 show_temp_min(struct device *dev, struct device_attribute *devattr, char *buf) argument
465 set_temp_min(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
490 show_temp_max(struct device *dev, struct device_attribute *devattr, char *buf) argument
499 set_temp_max(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
524 show_temp(struct device *dev, struct device_attribute *devattr, char *buf) argument
532 show_alarm_mask(struct device *dev, struct device_attribute *devattr, char *buf) argument
541 show_fan_max(struct device *dev, struct device_attribute *devattr, char *buf) argument
555 set_fan_max(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
578 show_fan_min(struct device *dev, struct device_attribute *devattr, char *buf) argument
592 set_fan_min(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
615 show_fan(struct device *dev, struct device_attribute *devattr, char *buf) argument
628 show_force_pwm_max(struct device *dev, struct device_attribute *devattr, char *buf) argument
636 set_force_pwm_max(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
662 show_pwm(struct device *dev, struct device_attribute *devattr, char *buf) argument
670 set_pwm(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
691 show_pwm_max(struct device *dev, struct device_attribute *devattr, char *buf) argument
700 set_pwm_max(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
724 show_pwm_min(struct device *dev, struct device_attribute *devattr, char *buf) argument
733 set_pwm_min(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
757 show_pwm_tmax(struct device *dev, struct device_attribute *devattr, char *buf) argument
767 show_pwm_tmin(struct device *dev, struct device_attribute *devattr, char *buf) argument
776 set_pwm_tmin(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
801 show_pwm_auto(struct device *dev, struct device_attribute *devattr, char *buf) argument
810 set_pwm_auto(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
848 show_pwm_auto_temp(struct device *dev, struct device_attribute *devattr, char *buf) argument
871 set_pwm_auto_temp(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
908 show_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument
[all...]
H A Dda9052-hwmon.c76 struct device_attribute *devattr, char *buf)
108 struct device_attribute *devattr, char *buf)
122 struct device_attribute *devattr, char *buf)
130 struct device_attribute *devattr, char *buf)
143 struct device_attribute *devattr,
147 int channel = to_sensor_dev_attr(devattr)->index;
158 struct device_attribute *devattr, char *buf)
180 struct device_attribute *devattr, char *buf)
193 struct device_attribute *devattr, char *buf)
196 input_names[to_sensor_dev_attr(devattr)
75 da9052_read_vddout(struct device *dev, struct device_attribute *devattr, char *buf) argument
107 da9052_read_ich(struct device *dev, struct device_attribute *devattr, char *buf) argument
121 da9052_read_tbat(struct device *dev, struct device_attribute *devattr, char *buf) argument
129 da9052_read_vbat(struct device *dev, struct device_attribute *devattr, char *buf) argument
142 da9052_read_misc_channel(struct device *dev, struct device_attribute *devattr, char *buf) argument
157 da9052_read_tjunc(struct device *dev, struct device_attribute *devattr, char *buf) argument
179 da9052_read_vbbat(struct device *dev, struct device_attribute *devattr, char *buf) argument
192 show_label(struct device *dev, struct device_attribute *devattr, char *buf) argument
[all...]
H A Df71805f.c426 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 Dabx500.c124 static ssize_t show_name(struct device *dev, struct device_attribute *devattr, argument
129 return data->ops.show_name(dev, devattr, buf);
133 struct device_attribute *devattr, char *buf)
137 return data->ops.show_label(dev, devattr, buf);
141 struct device_attribute *devattr, char *buf)
145 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
156 static ssize_t set_min(struct device *dev, struct device_attribute *devattr, argument
161 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
176 static ssize_t set_max(struct device *dev, struct device_attribute *devattr, argument
181 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
132 show_label(struct device *dev, struct device_attribute *devattr, char *buf) argument
140 show_input(struct device *dev, struct device_attribute *devattr, char *buf) argument
196 set_max_hyst(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
218 show_min(struct device *dev, struct device_attribute *devattr, char *buf) argument
227 show_max(struct device *dev, struct device_attribute *devattr, char *buf) argument
236 show_max_hyst(struct device *dev, struct device_attribute *devattr, char *buf) argument
245 show_min_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument
254 show_max_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument
[all...]
H A Dmenf21bmc_hwmon.c104 show_label(struct device *dev, struct device_attribute *devattr, char *buf) argument
106 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
112 show_in(struct device *dev, struct device_attribute *devattr, char *buf) argument
114 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
124 show_min(struct device *dev, struct device_attribute *devattr, char *buf) argument
126 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
133 show_max(struct device *dev, struct device_attribute *devattr, char *buf) argument
135 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
H A Dpc87360.c259 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
655 show_therm_input(struct device *dev, struct device_attribute *devattr, char *buf) argument
663 show_therm_min(struct device *dev, struct device_attribute *devattr, char *buf) argument
671 show_therm_max(struct device *dev, struct device_attribute *devattr, char *buf) argument
679 show_therm_crit(struct device *dev, struct device_attribute *devattr, char *buf) argument
687 show_therm_status(struct device *dev, struct device_attribute *devattr, char *buf) argument
695 set_therm_min(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
716 set_therm_max(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
736 set_therm_crit(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
801 show_therm_min_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument
809 show_therm_max_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument
817 show_therm_crit_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument
871 show_temp_input(struct device *dev, struct device_attribute *devattr, char *buf) argument
879 show_temp_min(struct device *dev, struct device_attribute *devattr, char *buf) argument
887 show_temp_max(struct device *dev, struct device_attribute *devattr, char *buf) argument
895 show_temp_crit(struct device *dev, struct device_attribute *devattr, char *buf) argument
904 show_temp_status(struct device *dev, struct device_attribute *devattr, char *buf) argument
912 set_temp_min(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
933 set_temp_max(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
954 set_temp_crit(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1025 show_temp_min_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument
1034 show_temp_max_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument
1043 show_temp_crit_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument
1071 show_temp_fault(struct device *dev, struct device_attribute *devattr, char *buf) argument
1110 show_name(struct device *dev, struct device_attribute *devattr, char *buf) argument
[all...]
H A Di5k_amb.c117 static ssize_t show_name(struct device *dev, struct device_attribute *devattr, argument
140 struct device_attribute *devattr,
143 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
154 struct device_attribute *devattr,
158 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
174 struct device_attribute *devattr,
178 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
194 struct device_attribute *devattr,
198 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
214 struct device_attribute *devattr,
139 show_amb_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument
153 store_amb_min(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
173 store_amb_mid(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
193 store_amb_max(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
213 show_amb_min(struct device *dev, struct device_attribute *devattr, char *buf) argument
223 show_amb_mid(struct device *dev, struct device_attribute *devattr, char *buf) argument
233 show_amb_max(struct device *dev, struct device_attribute *devattr, char *buf) argument
243 show_amb_temp(struct device *dev, struct device_attribute *devattr, char *buf) argument
253 show_label(struct device *dev, struct device_attribute *devattr, char *buf) argument
[all...]
H A Dsch5627.c208 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 Dabituguru.c801 struct device_attribute *devattr, char *buf)
803 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr);
812 struct device_attribute *devattr, char *buf)
814 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr);
822 struct device_attribute *devattr, char *buf)
824 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr);
833 struct device_attribute *devattr, char *buf)
835 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr);
843 *devattr, const char *buf, size_t count)
845 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr);
800 show_bank1_value(struct device *dev, struct device_attribute *devattr, char *buf) argument
811 show_bank1_setting(struct device *dev, struct device_attribute *devattr, char *buf) argument
821 show_bank2_value(struct device *dev, struct device_attribute *devattr, char *buf) argument
832 show_bank2_setting(struct device *dev, struct device_attribute *devattr, char *buf) argument
842 store_bank1_setting(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
875 store_bank2_setting(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
910 show_bank1_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument
931 show_bank2_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument
944 show_bank1_mask(struct device *dev, struct device_attribute *devattr, char *buf) argument
955 show_bank2_mask(struct device *dev, struct device_attribute *devattr, char *buf) argument
966 store_bank1_mask(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
999 store_bank2_mask(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1033 show_pwm_setting(struct device *dev, struct device_attribute *devattr, char *buf) argument
1042 store_pwm_setting(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1092 show_pwm_sensor(struct device *dev, struct device_attribute *devattr, char *buf) argument
1110 store_pwm_sensor(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1145 show_pwm_enable(struct device *dev, struct device_attribute *devattr, char *buf) argument
1156 store_pwm_enable(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1194 show_name(struct device *dev, struct device_attribute *devattr, char *buf) argument
[all...]
H A Dpc87427.c388 *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
701 show_temp_input(struct device *dev, struct device_attribute *devattr, char *buf) argument
710 show_temp_min(struct device *dev, struct device_attribute *devattr, char *buf) argument
719 show_temp_max(struct device *dev, struct device_attribute *devattr, char *buf) argument
728 show_temp_crit(struct device *dev, struct device_attribute *devattr, char *buf) argument
737 show_temp_type(struct device *dev, struct device_attribute *devattr, char *buf) argument
746 show_temp_min_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument
756 show_temp_max_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument
766 show_temp_crit_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument
776 show_temp_fault(struct device *dev, struct device_attribute *devattr, char *buf) argument
946 show_name(struct device *dev, struct device_attribute *devattr, char *buf) argument
[all...]
H A Demc6w201.c192 static ssize_t show_in(struct device *dev, struct device_attribute *devattr, argument
196 int sf = to_sensor_dev_attr_2(devattr)->index;
197 int nr = to_sensor_dev_attr_2(devattr)->nr;
203 static ssize_t set_in(struct device *dev, struct device_attribute *devattr, argument
208 int sf = to_sensor_dev_attr_2(devattr)->index;
209 int nr = to_sensor_dev_attr_2(devattr)->nr;
230 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, argument
234 int sf = to_sensor_dev_attr_2(devattr)->index;
235 int nr = to_sensor_dev_attr_2(devattr)->nr;
240 static ssize_t set_temp(struct device *dev, struct device_attribute *devattr, argument
267 show_fan(struct device *dev, struct device_attribute *devattr, char *buf) argument
283 set_fan(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
[all...]
H A Dmc13783-adc.c44 *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 Dadm1021.c160 struct device_attribute *devattr, char *buf)
162 int index = to_sensor_dev_attr(devattr)->index;
169 struct device_attribute *devattr, char *buf)
171 int index = to_sensor_dev_attr(devattr)->index;
178 struct device_attribute *devattr, char *buf)
180 int index = to_sensor_dev_attr(devattr)->index;
203 struct device_attribute *devattr,
206 int index = to_sensor_dev_attr(devattr)->index;
229 struct device_attribute *devattr,
232 int index = to_sensor_dev_attr(devattr)
159 show_temp(struct device *dev, struct device_attribute *devattr, char *buf) argument
168 show_temp_max(struct device *dev, struct device_attribute *devattr, char *buf) argument
177 show_temp_min(struct device *dev, struct device_attribute *devattr, char *buf) argument
202 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
254 show_low_power(struct device *dev, struct device_attribute *devattr, char *buf) argument
261 set_low_power(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
[all...]
H A Dmax1668.c144 struct device_attribute *devattr, char *buf)
146 int index = to_sensor_dev_attr(devattr)->index;
156 struct device_attribute *devattr, char *buf)
158 int index = to_sensor_dev_attr(devattr)->index;
168 struct device_attribute *devattr, char *buf)
170 int index = to_sensor_dev_attr(devattr)->index;
192 struct device_attribute *devattr, char *buf)
194 int index = to_sensor_dev_attr(devattr)->index;
205 struct device_attribute *devattr,
208 int index = to_sensor_dev_attr(devattr)
143 show_temp(struct device *dev, struct device_attribute *devattr, char *buf) argument
155 show_temp_max(struct device *dev, struct device_attribute *devattr, char *buf) argument
167 show_temp_min(struct device *dev, struct device_attribute *devattr, char *buf) argument
191 show_fault(struct device *dev, struct device_attribute *devattr, char *buf) argument
204 set_temp_max(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
230 set_temp_min(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
[all...]
H A Dsch5636.c173 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 Dadt7462.c788 struct device_attribute *devattr,
791 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
801 struct device_attribute *devattr,
805 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
826 struct device_attribute *devattr,
829 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
839 struct device_attribute *devattr,
843 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
863 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, argument
866 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
787 show_temp_min(struct device *dev, struct device_attribute *devattr, char *buf) argument
800 set_temp_min(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
825 show_temp_max(struct device *dev, struct device_attribute *devattr, char *buf) argument
838 set_temp_max(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
877 show_temp_label(struct device *dev, struct device_attribute *devattr, char *buf) argument
887 show_volt_max(struct device *dev, struct device_attribute *devattr, char *buf) argument
901 set_volt_max(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
929 show_volt_min(struct device *dev, struct device_attribute *devattr, char *buf) argument
943 set_volt_min(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
971 show_voltage(struct device *dev, struct device_attribute *devattr, char *buf) argument
985 show_voltage_label(struct device *dev, struct device_attribute *devattr, char *buf) argument
995 show_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument
1015 show_fan_min(struct device *dev, struct device_attribute *devattr, char *buf) argument
1034 set_fan_min(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1060 show_fan(struct device *dev, struct device_attribute *devattr, char *buf) argument
1074 show_force_pwm_max(struct device *dev, struct device_attribute *devattr, char *buf) argument
1082 set_force_pwm_max(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1108 show_pwm(struct device *dev, struct device_attribute *devattr, char *buf) argument
1116 set_pwm(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1137 show_pwm_max(struct device *dev, struct device_attribute *devattr, char *buf) argument
1145 set_pwm_max(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1167 show_pwm_min(struct device *dev, struct device_attribute *devattr, char *buf) argument
1176 set_pwm_min(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1200 show_pwm_hyst(struct device *dev, struct device_attribute *devattr, char *buf) argument
1210 set_pwm_hyst(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1239 show_pwm_tmax(struct device *dev, struct device_attribute *devattr, char *buf) argument
1254 set_pwm_tmax(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1287 show_pwm_tmin(struct device *dev, struct device_attribute *devattr, char *buf) argument
1296 set_pwm_tmin(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1321 show_pwm_auto(struct device *dev, struct device_attribute *devattr, char *buf) argument
1353 set_pwm_auto(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
1378 show_pwm_auto_temp(struct device *dev, struct device_attribute *devattr, char *buf) argument
1412 set_pwm_auto_temp(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
[all...]
H A Dadm1029.c173 show_temp(struct device *dev, struct device_attribute *devattr, char *buf) argument
175 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
181 show_fan(struct device *dev, struct device_attribute *devattr, char *buf) argument
183 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
198 show_fan_div(struct device *dev, struct device_attribute *devattr, char *buf) argument
200 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
208 struct device_attribute *devattr, const char *buf, size_t count)
212 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
207 set_fan_div(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
H A Dlm92.c145 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 set_temp(struct device *dev, struct device_attribute *devattr, argument
157 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
176 struct device_attribute *devattr, char *buf)
178 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
193 struct device_attribute *devattr,
196 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
175 show_temp_hyst(struct device *dev, struct device_attribute *devattr, char *buf) argument
192 set_temp_hyst(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
H A Dad7418.c106 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, argument
109 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
115 static ssize_t show_adc(struct device *dev, struct device_attribute *devattr, argument
118 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
125 static ssize_t set_temp(struct device *dev, struct device_attribute *devattr, argument
128 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
H A Dadcxx.c61 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 Dadm9240.c269 static ssize_t show_max(struct device *dev, struct device_attribute *devattr, argument
272 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
277 static ssize_t set_max(struct device *dev, struct device_attribute *devattr, argument
280 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
305 static ssize_t show_in(struct device *dev, struct device_attribute *devattr, argument
308 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
315 struct device_attribute *devattr, char *buf)
317 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
324 struct device_attribute *devattr, char *buf)
326 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
314 show_in_min(struct device *dev, struct device_attribute *devattr, char *buf) argument
323 show_in_max(struct device *dev, struct device_attribute *devattr, char *buf) argument
332 set_in_min(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
354 set_in_max(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
392 show_fan(struct device *dev, struct device_attribute *devattr, char *buf) argument
401 show_fan_min(struct device *dev, struct device_attribute *devattr, char *buf) argument
410 show_fan_div(struct device *dev, struct device_attribute *devattr, char *buf) argument
429 set_fan_min(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
[all...]
H A Dsmsc47m1.c206 *devattr, char *buf)
208 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
225 *devattr, char *buf)
227 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
236 *devattr, char *buf)
238 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
244 *devattr, char *buf)
246 int bitnr = to_sensor_dev_attr(devattr)->index;
252 *devattr, char *buf)
254 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
205 get_fan(struct device *dev, struct device_attribute *devattr, char *buf) argument
224 get_fan_min(struct device *dev, struct device_attribute *devattr, char *buf) argument
235 get_fan_div(struct device *dev, struct device_attribute *devattr, char *buf) argument
243 get_fan_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument
251 get_pwm(struct device *dev, struct device_attribute *devattr, char *buf) argument
259 get_pwm_en(struct device *dev, struct device_attribute *devattr, char *buf) argument
267 get_alarms(struct device *dev, struct device_attribute *devattr, char *buf) argument
274 set_fan_min(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
310 set_fan_div(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
373 set_pwm(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
399 set_pwm_en(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
445 show_name(struct device *dev, struct device_attribute *devattr, char *buf) argument
[all...]
/drivers/misc/
H A Dics932s401.c161 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...]

Completed in 454 milliseconds

123