Home
last modified time | relevance | path

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

/linux/drivers/clk/samsung/
H A Dclk-pll.h48 #define PLL_RATE(_fin, _m, _p, _s, _k, _ks) \ argument
49 ((u64)(_fin) * (BIT(_ks) * (_m) + (_k)) / BIT(_ks) / ((_p) << (_s)))
50 #define PLL_VALID_RATE(_fin, _fout, _m, _p, _s, _k, _ks) ((_fout) + \ argument
51 BUILD_BUG_ON_ZERO(PLL_RATE(_fin, _m, _p, _s, _k, _ks) != (_fout)))
53 #define PLL_35XX_RATE(_fin, _rate, _m, _p, _s) \ argument
55 .rate = PLL_VALID_RATE(_fin, _rate, \
62 #define PLL_36XX_RATE(_fin, _rate, _m, _p, _s, _k) \ argument
64 .rate = PLL_VALID_RATE(_fin, _rate, \
72 #define PLL_4508_RATE(_fin, _rate, _m, _p, _s, _afc) \ argument
74 .rate = PLL_VALID_RATE(_fin, _rate, \
[all …]