Lines Matching refs:kind
263 enum chips kind; member
327 if (data->kind == fscher || data->kind >= fschrc) in in_value_show()
373 FSCHMD_REG_TEMP_LIMIT[data->kind][index], v); in temp_max_store()
463 FSCHMD_REG_FAN_RIPPLE[data->kind][index]); in fan_div_store()
470 FSCHMD_REG_FAN_RIPPLE[data->kind][index], reg); in fan_div_store()
513 if (val || data->kind == fscsyl) in pwm_auto_point1_pwm_show()
533 if (v || data->kind == fscsyl) { in pwm_auto_point1_pwm_store()
541 FSCHMD_REG_FAN_MIN[data->kind][index], v); in pwm_auto_point1_pwm_store()
699 int kind = data->kind + 1; /* 0-x array index -> 1-x module param */ in watchdog_set_timeout() local
702 if (timeout <= 510 || kind == fscpos || kind == fscscy) in watchdog_set_timeout()
725 FSCHMD_REG_WDOG_PRESET[data->kind], data->watchdog_preset); in watchdog_set_timeout()
728 FSCHMD_REG_WDOG_CONTROL[data->kind], in watchdog_set_timeout()
764 FSCHMD_REG_WDOG_CONTROL[data->kind], in watchdog_trigger()
787 FSCHMD_REG_WDOG_CONTROL[data->kind], in watchdog_stop()
1048 enum chips kind; in fschmd_detect() local
1062 kind = fscpos; in fschmd_detect()
1064 kind = fscher; in fschmd_detect()
1066 kind = fscscy; in fschmd_detect()
1068 kind = fschrc; in fschmd_detect()
1070 kind = fschmd; in fschmd_detect()
1072 kind = fschds; in fschmd_detect()
1074 kind = fscsyl; in fschmd_detect()
1078 strscpy(info->type, fschmd_id[kind].name, I2C_NAME_SIZE); in fschmd_detect()
1090 enum chips kind = i2c_match_id(fschmd_id, client)->driver_data; in fschmd_probe() local
1107 data->kind = kind; in fschmd_probe()
1109 if (kind == fscpos) { in fschmd_probe()
1120 if ((kind == fscher || kind >= fschrc) && dmi_vref == -1) { in fschmd_probe()
1135 FSCHMD_REG_WDOG_CONTROL[data->kind]); in fschmd_probe()
1137 FSCHMD_REG_WDOG_STATE[data->kind]); in fschmd_probe()
1139 FSCHMD_REG_WDOG_PRESET[data->kind]); in fschmd_probe()
1145 for (i = 0; i < FSCHMD_NO_VOLT_SENSORS[data->kind]; i++) { in fschmd_probe()
1152 for (i = 0; i < (FSCHMD_NO_TEMP_SENSORS[data->kind] * 4); i++) { in fschmd_probe()
1154 if (kind == fscpos && fschmd_temp_attr[i].dev_attr.show == in fschmd_probe()
1158 if (kind == fscsyl) { in fschmd_probe()
1163 [data->kind][i / 4]); in fschmd_probe()
1174 for (i = 0; i < (FSCHMD_NO_FAN_SENSORS[data->kind] * 5); i++) { in fschmd_probe()
1176 if (kind == fscpos && in fschmd_probe()
1181 if (kind == fscsyl) { in fschmd_probe()
1186 [data->kind][i / 5]); in fschmd_probe()
1242 names[data->kind], (int) data->revision); in fschmd_probe()
1282 for (i = 0; i < (FSCHMD_NO_VOLT_SENSORS[data->kind]); i++) in fschmd_remove()
1284 for (i = 0; i < (FSCHMD_NO_TEMP_SENSORS[data->kind] * 4); i++) in fschmd_remove()
1287 for (i = 0; i < (FSCHMD_NO_FAN_SENSORS[data->kind] * 5); i++) in fschmd_remove()
1306 for (i = 0; i < FSCHMD_NO_TEMP_SENSORS[data->kind]; i++) { in fschmd_update_device()
1308 FSCHMD_REG_TEMP_ACT[data->kind][i]); in fschmd_update_device()
1310 FSCHMD_REG_TEMP_STATE[data->kind][i]); in fschmd_update_device()
1313 if (FSCHMD_REG_TEMP_LIMIT[data->kind][i]) in fschmd_update_device()
1316 FSCHMD_REG_TEMP_LIMIT[data->kind][i]); in fschmd_update_device()
1326 FSCHMD_REG_TEMP_STATE[data->kind][i], in fschmd_update_device()
1330 for (i = 0; i < FSCHMD_NO_FAN_SENSORS[data->kind]; i++) { in fschmd_update_device()
1332 FSCHMD_REG_FAN_ACT[data->kind][i]); in fschmd_update_device()
1334 FSCHMD_REG_FAN_STATE[data->kind][i]); in fschmd_update_device()
1336 FSCHMD_REG_FAN_RIPPLE[data->kind][i]); in fschmd_update_device()
1339 if (FSCHMD_REG_FAN_MIN[data->kind][i]) in fschmd_update_device()
1342 FSCHMD_REG_FAN_MIN[data->kind][i]); in fschmd_update_device()
1348 FSCHMD_REG_FAN_STATE[data->kind][i], in fschmd_update_device()
1352 for (i = 0; i < FSCHMD_NO_VOLT_SENSORS[data->kind]; i++) in fschmd_update_device()
1354 FSCHMD_REG_VOLT[data->kind][i]); in fschmd_update_device()