Home
last modified time | relevance | path

Searched refs:to_sensor_dev_attr_2 (Results 1 – 25 of 36) sorted by relevance

12

/openbmc/linux/drivers/hwmon/
H 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 …]
H A Df71882fg.c526 int nr = to_sensor_dev_attr_2(devattr)->index; in show_temp()
552 int nr = to_sensor_dev_attr_2(devattr)->index; in show_temp_max()
583 int nr = to_sensor_dev_attr_2(devattr)->index; in show_temp_max_hyst()
636 int nr = to_sensor_dev_attr_2(devattr)->index; in show_temp_alarm()
648 int nr = to_sensor_dev_attr_2(devattr)->index; in show_temp_crit()
679 int nr = to_sensor_dev_attr_2(devattr)->index; in show_temp_crit_hyst()
697 int nr = to_sensor_dev_attr_2(devattr)->index; in show_temp_fault()
752 int nr = to_sensor_dev_attr_2(devattr)->index; in show_temp_type()
813 int nr = to_sensor_dev_attr_2(devattr)->index; in show_temp_beep()
914 int nr = to_sensor_dev_attr_2(devattr)->index; in show_in()
[all …]
H A Dw83795.c705 to_sensor_dev_attr_2(attr); in show_alarm_beep()
726 to_sensor_dev_attr_2(attr); in store_beep()
778 to_sensor_dev_attr_2(attr); in show_fan()
797 to_sensor_dev_attr_2(attr); in store_fan_min()
830 to_sensor_dev_attr_2(attr); in show_pwm()
860 to_sensor_dev_attr_2(attr); in store_pwm()
890 to_sensor_dev_attr_2(attr); in show_pwm_enable()
921 to_sensor_dev_attr_2(attr); in store_pwm_enable()
1001 to_sensor_dev_attr_2(attr); in show_temp_src()
1025 to_sensor_dev_attr_2(attr); in store_temp_src()
[all …]
H A Dabituguru.c790 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in show_bank1_value()
801 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in show_bank1_setting()
811 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in show_bank2_value()
822 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in show_bank2_setting()
832 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in store_bank1_setting()
865 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in store_bank2_setting()
900 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in show_bank1_alarm()
921 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in show_bank2_alarm()
934 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in show_bank1_mask()
945 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in show_bank2_mask()
[all …]
H A Dlm80.c263 int index = to_sensor_dev_attr_2(attr)->index; in in_show()
264 int nr = to_sensor_dev_attr_2(attr)->nr; in in_show()
276 int index = to_sensor_dev_attr_2(attr)->index; in in_store()
277 int nr = to_sensor_dev_attr_2(attr)->nr; in in_store()
296 int index = to_sensor_dev_attr_2(attr)->index; in fan_show()
297 int nr = to_sensor_dev_attr_2(attr)->nr; in fan_show()
318 int index = to_sensor_dev_attr_2(attr)->index; in fan_store()
319 int nr = to_sensor_dev_attr_2(attr)->nr; in fan_store()
H A Dadt7475.c331 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in voltage_show()
353 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in voltage_store()
390 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in temp_show()
447 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in temp_store()
549 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in temp_st_show()
576 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in temp_st_store()
637 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in point2_show()
656 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in point2_store()
698 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in tach_show()
716 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in tach_store()
[all …]
H A Dw83793.c323 to_sensor_dev_attr_2(attr); in show_vid()
355 to_sensor_dev_attr_2(attr); in show_alarm_beep()
377 to_sensor_dev_attr_2(attr); in store_beep()
466 to_sensor_dev_attr_2(attr); in show_fan()
485 to_sensor_dev_attr_2(attr); in store_fan_min()
511 to_sensor_dev_attr_2(attr); in show_pwm()
532 to_sensor_dev_attr_2(attr); in store_pwm()
565 to_sensor_dev_attr_2(attr); in show_temp()
583 to_sensor_dev_attr_2(attr); in store_temp()
625 to_sensor_dev_attr_2(attr); in show_temp_mode()
[all …]
H A Dvt1211.c339 to_sensor_dev_attr_2(attr); in show_in()
370 to_sensor_dev_attr_2(attr); in set_in()
413 to_sensor_dev_attr_2(attr); in show_temp()
444 to_sensor_dev_attr_2(attr); in set_temp()
489 to_sensor_dev_attr_2(attr); in show_fan()
520 to_sensor_dev_attr_2(attr); in set_fan()
595 to_sensor_dev_attr_2(attr); in show_pwm()
626 to_sensor_dev_attr_2(attr); in set_pwm()
750 to_sensor_dev_attr_2(attr); in show_pwm_auto_point_temp()
764 to_sensor_dev_attr_2(attr); in set_pwm_auto_point_temp()
[all …]
H A Dnct7802.c361 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in in_show()
375 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in in_store()
393 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in in_alarm_show()
454 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in temp_show()
467 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in temp_store()
500 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in fan_min_show()
515 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in fan_min_store()
532 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in alarm_show()
547 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in beep_show()
563 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in beep_store()
H A Dadc128d818.c151 int index = to_sensor_dev_attr_2(attr)->index; in adc128_in_show()
152 int nr = to_sensor_dev_attr_2(attr)->nr; in adc128_in_show()
167 int index = to_sensor_dev_attr_2(attr)->index; in adc128_in_store()
168 int nr = to_sensor_dev_attr_2(attr)->nr; in adc128_in_store()
H A Dmax6642.c209 struct sensor_device_attribute_2 *attr2 = to_sensor_dev_attr_2(attr); in temp_max_show()
219 struct sensor_device_attribute_2 *attr2 = to_sensor_dev_attr_2(attr); in temp_max_store()
H A Dmax197.c92 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in max197_show_range()
120 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in max197_store_range()
H A Dabituguru3.c829 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in show_value()
862 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in show_alarm()
886 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in show_mask()
898 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in show_label()
H A Dmax6697.c270 int nr = to_sensor_dev_attr_2(devattr)->nr; in temp_show()
271 int index = to_sensor_dev_attr_2(devattr)->index; in temp_show()
303 int nr = to_sensor_dev_attr_2(devattr)->nr; in temp_store()
304 int index = to_sensor_dev_attr_2(devattr)->index; in temp_store()
H A Damc6821.c436 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()
489 int ix = to_sensor_dev_attr_2(attr)->index; in temp_auto_point_temp_store()
490 int nr = to_sensor_dev_attr_2(attr)->nr; in temp_auto_point_temp_store()
H A Dnct6775-core.c1717 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in show_in_reg()
1733 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in store_in_reg()
1826 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in nct6775_store_beep()
1880 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in store_temp_beep()
2207 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in show_temp()
2222 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in store_temp()
2517 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in show_pwm()
2546 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in store_pwm()
2935 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in show_temp_tolerance()
2950 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in store_temp_tolerance()
[all …]
H A Dmax16065.c186 struct sensor_device_attribute_2 *attr2 = to_sensor_dev_attr_2(da); in max16065_alarm_show()
231 struct sensor_device_attribute_2 *attr2 = to_sensor_dev_attr_2(da); in max16065_limit_store()
257 struct sensor_device_attribute_2 *attr2 = to_sensor_dev_attr_2(da); in max16065_limit_show()
H A Ddme1737.c804 *sensor_attr_2 = to_sensor_dev_attr_2(attr); in show_in()
835 *sensor_attr_2 = to_sensor_dev_attr_2(attr); in set_in()
882 *sensor_attr_2 = to_sensor_dev_attr_2(attr); in show_temp()
919 *sensor_attr_2 = to_sensor_dev_attr_2(attr); in set_temp()
970 *sensor_attr_2 = to_sensor_dev_attr_2(attr); in show_zone()
1011 *sensor_attr_2 = to_sensor_dev_attr_2(attr); in set_zone()
1085 *sensor_attr_2 = to_sensor_dev_attr_2(attr); in show_fan()
1125 *sensor_attr_2 = to_sensor_dev_attr_2(attr); in set_fan()
1201 *sensor_attr_2 = to_sensor_dev_attr_2(attr); in show_pwm()
1264 *sensor_attr_2 = to_sensor_dev_attr_2(attr); in set_pwm()
H A Demc1403.c52 struct sensor_device_attribute_2 *sda = to_sensor_dev_attr_2(attr); in bit_show()
83 struct sensor_device_attribute_2 *sda = to_sensor_dev_attr_2(attr); in bit_store()
H A Dltc4222.c103 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(da); in ltc4222_bool_show()
H A Dw83792d.c525 = to_sensor_dev_attr_2(attr); in show_temp23()
538 = to_sensor_dev_attr_2(attr); in store_temp23()
837 = to_sensor_dev_attr_2(attr); in show_sf2_point()
849 = to_sensor_dev_attr_2(attr); in store_sf2_point()
878 = to_sensor_dev_attr_2(attr); in show_sf2_level()
891 = to_sensor_dev_attr_2(attr); in store_sf2_level()
H A Dnct6683.c666 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in show_in_reg()
796 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in show_temp8()
915 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in show_pwm()
925 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in store_pwm()
/openbmc/linux/drivers/hwmon/occ/
H A Dcommon.c237 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in occ_show_temp_1()
273 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in occ_show_temp_2()
324 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in occ_show_temp_10()
371 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in occ_show_freq_1()
401 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in occ_show_freq_2()
431 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in occ_show_power_1()
478 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in occ_show_power_2()
517 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in occ_show_power_a0()
597 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in occ_show_caps_1_2()
647 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in occ_show_caps_3()
[all …]
/openbmc/linux/drivers/misc/
H A Dds1682.c57 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in ds1682_show()
100 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in ds1682_store()
/openbmc/linux/include/linux/
H A Dhwmon-sysfs.h51 #define to_sensor_dev_attr_2(_dev_attr) \ macro

12