Home
last modified time | relevance | path

Searched refs:ktach (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/hwmon/
Dmax6650.c264 int kscale, ktach; in max6650_set_target() local
279 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()