Searched refs:div_ref (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/loongson/ |
D | lsdc_pixpll.c | 28 unsigned div_ref : 7; /* 38 : 32 Input clock divider */ member 54 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() [all …]
|
D | lsdc_gfxpll.c | 42 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()
|
D | lsdc_gfxpll.h | 15 unsigned int div_ref; member
|
D | lsdc_pixpll.h | 44 unsigned int div_ref; member
|
D | lsdc_crtc.c | 708 drm_printf(p, "\tInput clock divider = %u\n", pparms->div_ref); in lsdc_crtc_atomic_print_state()
|
/linux-6.12.1/drivers/media/tuners/ |
D | fc2580.c | 32 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()
|
/linux-6.12.1/drivers/media/dvb-frontends/ |
D | ts2020.c | 197 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()
|