Searched refs:rpmdiv (Results 1 – 1 of 1) sorted by relevance
82 long rpmdiv; in FAN_TO_REG() local85 rpmdiv = clamp_val(rpm, 1, 960000) * div; in FAN_TO_REG()86 return clamp_val((480000 + rpmdiv / 2) / rpmdiv, 1, 255); in FAN_TO_REG()