Searched refs:F_REF (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/media/tuners/ |
H A D | msi001.c | 139 #define F_REF 24000000 in msi001_set_tuner() macro 159 f_if1 = 5 * F_REF; in msi001_set_tuner() 211 div_n = div_u64_rem(f_vco, DIV_PRE_N * F_REF, &k); in msi001_set_tuner() 212 k_thresh = (DIV_PRE_N * F_REF) / F_VCO_STEP; in msi001_set_tuner() 213 k_frac = div_u64((u64) k * k_thresh, (DIV_PRE_N * F_REF)); in msi001_set_tuner() 226 uitmp = (unsigned int) F_REF * DIV_PRE_N * div_n; in msi001_set_tuner() 227 uitmp += (unsigned int) F_REF * DIV_PRE_N * k_frac / k_thresh; in msi001_set_tuner()
|
H A D | fc2580.c | 67 #define F_REF dev->clk in fc2580_set_params() macro 78 if (f_vco >= div_u64((u64) DIV_PRE_N * DIV_N_MIN * F_REF, 1)) { in fc2580_set_params() 81 } else if (f_vco >= div_u64((u64) DIV_PRE_N * DIV_N_MIN * F_REF, 2)) { 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()
|
H A D | e4000.c | 139 #define F_REF dev->clk in e4000_set_params() macro 143 div_n = div_u64_rem(f_vco, F_REF, &k); in e4000_set_params() 144 k_cw = div_u64((u64) k * 0x10000, F_REF); in e4000_set_params() 148 dev->f_frequency, dev->f_bandwidth, f_vco, F_REF, div_n, k, in e4000_set_params()
|
/openbmc/linux/drivers/media/usb/msi2500/ |
H A D | msi2500.c | 757 #define F_REF 24000000 in msi2500_set_usb_adc() macro 781 div_n = div_u64_rem(f_vco, DIV_PRE_N * F_REF, &k); in msi2500_set_usb_adc() 782 k_cw = div_u64((u64) k * 0x200000, DIV_PRE_N * F_REF); in msi2500_set_usb_adc()
|