Lines Matching refs:uitmp

44 	unsigned int uitmp;  in tda10071_cmd_execute()  local
64 for (i = 1000, uitmp = 1; i && uitmp; i--) { in tda10071_cmd_execute()
65 ret = regmap_read(dev->regmap, 0x1f, &uitmp); in tda10071_cmd_execute()
186 unsigned int uitmp; in tda10071_diseqc_send_master_cmd() local
201 for (i = 500, uitmp = 0; i && !uitmp; i--) { in tda10071_diseqc_send_master_cmd()
202 ret = regmap_read(dev->regmap, 0x47, &uitmp); in tda10071_diseqc_send_master_cmd()
205 uitmp = (uitmp >> 0) & 1; in tda10071_diseqc_send_master_cmd()
246 unsigned int uitmp; in tda10071_diseqc_recv_slave_reply() local
256 for (i = 500, uitmp = 0; i && !uitmp; i--) { in tda10071_diseqc_recv_slave_reply()
257 ret = regmap_read(dev->regmap, 0x47, &uitmp); in tda10071_diseqc_recv_slave_reply()
260 uitmp = (uitmp >> 1) & 1; in tda10071_diseqc_recv_slave_reply()
272 ret = regmap_read(dev->regmap, 0x46, &uitmp); in tda10071_diseqc_recv_slave_reply()
276 reply->msg_len = uitmp & 0x1f; /* [4:0] */ in tda10071_diseqc_recv_slave_reply()
306 unsigned int uitmp; in tda10071_diseqc_send_burst() local
330 for (i = 500, uitmp = 0; i && !uitmp; i--) { in tda10071_diseqc_send_burst()
331 ret = regmap_read(dev->regmap, 0x47, &uitmp); in tda10071_diseqc_send_burst()
334 uitmp = (uitmp >> 0) & 1; in tda10071_diseqc_send_burst()
370 unsigned int uitmp; in tda10071_read_status() local
380 ret = regmap_read(dev->regmap, 0x39, &uitmp); in tda10071_read_status()
385 if (uitmp & 0x02) /* demod PLL */ in tda10071_read_status()
387 if (uitmp & 0x04) /* viterbi or LDPC*/ in tda10071_read_status()
389 if (uitmp & 0x08) /* RS or BCH */ in tda10071_read_status()
404 ret = regmap_read(dev->regmap, 0x50, &uitmp); in tda10071_read_status()
409 c->strength.stat[0].svalue = (int) (uitmp - 256) * 1000; in tda10071_read_status()
448 ret = regmap_read(dev->regmap, reg, &uitmp); in tda10071_read_status()
452 if (dev->meas_count == uitmp) { in tda10071_read_status()
453 dev_dbg(&client->dev, "meas not ready=%02x\n", uitmp); in tda10071_read_status()
457 dev->meas_count = uitmp; in tda10071_read_status()
515 unsigned int uitmp; in tda10071_read_signal_strength() local
518 uitmp = div_s64(c->strength.stat[0].svalue, 1000) + 256; in tda10071_read_signal_strength()
519 uitmp = clamp(uitmp, 181U, 236U); /* -75dBm - -20dBm */ in tda10071_read_signal_strength()
521 *strength = (uitmp-181) * 0xffff / (236-181); in tda10071_read_signal_strength()
757 unsigned int uitmp; in tda10071_init() local
910 ret = regmap_read(dev->regmap, 0x51, &uitmp); in tda10071_init()
914 if (uitmp) { in tda10071_init()
1153 unsigned int uitmp; in tda10071_probe() local
1180 ret = regmap_read(dev->regmap, 0xff, &uitmp); in tda10071_probe()
1183 if (uitmp != 0x0f) { in tda10071_probe()
1189 ret = regmap_read(dev->regmap, 0xdd, &uitmp); in tda10071_probe()
1192 if (uitmp != 0x00) { in tda10071_probe()
1198 ret = regmap_read(dev->regmap, 0xfe, &uitmp); in tda10071_probe()
1201 if (uitmp != 0x01) { in tda10071_probe()