Searched refs:u8tmp (Results 1 - 17 of 17) sorted by relevance

/linux-master/drivers/media/dvb-frontends/
H A Dts2020.c61 u8 u8tmp; local
64 u8tmp = 0x0a; /* XXX: probably wrong */
66 u8tmp = 0x00;
68 ret = regmap_write(priv->regmap, u8tmp, 0x00);
83 u8 u8tmp; local
114 u8tmp = 0x60;
117 u8tmp = 0x70;
121 u8tmp = 0x6c;
124 u8tmp = 0x60;
128 regmap_write(priv->regmap, 0x42, u8tmp);
559 u8 u8tmp; local
[all...]
H A Dzd1301_demod.c231 u8 u8tmp; local
233 ret = zd1301_demod_rreg(dev, 0x6a24, &u8tmp);
236 if (u8tmp > 0x00 && u8tmp < 0x20)
242 dev_dbg(&pdev->dev, "lock byte=%02x\n", u8tmp);
316 u8 u8tmp; local
360 for (u8tmp = 1; !time_after(jiffies, timeout) && u8tmp;) {
363 ret = zd1301_demod_rreg(dev, 0x6804, &u8tmp);
414 for (u8tmp
[all...]
H A Drtl2830.c165 u8 buf[3], u8tmp; local
238 ret = rtl2830_bulk_read(client, 0x119, &u8tmp, 1);
242 buf[0] |= u8tmp & 0xc0; /* [7:6] */
388 u8 u8tmp, buf[2]; local
395 ret = rtl2830_bulk_read(client, 0x351, &u8tmp, 1);
399 u8tmp = (u8tmp >> 3) & 0x0f; /* [6:3] */
400 if (u8tmp == 11) {
403 } else if (u8tmp == 10) {
440 ret = rtl2830_bulk_read(client, 0x33c, &u8tmp,
581 u8 u8tmp; local
776 u8 u8tmp; local
[all...]
H A Drtl2832.c644 u8 u8tmp, buf[2]; local
670 ret = regmap_bulk_read(dev->regmap, 0x305, &u8tmp, 1);
674 dev_dbg(&client->dev, "digital agc=%02x", u8tmp);
676 u8tmp = ~u8tmp;
677 u16tmp = u8tmp << 8 | u8tmp << 0;
696 ret = regmap_bulk_read(dev->regmap, 0x33c, &u8tmp, 1);
700 constellation = (u8tmp >> 2) & 0x03; /* [3:2] */
705 hierarchy = (u8tmp >>
951 u8 u8tmp; local
[all...]
H A Dsi2165.c671 u8 u8tmp; local
682 ret = si2165_readreg8(state, REG_CHECK_SIGNAL, &u8tmp);
685 switch (u8tmp & 0x3) {
696 ret = si2165_readreg8(state, REG_PS_LOCK, &u8tmp);
699 if (u8tmp & 0x01) {
709 ret = si2165_readreg8(state, REG_FEC_LOCK, &u8tmp);
712 if (u8tmp & 0x01) {
763 ret = si2165_readreg8(state, REG_BER_AVAIL, &u8tmp);
767 if (u8tmp & 1) {
972 u8 u8tmp; local
[all...]
H A Dm88ds3103.c625 u8 u8tmp, u8tmp1 = 0, u8tmp2 = 0; /* silence compiler warning */ local
859 u8tmp = 0x06;
863 u8tmp = 0x06;
866 u8tmp = 0x02;
868 u8tmp = 0x01;
873 u8tmp = 0x03;
882 u8tmp |= 0x40;
885 ret = regmap_write(dev->regmap, 0xfd, u8tmp);
917 u8tmp = (u8tmp1 >> 2) & 0x0f;
918 ret = regmap_update_bits(dev->regmap, 0xfe, 0x0f, u8tmp);
[all...]
/linux-master/drivers/media/tuners/
H A De4000.c379 u8 u8tmp; local
386 u8tmp = 0x17;
388 u8tmp = 0x19;
390 u8tmp = 0x16;
392 u8tmp = 0x10;
394 ret = regmap_write(dev->regmap, 0x1a, u8tmp);
415 u8 u8tmp; local
422 u8tmp = 0x15;
424 u8tmp = 0x14;
426 ret = regmap_write(dev->regmap, 0x20, u8tmp);
448 u8 u8tmp; local
[all...]
H A Dit913x.c216 u8 u8tmp, n, l_band, lna_band; local
328 u8tmp = 0;
330 u8tmp = 2;
332 u8tmp = 4;
334 u8tmp = 6; /* 8000000 */
336 ret = regmap_write(dev->regmap, 0x80ec56, u8tmp);
/linux-master/drivers/net/wireless/ath/ath5k/
H A Dpci.c58 u8 u8tmp; local
60 pci_read_config_byte(ah->pdev, PCI_CACHE_LINE_SIZE, &u8tmp);
61 *csz = (int)u8tmp;
/linux-master/drivers/net/wireless/realtek/rtlwifi/btcoexist/
H A Dhalbtc8192e2ant.c2578 u8 u8tmp = 0; local
2619 u8tmp = btcoexist->btc_read_1byte(btcoexist, 0x790);
2620 u8tmp &= 0xc0;
2621 u8tmp |= 0x5;
2622 btcoexist->btc_write_1byte(btcoexist, 0x790, u8tmp);
2635 u8tmp = btcoexist->btc_read_1byte(btcoexist, 0x101);
2636 u8tmp |= BIT4;
2637 btcoexist->btc_write_1byte(btcoexist, 0x101, u8tmp);
2640 u8tmp = btcoexist->btc_read_1byte(btcoexist, 0x93);
2641 u8tmp |
2672 u8 u8tmp[4], i, bt_info_ext, ps_tdma_case = 0; local
[all...]
H A Dhalbtc8723b2ant.c3532 u8 u8tmp = 0; local
3540 u8tmp = btcoexist->btc_read_1byte(btcoexist, 0x790);
3541 u8tmp &= 0xc0;
3542 u8tmp |= 0x5;
3543 btcoexist->btc_write_1byte(btcoexist, 0x790, u8tmp);
3595 u8 u8tmp = 0x4; /* Set BIT2 by default since it's 2ant case */ local
3611 u8tmp |= 0x1; /* antenna inverse */
3612 btcoexist->btc_write_local_reg_1byte(btcoexist, 0xfe08, u8tmp);
3618 u8tmp |= 0x1; /* antenna inverse */
3623 u8tmp);
3645 u8 u8tmp[4], i, bt_info_ext, ps_tdma_case = 0; local
[all...]
H A Dhalbtc8723b1ant.c781 u8 h2c_parameter[2] = {0}, u8tmp = 0; local
860 u8tmp = btcoexist->btc_read_1byte(btcoexist,
863 if (u8tmp & BIT(0)) {
2361 u8 u8tmp = 0x0; local
2395 u8tmp |= 0x1; /* antenna inverse */
2396 btcoexist->btc_write_local_reg_1byte(btcoexist, 0xfe08, u8tmp);
2409 u8tmp |= 0x1; /* antenna inverse */
2419 u8tmp);
2422 u8tmp);
2454 u8 u8tmp[ local
[all...]
H A Dhalbtc8821a2ant.c3579 u8 u8tmp = 0x4; /* Set BIT2 by default since it's 2ant case */ local
3594 u8tmp |= 0x1; /* antenna inverse */
3595 btcoexist->btc_write_local_reg_1byte(btcoexist, 0xfe08, u8tmp);
3601 u8tmp |= 0x1; /* antenna inverse */
3606 u8tmp);
3609 u8tmp);
/linux-master/drivers/media/usb/airspy/
H A Dairspy.c867 u8 u8tmp; local
874 &u8tmp, 1);
880 &u8tmp, 1);
894 u8 u8tmp; local
901 &u8tmp, 1);
907 s->mixer_gain->val, &u8tmp, 1);
921 u8 u8tmp; local
926 &u8tmp, 1);
968 u8 u8tmp, *buf; local
998 ret = airspy_ctrl_msg(s, CMD_BOARD_ID_READ, 0, 0, &u8tmp,
[all...]
/linux-master/drivers/media/usb/hackrf/
H A Dhackrf.c239 u8 buf[8], u8tmp; local
378 u8tmp = (dev->rx_rf_gain->val) ? 1 : 0;
379 ret = hackrf_ctrl_msg(dev, CMD_AMP_ENABLE, u8tmp, 0, NULL, 0);
390 u8tmp = (dev->tx_rf_gain->val) ? 1 : 0;
391 ret = hackrf_ctrl_msg(dev, CMD_AMP_ENABLE, u8tmp, 0, NULL, 0);
403 dev->rx_lna_gain->val, &u8tmp, 1);
414 dev->rx_if_gain->val, &u8tmp, 1);
425 dev->tx_lna_gain->val, &u8tmp, 1);
1351 u8 u8tmp, buf[BUF_SIZE]; local
1379 ret = hackrf_ctrl_msg(dev, CMD_BOARD_ID_READ, 0, 0, &u8tmp,
[all...]
/linux-master/drivers/net/wireless/ath/ath9k/
H A Dpci.c785 u8 u8tmp; local
787 pci_read_config_byte(to_pci_dev(sc->dev), PCI_CACHE_LINE_SIZE, &u8tmp);
788 *csz = (int)u8tmp;
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
H A Dhw.c678 u8 u8tmp, testcnt = 0; local
699 u8tmp = rtl_read_byte(rtlpriv, REG_AUTO_LLT + 2);
700 rtl_write_byte(rtlpriv, REG_AUTO_LLT + 2, u8tmp | BIT(0));
702 while (u8tmp & BIT(0)) {
703 u8tmp = rtl_read_byte(rtlpriv, REG_AUTO_LLT + 2);

Completed in 176 milliseconds