Home
last modified time | relevance | path

Searched refs:div_n (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/gpu/drm/sun4i/
H A Dsun4i_hdmi_ddc_clk.c90 u8 div_m, div_n; in sun4i_ddc_set_rate() local
93 ddc->m_offset, &div_m, &div_n); in sun4i_ddc_set_rate()
97 SUN4I_HDMI_DDC_CLK_N(div_n)); in sun4i_ddc_set_rate()
/linux/drivers/media/tuners/
H A Dmsi001.c87 unsigned int uitmp, div_n, k, k_thresh, k_frac, div_lo, f_if1; in msi001_set_tuner() local
211 div_n = div_u64_rem(f_vco, DIV_PRE_N * F_REF, &k); in msi001_set_tuner()
226 uitmp = (unsigned int) F_REF * DIV_PRE_N * div_n; in msi001_set_tuner()
232 f_rf, uitmp, f_vco, div_n, k_thresh, k_frac, div_lo); in msi001_set_tuner()
262 reg |= div_n << 16; in msi001_set_tuner()
H A Dfc2580.c32 unsigned int uitmp, div_ref, div_ref_val, div_n, k, k_cw, div_out; in fc2580_set_params() local
91 div_n = div_u64_rem(f_vco, uitmp, &k); in fc2580_set_params()
97 div_n, k, div_out, k_cw); in fc2580_set_params()
115 ret = regmap_write(dev->regmap, 0x1c, div_n); in fc2580_set_params()
H A De4000.c101 unsigned int div_n, k, k_cw, div_out; in e4000_set_params() local
143 div_n = div_u64_rem(f_vco, F_REF, &k); in e4000_set_params()
148 dev->f_frequency, dev->f_bandwidth, f_vco, F_REF, div_n, k, in e4000_set_params()
151 buf[0] = div_n; in e4000_set_params()
/linux/drivers/media/usb/msi2500/
H A Dmsi2500.c673 unsigned int f_vco, f_sr, div_n, k, k_cw, div_out; in msi2500_set_usb_adc() local
781 div_n = div_u64_rem(f_vco, DIV_PRE_N * F_REF, &k); in msi2500_set_usb_adc()
784 reg3 |= div_n << 16; in msi2500_set_usb_adc()
791 f_sr, f_vco, div_n, k, div_out, reg3, reg4); in msi2500_set_usb_adc()