| /Linux-v4.19/drivers/media/dvb-frontends/ |
| D | af9013.c | 531 unsigned int utmp, utmp1, utmp2, utmp3, utmp4; in af9013_read_status() local 550 utmp1 = FE_HAS_SIGNAL | FE_HAS_CARRIER | in af9013_read_status() 559 utmp1 = FE_HAS_SIGNAL | FE_HAS_CARRIER | in af9013_read_status() 562 utmp1 = 0; in af9013_read_status() 565 dev_dbg(&client->dev, "fe_status %02x\n", utmp1); in af9013_read_status() 569 state->fe_status = utmp1; in af9013_read_status() 570 *status = utmp1; in af9013_read_status() 583 ret = regmap_read(state->regmap, 0x9bbd, &utmp1); in af9013_read_status() 596 state->rf_agc_50 = utmp1; in af9013_read_status() 602 utmp1, utmp2, utmp3, utmp4); in af9013_read_status() [all …]
|
| D | af9033.c | 627 unsigned int utmp, utmp1; in af9033_read_status() local 694 utmp1 = buf[2] << 16 | buf[1] << 8 | buf[0] << 0; in af9033_read_status() 702 utmp1 /= utmp; in af9033_read_status() 712 utmp1 *= 4; in af9033_read_status() 716 utmp1 *= 1; in af9033_read_status() 720 utmp1 *= 2; in af9033_read_status() 723 utmp1 *= 0; in af9033_read_status() 739 utmp1 = clamp(utmp1, 653799U, 1689999U); in af9033_read_status() 740 utmp1 = ((u64)(intlog10(utmp1) in af9033_read_status() 741 - intlog10(1690000 - utmp1) in af9033_read_status() [all …]
|
| D | mn88473.c | 252 unsigned int utmp, utmp1, utmp2; in mn88473_read_status() local 330 utmp1 = buf[0] << 8 | buf[1] << 0 | buf[0] >> 2; in mn88473_read_status() 331 dev_dbg(&client->dev, "strength=%u\n", utmp1); in mn88473_read_status() 334 c->strength.stat[0].uvalue = utmp1; in mn88473_read_status() 370 utmp1 = (buf[0] >> 2) & 0x01; /* 0=SISO, 1=MISO */ in mn88473_read_status() 372 if (utmp1) { in mn88473_read_status() 400 utmp1 = buf[0] << 8 | buf[1] << 0; /* signal */ in mn88473_read_status() 402 if (utmp1 && utmp2) { in mn88473_read_status() 405 stmp = div_u64(((u64)15151336 + intlog10(utmp1) in mn88473_read_status() 408 stmp, utmp1, utmp2); in mn88473_read_status() [all …]
|
| D | mn88472.c | 32 unsigned int utmp, utmp1, utmp2; in mn88472_read_status() local 90 utmp1 = buf[0] << 8 | buf[1] << 0 | buf[0] >> 2; in mn88472_read_status() 91 dev_dbg(&client->dev, "strength=%u\n", utmp1); in mn88472_read_status() 94 c->strength.stat[0].uvalue = utmp1; in mn88472_read_status() 131 utmp1 = (buf[0] >> 2) & 0x01; /* 0=SISO, 1=MISO */ in mn88472_read_status() 133 if (utmp1) { in mn88472_read_status() 162 utmp1 = buf[0] << 8 | buf[1] << 0; /* signal */ in mn88472_read_status() 164 if (utmp1 && utmp2) { in mn88472_read_status() 167 stmp = ((u64)15151336 + intlog10(utmp1) in mn88472_read_status() 171 stmp, utmp1, utmp2); in mn88472_read_status() [all …]
|
| D | si2168.c | 115 unsigned int utmp, utmp1, utmp2; in si2168_read_status() local 188 for (i = 0, utmp1 = 1; i < utmp; i++) in si2168_read_status() 189 utmp1 = utmp1 * 10; in si2168_read_status() 191 utmp1 = cmd.args[2] * utmp1; in si2168_read_status() 196 utmp1, utmp2, cmd.args[2], cmd.args[1]); in si2168_read_status() 199 c->post_bit_error.stat[0].uvalue += utmp1; in si2168_read_status() 216 utmp1 = cmd.args[2] << 8 | cmd.args[1] << 0; in si2168_read_status() 217 dev_dbg(&client->dev, "block_error=%u\n", utmp1); in si2168_read_status() 220 if (utmp1 == 0xffff) in si2168_read_status() 221 utmp1 = 0; in si2168_read_status() [all …]
|
| D | cxd2820r_c.c | 161 unsigned int utmp, utmp1, utmp2; in cxd2820r_read_status_c() local 172 utmp1 = (buf[0] >> 0) & 0x01; in cxd2820r_read_status_c() 175 if (utmp1 == 1 && utmp2 == 1) { in cxd2820r_read_status_c() 178 } else if (utmp1 == 1 || utmp2 == 1) { in cxd2820r_read_status_c() 186 *status, 2, buf, utmp1, utmp2); in cxd2820r_read_status_c()
|
| D | cxd2820r_t.c | 266 unsigned int utmp, utmp1, utmp2; in cxd2820r_read_status_t() local 277 utmp1 = (buf[0] >> 0) & 0x07; in cxd2820r_read_status_t() 280 if (utmp1 == 6 && utmp2 == 1) { in cxd2820r_read_status_t() 283 } else if (utmp1 == 6 || utmp2 == 1) { in cxd2820r_read_status_t() 291 *status, 2, buf, utmp1, utmp2); in cxd2820r_read_status_t()
|
| D | cxd2820r_t2.c | 294 unsigned int utmp, utmp1, utmp2; in cxd2820r_read_status_t2() local 302 utmp1 = (buf[0] >> 0) & 0x07; in cxd2820r_read_status_t2() 305 if (utmp1 == 6 && utmp2 == 1) { in cxd2820r_read_status_t2() 308 } else if (utmp1 == 6 || utmp2 == 1) { in cxd2820r_read_status_t2() 316 *status, 1, buf, utmp1, utmp2); in cxd2820r_read_status_t2()
|
| /Linux-v4.19/drivers/media/usb/dvb-usb-v2/ |
| D | af9015.c | 567 unsigned int utmp1, utmp2, reg1, reg2; in af9015_streaming_ctrl() local 577 utmp1 = (d->udev->speed == USB_SPEED_FULL ? 5 : 87) * 188 / 4; in af9015_streaming_ctrl() 580 buf[0] = (utmp1 >> 0) & 0xff; in af9015_streaming_ctrl() 581 buf[1] = (utmp1 >> 8) & 0xff; in af9015_streaming_ctrl() 600 utmp1 = 0x01; in af9015_streaming_ctrl() 603 utmp1 = 0x00; in af9015_streaming_ctrl() 606 ret = regmap_update_bits(state->regmap, 0xd50b, 0x01, utmp1); in af9015_streaming_ctrl()
|