Home
last modified time | relevance | path

Searched refs:u8tmp (Results 1 – 25 of 68) sorted by relevance

123

/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/btc/
H A Dhalbtc8822c.c257 u8 u8tmp = 0; in halbtc8822c_cfg_init() local
409 u8 *cli_buf = btc->cli_buf, u8tmp[4]; in halbtc8822c_cfg_coexinfo_hw() local
416 u8tmp[0] = btc->btc_read_1byte(btc, 0x73); in halbtc8822c_cfg_coexinfo_hw()
421 ((u8tmp[0] & BIT(2)) ? "WL" : "BT")); in halbtc8822c_cfg_coexinfo_hw()
431 ((u8tmp[0] & BIT(3)) ? "On" : "Off")); in halbtc8822c_cfg_coexinfo_hw()
440 u8tmp[0] = btc->btc_read_1byte(btc, 0x1860); in halbtc8822c_cfg_coexinfo_hw()
441 u8tmp[1] = btc->btc_read_1byte(btc, 0x4160); in halbtc8822c_cfg_coexinfo_hw()
442 u8tmp[2] = btc->btc_read_1byte(btc, 0x1c32); in halbtc8822c_cfg_coexinfo_hw()
446 (int)((u8tmp[0] & BIT(3)) >> 3), in halbtc8822c_cfg_coexinfo_hw()
447 (int)((u8tmp[1] & BIT(3)) >> 3), in halbtc8822c_cfg_coexinfo_hw()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/dvb-frontends/
H A Dts2020.c61 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 Drtl2830.c165 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 Dzd1301_demod.c231 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()
H A Dsi2165.c671 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 …]
H A Drtl2832.c644 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()
704 hierarchy = (u8tmp >> 4) & 0x07; /* [6:4] */ in rtl2832_read_status()
950 u8 u8tmp; in rtl2832_pid_filter_ctrl() local
956 u8tmp = 0x80; in rtl2832_pid_filter_ctrl()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/tuners/
H A De4000.c379 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 …]
H A Dit913x.c215 u8 u8tmp, n, l_band, lna_band; in it913x_set_params() local
327 u8tmp = 0; in it913x_set_params()
329 u8tmp = 2; in it913x_set_params()
331 u8tmp = 4; in it913x_set_params()
333 u8tmp = 6; /* 8000000 */ in it913x_set_params()
335 ret = regmap_write(dev->regmap, 0x80ec56, u8tmp); in it913x_set_params()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/hal/btc/
H A Dhalbtc8812a1ant.c992 u8 u8tmp = 0; in halbtc8812a1ant_set_ant_path() local
1002 u8tmp = btcoexist->btc_read_1byte(btcoexist, 0xcb7); in halbtc8812a1ant_set_ant_path()
1003 u8tmp &= ~BIT(3); in halbtc8812a1ant_set_ant_path()
1004 u8tmp |= BIT(2); in halbtc8812a1ant_set_ant_path()
1005 btcoexist->btc_write_1byte(btcoexist, 0xcb7, u8tmp); in halbtc8812a1ant_set_ant_path()
1013 u8tmp = btcoexist->btc_read_1byte(btcoexist, in halbtc8812a1ant_set_ant_path()
1015 u8tmp |= BIT(3); in halbtc8812a1ant_set_ant_path()
1016 u8tmp &= ~BIT(2); in halbtc8812a1ant_set_ant_path()
1018 u8tmp); in halbtc8812a1ant_set_ant_path()
1021 u8tmp = btcoexist->btc_read_1byte(btcoexist, in halbtc8812a1ant_set_ant_path()
[all …]
H A Dhalbtc8822b1ant.c2240 u8 u8tmp = 0; in halbtc8822b1ant_set_ant_path() local
2264 u8tmp = btcoexist->btc_read_1byte(btcoexist, 0x73); in halbtc8822b1ant_set_ant_path()
2268 u32tmp3, u8tmp, u32tmp1, u32tmp2); in halbtc8822b1ant_set_ant_path()
2517 u8tmp = btcoexist->btc_read_1byte(btcoexist, 0x73); in halbtc8822b1ant_set_ant_path()
2521 u32tmp3, u8tmp, u32tmp1, u32tmp2); in halbtc8822b1ant_set_ant_path()
4024 u8 u8tmp = 0; in halbtc8822b1ant_init_hw_config() local
4057 u8tmp = btcoexist->btc_read_1byte(btcoexist, 0x790); in halbtc8822b1ant_init_hw_config()
4058 u8tmp &= 0xc0; in halbtc8822b1ant_init_hw_config()
4059 u8tmp |= 0x5; in halbtc8822b1ant_init_hw_config()
4060 btcoexist->btc_write_1byte(btcoexist, 0x790, u8tmp); in halbtc8822b1ant_init_hw_config()
[all …]
H A Dhalbtc8192e1ant.c2407 u8 u8tmp = 0; in halbtc8192e1ant_init_hw_config() local
2424 u8tmp = btcoexist->btc_read_1byte(btcoexist, 0x790); in halbtc8192e1ant_init_hw_config()
2425 u8tmp &= 0xc0; in halbtc8192e1ant_init_hw_config()
2426 u8tmp |= 0x5; in halbtc8192e1ant_init_hw_config()
2427 btcoexist->btc_write_1byte(btcoexist, 0x790, u8tmp); in halbtc8192e1ant_init_hw_config()
2440 u8tmp = btcoexist->btc_read_1byte(btcoexist, 0x101); in halbtc8192e1ant_init_hw_config()
2441 u8tmp |= BIT(4); in halbtc8192e1ant_init_hw_config()
2442 btcoexist->btc_write_1byte(btcoexist, 0x101, u8tmp); in halbtc8192e1ant_init_hw_config()
2445 u8tmp = btcoexist->btc_read_1byte(btcoexist, 0x93); in halbtc8192e1ant_init_hw_config()
2446 u8tmp |= BIT(0); in halbtc8192e1ant_init_hw_config()
[all …]
H A Dhalbtc8812a2ant.c1213 u8 u8tmp = 0; in halbtc8812a2ant_set_ant_path() local
1227 u8tmp = btcoexist->btc_read_1byte(btcoexist, 0xcb7); in halbtc8812a2ant_set_ant_path()
1228 u8tmp &= ~BIT(3); in halbtc8812a2ant_set_ant_path()
1229 u8tmp |= BIT(2); in halbtc8812a2ant_set_ant_path()
1230 btcoexist->btc_write_1byte(btcoexist, 0xcb7, u8tmp); in halbtc8812a2ant_set_ant_path()
3977 u8 u8tmp = 0; in halbtc8812a2ant_init_hw_config() local
4004 u8tmp = btcoexist->btc_read_1byte(btcoexist, 0x790); in halbtc8812a2ant_init_hw_config()
4005 u8tmp &= 0xc0; in halbtc8812a2ant_init_hw_config()
4006 u8tmp |= 0x5; in halbtc8812a2ant_init_hw_config()
4007 btcoexist->btc_write_1byte(btcoexist, 0x790, u8tmp); in halbtc8812a2ant_init_hw_config()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/hal/btc/
H A Dhalbtc8812a1ant.c1006 u8 u8tmp = 0; in halbtc8812a1ant_set_ant_path() local
1016 u8tmp = btcoexist->btc_read_1byte(btcoexist, 0xcb7); in halbtc8812a1ant_set_ant_path()
1017 u8tmp &= ~BIT(3); in halbtc8812a1ant_set_ant_path()
1018 u8tmp |= BIT(2); in halbtc8812a1ant_set_ant_path()
1019 btcoexist->btc_write_1byte(btcoexist, 0xcb7, u8tmp); in halbtc8812a1ant_set_ant_path()
1027 u8tmp = btcoexist->btc_read_1byte(btcoexist, in halbtc8812a1ant_set_ant_path()
1029 u8tmp |= BIT(3); in halbtc8812a1ant_set_ant_path()
1030 u8tmp &= ~BIT(2); in halbtc8812a1ant_set_ant_path()
1032 u8tmp); in halbtc8812a1ant_set_ant_path()
1035 u8tmp = btcoexist->btc_read_1byte(btcoexist, in halbtc8812a1ant_set_ant_path()
[all …]
H A Dhalbtc8192e1ant.c2421 u8 u8tmp = 0; in halbtc8192e1ant_init_hw_config() local
2438 u8tmp = btcoexist->btc_read_1byte(btcoexist, 0x790); in halbtc8192e1ant_init_hw_config()
2439 u8tmp &= 0xc0; in halbtc8192e1ant_init_hw_config()
2440 u8tmp |= 0x5; in halbtc8192e1ant_init_hw_config()
2441 btcoexist->btc_write_1byte(btcoexist, 0x790, u8tmp); in halbtc8192e1ant_init_hw_config()
2454 u8tmp = btcoexist->btc_read_1byte(btcoexist, 0x101); in halbtc8192e1ant_init_hw_config()
2455 u8tmp |= BIT(4); in halbtc8192e1ant_init_hw_config()
2456 btcoexist->btc_write_1byte(btcoexist, 0x101, u8tmp); in halbtc8192e1ant_init_hw_config()
2459 u8tmp = btcoexist->btc_read_1byte(btcoexist, 0x93); in halbtc8192e1ant_init_hw_config()
2460 u8tmp |= BIT(0); in halbtc8192e1ant_init_hw_config()
[all …]
H A Dhalbtc8822b1ant.c2605 u8 u8tmp = 0; in halbtc8822b1ant_set_ant_path() local
2644 u8tmp = btcoexist->btc_read_1byte(btcoexist, 0x73); in halbtc8822b1ant_set_ant_path()
2648 u32tmp3, u8tmp, u32tmp1, u32tmp2); in halbtc8822b1ant_set_ant_path()
2936 u8tmp = btcoexist->btc_read_1byte(btcoexist, 0x73); in halbtc8822b1ant_set_ant_path()
2940 u32tmp3, u8tmp, u32tmp1, u32tmp2); in halbtc8822b1ant_set_ant_path()
3971 u8 u8tmp = 0, i = 0; in halbtc8822b1ant_init_hw_config() local
4016 u8tmp = btcoexist->btc_read_1byte(btcoexist, 0x790); in halbtc8822b1ant_init_hw_config()
4017 u8tmp &= 0xc0; in halbtc8822b1ant_init_hw_config()
4018 u8tmp |= 0x5; in halbtc8822b1ant_init_hw_config()
4019 btcoexist->btc_write_1byte(btcoexist, 0x790, u8tmp); in halbtc8822b1ant_init_hw_config()
[all …]
H A Dhalbtc8812a2ant.c1384 u8 u8tmp = 0; in halbtc8812a2ant_set_ant_path() local
1396 u8tmp = btcoexist->btc_read_1byte(btcoexist, 0xcb7); in halbtc8812a2ant_set_ant_path()
1397 u8tmp &= ~BIT(2); in halbtc8812a2ant_set_ant_path()
1398 u8tmp |= BIT(3); in halbtc8812a2ant_set_ant_path()
1399 btcoexist->btc_write_1byte(btcoexist, 0xcb7, u8tmp); in halbtc8812a2ant_set_ant_path()
1402 u8tmp = btcoexist->btc_read_1byte(btcoexist, 0xcb7); in halbtc8812a2ant_set_ant_path()
1403 u8tmp &= ~BIT(3); in halbtc8812a2ant_set_ant_path()
1404 u8tmp |= BIT(2); in halbtc8812a2ant_set_ant_path()
1405 btcoexist->btc_write_1byte(btcoexist, 0xcb7, u8tmp); in halbtc8812a2ant_set_ant_path()
4737 u8 u8tmp = 0; in halbtc8812a2ant_init_hw_config() local
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/hal/btc/
H A DHalBtc8812a1Ant.c992 u8 u8tmp = 0; in halbtc8812a1ant_set_ant_path() local
1002 u8tmp = btcoexist->btc_read_1byte(btcoexist, 0xcb7); in halbtc8812a1ant_set_ant_path()
1003 u8tmp &= ~BIT(3); in halbtc8812a1ant_set_ant_path()
1004 u8tmp |= BIT(2); in halbtc8812a1ant_set_ant_path()
1005 btcoexist->btc_write_1byte(btcoexist, 0xcb7, u8tmp); in halbtc8812a1ant_set_ant_path()
1013 u8tmp = btcoexist->btc_read_1byte(btcoexist, in halbtc8812a1ant_set_ant_path()
1015 u8tmp |= BIT(3); in halbtc8812a1ant_set_ant_path()
1016 u8tmp &= ~BIT(2); in halbtc8812a1ant_set_ant_path()
1018 u8tmp); in halbtc8812a1ant_set_ant_path()
1021 u8tmp = btcoexist->btc_read_1byte(btcoexist, in halbtc8812a1ant_set_ant_path()
[all …]
H A DHalBtc8192e1Ant.c2407 u8 u8tmp = 0; in halbtc8192e1ant_init_hw_config() local
2424 u8tmp = btcoexist->btc_read_1byte(btcoexist, 0x790); in halbtc8192e1ant_init_hw_config()
2425 u8tmp &= 0xc0; in halbtc8192e1ant_init_hw_config()
2426 u8tmp |= 0x5; in halbtc8192e1ant_init_hw_config()
2427 btcoexist->btc_write_1byte(btcoexist, 0x790, u8tmp); in halbtc8192e1ant_init_hw_config()
2440 u8tmp = btcoexist->btc_read_1byte(btcoexist, 0x101); in halbtc8192e1ant_init_hw_config()
2441 u8tmp |= BIT(4); in halbtc8192e1ant_init_hw_config()
2442 btcoexist->btc_write_1byte(btcoexist, 0x101, u8tmp); in halbtc8192e1ant_init_hw_config()
2445 u8tmp = btcoexist->btc_read_1byte(btcoexist, 0x93); in halbtc8192e1ant_init_hw_config()
2446 u8tmp |= BIT(0); in halbtc8192e1ant_init_hw_config()
[all …]
H A DHalBtc8812a2Ant.c1213 u8 u8tmp = 0; in halbtc8812a2ant_set_ant_path() local
1227 u8tmp = btcoexist->btc_read_1byte(btcoexist, 0xcb7); in halbtc8812a2ant_set_ant_path()
1228 u8tmp &= ~BIT(3); in halbtc8812a2ant_set_ant_path()
1229 u8tmp |= BIT(2); in halbtc8812a2ant_set_ant_path()
1230 btcoexist->btc_write_1byte(btcoexist, 0xcb7, u8tmp); in halbtc8812a2ant_set_ant_path()
3977 u8 u8tmp = 0; in halbtc8812a2ant_init_hw_config() local
4004 u8tmp = btcoexist->btc_read_1byte(btcoexist, 0x790); in halbtc8812a2ant_init_hw_config()
4005 u8tmp &= 0xc0; in halbtc8812a2ant_init_hw_config()
4006 u8tmp |= 0x5; in halbtc8812a2ant_init_hw_config()
4007 btcoexist->btc_write_1byte(btcoexist, 0x790, u8tmp); in halbtc8812a2ant_init_hw_config()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/btc/
H A Dhalbtc8822b2ant.c2538 u8 u8tmp = 0, ctrl_type, pos_type; in halbtc8822b2ant_set_ant_path() local
2553 u8tmp = btc->btc_read_1byte(btc, 0x73); in halbtc8822b2ant_set_ant_path()
2557 u32tmp1, u32tmp2, u8tmp); in halbtc8822b2ant_set_ant_path()
2715 u8tmp = btc->btc_read_1byte(btc, 0x73); in halbtc8822b2ant_set_ant_path()
2719 u32tmp1, u32tmp2, u8tmp); in halbtc8822b2ant_set_ant_path()
3957 u8 u8tmp = 0x0; in ex_halbtc8822b2ant_power_on_setting() local
3994 btc->btc_write_local_reg_1byte(btc, 0x3e0, u8tmp); in ex_halbtc8822b2ant_power_on_setting()
3996 btc->btc_write_local_reg_1byte(btc, 0xfe08, u8tmp); in ex_halbtc8822b2ant_power_on_setting()
3998 btc->btc_write_local_reg_1byte(btc, 0x60, u8tmp); in ex_halbtc8822b2ant_power_on_setting()
4020 u8 u8tmp = 0x4; /* Set BIT2 by default since it's 2ant case */ in ex_halbtc8822b2ant_pre_load_firmware() local
[all …]
H A Dhalbtc8822b1ant.c2508 u8 u8tmp = 0, ctrl_type, pos_type; in halbtc8822b1ant_set_ant_path() local
2523 u8tmp = btc->btc_read_1byte(btc, 0x73); in halbtc8822b1ant_set_ant_path()
2527 u32tmp1, u32tmp2, u8tmp); in halbtc8822b1ant_set_ant_path()
2751 u8tmp = btc->btc_read_1byte(btc, 0x73); in halbtc8822b1ant_set_ant_path()
2755 u32tmp1, u32tmp2, u8tmp); in halbtc8822b1ant_set_ant_path()
3814 u8 u8tmp = 0, i = 0; in halbtc8822b1ant_init_hw_config() local
3919 u8 u8tmp = 0x0; in ex_halbtc8822b1ant_power_on_setting() local
3960 u8tmp = 0; in ex_halbtc8822b1ant_power_on_setting()
3964 btc->btc_write_local_reg_1byte(btc, 0x3e0, u8tmp); in ex_halbtc8822b1ant_power_on_setting()
3966 btc->btc_write_local_reg_1byte(btc, 0xfe08, u8tmp); in ex_halbtc8822b1ant_power_on_setting()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/realtek/rtlwifi/btcoexist/
H A Dhalbtc8723b1ant.c781 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 …]
H A Dhalbtc8192e2ant.c2578 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 …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/btc/
H A Dhalbtc8821c2ant.c2598 u8 u8tmp = 0, ctrl_type, pos_type; in halbtc8821c2ant_set_ant_path() local
2610 u8tmp = btc->btc_read_1byte(btc, 0x73); in halbtc8821c2ant_set_ant_path()
2614 u32tmp1, u32tmp2, u8tmp); in halbtc8821c2ant_set_ant_path()
2655 u8tmp = btc->btc_read_1byte(btc, 0x49c); in halbtc8821c2ant_set_ant_path()
2658 if (u8tmp & BIT(1)) { in halbtc8821c2ant_set_ant_path()
2740 u8tmp = btc->btc_read_1byte(btc, 0x49c); in halbtc8821c2ant_set_ant_path()
2743 if (u8tmp & BIT(0)) { in halbtc8821c2ant_set_ant_path()
2749 } else if (u8tmp & BIT(1)) { in halbtc8821c2ant_set_ant_path()
2876 u8tmp = btc->btc_read_1byte(btc, 0x73); in halbtc8821c2ant_set_ant_path()
2880 u32tmp1, u32tmp2, u8tmp); in halbtc8821c2ant_set_ant_path()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/hal/btc/
H A Dhalbtc8821c2ant.c2600 u8 u8tmp = 0, ctrl_type, pos_type; in halbtc8821c2ant_set_ant_path() local
2612 u8tmp = btc->btc_read_1byte(btc, 0x73); in halbtc8821c2ant_set_ant_path()
2616 u32tmp1, u32tmp2, u8tmp); in halbtc8821c2ant_set_ant_path()
2657 u8tmp = btc->btc_read_1byte(btc, 0x49c); in halbtc8821c2ant_set_ant_path()
2660 if (u8tmp & BIT(1)) { in halbtc8821c2ant_set_ant_path()
2742 u8tmp = btc->btc_read_1byte(btc, 0x49c); in halbtc8821c2ant_set_ant_path()
2745 if (u8tmp & BIT(0)) { in halbtc8821c2ant_set_ant_path()
2751 } else if (u8tmp & BIT(1)) { in halbtc8821c2ant_set_ant_path()
2878 u8tmp = btc->btc_read_1byte(btc, 0x73); in halbtc8821c2ant_set_ant_path()
2882 u32tmp1, u32tmp2, u8tmp); in halbtc8821c2ant_set_ant_path()
[all …]

123