Lines Matching defs:nr
38 #define LM85_REG_IN(nr) (0x20 + (nr)) argument
39 #define LM85_REG_IN_MIN(nr) (0x44 + (nr) * 2) argument
40 #define LM85_REG_IN_MAX(nr) (0x45 + (nr) * 2) argument
42 #define LM85_REG_TEMP(nr) (0x25 + (nr)) argument
43 #define LM85_REG_TEMP_MIN(nr) (0x4e + (nr) * 2) argument
44 #define LM85_REG_TEMP_MAX(nr) (0x4f + (nr) * 2) argument
47 #define LM85_REG_FAN(nr) (0x28 + (nr) * 2) argument
48 #define LM85_REG_FAN_MIN(nr) (0x54 + (nr) * 2) argument
50 #define LM85_REG_PWM(nr) (0x30 + (nr)) argument
91 #define LM85_REG_AFAN_CONFIG(nr) (0x5c + (nr)) argument
92 #define LM85_REG_AFAN_RANGE(nr) (0x5f + (nr)) argument
94 #define LM85_REG_AFAN_MINPWM(nr) (0x64 + (nr)) argument
95 #define LM85_REG_AFAN_LIMIT(nr) (0x67 + (nr)) argument
96 #define LM85_REG_AFAN_CRITICAL(nr) (0x6a + (nr)) argument
105 #define EMC6D100_REG_IN(nr) (0x70 + ((nr) - 5)) argument
106 #define EMC6D100_REG_IN_MIN(nr) (0x73 + ((nr) - 5) * 2) argument
107 #define EMC6D100_REG_IN_MAX(nr) (0x74 + ((nr) - 5) * 2) argument
555 int nr = to_sensor_dev_attr(attr)->index; in fan_show() local
563 int nr = to_sensor_dev_attr(attr)->index; in fan_min_show() local
572 int nr = to_sensor_dev_attr(attr)->index; in fan_min_store() local
658 int nr = to_sensor_dev_attr(attr)->index; in alarm_show() local
686 int nr = to_sensor_dev_attr(attr)->index; in pwm_show() local
694 int nr = to_sensor_dev_attr(attr)->index; in pwm_store() local
714 int nr = to_sensor_dev_attr(attr)->index; in pwm_enable_show() local
737 int nr = to_sensor_dev_attr(attr)->index; in pwm_enable_store() local
780 int nr = to_sensor_dev_attr(attr)->index; in pwm_freq_show() local
797 int nr = to_sensor_dev_attr(attr)->index; in pwm_freq_store() local
846 int nr = to_sensor_dev_attr(attr)->index; in in_show() local
855 int nr = to_sensor_dev_attr(attr)->index; in in_min_show() local
863 int nr = to_sensor_dev_attr(attr)->index; in in_min_store() local
883 int nr = to_sensor_dev_attr(attr)->index; in in_max_show() local
891 int nr = to_sensor_dev_attr(attr)->index; in in_max_store() local
938 int nr = to_sensor_dev_attr(attr)->index; in temp_show() local
947 int nr = to_sensor_dev_attr(attr)->index; in temp_min_show() local
956 int nr = to_sensor_dev_attr(attr)->index; in temp_min_store() local
979 int nr = to_sensor_dev_attr(attr)->index; in temp_max_show() local
988 int nr = to_sensor_dev_attr(attr)->index; in temp_max_store() local
1024 int nr = to_sensor_dev_attr(attr)->index; in pwm_auto_channels_show() local
1033 int nr = to_sensor_dev_attr(attr)->index; in pwm_auto_channels_store() local
1055 int nr = to_sensor_dev_attr(attr)->index; in pwm_auto_pwm_min_show() local
1064 int nr = to_sensor_dev_attr(attr)->index; in pwm_auto_pwm_min_store() local
1086 int nr = to_sensor_dev_attr(attr)->index; in pwm_auto_pwm_minctl_show() local
1095 int nr = to_sensor_dev_attr(attr)->index; in pwm_auto_pwm_minctl_store() local
1133 int nr = to_sensor_dev_attr(attr)->index; in temp_auto_temp_off_show() local
1143 int nr = to_sensor_dev_attr(attr)->index; in temp_auto_temp_off_store() local
1173 int nr = to_sensor_dev_attr(attr)->index; in temp_auto_temp_min_show() local
1182 int nr = to_sensor_dev_attr(attr)->index; in temp_auto_temp_min_store() local
1213 int nr = to_sensor_dev_attr(attr)->index; in temp_auto_temp_max_show() local
1223 int nr = to_sensor_dev_attr(attr)->index; in temp_auto_temp_max_store() local
1250 int nr = to_sensor_dev_attr(attr)->index; in temp_auto_temp_crit_show() local
1259 int nr = to_sensor_dev_attr(attr)->index; in temp_auto_temp_crit_store() local