Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/loongson/
H A Dlsdc_pixpll.c54 unsigned short div_ref; member
161 pout->div_ref = pt->div_ref; in lsdc_pixpll_find()
200 unsigned int div_out, loopc, div_ref; in lsdc_pixel_pll_compute() local
207 for (div_ref = 3; div_ref < 6; div_ref++) { in lsdc_pixel_pll_compute()
211 if (loopc < 12 * div_ref) in lsdc_pixel_pll_compute()
213 if (loopc > 32 * div_ref) in lsdc_pixel_pll_compute()
216 computed = refclk / div_ref * loopc / div_out; in lsdc_pixel_pll_compute()
225 pparms->div_ref = div_ref; in lsdc_pixel_pll_compute()
357 pixpll_reg.bitmap.div_ref = p->div_ref; in __pixpll_ops_set_param()
436 ppar->div_ref = pix_pll_reg.bitmap.div_ref; in lsdc_pixpll_get_freq()
[all …]
H A Dlsdc_gfxpll.c42 unsigned div_ref : 7; /* 38 : 32 Input clock divider */ member
94 pparms->div_ref = gfxpll_reg.bitmap.div_ref; in loongson_gfxpll_get_rates()
101 pre_output = pparms->ref_clock / pparms->div_ref * pparms->loopc; in loongson_gfxpll_get_rates()
126 drm_printf(p, "div_ref = %u\n", parms->div_ref); in loongson_gfxpll_print()
H A Dlsdc_gfxpll.h15 unsigned int div_ref; member
H A Dlsdc_pixpll.h44 unsigned int div_ref; member
H A Dlsdc_crtc.c707 drm_printf(p, "\tInput clock divider = %u\n", pparms->div_ref); in lsdc_crtc_atomic_print_state()
/openbmc/linux/drivers/media/tuners/
H A Dfc2580.c32 unsigned int uitmp, div_ref, div_ref_val, div_n, k, k_cw, div_out; in fc2580_set_params() local
79 div_ref = 1; in fc2580_set_params()
82 div_ref = 2; in fc2580_set_params()
85 div_ref = 4; in fc2580_set_params()
90 uitmp = DIV_PRE_N * F_REF / div_ref; in fc2580_set_params()
96 dev->f_frequency, dev->f_bandwidth, f_vco, F_REF, div_ref, in fc2580_set_params()
/openbmc/linux/drivers/media/dvb-frontends/
H A Dts2020.c197 unsigned int f_ref_khz, f_vco_khz, div_ref, div_out, pll_n; in ts2020_set_params() local
205 div_ref = DIV_ROUND_CLOSEST(f_ref_khz, 2000); in ts2020_set_params()
217 pll_n = f_vco_khz * div_ref / f_ref_khz; in ts2020_set_params()
219 priv->frequency_khz = pll_n * f_ref_khz / div_ref / div_out; in ts2020_set_params()
223 f_vco_khz, pll_n, div_ref, div_out); in ts2020_set_params()
239 buf[2] = div_ref - 8; in ts2020_set_params()