Lines Matching refs:utmp

19 	unsigned int utmp;  in tda18250_power_control()  local
56 R0D_AGC12, &utmp); in tda18250_power_control()
68 R0D_AGC12, 0x03, utmp & 0x03); in tda18250_power_control()
91 unsigned int utmp; in tda18250_wait_for_irq() local
97 ret = regmap_read(dev->regmap, R08_IRQ1, &utmp); in tda18250_wait_for_irq()
100 if ((utmp & irq) == irq) { in tda18250_wait_for_irq()
255 u8 utmp, utmp2; in tda18250_set_agc() local
263 utmp = ((c->frequency < 100000000) && in tda18250_set_agc()
267 ret = regmap_write(dev->regmap, R5A_H3H5, utmp); in tda18250_set_agc()
276 utmp = 4; in tda18250_set_agc()
281 utmp = (c->frequency < 800000000) ? 6 : 4; in tda18250_set_agc()
284 utmp = (c->frequency < 100000000) ? 2 : 3; in tda18250_set_agc()
290 ret = regmap_write_bits(dev->regmap, R0C_AGC11, 0x07, utmp); in tda18250_set_agc()
299 utmp = (c->frequency < 320000000) ? 20 : 16; in tda18250_set_agc()
306 utmp = 18; in tda18250_set_agc()
309 utmp = 16; in tda18250_set_agc()
312 utmp = 14; in tda18250_set_agc()
317 utmp = (c->frequency < 320000000) ? 16 : 18; in tda18250_set_agc()
326 ret = regmap_write_bits(dev->regmap, R13_AGC22, 0x1f, utmp); in tda18250_set_agc()
337 utmp = 98; in tda18250_set_agc()
340 utmp = 90; in tda18250_set_agc()
343 ret = regmap_write_bits(dev->regmap, R16_AGC25, 0xf8, utmp); in tda18250_set_agc()
357 utmp = (c->frequency < 320000000) ? 5 : 7; in tda18250_set_agc()
361 utmp = 7; in tda18250_set_agc()
365 ret = regmap_write(dev->regmap, R17_AGC31, (utmp << 4) | utmp2); in tda18250_set_agc()
375 utmp = 0x04; in tda18250_set_agc()
377 utmp = (c->frequency < 320000000) ? 0x04 : 0x02; in tda18250_set_agc()
381 utmp = ((c->frequency > 172544000) && in tda18250_set_agc()
384 utmp = ((c->frequency > 320000000) && in tda18250_set_agc()
388 ret = regmap_write_bits(dev->regmap, R20_IR_MIX, 0x06, utmp); in tda18250_set_agc()
396 utmp = 0; in tda18250_set_agc()
399 utmp = (c->frequency < 600000000) ? 0 : 3; in tda18250_set_agc()
402 ret = regmap_write_bits(dev->regmap, R16_AGC25, 0x03, utmp); in tda18250_set_agc()
406 utmp = 0x09; in tda18250_set_agc()
412 utmp = 0x0c; in tda18250_set_agc()
415 utmp = 0x0c; in tda18250_set_agc()
418 ret = regmap_write_bits(dev->regmap, R0F_AGC14, 0x3f, utmp); in tda18250_set_agc()
501 u8 utmp; in tda18250_set_params() local
594 utmp = DIV_ROUND_CLOSEST(if_khz, 50); in tda18250_set_params()
595 ret = regmap_write(dev->regmap, R26_IF, utmp); in tda18250_set_params()