Searched refs:factor_q20 (Results 1 – 1 of 1) sorted by relevance
53 int factor_q20 = (factor << 6) + 32; in RampSignal() local57 factor_q20 += increment; in RampSignal()58 factor_q20 = std::max(factor_q20, 0); // Never go negative. in RampSignal()59 factor = std::min(factor_q20 >> 6, 16384); in RampSignal()76 int factor_q20 = (factor << 6) + 32; in RampSignal() local80 factor_q20 += increment; in RampSignal()81 factor_q20 = std::max(factor_q20, 0); // Never go negative. in RampSignal()82 factor = std::min(factor_q20 >> 6, 16384); in RampSignal()