/linux-6.3-rc2/drivers/media/dvb-frontends/ |
A D | af9013.c | 552 utmp1 = 0; in af9013_read_status() 559 state->fe_status = utmp1; in af9013_read_status() 560 *status = utmp1; in af9013_read_status() 672 utmp1 = clamp(utmp1, 653799U, 1689999U); in af9013_read_status() 673 utmp1 = ((u64)(intlog10(utmp1) in af9013_read_status() 683 utmp1 = clamp(utmp1, 371105U, 827999U); in af9013_read_status() 684 utmp1 = ((u64)(intlog10(utmp1 - 370000) in af9013_read_status() 694 utmp1 = clamp(utmp1, 193246U, 424999U); in af9013_read_status() 695 utmp1 = ((u64)(intlog10(utmp1 - 193000) in af9013_read_status() 702 utmp1 = 0; in af9013_read_status() [all …]
|
A D | af9033.c | 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() 742 utmp1 = clamp(utmp1, 371105U, 827999U); in af9033_read_status() 743 utmp1 = ((u64)(intlog10(utmp1 - 370000) in af9033_read_status() 753 utmp1 = clamp(utmp1, 193246U, 424999U); in af9033_read_status() 754 utmp1 = ((u64)(intlog10(utmp1 - 193000) in af9033_read_status() [all …]
|
A D | mn88473.c | 243 unsigned int utmp, utmp1, utmp2; in mn88473_read_status() local 322 dev_dbg(&client->dev, "strength=%u\n", utmp1); in mn88473_read_status() 325 c->strength.stat[0].uvalue = utmp1; in mn88473_read_status() 363 if (utmp1) { in mn88473_read_status() 393 if (utmp1 && utmp2) { in mn88473_read_status() 399 stmp, utmp1, utmp2); in mn88473_read_status() 422 utmp1, utmp2); in mn88473_read_status() 425 c->post_bit_error.stat[0].uvalue += utmp1; in mn88473_read_status() 439 utmp1 = buf[0] << 8 | buf[1] << 0; in mn88473_read_status() 442 utmp1, utmp2); in mn88473_read_status() [all …]
|
A D | mn88472.c | 23 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() 124 if (utmp1) { 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() 179 utmp1 = buf[0] << 8 | buf[1] << 0; in mn88472_read_status() 182 utmp1, utmp2); in mn88472_read_status() [all …]
|
A D | si2168.c | 120 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 …]
|
A D | cxd2820r_c.c | 148 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()
|
A D | cxd2820r_t.c | 253 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()
|
A D | cxd2820r_t2.c | 281 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()
|
/linux-6.3-rc2/drivers/media/usb/dvb-usb-v2/ |
A D | af9015.c | 558 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()
|