Home
last modified time | relevance | path

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

123

/linux-6.1.9/drivers/hwmon/
Dpc87360.c403 struct device_attribute *devattr, char *buf) in in_input_show() argument
405 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_input_show()
426 struct device_attribute *devattr, char *buf) in in_status_show() argument
428 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_status_show()
448 struct device_attribute *devattr, char *buf) in in_min_show() argument
450 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_min_show()
457 struct device_attribute *devattr, const char *buf, in in_min_store() argument
460 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_min_store()
492 struct device_attribute *devattr, char *buf) in in_max_show() argument
494 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_max_show()
[all …]
Df71805f.c419 static ssize_t show_in0(struct device *dev, struct device_attribute *devattr, in show_in0() argument
423 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in0()
430 *devattr, char *buf) in show_in0_max()
433 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in0_max()
440 *devattr, char *buf) in show_in0_min()
443 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in0_min()
450 *devattr, const char *buf, size_t count) in set_in0_max()
453 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_in0_max()
471 *devattr, const char *buf, size_t count) in set_in0_min()
474 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_in0_min()
[all …]
Dadt7462.c779 struct device_attribute *devattr, char *buf) in temp_min_show() argument
781 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_min_show()
791 struct device_attribute *devattr, in temp_min_store() argument
794 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_min_store()
815 struct device_attribute *devattr, char *buf) in temp_max_show() argument
817 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_max_show()
827 struct device_attribute *devattr, in temp_max_store() argument
830 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_max_store()
850 static ssize_t temp_show(struct device *dev, struct device_attribute *devattr, in temp_show() argument
853 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_show()
[all …]
Df71882fg.c513 static ssize_t name_show(struct device *dev, struct device_attribute *devattr, in name_show() argument
522 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, in show_temp() argument
526 int nr = to_sensor_dev_attr_2(devattr)->index; in show_temp()
549 *devattr, char *buf) in show_temp_max()
552 int nr = to_sensor_dev_attr_2(devattr)->index; in show_temp_max()
558 *devattr, const char *buf, size_t count) in store_temp_max()
561 int err, nr = to_sensor_dev_attr_2(devattr)->index; in store_temp_max()
580 *devattr, char *buf) in show_temp_max_hyst()
583 int nr = to_sensor_dev_attr_2(devattr)->index; in show_temp_max_hyst()
598 *devattr, const char *buf, size_t count) in store_temp_max_hyst()
[all …]
Dpc87427.c388 struct device_attribute *devattr, char *buf) in fan_input_show() argument
391 int nr = to_sensor_dev_attr(devattr)->index; in fan_input_show()
397 struct device_attribute *devattr, char *buf) in fan_min_show() argument
400 int nr = to_sensor_dev_attr(devattr)->index; in fan_min_show()
406 struct device_attribute *devattr, char *buf) in fan_alarm_show() argument
409 int nr = to_sensor_dev_attr(devattr)->index; in fan_alarm_show()
416 struct device_attribute *devattr, char *buf) in fan_fault_show() argument
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()
[all …]
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 …]
Demc6w201.c179 static ssize_t in_show(struct device *dev, struct device_attribute *devattr, in in_show() argument
183 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()
190 static ssize_t in_store(struct device *dev, struct device_attribute *devattr, in in_store() argument
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()
218 static ssize_t temp_show(struct device *dev, struct device_attribute *devattr, in temp_show() argument
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()
229 struct device_attribute *devattr, const char *buf, in temp_store() argument
[all …]
Di5k_amb.c104 static ssize_t name_show(struct device *dev, struct device_attribute *devattr, in name_show() argument
127 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
165 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in store_amb_mid()
181 struct device_attribute *devattr, in store_amb_max() argument
185 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in store_amb_max()
201 struct device_attribute *devattr, in show_amb_min() argument
[all …]
Dsch5636.c160 static ssize_t name_show(struct device *dev, struct device_attribute *devattr, in name_show() argument
167 struct device_attribute *devattr, char *buf) in in_value_show() argument
169 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_value_show()
183 struct device_attribute *devattr, char *buf) in in_label_show() argument
185 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_label_show()
192 struct device_attribute *devattr, char *buf) in temp_value_show() argument
194 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_value_show()
206 struct device_attribute *devattr, char *buf) in temp_fault_show() argument
208 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_fault_show()
220 struct device_attribute *devattr, char *buf) in temp_alarm_show() argument
[all …]
Dabituguru.c788 struct device_attribute *devattr, char *buf) in show_bank1_value() argument
790 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in show_bank1_value()
799 struct device_attribute *devattr, char *buf) in show_bank1_setting() argument
801 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in show_bank1_setting()
809 struct device_attribute *devattr, char *buf) in show_bank2_value() argument
811 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in show_bank2_value()
820 struct device_attribute *devattr, char *buf) in show_bank2_setting() argument
822 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in show_bank2_setting()
830 *devattr, const char *buf, size_t count) in store_bank1_setting()
832 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in store_bank1_setting()
[all …]
Dsmsc47m1.c197 static ssize_t fan_show(struct device *dev, struct device_attribute *devattr, in fan_show() argument
200 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
219 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_min_show()
228 struct device_attribute *devattr, char *buf) in fan_div_show() argument
230 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_div_show()
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()
243 static ssize_t pwm_show(struct device *dev, struct device_attribute *devattr, in pwm_show() argument
246 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_show()
[all …]
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()
Dw83627hf.c1007 in_input_show(struct device *dev, struct device_attribute *devattr, char *buf) in in_input_show() argument
1009 int nr = to_sensor_dev_attr(devattr)->index; in in_input_show()
1015 in_min_show(struct device *dev, struct device_attribute *devattr, char *buf) in in_min_show() argument
1017 int nr = to_sensor_dev_attr(devattr)->index; in in_min_show()
1023 in_min_store(struct device *dev, struct device_attribute *devattr, in in_min_store() argument
1026 int nr = to_sensor_dev_attr(devattr)->index; in in_min_store()
1043 in_max_show(struct device *dev, struct device_attribute *devattr, char *buf) in in_max_show() argument
1045 int nr = to_sensor_dev_attr(devattr)->index; in in_max_show()
1051 in_max_store(struct device *dev, struct device_attribute *devattr, in in_max_store() argument
1054 int nr = to_sensor_dev_attr(devattr)->index; in in_max_store()
[all …]
Dfschmd.c321 struct device_attribute *devattr, char *buf) in in_value_show() argument
324 int index = to_sensor_dev_attr(devattr)->index; in in_value_show()
339 struct device_attribute *devattr, char *buf) in temp_value_show() argument
341 int index = to_sensor_dev_attr(devattr)->index; in temp_value_show()
348 struct device_attribute *devattr, char *buf) in temp_max_show() argument
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()
381 struct device_attribute *devattr, char *buf) in temp_fault_show() argument
383 int index = to_sensor_dev_attr(devattr)->index; in temp_fault_show()
[all …]
Dadm1021.c146 static ssize_t temp_show(struct device *dev, struct device_attribute *devattr, in temp_show() argument
149 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()
[all …]
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 …]
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()
155 struct device_attribute *devattr, char *buf) in show_temp_min() argument
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()
[all …]
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()
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
592 struct device_attribute *devattr, char *buf) in alarm_mask_show() argument
603 struct device_attribute *devattr, in alarm_mask_store() argument
692 struct device_attribute *devattr, char *buf) in force_pwm_max_show() argument
703 struct device_attribute *devattr, in force_pwm_max_store() argument
857 struct device_attribute *devattr, char *buf) in pwm_max_show() argument
859 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_max_show()
[all …]
Dadcxx.c48 struct device_attribute *devattr, char *buf) in adcxx_show() argument
51 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in adcxx_show()
85 struct device_attribute *devattr, char *buf) in adcxx_min_show() argument
92 struct device_attribute *devattr, char *buf) in adcxx_max_show() argument
109 struct device_attribute *devattr, in adcxx_max_store() argument
130 struct device_attribute *devattr, char *buf) in adcxx_name_show() argument
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()
Damc6821.c267 static ssize_t temp_show(struct device *dev, struct device_attribute *devattr, in temp_show() argument
271 int ix = to_sensor_dev_attr(devattr)->index; in temp_show()
300 struct device_attribute *devattr, char *buf) in temp_alarm_show() argument
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
345 static ssize_t pwm1_show(struct device *dev, struct device_attribute *devattr, in pwm1_show() argument
353 struct device_attribute *devattr, const char *buf, in pwm1_store() 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
[all …]
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()
360 struct device_attribute *devattr, char *buf) in temp_value_show() argument
363 int index = to_sensor_dev_attr(devattr)->index; in temp_value_show()
374 struct device_attribute *devattr, char *buf) in temp_fault_show() argument
377 int index = to_sensor_dev_attr(devattr)->index; in temp_fault_show()
389 struct device_attribute *devattr, char *buf) in temp_alarm_show() argument
392 int index = to_sensor_dev_attr(devattr)->index; in temp_alarm_show()
403 temp_alarm_store(struct device *dev, struct device_attribute *devattr, in temp_alarm_store() argument
407 int index = to_sensor_dev_attr(devattr)->index; in temp_alarm_store()
[all …]
/linux-6.1.9/drivers/misc/
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
254 struct device_attribute *devattr, in show_src_clock() argument
263 struct device_attribute *devattr, in show_src_clock_sel() argument
302 struct device_attribute *devattr, in show_pci_clock() 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
[all …]
/linux-6.1.9/drivers/hwmon/pmbus/
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()

123