• Home
  • Raw
  • Download

Lines Matching defs:ix

87 #define DME1737_REG_IN(ix)		((ix) < 5 ? 0x20 + (ix) : \  argument
90 #define DME1737_REG_IN_MIN(ix) ((ix) < 5 ? 0x44 + (ix) * 2 \ argument
92 #define DME1737_REG_IN_MAX(ix) ((ix) < 5 ? 0x45 + (ix) * 2 \ argument
96 #define DME1737_REG_TEMP(ix) (0x25 + (ix)) argument
97 #define DME1737_REG_TEMP_MIN(ix) (0x4e + (ix) * 2) argument
98 #define DME1737_REG_TEMP_MAX(ix) (0x4f + (ix) * 2) argument
99 #define DME1737_REG_TEMP_OFFSET(ix) ((ix) == 0 ? 0x1f \ argument
112 #define DME1737_REG_IN_TEMP_LSB(ix) (0x84 + (ix)) argument
119 #define DME1737_REG_FAN(ix) ((ix) < 4 ? 0x28 + (ix) * 2 \ argument
121 #define DME1737_REG_FAN_MIN(ix) ((ix) < 4 ? 0x54 + (ix) * 2 \ argument
123 #define DME1737_REG_FAN_OPT(ix) ((ix) < 4 ? 0x90 + (ix) \ argument
125 #define DME1737_REG_FAN_MAX(ix) (0xb4 + (ix)) /* only for fan[4-5] */ argument
128 #define DME1737_REG_PWM(ix) ((ix) < 3 ? 0x30 + (ix) \ argument
130 #define DME1737_REG_PWM_CONFIG(ix) (0x5c + (ix)) /* only for pwm[0-2] */ argument
131 #define DME1737_REG_PWM_MIN(ix) (0x64 + (ix)) /* only for pwm[0-2] */ argument
132 #define DME1737_REG_PWM_FREQ(ix) ((ix) < 3 ? 0x5f + (ix) \ argument
140 #define DME1737_REG_PWM_RR(ix) (0x62 + (ix)) /* only for pwm[0-2] */ argument
143 #define DME1737_REG_ZONE_LOW(ix) (0x67 + (ix)) argument
144 #define DME1737_REG_ZONE_ABS(ix) (0x6a + (ix)) argument
151 #define DME1737_REG_ZONE_HYST(ix) (0x6d + (ix)) argument
204 #define HAS_FAN(ix) (1 << ((ix) + 5)) /* bits 5-10 */ argument
205 #define HAS_PWM(ix) (1 << ((ix) + 11)) /* bits 11-16 */ argument
329 static inline int TEMP_HYST_FROM_REG(int reg, int ix) in TEMP_HYST_FROM_REG()
334 static inline int TEMP_HYST_TO_REG(int val, int ix, int reg) in TEMP_HYST_TO_REG()
506 static inline int PWM_RR_FROM_REG(int reg, int ix) in PWM_RR_FROM_REG()
513 static int PWM_RR_TO_REG(int val, int ix, int reg) in PWM_RR_TO_REG()
526 static inline int PWM_RR_EN_FROM_REG(int reg, int ix) in PWM_RR_EN_FROM_REG()
531 static inline int PWM_RR_EN_TO_REG(int val, int ix, int reg) in PWM_RR_EN_TO_REG()
543 static inline int PWM_OFF_FROM_REG(int reg, int ix) in PWM_OFF_FROM_REG()
548 static inline int PWM_OFF_TO_REG(int val, int ix, int reg) in PWM_OFF_TO_REG()
607 int ix; in dme1737_update_device() local
815 int ix = sensor_attr_2->index; in show_in() local
846 int ix = sensor_attr_2->index; in set_in() local
893 int ix = sensor_attr_2->index; in show_temp() local
930 int ix = sensor_attr_2->index; in set_temp() local
981 int ix = sensor_attr_2->index; in show_zone() local
1022 int ix = sensor_attr_2->index; in set_zone() local
1095 int ix = sensor_attr_2->index; in show_fan() local
1135 int ix = sensor_attr_2->index; in set_fan() local
1211 int ix = sensor_attr_2->index; in show_pwm() local
1274 int ix = sensor_attr_2->index; in set_pwm() local
1517 #define SENSOR_DEVICE_ATTR_IN(ix) \ argument
1538 #define SENSOR_DEVICE_ATTR_TEMP(ix) \ argument
1558 #define SENSOR_DEVICE_ATTR_ZONE(ix) \ argument
1576 #define SENSOR_DEVICE_ATTR_FAN_1TO4(ix) \ argument
1593 #define SENSOR_DEVICE_ATTR_FAN_5TO6(ix) \ argument
1608 #define SENSOR_DEVICE_ATTR_PWM_1TO3(ix) \ argument
1632 #define SENSOR_DEVICE_ATTR_PWM_5TO6(ix) \ argument
2071 int ix; in dme1737_remove_files() local
2110 int err, ix; in dme1737_create_files() local
2242 int ix; in dme1737_init_device() local