/drivers/media/dvb-frontends/ |
D | mn88473.c | 243 unsigned int utmp, utmp1, utmp2; in mn88473_read_status() local 392 utmp2 = buf[2] << 8 | buf[3] << 0; /* noise */ in mn88473_read_status() 393 if (utmp1 && utmp2) { in mn88473_read_status() 397 - intlog10(utmp2)) * 10000, 1 << 24); in mn88473_read_status() 399 stmp, utmp1, utmp2); in mn88473_read_status() 419 utmp2 = buf[3] << 8 | buf[4] << 0; in mn88473_read_status() 420 utmp2 = utmp2 * 8 * 204; in mn88473_read_status() 422 utmp1, utmp2); in mn88473_read_status() 427 c->post_bit_count.stat[0].uvalue += utmp2; in mn88473_read_status() 440 utmp2 = buf[2] << 8 | buf[3] << 0; in mn88473_read_status() [all …]
|
D | cxd2820r_c.c | 148 unsigned int utmp, utmp1, utmp2; in cxd2820r_read_status_c() local 160 utmp2 = (buf[1] >> 3) & 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()
|
D | cxd2820r_t.c | 253 unsigned int utmp, utmp1, utmp2; in cxd2820r_read_status_t() local 265 utmp2 = (buf[1] >> 3) & 0x01; 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()
|
D | cxd2820r_t2.c | 281 unsigned int utmp, utmp1, utmp2; in cxd2820r_read_status_t2() local 290 utmp2 = (buf[0] >> 5) & 0x01; 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()
|
D | mn88472.c | 23 unsigned int utmp, utmp1, utmp2; in mn88472_read_status() local 154 utmp2 = buf[2] << 8 | buf[3] << 0; /* noise */ in mn88472_read_status() 155 if (utmp1 && utmp2) { in mn88472_read_status() 159 - intlog10(utmp2)) * 10000 >> 24; in mn88472_read_status() 162 stmp, utmp1, utmp2); in mn88472_read_status() 180 utmp2 = buf[2] << 8 | buf[3] << 0; in mn88472_read_status() 182 utmp1, utmp2); in mn88472_read_status() 187 c->block_count.stat[0].uvalue += utmp2; in mn88472_read_status()
|
D | af9013.c | 521 unsigned int utmp, utmp1, utmp2, utmp3, utmp4; in af9013_read_status() local 576 ret = regmap_read(state->regmap, 0x9bd0, &utmp2); in af9013_read_status() 587 state->rf_agc_80 = utmp2; in af9013_read_status() 592 utmp1, utmp2, utmp3, utmp4); in af9013_read_status() 741 utmp2 = (buf[1] << 8 | buf[0] << 0) * 204 * 8; in af9013_read_status() 760 utmp1, utmp2); in af9013_read_status() 771 c->post_bit_count.stat[0].uvalue += utmp2; in af9013_read_status()
|
D | si2168.c | 120 unsigned int utmp, utmp1, utmp2; in si2168_read_status() local 189 utmp2 = 100000000; /* 10^8 */ in si2168_read_status() 193 utmp1, utmp2, cmd.args[2], cmd.args[1]); in si2168_read_status() 198 c->post_bit_count.stat[0].uvalue += utmp2; in si2168_read_status()
|
/drivers/media/tuners/ |
D | tda18250.c | 255 u8 utmp, utmp2; in tda18250_set_agc() local 300 utmp2 = (c->frequency < 320000000) ? 22 : 18; in tda18250_set_agc() 307 utmp2 = 22; in tda18250_set_agc() 310 utmp2 = 20; in tda18250_set_agc() 313 utmp2 = 16; in tda18250_set_agc() 318 utmp2 = (c->frequency < 320000000) ? 18 : 20; in tda18250_set_agc() 323 ret = regmap_write_bits(dev->regmap, R58_AGC2_UP1, 0x1f, utmp2+8); in tda18250_set_agc() 329 ret = regmap_write_bits(dev->regmap, R14_AGC23, 0x1f, utmp2); in tda18250_set_agc() 358 utmp2 = (c->frequency < 320000000) ? 10 : 12; in tda18250_set_agc() 362 utmp2 = 12; in tda18250_set_agc() [all …]
|
/drivers/media/usb/dvb-usb-v2/ |
D | af9015.c | 558 unsigned int utmp1, utmp2, reg1, reg2; in af9015_streaming_ctrl() local 569 utmp2 = (d->udev->speed == USB_SPEED_FULL ? 64 : 512) / 4; in af9015_streaming_ctrl() 585 ret = regmap_write(state->regmap, reg2, utmp2); in af9015_streaming_ctrl() 592 utmp2 = 0x10; in af9015_streaming_ctrl() 595 utmp2 = 0x00; in af9015_streaming_ctrl() 600 ret = regmap_update_bits(state->regmap, 0xd520, 0x10, utmp2); in af9015_streaming_ctrl()
|