Searched refs:k_cw (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/media/tuners/
H A Dfc2580.c45 unsigned int uitmp, div_ref, div_ref_val, div_n, k, k_cw, div_out; fc2580_set_params() local
105 k_cw = div_u64((u64) k * 0x100000, uitmp); fc2580_set_params()
108 "frequency=%u bandwidth=%u f_vco=%llu F_REF=%u div_ref=%u div_n=%u k=%u div_out=%u k_cw=%0x\n", fc2580_set_params()
110 div_n, k, div_out, k_cw); fc2580_set_params()
116 ret = regmap_write(dev->regmap, 0x18, div_ref_val << 0 | k_cw >> 16); fc2580_set_params()
120 ret = regmap_write(dev->regmap, 0x1a, (k_cw >> 8) & 0xff); fc2580_set_params()
124 ret = regmap_write(dev->regmap, 0x1b, (k_cw >> 0) & 0xff); fc2580_set_params()
H A De4000.c114 unsigned int div_n, k, k_cw, div_out; e4000_set_params() local
157 k_cw = div_u64((u64) k * 0x10000, F_REF); e4000_set_params()
160 "frequency=%u bandwidth=%u f_vco=%llu F_REF=%u div_n=%u k=%u k_cw=%04x div_out=%u\n", e4000_set_params()
162 k_cw, div_out); e4000_set_params()
165 buf[1] = (k_cw >> 0) & 0xff; e4000_set_params()
166 buf[2] = (k_cw >> 8) & 0xff; e4000_set_params()
/linux-4.4.14/drivers/media/usb/msi2500/
H A Dmsi2500.c694 unsigned int f_vco, f_sr, div_n, k, k_cw, div_out; msi2500_set_usb_adc() local
803 k_cw = div_u64((u64) k * 0x200000, DIV_PRE_N * F_REF); msi2500_set_usb_adc()
807 reg3 |= ((k_cw >> 20) & 0x000001) << 15; /* [20] */ msi2500_set_usb_adc()
808 reg4 |= ((k_cw >> 0) & 0x0fffff) << 8; /* [19:0] */ msi2500_set_usb_adc()

Completed in 213 milliseconds