Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/media/dvb-frontends/
Dmn88473.c252 unsigned int utmp, utmp1, utmp2; in mn88473_read_status() local
401 utmp2 = buf[2] << 8 | buf[3] << 0; /* noise */ in mn88473_read_status()
402 if (utmp1 && utmp2) { in mn88473_read_status()
406 - intlog10(utmp2)) * 10000, 1 << 24); in mn88473_read_status()
408 stmp, utmp1, utmp2); in mn88473_read_status()
428 utmp2 = buf[3] << 8 | buf[4] << 0; in mn88473_read_status()
429 utmp2 = utmp2 * 8 * 204; in mn88473_read_status()
431 utmp1, utmp2); in mn88473_read_status()
436 c->post_bit_count.stat[0].uvalue += utmp2; in mn88473_read_status()
449 utmp2 = buf[2] << 8 | buf[3] << 0; in mn88473_read_status()
[all …]
Dcxd2820r_c.c161 unsigned int utmp, utmp1, utmp2; in cxd2820r_read_status_c() local
173 utmp2 = (buf[1] >> 3) & 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()
Dcxd2820r_t.c266 unsigned int utmp, utmp1, utmp2; in cxd2820r_read_status_t() local
278 utmp2 = (buf[1] >> 3) & 0x01; 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()
Dcxd2820r_t2.c294 unsigned int utmp, utmp1, utmp2; in cxd2820r_read_status_t2() local
303 utmp2 = (buf[0] >> 5) & 0x01; 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()
Dmn88472.c32 unsigned int utmp, utmp1, utmp2; in mn88472_read_status() local
163 utmp2 = buf[2] << 8 | buf[3] << 0; /* noise */ in mn88472_read_status()
164 if (utmp1 && utmp2) { in mn88472_read_status()
168 - intlog10(utmp2)) * 10000 >> 24; in mn88472_read_status()
171 stmp, utmp1, utmp2); in mn88472_read_status()
189 utmp2 = buf[2] << 8 | buf[3] << 0; in mn88472_read_status()
191 utmp1, utmp2); in mn88472_read_status()
196 c->block_count.stat[0].uvalue += utmp2; in mn88472_read_status()
Daf9013.c531 unsigned int utmp, utmp1, utmp2, utmp3, utmp4; in af9013_read_status() local
586 ret = regmap_read(state->regmap, 0x9bd0, &utmp2); in af9013_read_status()
597 state->rf_agc_80 = utmp2; in af9013_read_status()
602 utmp1, utmp2, utmp3, utmp4); in af9013_read_status()
751 utmp2 = (buf[1] << 8 | buf[0] << 0) * 204 * 8; in af9013_read_status()
770 utmp1, utmp2); in af9013_read_status()
781 c->post_bit_count.stat[0].uvalue += utmp2; in af9013_read_status()
Dsi2168.c115 unsigned int utmp, utmp1, utmp2; in si2168_read_status() local
192 utmp2 = 100000000; /* 10^8 */ in si2168_read_status()
196 utmp1, utmp2, cmd.args[2], cmd.args[1]); in si2168_read_status()
201 c->post_bit_count.stat[0].uvalue += utmp2; in si2168_read_status()
/Linux-v4.19/drivers/media/tuners/
Dtda18250.c265 u8 utmp, utmp2; in tda18250_set_agc() local
310 utmp2 = (c->frequency < 320000000) ? 22 : 18; in tda18250_set_agc()
317 utmp2 = 22; in tda18250_set_agc()
320 utmp2 = 20; in tda18250_set_agc()
323 utmp2 = 16; in tda18250_set_agc()
328 utmp2 = (c->frequency < 320000000) ? 18 : 20; in tda18250_set_agc()
333 ret = regmap_write_bits(dev->regmap, R58_AGC2_UP1, 0x1f, utmp2+8); in tda18250_set_agc()
339 ret = regmap_write_bits(dev->regmap, R14_AGC23, 0x1f, utmp2); in tda18250_set_agc()
368 utmp2 = (c->frequency < 320000000) ? 10 : 12; in tda18250_set_agc()
372 utmp2 = 12; in tda18250_set_agc()
[all …]
/Linux-v4.19/drivers/media/usb/dvb-usb-v2/
Daf9015.c567 unsigned int utmp1, utmp2, reg1, reg2; in af9015_streaming_ctrl() local
578 utmp2 = (d->udev->speed == USB_SPEED_FULL ? 64 : 512) / 4; in af9015_streaming_ctrl()
594 ret = regmap_write(state->regmap, reg2, utmp2); in af9015_streaming_ctrl()
601 utmp2 = 0x10; in af9015_streaming_ctrl()
604 utmp2 = 0x00; in af9015_streaming_ctrl()
609 ret = regmap_update_bits(state->regmap, 0xd520, 0x10, utmp2); in af9015_streaming_ctrl()