Lines Matching defs:period
179 /* Return blinking period for given CTRL reg value */
199 * Find suitable hardware blink mode for given period.
200 * period < 750 ms - select 2 HZ
201 * 750 ms <= period < 1500 ms - select 1 HZ
202 * 1500 ms <= period < 3000 ms - select 1/2 HZ
203 * 3000 ms <= period < 5000 ms - select 1/4 HZ
204 * 5000 ms <= period - return -1
206 static int cht_wc_leds_find_freq(unsigned long period)
208 if (period < 750)
210 else if (period < 1500)
212 else if (period < 3000)
214 else if (period < 5000)