Home
last modified time | relevance | path

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

/drivers/leds/
Dleds-asic3.c28 #define MS_TO_CLK(ms) DIV_ROUND_CLOSEST(((ms)*1024), 32000) macro
73 on = MS_TO_CLK(500); in blink_set()
74 off = MS_TO_CLK(500); in blink_set()
76 on = MS_TO_CLK(*delay_on); in blink_set()
77 off = MS_TO_CLK(*delay_off); in blink_set()