/drivers/media/dvb-frontends/ |
D | ts2020.c | 61 u8 u8tmp; in ts2020_sleep() local 64 u8tmp = 0x0a; /* XXX: probably wrong */ in ts2020_sleep() 66 u8tmp = 0x00; in ts2020_sleep() 68 ret = regmap_write(priv->regmap, u8tmp, 0x00); in ts2020_sleep() 83 u8 u8tmp; in ts2020_init() local 114 u8tmp = 0x60; in ts2020_init() 117 u8tmp = 0x70; in ts2020_init() 121 u8tmp = 0x6c; in ts2020_init() 124 u8tmp = 0x60; in ts2020_init() 128 regmap_write(priv->regmap, 0x42, u8tmp); in ts2020_init() [all …]
|
D | rtl2830.c | 165 u8 buf[3], u8tmp; in rtl2830_set_frontend() local 238 ret = rtl2830_bulk_read(client, 0x119, &u8tmp, 1); in rtl2830_set_frontend() 242 buf[0] |= u8tmp & 0xc0; /* [7:6] */ in rtl2830_set_frontend() 388 u8 u8tmp, buf[2]; in rtl2830_read_status() local 395 ret = rtl2830_bulk_read(client, 0x351, &u8tmp, 1); in rtl2830_read_status() 399 u8tmp = (u8tmp >> 3) & 0x0f; /* [6:3] */ in rtl2830_read_status() 400 if (u8tmp == 11) { in rtl2830_read_status() 403 } else if (u8tmp == 10) { in rtl2830_read_status() 440 ret = rtl2830_bulk_read(client, 0x33c, &u8tmp, 1); in rtl2830_read_status() 444 constellation = (u8tmp >> 2) & 0x03; /* [3:2] */ in rtl2830_read_status() [all …]
|
D | zd1301_demod.c | 231 u8 u8tmp; in zd1301_demod_read_status() local 233 ret = zd1301_demod_rreg(dev, 0x6a24, &u8tmp); in zd1301_demod_read_status() 236 if (u8tmp > 0x00 && u8tmp < 0x20) in zd1301_demod_read_status() 242 dev_dbg(&pdev->dev, "lock byte=%02x\n", u8tmp); in zd1301_demod_read_status() 316 u8 u8tmp; in zd1301_demod_i2c_master_xfer() local 360 for (u8tmp = 1; !time_after(jiffies, timeout) && u8tmp;) { in zd1301_demod_i2c_master_xfer() 363 ret = zd1301_demod_rreg(dev, 0x6804, &u8tmp); in zd1301_demod_i2c_master_xfer() 414 for (u8tmp = 1; !time_after(jiffies, timeout) && u8tmp;) { in zd1301_demod_i2c_master_xfer() 417 ret = zd1301_demod_rreg(dev, 0x6804, &u8tmp); in zd1301_demod_i2c_master_xfer()
|
D | si2165.c | 671 u8 u8tmp; in si2165_read_status() local 682 ret = si2165_readreg8(state, REG_CHECK_SIGNAL, &u8tmp); in si2165_read_status() 685 switch (u8tmp & 0x3) { in si2165_read_status() 696 ret = si2165_readreg8(state, REG_PS_LOCK, &u8tmp); in si2165_read_status() 699 if (u8tmp & 0x01) { in si2165_read_status() 709 ret = si2165_readreg8(state, REG_FEC_LOCK, &u8tmp); in si2165_read_status() 712 if (u8tmp & 0x01) { in si2165_read_status() 763 ret = si2165_readreg8(state, REG_BER_AVAIL, &u8tmp); in si2165_read_status() 767 if (u8tmp & 1) { in si2165_read_status() 972 u8 u8tmp; in si2165_set_frontend_dvbc() local [all …]
|
D | rtl2832.c | 644 u8 u8tmp, buf[2]; in rtl2832_read_status() local 670 ret = regmap_bulk_read(dev->regmap, 0x305, &u8tmp, 1); in rtl2832_read_status() 674 dev_dbg(&client->dev, "digital agc=%02x", u8tmp); in rtl2832_read_status() 676 u8tmp = ~u8tmp; in rtl2832_read_status() 677 u16tmp = u8tmp << 8 | u8tmp << 0; in rtl2832_read_status() 696 ret = regmap_bulk_read(dev->regmap, 0x33c, &u8tmp, 1); in rtl2832_read_status() 700 constellation = (u8tmp >> 2) & 0x03; /* [3:2] */ in rtl2832_read_status() 705 hierarchy = (u8tmp >> 4) & 0x07; /* [6:4] */ in rtl2832_read_status() 951 u8 u8tmp; in rtl2832_pid_filter_ctrl() local 957 u8tmp = 0x80; in rtl2832_pid_filter_ctrl() [all …]
|
D | m88ds3103.c | 625 u8 u8tmp, u8tmp1 = 0, u8tmp2 = 0; /* silence compiler warning */ in m88ds3103_set_frontend() local 859 u8tmp = 0x06; in m88ds3103_set_frontend() 863 u8tmp = 0x06; in m88ds3103_set_frontend() 866 u8tmp = 0x02; in m88ds3103_set_frontend() 868 u8tmp = 0x01; in m88ds3103_set_frontend() 873 u8tmp = 0x03; in m88ds3103_set_frontend() 882 u8tmp |= 0x40; in m88ds3103_set_frontend() 885 ret = regmap_write(dev->regmap, 0xfd, u8tmp); in m88ds3103_set_frontend() 917 u8tmp = (u8tmp1 >> 2) & 0x0f; in m88ds3103_set_frontend() 918 ret = regmap_update_bits(dev->regmap, 0xfe, 0x0f, u8tmp); in m88ds3103_set_frontend() [all …]
|
/drivers/media/tuners/ |
D | e4000.c | 379 u8 u8tmp; in e4000_set_lna_gain() local 386 u8tmp = 0x17; in e4000_set_lna_gain() 388 u8tmp = 0x19; in e4000_set_lna_gain() 390 u8tmp = 0x16; in e4000_set_lna_gain() 392 u8tmp = 0x10; in e4000_set_lna_gain() 394 ret = regmap_write(dev->regmap, 0x1a, u8tmp); in e4000_set_lna_gain() 415 u8 u8tmp; in e4000_set_mixer_gain() local 422 u8tmp = 0x15; in e4000_set_mixer_gain() 424 u8tmp = 0x14; in e4000_set_mixer_gain() 426 ret = regmap_write(dev->regmap, 0x20, u8tmp); in e4000_set_mixer_gain() [all …]
|
D | it913x.c | 216 u8 u8tmp, n, l_band, lna_band; in it913x_set_params() local 328 u8tmp = 0; in it913x_set_params() 330 u8tmp = 2; in it913x_set_params() 332 u8tmp = 4; in it913x_set_params() 334 u8tmp = 6; /* 8000000 */ in it913x_set_params() 336 ret = regmap_write(dev->regmap, 0x80ec56, u8tmp); in it913x_set_params()
|
/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
D | halbtc8723b1ant.c | 781 u8 h2c_parameter[2] = {0}, u8tmp = 0; in halbtc8723b1ant_set_ant_path() local 860 u8tmp = btcoexist->btc_read_1byte(btcoexist, in halbtc8723b1ant_set_ant_path() 863 if (u8tmp & BIT(0)) { in halbtc8723b1ant_set_ant_path() 2362 u8 u8tmp = 0x0; in ex_btc8723b1ant_power_on_setting() local 2396 u8tmp |= 0x1; /* antenna inverse */ in ex_btc8723b1ant_power_on_setting() 2397 btcoexist->btc_write_local_reg_1byte(btcoexist, 0xfe08, u8tmp); in ex_btc8723b1ant_power_on_setting() 2410 u8tmp |= 0x1; /* antenna inverse */ in ex_btc8723b1ant_power_on_setting() 2420 u8tmp); in ex_btc8723b1ant_power_on_setting() 2423 u8tmp); in ex_btc8723b1ant_power_on_setting() 2455 u8 u8tmp[4], i, bt_info_ext, pstdmacase = 0; in ex_btc8723b1ant_display_coex_info() local [all …]
|
D | halbtc8192e2ant.c | 2578 u8 u8tmp = 0; in btc8192e2ant_init_hwconfig() local 2619 u8tmp = btcoexist->btc_read_1byte(btcoexist, 0x790); in btc8192e2ant_init_hwconfig() 2620 u8tmp &= 0xc0; in btc8192e2ant_init_hwconfig() 2621 u8tmp |= 0x5; in btc8192e2ant_init_hwconfig() 2622 btcoexist->btc_write_1byte(btcoexist, 0x790, u8tmp); in btc8192e2ant_init_hwconfig() 2635 u8tmp = btcoexist->btc_read_1byte(btcoexist, 0x101); in btc8192e2ant_init_hwconfig() 2636 u8tmp |= BIT4; in btc8192e2ant_init_hwconfig() 2637 btcoexist->btc_write_1byte(btcoexist, 0x101, u8tmp); in btc8192e2ant_init_hwconfig() 2640 u8tmp = btcoexist->btc_read_1byte(btcoexist, 0x93); in btc8192e2ant_init_hwconfig() 2641 u8tmp |= BIT0; in btc8192e2ant_init_hwconfig() [all …]
|
D | halbtc8723b2ant.c | 3532 u8 u8tmp = 0; in ex_btc8723b2ant_init_hwconfig() local 3540 u8tmp = btcoexist->btc_read_1byte(btcoexist, 0x790); in ex_btc8723b2ant_init_hwconfig() 3541 u8tmp &= 0xc0; in ex_btc8723b2ant_init_hwconfig() 3542 u8tmp |= 0x5; in ex_btc8723b2ant_init_hwconfig() 3543 btcoexist->btc_write_1byte(btcoexist, 0x790, u8tmp); in ex_btc8723b2ant_init_hwconfig() 3595 u8 u8tmp = 0x4; /* Set BIT2 by default since it's 2ant case */ in ex_btc8723b2ant_pre_load_firmware() local 3611 u8tmp |= 0x1; /* antenna inverse */ in ex_btc8723b2ant_pre_load_firmware() 3612 btcoexist->btc_write_local_reg_1byte(btcoexist, 0xfe08, u8tmp); in ex_btc8723b2ant_pre_load_firmware() 3618 u8tmp |= 0x1; /* antenna inverse */ in ex_btc8723b2ant_pre_load_firmware() 3623 u8tmp); in ex_btc8723b2ant_pre_load_firmware() [all …]
|
D | halbtc8821a2ant.c | 3579 u8 u8tmp = 0x4; /* Set BIT2 by default since it's 2ant case */ in ex_btc8821a2ant_pre_load_firmware() local 3594 u8tmp |= 0x1; /* antenna inverse */ in ex_btc8821a2ant_pre_load_firmware() 3595 btcoexist->btc_write_local_reg_1byte(btcoexist, 0xfe08, u8tmp); in ex_btc8821a2ant_pre_load_firmware() 3601 u8tmp |= 0x1; /* antenna inverse */ in ex_btc8821a2ant_pre_load_firmware() 3606 u8tmp); in ex_btc8821a2ant_pre_load_firmware() 3609 u8tmp); in ex_btc8821a2ant_pre_load_firmware()
|
/drivers/media/usb/airspy/ |
D | airspy.c | 866 u8 u8tmp; in airspy_set_lna_gain() local 873 &u8tmp, 1); in airspy_set_lna_gain() 879 &u8tmp, 1); in airspy_set_lna_gain() 893 u8 u8tmp; in airspy_set_mixer_gain() local 900 &u8tmp, 1); in airspy_set_mixer_gain() 906 s->mixer_gain->val, &u8tmp, 1); in airspy_set_mixer_gain() 920 u8 u8tmp; in airspy_set_if_gain() local 925 &u8tmp, 1); in airspy_set_if_gain() 967 u8 u8tmp, *buf; in airspy_probe() local 997 ret = airspy_ctrl_msg(s, CMD_BOARD_ID_READ, 0, 0, &u8tmp, 1); in airspy_probe() [all …]
|
/drivers/net/wireless/ath/ath5k/ |
D | pci.c | 58 u8 u8tmp; in ath5k_pci_read_cachesize() local 60 pci_read_config_byte(ah->pdev, PCI_CACHE_LINE_SIZE, &u8tmp); in ath5k_pci_read_cachesize() 61 *csz = (int)u8tmp; in ath5k_pci_read_cachesize()
|
/drivers/media/usb/hackrf/ |
D | hackrf.c | 239 u8 buf[8], u8tmp; in hackrf_set_params() local 378 u8tmp = (dev->rx_rf_gain->val) ? 1 : 0; in hackrf_set_params() 379 ret = hackrf_ctrl_msg(dev, CMD_AMP_ENABLE, u8tmp, 0, NULL, 0); in hackrf_set_params() 390 u8tmp = (dev->tx_rf_gain->val) ? 1 : 0; in hackrf_set_params() 391 ret = hackrf_ctrl_msg(dev, CMD_AMP_ENABLE, u8tmp, 0, NULL, 0); in hackrf_set_params() 403 dev->rx_lna_gain->val, &u8tmp, 1); in hackrf_set_params() 414 dev->rx_if_gain->val, &u8tmp, 1); in hackrf_set_params() 425 dev->tx_lna_gain->val, &u8tmp, 1); in hackrf_set_params() 1350 u8 u8tmp, buf[BUF_SIZE]; in hackrf_probe() local 1378 ret = hackrf_ctrl_msg(dev, CMD_BOARD_ID_READ, 0, 0, &u8tmp, 1); in hackrf_probe() [all …]
|
/drivers/net/wireless/ath/ath9k/ |
D | pci.c | 785 u8 u8tmp; in ath_pci_read_cachesize() local 787 pci_read_config_byte(to_pci_dev(sc->dev), PCI_CACHE_LINE_SIZE, &u8tmp); in ath_pci_read_cachesize() 788 *csz = (int)u8tmp; in ath_pci_read_cachesize()
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
D | hw.c | 678 u8 u8tmp, testcnt = 0; in _rtl92ee_llt_table_init() local 699 u8tmp = rtl_read_byte(rtlpriv, REG_AUTO_LLT + 2); in _rtl92ee_llt_table_init() 700 rtl_write_byte(rtlpriv, REG_AUTO_LLT + 2, u8tmp | BIT(0)); in _rtl92ee_llt_table_init() 702 while (u8tmp & BIT(0)) { in _rtl92ee_llt_table_init() 703 u8tmp = rtl_read_byte(rtlpriv, REG_AUTO_LLT + 2); in _rtl92ee_llt_table_init()
|