Home
last modified time | relevance | path

Searched refs:utmp1 (Results 1 – 9 of 9) sorted by relevance

/drivers/media/dvb-frontends/
Daf9013.c521 unsigned int utmp, utmp1, utmp2, utmp3, utmp4; in af9013_read_status() local
540 utmp1 = FE_HAS_SIGNAL | FE_HAS_CARRIER | in af9013_read_status()
549 utmp1 = FE_HAS_SIGNAL | FE_HAS_CARRIER | in af9013_read_status()
552 utmp1 = 0; in af9013_read_status()
555 dev_dbg(&client->dev, "fe_status %02x\n", utmp1); in af9013_read_status()
559 state->fe_status = utmp1; in af9013_read_status()
560 *status = utmp1; in af9013_read_status()
573 ret = regmap_read(state->regmap, 0x9bbd, &utmp1); in af9013_read_status()
586 state->rf_agc_50 = utmp1; in af9013_read_status()
592 utmp1, utmp2, utmp3, utmp4); in af9013_read_status()
[all …]
Daf9033.c619 unsigned int utmp, utmp1; in af9033_read_status() local
686 utmp1 = buf[2] << 16 | buf[1] << 8 | buf[0] << 0; in af9033_read_status()
694 utmp1 /= utmp; in af9033_read_status()
704 utmp1 *= 4; in af9033_read_status()
708 utmp1 *= 1; in af9033_read_status()
712 utmp1 *= 2; in af9033_read_status()
715 utmp1 *= 0; in af9033_read_status()
731 utmp1 = clamp(utmp1, 653799U, 1689999U); in af9033_read_status()
732 utmp1 = ((u64)(intlog10(utmp1) in af9033_read_status()
733 - intlog10(1690000 - utmp1) in af9033_read_status()
[all …]
Dmn88473.c243 unsigned int utmp, utmp1, utmp2; in mn88473_read_status() local
321 utmp1 = buf[0] << 8 | buf[1] << 0 | buf[0] >> 2; in mn88473_read_status()
322 dev_dbg(&client->dev, "strength=%u\n", utmp1); in mn88473_read_status()
325 c->strength.stat[0].uvalue = utmp1; in mn88473_read_status()
361 utmp1 = (buf[0] >> 2) & 0x01; /* 0=SISO, 1=MISO */ in mn88473_read_status()
363 if (utmp1) { in mn88473_read_status()
391 utmp1 = buf[0] << 8 | buf[1] << 0; /* signal */ in mn88473_read_status()
393 if (utmp1 && utmp2) { in mn88473_read_status()
396 stmp = div_u64(((u64)15151336 + intlog10(utmp1) in mn88473_read_status()
399 stmp, utmp1, utmp2); in mn88473_read_status()
[all …]
Dmn88472.c23 unsigned int utmp, utmp1, utmp2; in mn88472_read_status() local
81 utmp1 = buf[0] << 8 | buf[1] << 0 | buf[0] >> 2; in mn88472_read_status()
82 dev_dbg(&client->dev, "strength=%u\n", utmp1); in mn88472_read_status()
85 c->strength.stat[0].uvalue = utmp1; in mn88472_read_status()
122 utmp1 = (buf[0] >> 2) & 0x01; /* 0=SISO, 1=MISO */ in mn88472_read_status()
124 if (utmp1) { in mn88472_read_status()
153 utmp1 = buf[0] << 8 | buf[1] << 0; /* signal */ in mn88472_read_status()
155 if (utmp1 && utmp2) { in mn88472_read_status()
158 stmp = ((u64)15151336 + intlog10(utmp1) in mn88472_read_status()
162 stmp, utmp1, utmp2); in mn88472_read_status()
[all …]
Dsi2168.c120 unsigned int utmp, utmp1, utmp2; in si2168_read_status() local
185 for (i = 0, utmp1 = 1; i < utmp; i++) in si2168_read_status()
186 utmp1 = utmp1 * 10; in si2168_read_status()
188 utmp1 = cmd.args[2] * utmp1; in si2168_read_status()
193 utmp1, utmp2, cmd.args[2], cmd.args[1]); in si2168_read_status()
196 c->post_bit_error.stat[0].uvalue += utmp1; in si2168_read_status()
211 utmp1 = cmd.args[2] << 8 | cmd.args[1] << 0; in si2168_read_status()
212 dev_dbg(&client->dev, "block_error=%u\n", utmp1); in si2168_read_status()
215 if (utmp1 == 0xffff) in si2168_read_status()
216 utmp1 = 0; in si2168_read_status()
[all …]
Dcxd2820r_c.c148 unsigned int utmp, utmp1, utmp2; in cxd2820r_read_status_c() local
159 utmp1 = (buf[0] >> 0) & 0x01; in cxd2820r_read_status_c()
162 if (utmp1 == 1 && utmp2 == 1) { in cxd2820r_read_status_c()
165 } else if (utmp1 == 1 || utmp2 == 1) { in cxd2820r_read_status_c()
173 *status, 2, buf, utmp1, utmp2); in cxd2820r_read_status_c()
Dcxd2820r_t.c253 unsigned int utmp, utmp1, utmp2; in cxd2820r_read_status_t() local
264 utmp1 = (buf[0] >> 0) & 0x07; in cxd2820r_read_status_t()
267 if (utmp1 == 6 && utmp2 == 1) { in cxd2820r_read_status_t()
270 } else if (utmp1 == 6 || utmp2 == 1) { in cxd2820r_read_status_t()
278 *status, 2, buf, utmp1, utmp2); in cxd2820r_read_status_t()
Dcxd2820r_t2.c281 unsigned int utmp, utmp1, utmp2; in cxd2820r_read_status_t2() local
289 utmp1 = (buf[0] >> 0) & 0x07; in cxd2820r_read_status_t2()
292 if (utmp1 == 6 && utmp2 == 1) { in cxd2820r_read_status_t2()
295 } else if (utmp1 == 6 || utmp2 == 1) { in cxd2820r_read_status_t2()
303 *status, 1, buf, utmp1, utmp2); in cxd2820r_read_status_t2()
/drivers/media/usb/dvb-usb-v2/
Daf9015.c558 unsigned int utmp1, utmp2, reg1, reg2; in af9015_streaming_ctrl() local
568 utmp1 = (d->udev->speed == USB_SPEED_FULL ? 5 : 87) * 188 / 4; in af9015_streaming_ctrl()
571 buf[0] = (utmp1 >> 0) & 0xff; in af9015_streaming_ctrl()
572 buf[1] = (utmp1 >> 8) & 0xff; in af9015_streaming_ctrl()
591 utmp1 = 0x01; in af9015_streaming_ctrl()
594 utmp1 = 0x00; in af9015_streaming_ctrl()
597 ret = regmap_update_bits(state->regmap, 0xd50b, 0x01, utmp1); in af9015_streaming_ctrl()