Searched refs:MS_TO_COUNT (Results 1 – 1 of 1) sorted by relevance
61 #define MS_TO_COUNT(hz, ms) ((hz) * (ms) / 1000) macro141 hw_cnt = MS_TO_COUNT(32768, 5/*ms*/); in timer_5ms_one_shot()338 hw_cnt = MS_TO_COUNT(32768, ms); in timer_init()340 hw_cnt = MS_TO_COUNT(1024, ms); in timer_init()342 hw_cnt = MS_TO_COUNT(32, ms); in timer_init()344 hw_cnt = MS_TO_COUNT(EC_FREQ, ms); in timer_init()