Home
last modified time | relevance | path

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

123

/linux/drivers/hwmon/
A Df71882fg.c297 *devattr, char *buf);
301 *devattr, char *buf);
305 *devattr, char *buf);
314 *devattr, char *buf);
318 *devattr, char *buf);
321 *devattr, char *buf);
323 *devattr, char *buf);
327 *devattr, char *buf);
331 *devattr, char *buf);
335 *devattr, char *buf);
[all …]
A Dpc87360.c277 struct device_attribute *devattr, in fan_min_store() argument
684 struct device_attribute *devattr, in therm_min_store() argument
725 struct device_attribute *devattr, in therm_crit_store() argument
781 struct device_attribute *devattr, in therm_min_alarm_show() argument
790 struct device_attribute *devattr, in therm_max_alarm_show() argument
799 struct device_attribute *devattr, in therm_crit_alarm_show() argument
886 struct device_attribute *devattr, in temp_min_store() argument
907 struct device_attribute *devattr, in temp_max_store() argument
990 struct device_attribute *devattr, in temp_min_alarm_show() argument
1000 struct device_attribute *devattr, in temp_max_alarm_show() argument
[all …]
A Df71805f.c430 *devattr, char *buf) in show_in0_max()
440 *devattr, char *buf) in show_in0_min()
502 *devattr, char *buf) in show_in_max()
512 *devattr, char *buf) in show_in_min()
574 *devattr, char *buf) in show_fan_min()
669 *devattr, char *buf) in show_pwm_freq()
679 *devattr, char *buf) in show_pwm_mode()
870 *devattr, char *buf) in show_temp_max()
959 *devattr, char *buf) in alarms_temp_show()
967 *devattr, char *buf) in show_alarm()
[all …]
A Dadt7462.c791 struct device_attribute *devattr, in temp_min_store() argument
827 struct device_attribute *devattr, in temp_max_store() argument
887 struct device_attribute *devattr, in volt_max_store() argument
927 struct device_attribute *devattr, in volt_min_store() argument
1013 struct device_attribute *devattr, in fan_min_store() argument
1060 struct device_attribute *devattr, in force_pwm_max_store() argument
1121 struct device_attribute *devattr, in pwm_max_store() argument
1150 struct device_attribute *devattr, in pwm_min_store() argument
1182 struct device_attribute *devattr, in pwm_hyst_store() argument
1224 struct device_attribute *devattr, in pwm_tmax_store() argument
[all …]
A Dpc87427.c391 int nr = to_sensor_dev_attr(devattr)->index; in fan_input_show()
400 int nr = to_sensor_dev_attr(devattr)->index; in fan_min_show()
409 int nr = to_sensor_dev_attr(devattr)->index; in fan_alarm_show()
419 int nr = to_sensor_dev_attr(devattr)->index; in fan_fault_show()
426 struct device_attribute *devattr, in fan_min_store() argument
430 int nr = to_sensor_dev_attr(devattr)->index; in fan_min_store()
578 struct device_attribute *devattr, in pwm_enable_store() argument
737 struct device_attribute *devattr, in temp_min_alarm_show() argument
748 struct device_attribute *devattr, in temp_max_alarm_show() argument
759 struct device_attribute *devattr, in temp_crit_alarm_show() argument
[all …]
A Di5k_amb.c127 struct device_attribute *devattr, in show_amb_alarm() argument
130 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_alarm()
141 struct device_attribute *devattr, in store_amb_min() argument
145 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in store_amb_min()
161 struct device_attribute *devattr, in store_amb_mid() argument
181 struct device_attribute *devattr, in store_amb_max() argument
201 struct device_attribute *devattr, in show_amb_min() argument
211 struct device_attribute *devattr, in show_amb_mid() argument
221 struct device_attribute *devattr, in show_amb_max() argument
231 struct device_attribute *devattr, in show_amb_temp() argument
[all …]
A Demc6w201.c183 int sf = to_sensor_dev_attr_2(devattr)->index; in in_show()
184 int nr = to_sensor_dev_attr_2(devattr)->nr; in in_show()
195 int sf = to_sensor_dev_attr_2(devattr)->index; in in_store()
196 int nr = to_sensor_dev_attr_2(devattr)->nr; in in_store()
222 int sf = to_sensor_dev_attr_2(devattr)->index; in temp_show()
223 int nr = to_sensor_dev_attr_2(devattr)->nr; in temp_show()
234 int sf = to_sensor_dev_attr_2(devattr)->index; in temp_store()
235 int nr = to_sensor_dev_attr_2(devattr)->nr; in temp_store()
261 int sf = to_sensor_dev_attr_2(devattr)->index; in fan_show()
262 int nr = to_sensor_dev_attr_2(devattr)->nr; in fan_show()
[all …]
A Dmc13783-adc.c32 static ssize_t name_show(struct device *dev, struct device_attribute *devattr, in name_show() argument
41 struct device_attribute *devattr, unsigned int *val) in mc13783_adc_read() argument
44 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in mc13783_adc_read()
67 struct device_attribute *devattr, in mc13783_adc_bp_show() argument
73 int ret = mc13783_adc_read(dev, devattr, &val); in mc13783_adc_bp_show()
91 struct device_attribute *devattr, in mc13783_adc_gp_show() argument
95 int ret = mc13783_adc_read(dev, devattr, &val); in mc13783_adc_gp_show()
110 struct device_attribute *devattr, in mc13783_adc_uid_show() argument
116 int ret = mc13783_adc_read(dev, devattr, &val); in mc13783_adc_uid_show()
132 struct device_attribute *devattr, in mc13783_adc_temp_show() argument
[all …]
A Dabituguru.c788 struct device_attribute *devattr, char *buf) in show_bank1_value() argument
799 struct device_attribute *devattr, char *buf) in show_bank1_setting() argument
809 struct device_attribute *devattr, char *buf) in show_bank2_value() argument
820 struct device_attribute *devattr, char *buf) in show_bank2_setting() argument
830 *devattr, const char *buf, size_t count) in store_bank1_setting()
863 *devattr, const char *buf, size_t count) in store_bank2_setting()
898 struct device_attribute *devattr, char *buf) in show_bank1_alarm() argument
919 struct device_attribute *devattr, char *buf) in show_bank2_alarm() argument
1030 *devattr, const char *buf, size_t count) in store_pwm_setting()
1098 *devattr, const char *buf, size_t count) in store_pwm_sensor()
[all …]
A Dsch5636.c166 struct device_attribute *devattr, char *buf) in in_value_show() argument
168 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_value_show()
182 struct device_attribute *devattr, char *buf) in in_label_show() argument
184 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_label_show()
191 struct device_attribute *devattr, char *buf) in temp_value_show() argument
193 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_value_show()
205 struct device_attribute *devattr, char *buf) in temp_fault_show() argument
219 struct device_attribute *devattr, char *buf) in temp_alarm_show() argument
233 struct device_attribute *devattr, char *buf) in fan_value_show() argument
250 struct device_attribute *devattr, char *buf) in fan_fault_show() argument
[all …]
A Dsmsc47m1.c200 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_show()
217 struct device_attribute *devattr, char *buf) in fan_min_show() argument
228 struct device_attribute *devattr, char *buf) in fan_div_show() argument
236 struct device_attribute *devattr, char *buf) in fan_alarm_show() argument
238 int bitnr = to_sensor_dev_attr(devattr)->index; in fan_alarm_show()
252 struct device_attribute *devattr, char *buf) in pwm_en_show() argument
260 struct device_attribute *devattr, char *buf) in alarms_show() argument
267 struct device_attribute *devattr, in fan_min_store() argument
304 struct device_attribute *devattr, in fan_div_store() argument
396 struct device_attribute *devattr, const char *buf, in pwm_en_store() argument
[all …]
A Dw83627hf.c479 int nr = to_sensor_dev_attr(devattr)->index; in in_input_show()
486 int nr = to_sensor_dev_attr(devattr)->index; in in_min_show()
493 int nr = to_sensor_dev_attr(devattr)->index; in in_max_show()
501 int nr = to_sensor_dev_attr(devattr)->index; in in_min_store()
520 int nr = to_sensor_dev_attr(devattr)->index; in in_max_store()
668 int nr = to_sensor_dev_attr(devattr)->index; in fan_input_show()
676 int nr = to_sensor_dev_attr(devattr)->index; in fan_min_show()
685 int nr = to_sensor_dev_attr(devattr)->index; in fan_min_store()
713 int nr = to_sensor_dev_attr(devattr)->index; in temp_show()
724 int nr = to_sensor_dev_attr(devattr)->index; in temp_max_show()
[all …]
A Dfschmd.c324 int index = to_sensor_dev_attr(devattr)->index; in in_value_show()
341 int index = to_sensor_dev_attr(devattr)->index; in temp_value_show()
350 int index = to_sensor_dev_attr(devattr)->index; in temp_max_show()
357 struct device_attribute *devattr, in temp_max_store() argument
360 int index = to_sensor_dev_attr(devattr)->index; in temp_max_store()
383 int index = to_sensor_dev_attr(devattr)->index; in temp_fault_show()
396 int index = to_sensor_dev_attr(devattr)->index; in temp_alarm_show()
429 struct device_attribute *devattr, in fan_div_store() argument
505 struct device_attribute *devattr, in pwm_auto_point1_pwm_show() argument
520 struct device_attribute *devattr, in pwm_auto_point1_pwm_store() argument
[all …]
A Dmenf21bmc_hwmon.c100 label_show(struct device *dev, struct device_attribute *devattr, char *buf) in label_show() argument
102 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in label_show()
108 in_show(struct device *dev, struct device_attribute *devattr, char *buf) in in_show() argument
110 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_show()
120 min_show(struct device *dev, struct device_attribute *devattr, char *buf) in min_show() argument
122 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in min_show()
129 max_show(struct device *dev, struct device_attribute *devattr, char *buf) in max_show() argument
131 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in max_show()
A Dadm1021.c149 int index = to_sensor_dev_attr(devattr)->index; in temp_show()
156 struct device_attribute *devattr, char *buf) in temp_max_show() argument
158 int index = to_sensor_dev_attr(devattr)->index; in temp_max_show()
165 struct device_attribute *devattr, char *buf) in temp_min_show() argument
167 int index = to_sensor_dev_attr(devattr)->index; in temp_min_show()
190 struct device_attribute *devattr, in temp_max_store() argument
193 int index = to_sensor_dev_attr(devattr)->index; in temp_max_store()
216 struct device_attribute *devattr, in temp_min_store() argument
219 int index = to_sensor_dev_attr(devattr)->index; in temp_min_store()
242 struct device_attribute *devattr, char *buf) in low_power_show() argument
[all …]
A Dmax1668.c131 struct device_attribute *devattr, char *buf) in show_temp() argument
133 int index = to_sensor_dev_attr(devattr)->index; in show_temp()
143 struct device_attribute *devattr, char *buf) in show_temp_max() argument
145 int index = to_sensor_dev_attr(devattr)->index; in show_temp_max()
157 int index = to_sensor_dev_attr(devattr)->index; in show_temp_min()
179 struct device_attribute *devattr, char *buf) in show_fault() argument
181 int index = to_sensor_dev_attr(devattr)->index; in show_fault()
192 struct device_attribute *devattr, in set_temp_max() argument
195 int index = to_sensor_dev_attr(devattr)->index; in set_temp_max()
218 struct device_attribute *devattr, in set_temp_min() argument
[all …]
A Dda9052-hwmon.c86 struct device_attribute *devattr, char *buf) in da9052_vddout_show() argument
118 struct device_attribute *devattr, char *buf) in da9052_ich_show() argument
132 struct device_attribute *devattr, char *buf) in da9052_tbat_show() argument
140 struct device_attribute *devattr, char *buf) in da9052_vbat_show() argument
153 struct device_attribute *devattr, in da9052_misc_channel_show() argument
157 int channel = to_sensor_dev_attr(devattr)->index; in da9052_misc_channel_show()
241 struct device_attribute *devattr, char *buf) in da9052_tsi_show() argument
244 int channel = to_sensor_dev_attr(devattr)->index; in da9052_tsi_show()
258 struct device_attribute *devattr, char *buf) in da9052_tjunc_show() argument
280 struct device_attribute *devattr, char *buf) in da9052_vbbat_show() argument
[all …]
A Dadt7470.c473 struct device_attribute *devattr, in auto_update_interval_show() argument
485 struct device_attribute *devattr, in auto_update_interval_store() argument
504 struct device_attribute *devattr, in num_temp_sensors_show() argument
516 struct device_attribute *devattr, in num_temp_sensors_store() argument
603 struct device_attribute *devattr, in alarm_mask_store() argument
689 struct device_attribute *devattr, char *buf) in force_pwm_max_show() argument
700 struct device_attribute *devattr, in force_pwm_max_store() argument
866 struct device_attribute *devattr, in pwm_max_store() argument
901 struct device_attribute *devattr, in pwm_min_store() argument
949 struct device_attribute *devattr, in pwm_tmin_store() argument
[all …]
A Dlm92.c137 static ssize_t temp_show(struct device *dev, struct device_attribute *devattr, in temp_show() argument
140 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_show()
147 struct device_attribute *devattr, const char *buf, in temp_store() argument
150 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_store()
169 struct device_attribute *devattr, char *buf) in temp_hyst_show() argument
171 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_hyst_show()
188 struct device_attribute *devattr, in temp_hyst_store() argument
191 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_hyst_store()
A Dtmp401.c278 int nr = to_sensor_dev_attr_2(devattr)->nr; in temp_show()
279 int index = to_sensor_dev_attr_2(devattr)->index; in temp_show()
290 struct device_attribute *devattr, in temp_crit_hyst_show() argument
293 int temp, index = to_sensor_dev_attr(devattr)->index; in temp_crit_hyst_show()
308 struct device_attribute *devattr, char *buf) in status_show() argument
310 int nr = to_sensor_dev_attr_2(devattr)->nr; in status_show()
311 int mask = to_sensor_dev_attr_2(devattr)->index; in status_show()
324 int nr = to_sensor_dev_attr_2(devattr)->nr; in temp_store()
325 int index = to_sensor_dev_attr_2(devattr)->index; in temp_store()
355 struct device_attribute *devattr, in temp_crit_hyst_store() argument
[all …]
A Damc6821.c271 int ix = to_sensor_dev_attr(devattr)->index; in temp_show()
303 int ix = to_sensor_dev_attr(devattr)->index; in temp_alarm_show()
336 struct device_attribute *devattr, char *buf) in temp2_fault_show() argument
371 struct device_attribute *devattr, char *buf) in pwm1_enable_show() argument
425 struct device_attribute *devattr, in pwm1_auto_channels_temp_show() argument
433 struct device_attribute *devattr, in temp_auto_point_temp_show() argument
436 int ix = to_sensor_dev_attr_2(devattr)->index; in temp_auto_point_temp_show()
437 int nr = to_sensor_dev_attr_2(devattr)->nr; in temp_auto_point_temp_show()
453 struct device_attribute *devattr, in pwm1_auto_point_pwm_show() argument
456 int ix = to_sensor_dev_attr(devattr)->index; in pwm1_auto_point_pwm_show()
[all …]
A Dftsteutates.c346 struct device_attribute *devattr, char *buf) in in_value_show() argument
349 int index = to_sensor_dev_attr(devattr)->index; in in_value_show()
363 int index = to_sensor_dev_attr(devattr)->index; in temp_value_show()
377 int index = to_sensor_dev_attr(devattr)->index; in temp_fault_show()
392 int index = to_sensor_dev_attr(devattr)->index; in temp_alarm_show()
407 int index = to_sensor_dev_attr(devattr)->index; in temp_alarm_store()
435 struct device_attribute *devattr, char *buf) in fan_value_show() argument
438 int index = to_sensor_dev_attr(devattr)->index; in fan_value_show()
452 int index = to_sensor_dev_attr(devattr)->index; in fan_source_show()
466 int index = to_sensor_dev_attr(devattr)->index; in fan_alarm_show()
[all …]
A Dadm1029.c159 temp_show(struct device *dev, struct device_attribute *devattr, char *buf) in temp_show() argument
161 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_show()
168 fan_show(struct device *dev, struct device_attribute *devattr, char *buf) in fan_show() argument
170 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_show()
186 fan_div_show(struct device *dev, struct device_attribute *devattr, char *buf) in fan_div_show() argument
188 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_div_show()
197 struct device_attribute *devattr, in fan_div_store() argument
202 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_div_store()
/linux/drivers/misc/
A Dics932s401.c150 struct device_attribute *devattr, in show_spread_enabled() argument
197 struct device_attribute *devattr, in show_cpu_clock() argument
206 struct device_attribute *devattr, in show_cpu_clock_sel() argument
263 struct device_attribute *devattr, in show_src_clock_sel() argument
311 struct device_attribute *devattr, in show_pci_clock_sel() argument
326 struct device_attribute *devattr,
330 struct device_attribute *devattr,
361 struct device_attribute *devattr, in show_value() argument
366 if (devattr == &dev_attr_usb_clock) in show_value()
377 struct device_attribute *devattr, in show_spread() argument
[all …]
/linux/drivers/hwmon/pmbus/
A Dinspur-ipsps.c54 struct device_attribute *devattr, in ipsps_string_show() argument
62 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in ipsps_string_show()
77 struct device_attribute *devattr, in ipsps_fw_version_show() argument
84 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in ipsps_fw_version_show()
100 struct device_attribute *devattr, char *buf) in ipsps_mode_show() argument
105 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in ipsps_mode_show()
131 struct device_attribute *devattr, in ipsps_mode_store() argument
137 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in ipsps_mode_store()

Completed in 63 milliseconds

123