Lines Matching refs:utmp
180 unsigned int utmp; in ts2020_set_tuner_rf() local
182 ret = regmap_read(dev->regmap, 0x3d, &utmp); in ts2020_set_tuner_rf()
183 utmp &= 0x7f; in ts2020_set_tuner_rf()
184 if (utmp < 0x16) in ts2020_set_tuner_rf()
185 utmp = 0xa1; in ts2020_set_tuner_rf()
186 else if (utmp == 0x16) in ts2020_set_tuner_rf()
187 utmp = 0x99; in ts2020_set_tuner_rf()
189 utmp = 0xf9; in ts2020_set_tuner_rf()
191 regmap_write(dev->regmap, 0x60, utmp); in ts2020_set_tuner_rf()
202 unsigned int utmp; in ts2020_set_params() local
279 regmap_read(priv->regmap, 0x26, &utmp); in ts2020_set_params()
280 value = utmp; in ts2020_set_params()
350 unsigned utmp; in ts2020_read_tuner_gain() local
354 ret = regmap_read(priv->regmap, 0x3d, &utmp); in ts2020_read_tuner_gain()
357 gain1 = utmp & 0x1f; in ts2020_read_tuner_gain()
360 ret = regmap_read(priv->regmap, 0x21, &utmp); in ts2020_read_tuner_gain()
363 gain2 = utmp & 0x1f; in ts2020_read_tuner_gain()
379 ret = regmap_read(priv->regmap, 0x66, &utmp); in ts2020_read_tuner_gain()
382 gain3 = (utmp >> 3) & 0x07; in ts2020_read_tuner_gain()
570 unsigned int utmp; in ts2020_probe() local
606 ret = regmap_read(dev->regmap, 0x00, &utmp); in ts2020_probe()
610 if ((utmp & 0x03) == 0x00) { in ts2020_probe()
624 ret = regmap_read(dev->regmap, 0x00, &utmp); in ts2020_probe()
628 dev_dbg(&client->dev, "chip_id=%02x\n", utmp); in ts2020_probe()
630 switch (utmp) { in ts2020_probe()