Searched refs:ktach (Results 1 – 1 of 1) sorted by relevance
264 int kscale, ktach; in max6650_set_target() local279 ktach = ((clock * kscale) / (256 * rpm / 60)) - 1; in max6650_set_target()280 if (ktach < 0) in max6650_set_target()281 ktach = 0; in max6650_set_target()282 if (ktach > 255) in max6650_set_target()283 ktach = 255; in max6650_set_target()284 data->speed = ktach; in max6650_set_target()