Lines Matching refs:utmp
17 unsigned int utmp;
67 utmp = 0x4000 - DIV_ROUND_CLOSEST_ULL((u64)if_frequency * 0x4000, CXD2820R_CLK);
68 buf[0] = (utmp >> 8) & 0xff;
69 buf[1] = (utmp >> 0) & 0xff;
94 unsigned int utmp;
105 ret = regmap_read(priv->regmap[1], 0x0019, &utmp);
109 switch ((utmp >> 0) & 0x07) {
127 switch ((utmp >> 7) & 0x01) {
148 unsigned int utmp, utmp1, utmp2;
183 utmp = buf[0] << 8 | buf[1] << 0;
184 utmp = 511 - sign_extend32(utmp, 9);
186 strength = utmp << 6 | utmp >> 4;
200 ret = regmap_read(priv->regmap[1], 0x0019, &utmp);
204 if (((utmp >> 0) & 0x03) % 2) {
212 ret = regmap_read(priv->regmap[1], 0x004d, &utmp);
217 if (utmp)
218 cnr = div_u64((u64)(intlog2(const_b) - intlog2(utmp))