Home
last modified time | relevance | path

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

/drivers/clk/ti/
Ddpll3xxx.c252 unsigned long fint, clkinp; /* watch out for overflow */ in _lookup_dco() local
254 clkinp = clk_hw_get_rate(clk_hw_get_parent(&clk->hw)); in _lookup_dco()
255 fint = (clkinp / n) * m; in _lookup_dco()
277 unsigned long clkinp, sd; /* watch out for overflow */ in _lookup_sddiv() local
280 clkinp = clk_hw_get_rate(clk_hw_get_parent(&clk->hw)); in _lookup_sddiv()
286 clkinp /= 100000; /* shift from MHz to 10*Hz for 38.4 and 19.2 */ in _lookup_sddiv()
287 mod1 = (clkinp * m) % (250 * n); in _lookup_sddiv()
288 sd = (clkinp * m) / (250 * n); in _lookup_sddiv()