Home
last modified time | relevance | path

Searched refs:u32tmp (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/btcoexist/
Dhalbtc8723b1ant.c205 u32 reg_hp_txrx, reg_lp_txrx, u32tmp; in halbtc8723b1ant_monitor_bt_ctr() local
213 u32tmp = btcoexist->btc_read_4byte(btcoexist, reg_hp_txrx); in halbtc8723b1ant_monitor_bt_ctr()
214 reg_hp_tx = u32tmp & MASKLWORD; in halbtc8723b1ant_monitor_bt_ctr()
215 reg_hp_rx = (u32tmp & MASKHWORD) >> 16; in halbtc8723b1ant_monitor_bt_ctr()
217 u32tmp = btcoexist->btc_read_4byte(btcoexist, reg_lp_txrx); in halbtc8723b1ant_monitor_bt_ctr()
218 reg_lp_tx = u32tmp & MASKLWORD; in halbtc8723b1ant_monitor_bt_ctr()
219 reg_lp_rx = (u32tmp & MASKHWORD) >> 16; in halbtc8723b1ant_monitor_bt_ctr()
777 u32 fw_ver = 0, u32tmp = 0, cnt_bt_cal_chk = 0; in halbtc8723b1ant_set_ant_path() local
845 u32tmp = btcoexist->btc_read_4byte(btcoexist, 0x4c); in halbtc8723b1ant_set_ant_path()
846 u32tmp &= ~BIT23; in halbtc8723b1ant_set_ant_path()
[all …]
Dhalbtc8723b2ant.c249 u32 reg_hp_txrx, reg_lp_txrx, u32tmp; in btc8723b2ant_monitor_bt_ctr() local
256 u32tmp = btcoexist->btc_read_4byte(btcoexist, reg_hp_txrx); in btc8723b2ant_monitor_bt_ctr()
257 reg_hp_tx = u32tmp & MASKLWORD; in btc8723b2ant_monitor_bt_ctr()
258 reg_hp_rx = (u32tmp & MASKHWORD) >> 16; in btc8723b2ant_monitor_bt_ctr()
260 u32tmp = btcoexist->btc_read_4byte(btcoexist, reg_lp_txrx); in btc8723b2ant_monitor_bt_ctr()
261 reg_lp_tx = u32tmp & MASKLWORD; in btc8723b2ant_monitor_bt_ctr()
262 reg_lp_rx = (u32tmp & MASKHWORD) >> 16; in btc8723b2ant_monitor_bt_ctr()
1094 u32 fw_ver = 0, u32tmp = 0; in btc8723b2ant_set_ant_path() local
1158 u32tmp = btcoexist->btc_read_4byte(btcoexist, 0x4c); in btc8723b2ant_set_ant_path()
1159 u32tmp &= ~BIT23; in btc8723b2ant_set_ant_path()
[all …]
Dhalbtc8192e2ant.c382 u32 reg_hp_txrx, reg_lp_txrx, u32tmp; in btc8192e2ant_monitor_bt_ctr() local
388 u32tmp = btcoexist->btc_read_4byte(btcoexist, reg_hp_txrx); in btc8192e2ant_monitor_bt_ctr()
389 reg_hp_tx = u32tmp & MASKLWORD; in btc8192e2ant_monitor_bt_ctr()
390 reg_hp_rx = (u32tmp & MASKHWORD) >> 16; in btc8192e2ant_monitor_bt_ctr()
392 u32tmp = btcoexist->btc_read_4byte(btcoexist, reg_lp_txrx); in btc8192e2ant_monitor_bt_ctr()
393 reg_lp_tx = u32tmp & MASKLWORD; in btc8192e2ant_monitor_bt_ctr()
394 reg_lp_rx = (u32tmp & MASKHWORD) >> 16; in btc8192e2ant_monitor_bt_ctr()
2683 u32 u32tmp[4]; in ex_btc8192e2ant_display_coex_info() local
2827 u32tmp[0] = btcoexist->btc_read_4byte(btcoexist, 0x430); in ex_btc8192e2ant_display_coex_info()
2828 u32tmp[1] = btcoexist->btc_read_4byte(btcoexist, 0x434); in ex_btc8192e2ant_display_coex_info()
[all …]
/Linux-v5.4/drivers/media/dvb-frontends/
Drtl2832_sdr.c490 u32 u32tmp; in rtl2832_sdr_set_adc() local
524 u32tmp = u64tmp & 0x3fffff; in rtl2832_sdr_set_adc()
526 dev_dbg(&pdev->dev, "f_if=%u if_ctl=%08x\n", f_if, u32tmp); in rtl2832_sdr_set_adc()
528 buf[0] = (u32tmp >> 16) & 0xff; in rtl2832_sdr_set_adc()
529 buf[1] = (u32tmp >> 8) & 0xff; in rtl2832_sdr_set_adc()
530 buf[2] = (u32tmp >> 0) & 0xff; in rtl2832_sdr_set_adc()
559 u32tmp = div_u64(pdata->clk * 0x400000ULL, f_sr * 4U); in rtl2832_sdr_set_adc()
560 u32tmp <<= 2; in rtl2832_sdr_set_adc()
561 buf[0] = (u32tmp >> 24) & 0xff; in rtl2832_sdr_set_adc()
562 buf[1] = (u32tmp >> 16) & 0xff; in rtl2832_sdr_set_adc()
[all …]
Dsi2165.c672 u32 u32tmp; in si2165_read_status() local
722 ret = si2165_readreg24(state, REG_C_N, &u32tmp); in si2165_read_status()
735 u32tmp = (1000 * 10 * (121210686 - (u64)intlog10(u32tmp))) in si2165_read_status()
738 c->cnr.stat[0].svalue = u32tmp; in si2165_read_status()
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dphy.c1522 u32 reg_eac, reg_e94, reg_e9c, reg_ea4, u32tmp, tmp; in _rtl8723be_phy_path_a_rx_iqk() local
1595 u32tmp = 0x80007C00 | (reg_e94 & 0x3FF0000) | in _rtl8723be_phy_path_a_rx_iqk()
1597 rtl_set_bbreg(hw, RTX_IQK, MASKDWORD, u32tmp); in _rtl8723be_phy_path_a_rx_iqk()
1742 u32 reg_e94, reg_e9c, reg_ea4, reg_eac, u32tmp, tmp; in _rtl8723be_phy_path_b_rx_iqk() local
1814 u32tmp = 0x80007C00 | (reg_e94 & 0x3FF0000) | in _rtl8723be_phy_path_b_rx_iqk()
1816 rtl_set_bbreg(hw, RTX_IQK, MASKDWORD, u32tmp); in _rtl8723be_phy_path_b_rx_iqk()