Home
last modified time | relevance | path

Searched refs:to_sensor_dev_attr (Results 1 – 25 of 119) sorted by relevance

12345

/linux-6.1.9/drivers/hwmon/
Dpc87360.c405 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_input_show()
428 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_status_show()
450 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_min_show()
460 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_min_store()
494 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_max_show()
504 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_max_store()
551 unsigned nr = to_sensor_dev_attr(devattr)->index; in in_min_alarm_show()
574 unsigned nr = to_sensor_dev_attr(devattr)->index; in in_max_alarm_show()
667 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in therm_input_show()
686 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in therm_status_show()
[all …]
Dlm85.c555 int nr = to_sensor_dev_attr(attr)->index; in fan_show()
563 int nr = to_sensor_dev_attr(attr)->index; in fan_min_show()
572 int nr = to_sensor_dev_attr(attr)->index; in fan_min_store()
658 int nr = to_sensor_dev_attr(attr)->index; in alarm_show()
686 int nr = to_sensor_dev_attr(attr)->index; in pwm_show()
694 int nr = to_sensor_dev_attr(attr)->index; in pwm_store()
714 int nr = to_sensor_dev_attr(attr)->index; in pwm_enable_show()
737 int nr = to_sensor_dev_attr(attr)->index; in pwm_enable_store()
780 int nr = to_sensor_dev_attr(attr)->index; in pwm_freq_show()
797 int nr = to_sensor_dev_attr(attr)->index; in pwm_freq_store()
[all …]
Dadm1031.c323 int nr = to_sensor_dev_attr(attr)->index; in fan_auto_channel_show()
334 int nr = to_sensor_dev_attr(attr)->index; in fan_auto_channel_store()
388 int nr = to_sensor_dev_attr(attr)->index; in auto_temp_off_show()
396 int nr = to_sensor_dev_attr(attr)->index; in auto_temp_min_show()
407 int nr = to_sensor_dev_attr(attr)->index; in auto_temp_min_store()
426 int nr = to_sensor_dev_attr(attr)->index; in auto_temp_max_show()
437 int nr = to_sensor_dev_attr(attr)->index; in auto_temp_max_store()
469 int nr = to_sensor_dev_attr(attr)->index; in pwm_show()
478 int nr = to_sensor_dev_attr(attr)->index; in pwm_store()
558 int nr = to_sensor_dev_attr(attr)->index; in fan_show()
[all …]
Df75375s.c287 int nr = to_sensor_dev_attr(attr)->index; in set_fan_min()
307 int nr = to_sensor_dev_attr(attr)->index; in set_fan_target()
332 int nr = to_sensor_dev_attr(attr)->index; in set_pwm()
356 int nr = to_sensor_dev_attr(attr)->index; in show_pwm_enable()
428 int nr = to_sensor_dev_attr(attr)->index; in set_pwm_enable()
447 int nr = to_sensor_dev_attr(attr)->index; in set_pwm_mode()
491 int nr = to_sensor_dev_attr(attr)->index; in show_pwm()
499 int nr = to_sensor_dev_attr(attr)->index; in show_pwm_mode()
510 int nr = to_sensor_dev_attr(attr)->index; in show_in()
518 int nr = to_sensor_dev_attr(attr)->index; in show_in_max()
[all …]
Dlm93.c1104 int nr = (to_sensor_dev_attr(attr))->index; in in_show()
1130 int nr = (to_sensor_dev_attr(attr))->index; in in_min_show()
1147 int nr = (to_sensor_dev_attr(attr))->index; in in_min_store()
1195 int nr = (to_sensor_dev_attr(attr))->index; in in_max_show()
1212 int nr = (to_sensor_dev_attr(attr))->index; in in_max_store()
1260 int nr = (to_sensor_dev_attr(attr))->index; in temp_show()
1272 int nr = (to_sensor_dev_attr(attr))->index; in temp_min_show()
1281 int nr = (to_sensor_dev_attr(attr))->index; in temp_min_store()
1305 int nr = (to_sensor_dev_attr(attr))->index; in temp_max_show()
1314 int nr = (to_sensor_dev_attr(attr))->index; in temp_max_store()
[all …]
Dvia686a.c414 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_show()
422 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_show()
430 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_show()
438 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_store()
457 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_store()
494 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_show()
501 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_over_show()
508 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_hyst_show()
516 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_over_store()
536 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_hyst_store()
[all …]
Dmax6639.c160 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in temp_input_show()
173 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in temp_fault_show()
184 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in temp_max_show()
194 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in temp_max_store()
216 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in temp_crit_show()
226 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in temp_crit_store()
249 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in temp_emergency_show()
259 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in temp_emergency_store()
281 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in pwm_show()
291 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in pwm_store()
[all …]
Dgl520sm.c208 int n = to_sensor_dev_attr(attr)->index; in in_input_show()
221 int n = to_sensor_dev_attr(attr)->index; in in_min_show()
234 int n = to_sensor_dev_attr(attr)->index; in in_max_show()
249 int n = to_sensor_dev_attr(attr)->index; in in_min_store()
283 int n = to_sensor_dev_attr(attr)->index; in in_max_store()
341 int n = to_sensor_dev_attr(attr)->index; in fan_input_show()
351 int n = to_sensor_dev_attr(attr)->index; in fan_min_show()
361 int n = to_sensor_dev_attr(attr)->index; in fan_div_show()
380 int n = to_sensor_dev_attr(attr)->index; in fan_min_store()
420 int n = to_sensor_dev_attr(attr)->index; in fan_div_store()
[all …]
Dlm95234.c209 int index = to_sensor_dev_attr(attr)->index; in temp_show()
223 u32 mask = to_sensor_dev_attr(attr)->index; in alarm_show()
236 u8 mask = to_sensor_dev_attr(attr)->index; in type_show()
250 u8 mask = to_sensor_dev_attr(attr)->index; in type_store()
280 int index = to_sensor_dev_attr(attr)->index; in tcrit2_show()
293 int index = to_sensor_dev_attr(attr)->index; in tcrit2_store()
318 int index = to_sensor_dev_attr(attr)->index; in tcrit2_hyst_show()
333 int index = to_sensor_dev_attr(attr)->index; in tcrit1_show()
342 int index = to_sensor_dev_attr(attr)->index; in tcrit1_store()
367 int index = to_sensor_dev_attr(attr)->index; in tcrit1_hyst_show()
[all …]
Dsmsc47m192.c172 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_show()
181 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_min_show()
190 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_max_show()
199 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_min_store()
221 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_max_store()
269 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_show()
278 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_min_show()
287 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_max_show()
297 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_min_store()
320 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_max_store()
[all …]
Dadm1025.c166 int index = to_sensor_dev_attr(attr)->index; in in_show()
175 int index = to_sensor_dev_attr(attr)->index; in in_min_show()
184 int index = to_sensor_dev_attr(attr)->index; in in_max_show()
193 int index = to_sensor_dev_attr(attr)->index; in temp_show()
201 int index = to_sensor_dev_attr(attr)->index; in temp_min_show()
209 int index = to_sensor_dev_attr(attr)->index; in temp_max_show()
217 int index = to_sensor_dev_attr(attr)->index; in in_min_store()
238 int index = to_sensor_dev_attr(attr)->index; in in_max_store()
279 int index = to_sensor_dev_attr(attr)->index; in temp_min_store()
301 int index = to_sensor_dev_attr(attr)->index; in temp_max_store()
[all …]
Dadt7462.c781 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_min_show()
794 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_min_store()
817 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_max_show()
830 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_max_store()
853 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_show()
867 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_label_show()
876 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in volt_max_show()
890 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in volt_max_store()
916 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in volt_min_show()
930 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in volt_min_store()
[all …]
Df71805f.c423 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in0()
433 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in0_max()
443 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in0_min()
453 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_in0_max()
474 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_in0_min()
495 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in()
505 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in_max()
515 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in_min()
525 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_in_max()
546 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_in_min()
[all …]
Dw83l786ng.c227 int nr = to_sensor_dev_attr(attr)->index; \
241 int nr = to_sensor_dev_attr(attr)->index; \
281 int nr = to_sensor_dev_attr(attr)->index; \
294 int nr = to_sensor_dev_attr(attr)->index; in store_fan_min()
317 int nr = to_sensor_dev_attr(attr)->index; in show_fan_div()
332 int nr = to_sensor_dev_attr(attr)->index; in store_fan_div()
466 int nr = to_sensor_dev_attr(attr)->index; \
478 int nr = to_sensor_dev_attr(attr)->index; in show_pwm_reg()
506 int nr = to_sensor_dev_attr(attr)->index; in store_pwm()
530 int nr = to_sensor_dev_attr(attr)->index; in store_pwm_enable()
[all …]
Dvt8231.c251 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_show()
261 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_min_show()
271 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_max_show()
281 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_min_store()
301 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_max_store()
468 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_show()
477 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_max_show()
486 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_min_show()
496 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_max_store()
516 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_min_store()
[all …]
Dlm87.c270 int nr = to_sensor_dev_attr(attr)->index; in in_input_show()
280 int nr = to_sensor_dev_attr(attr)->index; in in_min_show()
290 int nr = to_sensor_dev_attr(attr)->index; in in_max_show()
301 int nr = to_sensor_dev_attr(attr)->index; in in_min_store()
322 int nr = to_sensor_dev_attr(attr)->index; in in_max_store()
367 int nr = to_sensor_dev_attr(attr)->index; in temp_input_show()
376 int nr = to_sensor_dev_attr(attr)->index; in temp_low_show()
386 int nr = to_sensor_dev_attr(attr)->index; in temp_high_show()
398 int nr = to_sensor_dev_attr(attr)->index; in temp_low_store()
419 int nr = to_sensor_dev_attr(attr)->index; in temp_high_store()
[all …]
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()
430 int nr = to_sensor_dev_attr(devattr)->index; in fan_min_store()
568 int nr = to_sensor_dev_attr(devattr)->index; in pwm_enable_show()
582 int nr = to_sensor_dev_attr(devattr)->index; in pwm_enable_store()
603 int nr = to_sensor_dev_attr(devattr)->index; in pwm_show()
612 int nr = to_sensor_dev_attr(devattr)->index; in pwm_store()
695 int nr = to_sensor_dev_attr(devattr)->index; in temp_input_show()
[all …]
Di5k_amb.c130 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_alarm()
145 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in store_amb_min()
165 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in store_amb_mid()
185 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in store_amb_max()
204 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_min()
214 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_mid()
224 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_max()
234 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_temp()
244 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_label()
Dthmc50.c166 int nr = to_sensor_dev_attr(attr)->index; in temp_show()
174 int nr = to_sensor_dev_attr(attr)->index; in temp_min_show()
183 int nr = to_sensor_dev_attr(attr)->index; in temp_min_store()
204 int nr = to_sensor_dev_attr(attr)->index; in temp_max_show()
213 int nr = to_sensor_dev_attr(attr)->index; in temp_max_store()
234 int nr = to_sensor_dev_attr(attr)->index; in temp_critical_show()
242 int index = to_sensor_dev_attr(attr)->index; in alarm_show()
Dw83627hf.c911 int bitnr = to_sensor_dev_attr(attr)->index; in alarm_show()
935 int bitnr = to_sensor_dev_attr(attr)->index; in beep_show()
944 int bitnr = to_sensor_dev_attr(attr)->index; in beep_store()
1009 int nr = to_sensor_dev_attr(devattr)->index; in in_input_show()
1017 int nr = to_sensor_dev_attr(devattr)->index; in in_min_show()
1026 int nr = to_sensor_dev_attr(devattr)->index; in in_min_store()
1045 int nr = to_sensor_dev_attr(devattr)->index; in in_max_show()
1054 int nr = to_sensor_dev_attr(devattr)->index; in in_max_store()
1099 int nr = to_sensor_dev_attr(devattr)->index; in fan_input_show()
1108 int nr = to_sensor_dev_attr(devattr)->index; in fan_min_show()
[all …]
Dlm92.c140 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_show()
150 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_store()
171 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_hyst_show()
191 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_hyst_store()
222 int bitnr = to_sensor_dev_attr(attr)->index; in alarm_show()
Dsch5636.c169 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_value_show()
185 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_label_show()
194 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_value_show()
208 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_fault_show()
222 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_alarm_show()
236 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_value_show()
253 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_fault_show()
267 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_alarm_show()
Dmax1668.c133 int index = to_sensor_dev_attr(devattr)->index; in show_temp()
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()
169 int index = to_sensor_dev_attr(attr)->index; in show_alarm()
181 int index = to_sensor_dev_attr(devattr)->index; in show_fault()
195 int index = to_sensor_dev_attr(devattr)->index; in set_temp_max()
221 int index = to_sensor_dev_attr(devattr)->index; in set_temp_min()
Dmenf21bmc_hwmon.c102 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in label_show()
110 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_show()
122 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in min_show()
131 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in max_show()
/linux-6.1.9/drivers/hwmon/pmbus/
Dinspur-ipsps.c62 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in ipsps_string_show()
84 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in ipsps_fw_version_show()
105 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in ipsps_mode_show()
137 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in ipsps_mode_store()

12345