Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/tuners/
H A Dtda18218.c118 u32 LO_Frac; in tda18218_set_params() local
152 LO_Frac = c->frequency + priv->if_frequency; in tda18218_set_params()
155 if (LO_Frac < 188000000) in tda18218_set_params()
157 else if (LO_Frac < 253000000) in tda18218_set_params()
159 else if (LO_Frac < 343000000) in tda18218_set_params()
171 buf[0] = (LO_Frac / 1000) >> 12; /* LO_Frac_0 */ in tda18218_set_params()
172 buf[1] = (LO_Frac / 1000) >> 4; /* LO_Frac_1 */ in tda18218_set_params()
173 buf[2] = (LO_Frac / 1000) << 4 | in tda18218_set_params()