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