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