Home
last modified time | relevance | path

Searched refs:sensor_device_attribute (Results 1 – 25 of 83) sorted by relevance

1234

/Linux-v6.1/drivers/hwmon/
Dpc87360.c405 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_input_show()
411 static struct sensor_device_attribute in_input[] = {
428 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_status_show()
433 static struct sensor_device_attribute in_status[] = {
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()
477 static struct sensor_device_attribute in_min[] = {
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()
522 static struct sensor_device_attribute in_max[] = {
[all …]
Dw83791d.c353 struct sensor_device_attribute *sensor_attr = \
369 struct sensor_device_attribute *sensor_attr = \
388 static struct sensor_device_attribute sda_in_input[] = {
401 static struct sensor_device_attribute sda_in_min[] = {
414 static struct sensor_device_attribute sda_in_max[] = {
431 struct sensor_device_attribute *sensor_attr = in show_beep()
442 struct sensor_device_attribute *sensor_attr = in store_beep()
477 struct sensor_device_attribute *sensor_attr = in show_alarm()
489 static struct sensor_device_attribute sda_in_beep[] = {
502 static struct sensor_device_attribute sda_in_alarm[] = {
[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()
278 static struct sensor_device_attribute sch5636_attr[] = {
292 static struct sensor_device_attribute sch5636_temp_attr[] = {
[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 …]
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 …]
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 …]
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 …]
Di5k_amb.c89 struct sensor_device_attribute s_attr;
130 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()
Ds3c-hwmon.c27 struct sensor_device_attribute in;
28 struct sensor_device_attribute label;
90 struct sensor_device_attribute *sa = to_sensor_dev_attr(attr); in s3c_hwmon_show_raw()
154 struct sensor_device_attribute *sen_attr = to_sensor_dev_attr(attr); in s3c_hwmon_ch_show()
184 struct sensor_device_attribute *sen_attr = to_sensor_dev_attr(attr); in s3c_hwmon_label_show()
212 struct sensor_device_attribute *attr; in s3c_hwmon_create_attr()
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 …]
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()
Dw83l786ng.c259 static struct sensor_device_attribute sda_in_input[] = {
265 static struct sensor_device_attribute sda_in_min[] = {
271 static struct sensor_device_attribute sda_in_max[] = {
383 static struct sensor_device_attribute sda_fan_input[] = {
388 static struct sensor_device_attribute sda_fan_min[] = {
395 static struct sensor_device_attribute sda_fan_div[] = {
554 static struct sensor_device_attribute sda_pwm[] = {
559 static struct sensor_device_attribute sda_pwm_mode[] = {
566 static struct sensor_device_attribute sda_pwm_enable[] = {
612 static struct sensor_device_attribute sda_tolerance[] = {
Dsis5595.c270 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_show()
279 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_show()
288 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_show()
297 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_store()
317 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_store()
418 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_show()
428 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_min_show()
438 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_min_store()
458 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_div_show()
473 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_div_store()
Dw83792d.c342 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in()
353 struct sensor_device_attribute *sensor_attr \
369 struct sensor_device_attribute *sensor_attr \
393 struct sensor_device_attribute *sensor_attr \
408 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in store_fan_min()
432 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_fan_div()
448 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in store_fan_div()
490 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_temp1()
499 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in store_temp1()
573 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_alarm()
[all …]
Dadm1026.c470 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_show()
478 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_min_show()
486 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_min_store()
506 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_max_show()
514 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_max_store()
656 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in fan_show()
665 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in fan_min_show()
675 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in fan_min_store()
733 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in fan_div_show()
742 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in fan_div_store()
[all …]
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()
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()
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()
Dlm78.c145 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_show()
153 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_show()
161 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_show()
169 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_store()
189 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_store()
296 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_show()
306 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_min_show()
316 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_min_store()
336 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_div_show()
350 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_div_store()
Dadm1029.c161 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_show()
170 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_show()
188 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_div_show()
202 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_div_store()
Dds620.c132 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_show()
147 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_store()
169 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in alarm_show()
Dlm63.c334 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan()
364 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_pwm1()
382 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_pwm1()
460 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_local_temp8()
469 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_remote_temp8()
479 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_lut_temp()
488 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_temp8()
527 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp11()
562 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_temp11()
603 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_lut_temp_hyst()
[all …]
Dlm73.c65 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_store()
84 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_show()
146 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in maxmin_alarm_show()
/Linux-v6.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()
/Linux-v6.1/include/linux/
Dhwmon-sysfs.h12 struct sensor_device_attribute{ struct
17 container_of(_dev_attr, struct sensor_device_attribute, dev_attr) argument
33 struct sensor_device_attribute sensor_dev_attr_##_name \

1234