Lines Matching defs:index
118 #define IN_LSB_REG(index, type) \ argument
150 #define W83795_REG_FAN(index) (0x2E + (index)) argument
151 #define W83795_REG_FAN_MIN_HL(index) (0xB6 + (index)) argument
152 #define W83795_REG_FAN_MIN_LSB(index) (0xC4 + (index) / 2) argument
153 #define W83795_REG_FAN_MIN_LSB_SHIFT(index) \ argument
160 #define W83795_REG_ALARM(index) (0x41 + (index)) argument
162 #define W83795_REG_BEEP(index) (0x50 + (index)) argument
170 #define W83795_REG_TFMR(index) (0x202 + (index)) argument
173 #define W83795_REG_TSS(index) (0x209 + (index)) argument
188 #define W83795_REG_PWM(index, nr) (0x210 + (nr) * 8 + (index)) argument
190 #define W83795_REG_FTSH(index) (0x240 + (index) * 2) argument
191 #define W83795_REG_FTSL(index) (0x241 + (index) * 2) argument
198 #define W83795_REG_TTTI(index) (0x260 + (index)) argument
199 #define W83795_REG_CTFS(index) (0x268 + (index)) argument
200 #define W83795_REG_HT(index) (0x270 + (index)) argument
204 #define W83795_REG_SF4_TEMP(temp_num, index) \ argument
206 #define W83795_REG_SF4_PWM(temp_num, index) \ argument
211 #define W83795_REG_DTS(index) (0x26 + (index)) argument
212 #define W83795_REG_PECI_TBASE(index) (0x320 + (index)) argument
218 #define W83795_REG_DTS_EXT(index) (0xB2 + (index)) argument
223 #define W83795_REG_SETUP_PWM(index) (0x20C + (index)) argument
225 static inline u16 in_from_reg(u8 index, u16 val) in in_from_reg()
234 static inline u16 in_to_reg(u8 index, u16 val) in in_to_reg()
707 int index = sensor_attr->index >> 3; in show_alarm_beep() local
727 int index = sensor_attr->index >> 3; in store_beep() local
780 int index = sensor_attr->index; in show_fan() local
798 int index = sensor_attr->index; in store_fan_min() local
832 int index = sensor_attr->index; in show_pwm() local
862 int index = sensor_attr->index; in store_pwm() local
892 int index = sensor_attr->index; in show_pwm_enable() local
922 int index = sensor_attr->index; in store_pwm_enable() local
965 int index = to_sensor_dev_attr_2(attr)->index; in show_pwm_mode() local
1003 int index = sensor_attr->index; in show_temp_src() local
1026 int index = sensor_attr->index; in store_temp_src() local
1067 int index = sensor_attr->index; in show_temp_pwm_enable() local
1095 int index = sensor_attr->index; in store_temp_pwm_enable() local
1132 int index = sensor_attr->index; in show_fanin() local
1156 int index = sensor_attr->index; in store_fanin() local
1189 int index = sensor_attr->index; in show_temp_pwm() local
1204 int index = sensor_attr->index; in store_temp_pwm() local
1250 int index = sensor_attr->index; in show_sf4_pwm() local
1264 int index = sensor_attr->index; in store_sf4_pwm() local
1285 int index = sensor_attr->index; in show_sf4_temp() local
1300 int index = sensor_attr->index; in store_sf4_temp() local
1322 int index = sensor_attr->index; in show_temp() local
1338 int index = sensor_attr->index; in store_temp() local
1373 int index = sensor_attr->index; in show_dts() local
1421 int index = sensor_attr->index; in show_temp_mode() local
1441 int index = sensor_attr->index; in store_temp_mode() local
1480 int index = sensor_attr->index; in show_in() local
1515 int index = sensor_attr->index; in store_in() local
1609 #define SENSOR_ATTR_IN(index) { \ argument
1626 #define SENSOR_ATTR_FAN(index) { \ argument
1636 #define SENSOR_ATTR_PWM(index) { \ argument
1658 #define SENSOR_ATTR_DTS(index) { \ argument
1680 #define SENSOR_ATTR_TEMP(index) { \ argument