/linux/drivers/media/dvb-frontends/ |
H A 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 …]
|
H A 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 …]
|
H A D | si2165.c | 669 u8 u8tmp; in si2165_read_status() local 680 ret = si2165_readreg8(state, REG_CHECK_SIGNAL, &u8tmp); in si2165_read_status() 683 switch (u8tmp & 0x3) { in si2165_read_status() 694 ret = si2165_readreg8(state, REG_PS_LOCK, &u8tmp); in si2165_read_status() 697 if (u8tmp & 0x01) { in si2165_read_status() 707 ret = si2165_readreg8(state, REG_FEC_LOCK, &u8tmp); in si2165_read_status() 710 if (u8tmp & 0x01) { in si2165_read_status() 761 ret = si2165_readreg8(state, REG_BER_AVAIL, &u8tmp); in si2165_read_status() 765 if (u8tmp & 1) { in si2165_read_status() 970 u8 u8tmp; in si2165_set_frontend_dvbc() local [all …]
|
H A 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 …]
|
/linux/drivers/media/tuners/ |
H A 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 …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
H A 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 …]
|
H A 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 …]
|
H A 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()
|
/linux/drivers/net/wireless/ath/ath9k/ |
H A D | pci.c | 783 u8 u8tmp; in ath_pci_read_cachesize() local 785 pci_read_config_byte(to_pci_dev(sc->dev), PCI_CACHE_LINE_SIZE, &u8tmp); in ath_pci_read_cachesize() 786 *csz = (int)u8tmp; in ath_pci_read_cachesize()
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
H A 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()
|