Lines Matching refs:utmp
168 unsigned int utmp; in ts2020_set_tuner_rf() local
170 ret = regmap_read(dev->regmap, 0x3d, &utmp); in ts2020_set_tuner_rf()
174 utmp &= 0x7f; in ts2020_set_tuner_rf()
175 if (utmp < 0x16) in ts2020_set_tuner_rf()
176 utmp = 0xa1; in ts2020_set_tuner_rf()
177 else if (utmp == 0x16) in ts2020_set_tuner_rf()
178 utmp = 0x99; in ts2020_set_tuner_rf()
180 utmp = 0xf9; in ts2020_set_tuner_rf()
182 regmap_write(dev->regmap, 0x60, utmp); in ts2020_set_tuner_rf()
193 unsigned int utmp; in ts2020_set_params() local
270 regmap_read(priv->regmap, 0x26, &utmp); in ts2020_set_params()
271 value = utmp; in ts2020_set_params()
341 unsigned utmp; in ts2020_read_tuner_gain() local
345 ret = regmap_read(priv->regmap, 0x3d, &utmp); in ts2020_read_tuner_gain()
348 gain1 = utmp & 0x1f; in ts2020_read_tuner_gain()
351 ret = regmap_read(priv->regmap, 0x21, &utmp); in ts2020_read_tuner_gain()
354 gain2 = utmp & 0x1f; in ts2020_read_tuner_gain()
370 ret = regmap_read(priv->regmap, 0x66, &utmp); in ts2020_read_tuner_gain()
373 gain3 = (utmp >> 3) & 0x07; in ts2020_read_tuner_gain()
561 unsigned int utmp; in ts2020_probe() local
597 ret = regmap_read(dev->regmap, 0x00, &utmp); in ts2020_probe()
601 if ((utmp & 0x03) == 0x00) { in ts2020_probe()
615 ret = regmap_read(dev->regmap, 0x00, &utmp); in ts2020_probe()
619 dev_dbg(&client->dev, "chip_id=%02x\n", utmp); in ts2020_probe()
621 switch (utmp) { in ts2020_probe()