Lines Matching refs:utmp
30 unsigned int utmp; in cxd2820r_set_frontend_c() local
80 utmp = 0x4000 - DIV_ROUND_CLOSEST_ULL((u64)if_frequency * 0x4000, CXD2820R_CLK); in cxd2820r_set_frontend_c()
81 buf[0] = (utmp >> 8) & 0xff; in cxd2820r_set_frontend_c()
82 buf[1] = (utmp >> 0) & 0xff; in cxd2820r_set_frontend_c()
107 unsigned int utmp; in cxd2820r_get_frontend_c() local
118 ret = regmap_read(priv->regmap[1], 0x0019, &utmp); in cxd2820r_get_frontend_c()
122 switch ((utmp >> 0) & 0x07) { in cxd2820r_get_frontend_c()
140 switch ((utmp >> 7) & 0x01) { in cxd2820r_get_frontend_c()
161 unsigned int utmp, utmp1, utmp2; in cxd2820r_read_status_c() local
196 utmp = buf[0] << 8 | buf[1] << 0; in cxd2820r_read_status_c()
197 utmp = 511 - sign_extend32(utmp, 9); in cxd2820r_read_status_c()
199 strength = utmp << 6 | utmp >> 4; in cxd2820r_read_status_c()
213 ret = regmap_read(priv->regmap[1], 0x0019, &utmp); in cxd2820r_read_status_c()
217 if (((utmp >> 0) & 0x03) % 2) { in cxd2820r_read_status_c()
225 ret = regmap_read(priv->regmap[1], 0x004d, &utmp); in cxd2820r_read_status_c()
230 if (utmp) in cxd2820r_read_status_c()
231 cnr = div_u64((u64)(intlog2(const_b) - intlog2(utmp)) in cxd2820r_read_status_c()