Lines Matching refs:uitmp

57 	unsigned int uitmp;  in tda10071_cmd_execute()  local
77 for (i = 1000, uitmp = 1; i && uitmp; i--) { in tda10071_cmd_execute()
78 ret = regmap_read(dev->regmap, 0x1f, &uitmp); in tda10071_cmd_execute()
199 unsigned int uitmp; in tda10071_diseqc_send_master_cmd() local
214 for (i = 500, uitmp = 0; i && !uitmp; i--) { in tda10071_diseqc_send_master_cmd()
215 ret = regmap_read(dev->regmap, 0x47, &uitmp); in tda10071_diseqc_send_master_cmd()
218 uitmp = (uitmp >> 0) & 1; in tda10071_diseqc_send_master_cmd()
259 unsigned int uitmp; in tda10071_diseqc_recv_slave_reply() local
269 for (i = 500, uitmp = 0; i && !uitmp; i--) { in tda10071_diseqc_recv_slave_reply()
270 ret = regmap_read(dev->regmap, 0x47, &uitmp); in tda10071_diseqc_recv_slave_reply()
273 uitmp = (uitmp >> 1) & 1; in tda10071_diseqc_recv_slave_reply()
285 ret = regmap_read(dev->regmap, 0x46, &uitmp); in tda10071_diseqc_recv_slave_reply()
289 reply->msg_len = uitmp & 0x1f; /* [4:0] */ in tda10071_diseqc_recv_slave_reply()
319 unsigned int uitmp; in tda10071_diseqc_send_burst() local
343 for (i = 500, uitmp = 0; i && !uitmp; i--) { in tda10071_diseqc_send_burst()
344 ret = regmap_read(dev->regmap, 0x47, &uitmp); in tda10071_diseqc_send_burst()
347 uitmp = (uitmp >> 0) & 1; in tda10071_diseqc_send_burst()
383 unsigned int uitmp; in tda10071_read_status() local
393 ret = regmap_read(dev->regmap, 0x39, &uitmp); in tda10071_read_status()
398 if (uitmp & 0x02) /* demod PLL */ in tda10071_read_status()
400 if (uitmp & 0x04) /* viterbi or LDPC*/ in tda10071_read_status()
402 if (uitmp & 0x08) /* RS or BCH */ in tda10071_read_status()
417 ret = regmap_read(dev->regmap, 0x50, &uitmp); in tda10071_read_status()
422 c->strength.stat[0].svalue = (int) (uitmp - 256) * 1000; in tda10071_read_status()
461 ret = regmap_read(dev->regmap, reg, &uitmp); in tda10071_read_status()
465 if (dev->meas_count == uitmp) { in tda10071_read_status()
466 dev_dbg(&client->dev, "meas not ready=%02x\n", uitmp); in tda10071_read_status()
470 dev->meas_count = uitmp; in tda10071_read_status()
527 unsigned int uitmp; in tda10071_read_signal_strength() local
530 uitmp = div_s64(c->strength.stat[0].svalue, 1000) + 256; in tda10071_read_signal_strength()
531 uitmp = clamp(uitmp, 181U, 236U); /* -75dBm - -20dBm */ in tda10071_read_signal_strength()
533 *strength = (uitmp-181) * 0xffff / (236-181); in tda10071_read_signal_strength()
769 unsigned int uitmp; in tda10071_init() local
922 ret = regmap_read(dev->regmap, 0x51, &uitmp); in tda10071_init()
926 if (uitmp) { in tda10071_init()
1166 unsigned int uitmp; in tda10071_probe() local
1193 ret = regmap_read(dev->regmap, 0xff, &uitmp); in tda10071_probe()
1196 if (uitmp != 0x0f) { in tda10071_probe()
1202 ret = regmap_read(dev->regmap, 0xdd, &uitmp); in tda10071_probe()
1205 if (uitmp != 0x00) { in tda10071_probe()
1211 ret = regmap_read(dev->regmap, 0xfe, &uitmp); in tda10071_probe()
1214 if (uitmp != 0x01) { in tda10071_probe()