Lines Matching defs:ix
75 #define VT1211_REG_IN(ix) (0x21 + (ix)) argument
76 #define VT1211_REG_IN_MIN(ix) ((ix) == 0 ? 0x3e : 0x2a + 2 * (ix)) argument
77 #define VT1211_REG_IN_MAX(ix) ((ix) == 0 ? 0x3d : 0x29 + 2 * (ix)) argument
85 #define VT1211_REG_FAN(ix) (0x29 + (ix)) argument
86 #define VT1211_REG_FAN_MIN(ix) (0x3b + (ix)) argument
91 #define VT1211_REG_PWM(ix) (0x60 + (ix)) argument
95 #define VT1211_REG_PWM_AUTO_PWM(ix, ap) (0x58 + 2 * (ix) - (ap)) argument
147 #define ISVOLT(ix, uch_config) ((ix) > 4 ? 1 : \ argument
151 #define ISTEMP(ix, uch_config) ((ix) < 2 ? 1 : \ argument
156 #define IN_FROM_REG(ix, reg) ((reg) < 3 ? 0 : (ix) == 5 ? \ argument
159 #define IN_TO_REG(ix, val) (SENSORS_LIMIT((ix) == 5 ? \ argument
168 #define TEMP_FROM_REG(ix, reg) ((ix) == 0 ? (reg) * 1000 : \ argument
172 #define TEMP_TO_REG(ix, val) SENSORS_LIMIT( \ argument
251 int ix, val; in vt1211_update_device() local
347 int ix = sensor_attr_2->index; in show_in() local
378 int ix = sensor_attr_2->index; in set_in() local
416 int ix = sensor_attr_2->index; in show_temp() local
447 int ix = sensor_attr_2->index; in set_temp() local
487 int ix = sensor_attr_2->index; in show_fan() local
518 int ix = sensor_attr_2->index; in set_fan() local
580 int ix = sensor_attr_2->index; in show_pwm() local
611 int ix = sensor_attr_2->index; in set_pwm() local
728 int ix = sensor_attr_2->index; in show_pwm_auto_point_temp() local
742 int ix = sensor_attr_2->index; in set_pwm_auto_point_temp() local
786 int ix = sensor_attr_2->index; in show_pwm_auto_point_pwm() local
799 int ix = sensor_attr_2->index; in set_pwm_auto_point_pwm() local
869 #define SENSOR_ATTR_IN_INPUT(ix) \ argument
882 #define SENSOR_ATTR_IN_MIN(ix) \ argument
895 #define SENSOR_ATTR_IN_MAX(ix) \ argument
908 #define SENSOR_ATTR_IN_ALARM(ix) \ argument
921 #define SENSOR_ATTR_TEMP_INPUT(ix) \ argument
935 #define SENSOR_ATTR_TEMP_MAX(ix) \ argument
949 #define SENSOR_ATTR_TEMP_MAX_HYST(ix) \ argument
963 #define SENSOR_ATTR_TEMP_ALARM(ix) \ argument
977 #define SENSOR_ATTR_FAN(ix) \ argument
987 #define SENSOR_ATTR_PWM(ix) \ argument
995 #define SENSOR_ATTR_PWM_FREQ(ix) \ argument
999 #define SENSOR_ATTR_PWM_FREQ_RO(ix) \ argument
1003 #define SENSOR_ATTR_PWM_AUTO_POINT_TEMP(ix, ap) \ argument
1008 #define SENSOR_ATTR_PWM_AUTO_POINT_TEMP_RO(ix, ap) \ argument
1013 #define SENSOR_ATTR_PWM_AUTO_POINT_PWM(ix, ap) \ argument
1018 #define SENSOR_ATTR_PWM_AUTO_POINT_PWM_RO(ix, ap) \ argument