Searched refs:tacho_num (Results 1 – 1 of 1) sorted by relevance
434 int tacho_num = 0, tacho_avail = 0, pwm_num = 0, i; in mlxreg_fan_config() local443 if (tacho_num == MLXREG_FAN_MAX_TACHO) { in mlxreg_fan_config()454 tacho_num++; in mlxreg_fan_config()459 fan->tacho[tacho_num].reg = data->reg; in mlxreg_fan_config()460 fan->tacho[tacho_num].mask = data->mask; in mlxreg_fan_config()461 fan->tacho[tacho_num].prsnt = data->reg_prsnt; in mlxreg_fan_config()462 fan->tacho[tacho_num++].connected = true; in mlxreg_fan_config()