D | clk-pll.h | 43 #define PLL_RATE(_fin, _m, _p, _s, _k, _ks) \ argument 44 ((u64)(_fin) * (BIT(_ks) * (_m) + (_k)) / BIT(_ks) / ((_p) << (_s))) 45 #define PLL_VALID_RATE(_fin, _fout, _m, _p, _s, _k, _ks) ((_fout) + \ argument 46 BUILD_BUG_ON_ZERO(PLL_RATE(_fin, _m, _p, _s, _k, _ks) != (_fout))) 57 #define PLL_36XX_RATE(_fin, _rate, _m, _p, _s, _k) \ argument 60 _m, _p, _s, _k, 16), \ 64 .kdiv = (_k), \ 77 #define PLL_4600_RATE(_fin, _rate, _m, _p, _s, _k, _vsel) \ argument 80 _m, _p, _s, _k, 16), \ 84 .kdiv = (_k), \ [all …]
|