Home
last modified time | relevance | path

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

12345

/linux-6.12.1/drivers/hwmon/
Dpc87360.c409 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_input_show()
432 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_status_show()
454 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_min_show()
464 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_min_store()
498 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_max_show()
508 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_max_store()
555 unsigned nr = to_sensor_dev_attr(devattr)->index; in in_min_alarm_show()
578 unsigned nr = to_sensor_dev_attr(devattr)->index; in in_max_alarm_show()
671 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in therm_input_show()
690 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.c262 int nr = to_sensor_dev_attr(attr)->index; in set_fan_min()
282 int nr = to_sensor_dev_attr(attr)->index; in set_fan_target()
307 int nr = to_sensor_dev_attr(attr)->index; in set_pwm()
331 int nr = to_sensor_dev_attr(attr)->index; in show_pwm_enable()
403 int nr = to_sensor_dev_attr(attr)->index; in set_pwm_enable()
422 int nr = to_sensor_dev_attr(attr)->index; in set_pwm_mode()
466 int nr = to_sensor_dev_attr(attr)->index; in show_pwm()
474 int nr = to_sensor_dev_attr(attr)->index; in show_pwm_mode()
485 int nr = to_sensor_dev_attr(attr)->index; in show_in()
493 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 …]
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 …]
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 …]
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 …]
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 …]
Dvt8231.c250 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_show()
260 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_min_show()
270 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_max_show()
280 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_min_store()
300 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_max_store()
467 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_show()
476 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_max_show()
485 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_min_show()
495 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_max_store()
515 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_min_store()
[all …]
Dw83l786ng.c226 int nr = to_sensor_dev_attr(attr)->index; \
240 int nr = to_sensor_dev_attr(attr)->index; \
280 int nr = to_sensor_dev_attr(attr)->index; \
293 int nr = to_sensor_dev_attr(attr)->index; in store_fan_min()
316 int nr = to_sensor_dev_attr(attr)->index; in show_fan_div()
331 int nr = to_sensor_dev_attr(attr)->index; in store_fan_div()
465 int nr = to_sensor_dev_attr(attr)->index; \
477 int nr = to_sensor_dev_attr(attr)->index; in show_pwm_reg()
505 int nr = to_sensor_dev_attr(attr)->index; in store_pwm()
529 int nr = to_sensor_dev_attr(attr)->index; in store_pwm_enable()
[all …]
Di5k_amb.c123 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_alarm()
138 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in store_amb_min()
158 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in store_amb_mid()
178 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in store_amb_max()
197 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_min()
207 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_mid()
217 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_max()
227 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_temp()
237 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 …]
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()
Dsis5595.c266 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_show()
275 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_show()
284 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_show()
293 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_store()
313 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_store()
414 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_show()
424 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_min_show()
434 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_min_store()
454 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_div_show()
469 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_div_store()
[all …]
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()
Dsmsc47m1.c200 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_show()
219 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_min_show()
230 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_div_show()
238 int bitnr = to_sensor_dev_attr(devattr)->index; in fan_alarm_show()
246 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_show()
254 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_en_show()
270 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_min_store()
307 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_div_store()
372 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_store()
399 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_en_store()
Dultra45_env.c101 int fan_nr = to_sensor_dev_attr(attr)->index; in show_fan_speed()
119 int fan_nr = to_sensor_dev_attr(attr)->index; in set_fan_speed()
143 int fan_nr = to_sensor_dev_attr(attr)->index; in show_fan_fault()
166 int temp_nr = to_sensor_dev_attr(attr)->index; in show_temp()
187 int index = to_sensor_dev_attr(attr)->index; in show_stat_bit()
Dwm831x-hwmon.c34 int channel = to_sensor_dev_attr(attr)->index; in show_voltage()
48 int channel = to_sensor_dev_attr(attr)->index; in show_chip_temp()
65 int channel = to_sensor_dev_attr(attr)->index; in show_label()
/linux-6.12.1/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