Searched refs:pre_lo_freq (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/media/tuners/ |
H A D | it913x.c | 213 u32 pre_lo_freq, t_cal_freq; in it913x_set_params() local 274 pre_lo_freq = t_cal_freq / dev->xtal; in it913x_set_params() 275 utmp = pre_lo_freq * dev->xtal; in it913x_set_params() 278 pre_lo_freq++; in it913x_set_params() 280 pre_lo_freq += (u32) n << 13; in it913x_set_params() 282 t_cal_freq = pre_lo_freq + (u32)iqik_m_cal; in it913x_set_params() 283 dev_dbg(&pdev->dev, "t_cal_freq %u, pre_lo_freq %u\n", in it913x_set_params() 284 t_cal_freq, pre_lo_freq); in it913x_set_params() 352 ret = regmap_write(dev->regmap, 0x80011e, (pre_lo_freq >> 0) & 0xff); in it913x_set_params() 356 ret = regmap_write(dev->regmap, 0x80011f, (pre_lo_freq >> in it913x_set_params() [all...] |
/kernel/linux/linux-6.6/drivers/media/tuners/ |
H A D | it913x.c | 214 u32 pre_lo_freq, t_cal_freq; in it913x_set_params() local 275 pre_lo_freq = t_cal_freq / dev->xtal; in it913x_set_params() 276 utmp = pre_lo_freq * dev->xtal; in it913x_set_params() 279 pre_lo_freq++; in it913x_set_params() 281 pre_lo_freq += (u32) n << 13; in it913x_set_params() 283 t_cal_freq = pre_lo_freq + (u32)iqik_m_cal; in it913x_set_params() 284 dev_dbg(&pdev->dev, "t_cal_freq %u, pre_lo_freq %u\n", in it913x_set_params() 285 t_cal_freq, pre_lo_freq); in it913x_set_params() 353 ret = regmap_write(dev->regmap, 0x80011e, (pre_lo_freq >> 0) & 0xff); in it913x_set_params() 357 ret = regmap_write(dev->regmap, 0x80011f, (pre_lo_freq >> in it913x_set_params() [all...] |
Completed in 1 milliseconds