Home
last modified time | relevance | path

Searched defs:devattr (Results 1 – 25 of 68) sorted by relevance

123

/openbmc/linux/drivers/hwmon/
H A Df71805f.c449 static ssize_t set_in0_max(struct device *dev, struct device_attribute in set_in0_max()
470 static ssize_t set_in0_min(struct device *dev, struct device_attribute in set_in0_min()
501 static ssize_t show_in_max(struct device *dev, struct device_attribute in show_in_max()
511 static ssize_t show_in_min(struct device *dev, struct device_attribute in show_in_min()
521 static ssize_t set_in_max(struct device *dev, struct device_attribute in set_in_max()
542 static ssize_t set_in_min(struct device *dev, struct device_attribute in set_in_min()
786 struct device_attribute *devattr, in show_pwm_auto_point_temp()
799 struct device_attribute *devattr, in set_pwm_auto_point_temp()
823 struct device_attribute *devattr, in show_pwm_auto_point_fan()
836 struct device_attribute *devattr, in set_pwm_auto_point_fan()
[all …]
H A Dpc87360.c711 struct device_attribute *devattr, in therm_min_store()
783 struct device_attribute *devattr, in therm_crit_store()
814 struct device_attribute *devattr, in therm_min_alarm_show()
830 struct device_attribute *devattr, in therm_max_alarm_show()
846 struct device_attribute *devattr, in therm_crit_alarm_show()
918 struct device_attribute *devattr, in temp_min_store()
953 struct device_attribute *devattr, in temp_max_store()
1021 struct device_attribute *devattr, in temp_min_alarm_show()
1037 struct device_attribute *devattr, in temp_max_alarm_show()
1053 struct device_attribute *devattr, in temp_crit_alarm_show()
[all …]
H A Df71882fg.c1054 struct device_attribute *devattr, in store_fan_full_speed()
1245 struct device_attribute *devattr, in store_pwm_interpolate()
1328 struct device_attribute *devattr, in store_simple_pwm()
1406 struct device_attribute *devattr, in show_pwm_auto_point_channel()
1420 struct device_attribute *devattr, in store_pwm_auto_point_channel()
1457 struct device_attribute *devattr, in show_pwm_auto_point_pwm()
1479 struct device_attribute *devattr, in store_pwm_auto_point_pwm()
1512 struct device_attribute *devattr, in show_pwm_auto_point_temp()
1525 struct device_attribute *devattr, in store_pwm_auto_point_temp()
1553 struct device_attribute *devattr, in show_pwm_auto_point_temp_hyst()
[all …]
H A Dadt7462.c791 struct device_attribute *devattr, in temp_min_store()
827 struct device_attribute *devattr, in temp_max_store()
887 struct device_attribute *devattr, in volt_max_store()
927 struct device_attribute *devattr, in volt_min_store()
1013 struct device_attribute *devattr, in fan_min_store()
1060 struct device_attribute *devattr, in force_pwm_max_store()
1121 struct device_attribute *devattr, in pwm_max_store()
1150 struct device_attribute *devattr, in pwm_min_store()
1182 struct device_attribute *devattr, in pwm_hyst_store()
1224 struct device_attribute *devattr, in pwm_tmax_store()
[all …]
H A Dda9052-hwmon.c86 struct device_attribute *devattr, char *buf) in da9052_vddout_show()
118 struct device_attribute *devattr, char *buf) in da9052_ich_show()
132 struct device_attribute *devattr, char *buf) in da9052_tbat_show()
140 struct device_attribute *devattr, char *buf) in da9052_vbat_show()
153 struct device_attribute *devattr, in da9052_misc_channel_show()
241 struct device_attribute *devattr, char *buf) in da9052_tsi_show()
258 struct device_attribute *devattr, char *buf) in da9052_tjunc_show()
280 struct device_attribute *devattr, char *buf) in da9052_vbbat_show()
293 struct device_attribute *devattr, char *buf) in label_show()
H A Dabituguru.c788 struct device_attribute *devattr, char *buf) in show_bank1_value()
799 struct device_attribute *devattr, char *buf) in show_bank1_setting()
809 struct device_attribute *devattr, char *buf) in show_bank2_value()
820 struct device_attribute *devattr, char *buf) in show_bank2_setting()
898 struct device_attribute *devattr, char *buf) in show_bank1_alarm()
919 struct device_attribute *devattr, char *buf) in show_bank2_alarm()
932 struct device_attribute *devattr, char *buf) in show_bank1_mask()
943 struct device_attribute *devattr, char *buf) in show_bank2_mask()
1021 struct device_attribute *devattr, char *buf) in show_pwm_setting()
1080 struct device_attribute *devattr, char *buf) in show_pwm_sensor()
[all …]
H A Dsch5636.c160 static ssize_t name_show(struct device *dev, struct device_attribute *devattr, in name_show()
167 struct device_attribute *devattr, char *buf) in in_value_show()
183 struct device_attribute *devattr, char *buf) in in_label_show()
192 struct device_attribute *devattr, char *buf) in temp_value_show()
206 struct device_attribute *devattr, char *buf) in temp_fault_show()
220 struct device_attribute *devattr, char *buf) in temp_alarm_show()
234 struct device_attribute *devattr, char *buf) in fan_value_show()
251 struct device_attribute *devattr, char *buf) in fan_fault_show()
265 struct device_attribute *devattr, char *buf) in fan_alarm_show()
H A Dmc13783-adc.c32 static ssize_t name_show(struct device *dev, struct device_attribute *devattr, in name_show()
41 struct device_attribute *devattr, unsigned int *val) in mc13783_adc_read()
67 struct device_attribute *devattr, in mc13783_adc_bp_show()
91 struct device_attribute *devattr, in mc13783_adc_gp_show()
110 struct device_attribute *devattr, in mc13783_adc_uid_show()
132 struct device_attribute *devattr, in mc13783_adc_temp_show()
H A Dadcxx.c48 struct device_attribute *devattr, char *buf) in adcxx_show()
85 struct device_attribute *devattr, char *buf) in adcxx_min_show()
92 struct device_attribute *devattr, char *buf) in adcxx_max_show()
109 struct device_attribute *devattr, in adcxx_max_store()
130 struct device_attribute *devattr, char *buf) in adcxx_name_show()
H A Dpc87427.c388 struct device_attribute *devattr, char *buf) in fan_input_show()
397 struct device_attribute *devattr, char *buf) in fan_min_show()
406 struct device_attribute *devattr, char *buf) in fan_alarm_show()
416 struct device_attribute *devattr, char *buf) in fan_fault_show()
426 struct device_attribute *devattr, in fan_min_store()
578 struct device_attribute *devattr, in pwm_enable_store()
701 struct device_attribute *devattr, char *buf) in temp_min_show()
710 struct device_attribute *devattr, char *buf) in temp_max_show()
737 struct device_attribute *devattr, in temp_min_alarm_show()
748 struct device_attribute *devattr, in temp_max_alarm_show()
[all …]
H A Di5k_amb.c104 static ssize_t name_show(struct device *dev, struct device_attribute *devattr, in name_show()
127 struct device_attribute *devattr, in show_amb_alarm()
141 struct device_attribute *devattr, in store_amb_min()
161 struct device_attribute *devattr, in store_amb_mid()
181 struct device_attribute *devattr, in store_amb_max()
201 struct device_attribute *devattr, in show_amb_min()
211 struct device_attribute *devattr, in show_amb_mid()
221 struct device_attribute *devattr, in show_amb_max()
231 struct device_attribute *devattr, in show_amb_temp()
241 struct device_attribute *devattr, in show_label()
H A Dfschmd.c321 struct device_attribute *devattr, char *buf) in in_value_show()
348 struct device_attribute *devattr, char *buf) in temp_max_show()
357 struct device_attribute *devattr, in temp_max_store()
410 struct device_attribute *devattr, char *buf) in fan_value_show()
419 struct device_attribute *devattr, char *buf) in fan_div_show()
429 struct device_attribute *devattr, in fan_div_store()
480 struct device_attribute *devattr, char *buf) in fan_alarm_show()
492 struct device_attribute *devattr, char *buf) in fan_fault_show()
505 struct device_attribute *devattr, in pwm_auto_point1_pwm_show()
520 struct device_attribute *devattr, in pwm_auto_point1_pwm_store()
[all …]
H A Dw83627hf.c1023 in_min_store(struct device *dev, struct device_attribute *devattr, in in_min_store()
1051 in_max_store(struct device *dev, struct device_attribute *devattr, in in_max_store()
1096 fan_input_show(struct device *dev, struct device_attribute *devattr, in fan_input_show()
1115 fan_min_store(struct device *dev, struct device_attribute *devattr, in fan_min_store()
1159 fan_div_store(struct device *dev, struct device_attribute *devattr, in fan_div_store()
1226 temp_max_store(struct device *dev, struct device_attribute *devattr, in temp_max_store()
1292 temp_type_show(struct device *dev, struct device_attribute *devattr, in temp_type_show()
1301 temp_type_store(struct device *dev, struct device_attribute *devattr, in temp_type_store()
1437 pwm_store(struct device *dev, struct device_attribute *devattr, in pwm_store()
1530 pwm_freq_store(struct device *dev, struct device_attribute *devattr, in pwm_freq_store()
[all …]
H A Dsmsc47m1.c197 static ssize_t fan_show(struct device *dev, struct device_attribute *devattr, in fan_show()
217 struct device_attribute *devattr, char *buf) in fan_min_show()
228 struct device_attribute *devattr, char *buf) in fan_div_show()
236 struct device_attribute *devattr, char *buf) in fan_alarm_show()
243 static ssize_t pwm_show(struct device *dev, struct device_attribute *devattr, in pwm_show()
252 struct device_attribute *devattr, char *buf) in pwm_en_show()
260 struct device_attribute *devattr, char *buf) in alarms_show()
267 struct device_attribute *devattr, in fan_min_store()
304 struct device_attribute *devattr, in fan_div_store()
396 struct device_attribute *devattr, const char *buf, in pwm_en_store()
[all …]
H A Dadt7470.c473 struct device_attribute *devattr, in auto_update_interval_show()
485 struct device_attribute *devattr, in auto_update_interval_store()
504 struct device_attribute *devattr, in num_temp_sensors_show()
516 struct device_attribute *devattr, in num_temp_sensors_store()
603 struct device_attribute *devattr, in alarm_mask_store()
692 struct device_attribute *devattr, char *buf) in force_pwm_max_show()
703 struct device_attribute *devattr, in force_pwm_max_store()
869 struct device_attribute *devattr, in pwm_max_store()
904 struct device_attribute *devattr, in pwm_min_store()
952 struct device_attribute *devattr, in pwm_tmin_store()
[all …]
H A Damc6821.c267 static ssize_t temp_show(struct device *dev, struct device_attribute *devattr, in temp_show()
300 struct device_attribute *devattr, char *buf) in temp_alarm_show()
336 struct device_attribute *devattr, char *buf) in temp2_fault_show()
345 static ssize_t pwm1_show(struct device *dev, struct device_attribute *devattr, in pwm1_show()
353 struct device_attribute *devattr, const char *buf, in pwm1_store()
371 struct device_attribute *devattr, char *buf) in pwm1_enable_show()
425 struct device_attribute *devattr, in pwm1_auto_channels_temp_show()
433 struct device_attribute *devattr, in temp_auto_point_temp_show()
453 struct device_attribute *devattr, in pwm1_auto_point_pwm_show()
603 struct device_attribute *devattr, char *buf) in fan1_fault_show()
[all …]
H A Dmax1668.c131 struct device_attribute *devattr, char *buf) in show_temp()
143 struct device_attribute *devattr, char *buf) in show_temp_max()
155 struct device_attribute *devattr, char *buf) in show_temp_min()
179 struct device_attribute *devattr, char *buf) in show_fault()
192 struct device_attribute *devattr, in set_temp_max()
218 struct device_attribute *devattr, in set_temp_min()
H A Dadm1021.c146 static ssize_t temp_show(struct device *dev, struct device_attribute *devattr, in temp_show()
156 struct device_attribute *devattr, char *buf) in temp_max_show()
165 struct device_attribute *devattr, char *buf) in temp_min_show()
190 struct device_attribute *devattr, in temp_max_store()
216 struct device_attribute *devattr, in temp_min_store()
242 struct device_attribute *devattr, char *buf) in low_power_show()
249 struct device_attribute *devattr, in low_power_store()
H A Dmenf21bmc_hwmon.c100 label_show(struct device *dev, struct device_attribute *devattr, char *buf) in label_show()
108 in_show(struct device *dev, struct device_attribute *devattr, char *buf) in in_show()
120 min_show(struct device *dev, struct device_attribute *devattr, char *buf) in min_show()
129 max_show(struct device *dev, struct device_attribute *devattr, char *buf) in max_show()
H A Demc6w201.c179 static ssize_t in_show(struct device *dev, struct device_attribute *devattr, in in_show()
190 static ssize_t in_store(struct device *dev, struct device_attribute *devattr, in in_store()
218 static ssize_t temp_show(struct device *dev, struct device_attribute *devattr, in temp_show()
229 struct device_attribute *devattr, const char *buf, in temp_store()
257 static ssize_t fan_show(struct device *dev, struct device_attribute *devattr, in fan_show()
273 static ssize_t fan_store(struct device *dev, struct device_attribute *devattr, in fan_store()
H A Dacpi_power_meter.c127 struct device_attribute *devattr, in show_avg_interval()
141 struct device_attribute *devattr, in set_avg_interval()
201 struct device_attribute *devattr, in show_cap()
214 static ssize_t set_cap(struct device *dev, struct device_attribute *devattr, in set_cap()
289 static ssize_t set_trip(struct device *dev, struct device_attribute *devattr, in set_trip()
342 struct device_attribute *devattr, in show_power()
360 struct device_attribute *devattr, in show_str()
392 struct device_attribute *devattr, in show_val()
448 struct device_attribute *devattr, in show_accuracy()
459 struct device_attribute *devattr, in show_name()
H A Dadm1029.c159 temp_show(struct device *dev, struct device_attribute *devattr, char *buf) in temp_show()
168 fan_show(struct device *dev, struct device_attribute *devattr, char *buf) in fan_show()
186 fan_div_show(struct device *dev, struct device_attribute *devattr, char *buf) in fan_div_show()
197 struct device_attribute *devattr, in fan_div_store()
H A Dlm63.c331 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, in show_fan()
361 static ssize_t show_pwm1(struct device *dev, struct device_attribute *devattr, in show_pwm1()
379 static ssize_t set_pwm1(struct device *dev, struct device_attribute *devattr, in set_pwm1()
457 struct device_attribute *devattr, in show_local_temp8()
466 struct device_attribute *devattr, in show_remote_temp8()
476 struct device_attribute *devattr, in show_lut_temp()
485 static ssize_t set_temp8(struct device *dev, struct device_attribute *devattr, in set_temp8()
524 static ssize_t show_temp11(struct device *dev, struct device_attribute *devattr, in show_temp11()
550 static ssize_t set_temp11(struct device *dev, struct device_attribute *devattr, in set_temp11()
601 struct device_attribute *devattr, char *buf) in show_lut_temp_hyst()
[all …]
/openbmc/linux/drivers/misc/
H A Dics932s401.c149 struct device_attribute *devattr, in show_spread_enabled()
196 struct device_attribute *devattr, in show_cpu_clock()
205 struct device_attribute *devattr, in show_cpu_clock_sel()
253 struct device_attribute *devattr, in show_src_clock()
262 struct device_attribute *devattr, in show_src_clock_sel()
301 struct device_attribute *devattr, in show_pci_clock()
310 struct device_attribute *devattr, in show_pci_clock_sel()
360 struct device_attribute *devattr, in show_value()
376 struct device_attribute *devattr, in show_spread()
/openbmc/linux/drivers/hwmon/pmbus/
H A Dinspur-ipsps.c54 struct device_attribute *devattr, in ipsps_string_show()
77 struct device_attribute *devattr, in ipsps_fw_version_show()
100 struct device_attribute *devattr, char *buf) in ipsps_mode_show()
131 struct device_attribute *devattr, in ipsps_mode_store()

123