Lines Matching defs:pll_word
206 uint16_t pll_word = 0;
209 pll_word = 4 * (tune.freq - 225) * 1000 / 50000;
211 pll_word = 4 * (tune.freq - 225) * 1000 / 32768;
215 pll_word = 4 * (tune.freq - 225) * 1000 / 50000;
219 buf[1] = pll_word & 0xff;
220 buf[0] = (pll_word>>8) & 0x3f;
263 int pll_word = buf[1] | (buf[0] & 0x3f) << 8;
265 tune->freq = pll_word * 50 / 4 + 225;
267 tune->freq = pll_word * 32768 / 4000 + 225;
269 tune->freq = pll_word * 50 / 4 + 225;