Searched refs:pll_n (Results 1 – 11 of 11) sorted by relevance
/drivers/media/tuners/ |
D | m88ts2022.c | 67 unsigned int f_ref_khz, f_vco_khz, div_ref, div_out, pll_n, gdiv28; in m88ts2022_set_params() local 103 pll_n = f_vco_khz * div_ref / f_ref_khz; in m88ts2022_set_params() 104 pll_n += pll_n % 2; in m88ts2022_set_params() 105 dev->frequency_khz = pll_n * f_ref_khz / div_ref / div_out; in m88ts2022_set_params() 107 if (pll_n < 4095) in m88ts2022_set_params() 108 u16tmp = pll_n - 1024; in m88ts2022_set_params() 109 else if (pll_n < 6143) in m88ts2022_set_params() 110 u16tmp = pll_n + 1024; in m88ts2022_set_params() 112 u16tmp = pll_n + 3072; in m88ts2022_set_params() 124 f_vco_khz, pll_n, div_ref, div_out); in m88ts2022_set_params()
|
D | e4000.c | 119 unsigned int pll_n, pll_f; in e4000_set_params() local 144 pll_n = div_u64_rem(f_vco, s->clock, &pll_f); in e4000_set_params() 146 buf[0] = pll_n; in e4000_set_params()
|
/drivers/media/dvb-frontends/ |
D | tda10023.c | 56 u8 pll_n; member 243 /* 015 */ 0x29, 0xff, ((state->pll_p-1)<<6)|(state->pll_n-1), in tda10023_init() 547 state->pll_n = state->config->pll_n; in tda10023_attach() 553 state->pll_n = 1; in tda10023_attach() 558 (state->pll_n * state->pll_p)); in tda10023_attach() 565 state->pll_n); in tda10023_attach()
|
D | tda10048.h | 73 u8 pll_n; member
|
D | tda1002x.h | 51 u8 pll_n; /* defaults: 1 */ member
|
D | tda10048.c | 1129 state->pll_nfactor = config->pll_n; in tda10048_attach()
|
/drivers/video/fbdev/ |
D | gbefb.c | 436 timing->pll_n = 1; in gbefb_setup_flatpanel() 466 int pll_m, pll_n, pll_p, error, best_m, best_n, best_p, best_error; in compute_gbe_timing() local 484 for (pll_n = 1; pll_n < 64; pll_n++) { in compute_gbe_timing() 486 (pll_n << pll_p) / pll_m; in compute_gbe_timing() 494 pll_m / pll_n > in compute_gbe_timing() 496 pll_m / pll_n < in compute_gbe_timing() 500 best_n = pll_n; in compute_gbe_timing() 516 timing->pll_n = best_n; in compute_gbe_timing() 519 (timing->pll_n << timing->pll_p); in compute_gbe_timing() 547 SET_GBE_FIELD(DOTCLK, N, val, timing->pll_n - 1); in gbe_set_timing_info()
|
D | gxt4500.c | 151 int pll_n; /* VCO divisor */ member 263 par->pll_n = n; in calc_pll() 279 / par->pll_n; in calc_pixclock() 398 if (par->pll_n < 38) in gxt4500_set_par() 400 if (par->pll_n < 69) in gxt4500_set_par() 402 else if (par->pll_n < 100) in gxt4500_set_par() 408 writereg(par, PLL_N, ndivtab[par->pll_n - 2]); in gxt4500_set_par()
|
/drivers/media/usb/dvb-usb/ |
D | ttusb2.c | 502 .pll_n = 1, 517 .pll_n = 3,
|
/drivers/media/usb/dvb-usb-v2/ |
D | anysee.c | 293 .pll_n = 1, 329 .pll_n = 1,
|
/drivers/media/pci/ttpci/ |
D | budget-ci.c | 1042 .pll_n = 1,
|