Searched refs:if_ctl (Results 1 - 6 of 6) sorted by relevance

/linux-4.4.14/drivers/media/dvb-frontends/
H A Dcxd2820r_t.c29 u32 if_freq, if_ctl; cxd2820r_set_frontend_t() local
106 if_ctl = DIV_ROUND_CLOSEST_ULL(num, 41000); cxd2820r_set_frontend_t()
107 buf[0] = ((if_ctl >> 16) & 0xff); cxd2820r_set_frontend_t()
108 buf[1] = ((if_ctl >> 8) & 0xff); cxd2820r_set_frontend_t()
109 buf[2] = ((if_ctl >> 0) & 0xff); cxd2820r_set_frontend_t()
H A Dcxd2820r_t2.c29 u32 if_freq, if_ctl; cxd2820r_set_frontend_t2() local
123 if_ctl = DIV_ROUND_CLOSEST_ULL(num, 41000); cxd2820r_set_frontend_t2()
124 buf[0] = ((if_ctl >> 16) & 0xff); cxd2820r_set_frontend_t2()
125 buf[1] = ((if_ctl >> 8) & 0xff); cxd2820r_set_frontend_t2()
126 buf[2] = ((if_ctl >> 0) & 0xff); cxd2820r_set_frontend_t2()
H A Dhd29l2.c348 u32 if_freq, if_ctl; hd29l2_search() local
379 if_ctl = num64; hd29l2_search()
384 if_ctl = 0; hd29l2_search()
388 buf[0] = ((if_ctl >> 0) & 0xff); hd29l2_search()
389 buf[1] = ((if_ctl >> 8) & 0xff); hd29l2_search()
390 buf[2] = ((if_ctl >> 16) & 0xff); hd29l2_search()
402 dev_dbg(&priv->i2c->dev, "%s: if_freq=%d if_ctl=%x\n", hd29l2_search()
403 __func__, if_freq, if_ctl); hd29l2_search()
569 u32 if_ctl; hd29l2_get_frontend() local
714 if_ctl = (buf[0] << 16) | ((buf[1] - 7) << 8) | buf[2]; hd29l2_get_frontend()
720 str_interleave_, if_ctl); hd29l2_get_frontend()
H A Dcxd2820r_c.c31 u16 if_ctl; cxd2820r_set_frontend_c() local
82 if_ctl = 0x4000 - DIV_ROUND_CLOSEST_ULL(num, 41000); cxd2820r_set_frontend_c()
83 buf[0] = (if_ctl >> 8) & 0x3f; cxd2820r_set_frontend_c()
84 buf[1] = (if_ctl >> 0) & 0xff; cxd2820r_set_frontend_c()
H A Drtl2830.c180 u32 if_ctl, if_frequency; rtl2830_set_frontend() local
244 if_ctl = num & 0x3fffff; rtl2830_set_frontend()
245 dev_dbg(&client->dev, "if_frequency=%d if_ctl=%08x\n", rtl2830_set_frontend()
246 if_frequency, if_ctl); rtl2830_set_frontend()
248 buf[0] = (if_ctl >> 16) & 0x3f; rtl2830_set_frontend()
249 buf[1] = (if_ctl >> 8) & 0xff; rtl2830_set_frontend()
250 buf[2] = (if_ctl >> 0) & 0xff; rtl2830_set_frontend()
H A Drtl2832_sdr.c585 dev_dbg(&pdev->dev, "f_if=%u if_ctl=%08x\n", f_if, u32tmp); rtl2832_sdr_set_adc()

Completed in 237 milliseconds