Home
last modified time | relevance | path

Searched refs:btc_write_1byte_bitmask (Results 1 – 25 of 84) sorted by relevance

1234

/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/btc/
H A Dhalbtc8822c.c260 btc->btc_write_1byte_bitmask(btc, 0x550, 0x8, 0x1); in halbtc8822c_cfg_init()
270 btc->btc_write_1byte_bitmask(btc, 0x40, 0x20, 0x1); in halbtc8822c_cfg_init()
271 btc->btc_write_1byte_bitmask(btc, 0x41, 0x02, 0x1); in halbtc8822c_cfg_init()
274 btc->btc_write_1byte_bitmask(btc, 0x4c6, BIT(4), 0x1); in halbtc8822c_cfg_init()
275 btc->btc_write_1byte_bitmask(btc, 0x4c6, BIT(5), 0x0); in halbtc8822c_cfg_init()
277 btc->btc_write_1byte_bitmask(btc, 0x763, BIT(4), 0x1); in halbtc8822c_cfg_init()
280 btc->btc_write_1byte_bitmask(btc, 0x4fc, 0x3, 0x0); in halbtc8822c_cfg_init()
320 btc->btc_write_1byte_bitmask(btc, 0x1c32, BIT(6), 0); in halbtc8822c_cfg_gnt_fix()
322 btc->btc_write_1byte_bitmask(btc, 0x1c32, BIT(6), 1); in halbtc8822c_cfg_gnt_fix()
323 btc->btc_write_1byte_bitmask(btc, 0x1c39, BIT(4), 0); in halbtc8822c_cfg_gnt_fix()
[all …]
H A Dhalbtccommon.c85 btc->btc_write_1byte_bitmask(btc, REG_TX_HANG_CTRL, in rtw_btc_limited_tx()
90 btc->btc_write_1byte_bitmask(btc, REG_LIFETIME_EN, 0xf, in rtw_btc_limited_tx()
93 btc->btc_write_1byte_bitmask(btc, REG_LIFETIME_EN, 0xf, in rtw_btc_limited_tx()
113 btc->btc_write_1byte_bitmask(btc, REG_TX_HANG_CTRL, in rtw_btc_limited_tx()
119 btc->btc_write_1byte_bitmask(btc, REG_LIFETIME_EN, 0xf, 0x0); in rtw_btc_limited_tx()
517 btc->btc_write_1byte_bitmask(btc, addr, BIT(bitmap), data); in rtw_btc_set_wl_pri_mask()
564 btc->btc_write_1byte_bitmask(btc, 0x73, 0x8, 0x0); in rtw_btc_gnt_debug()
883 btc->btc_write_1byte_bitmask(btc, REG_CCK_CHECK, in rtw_btc_update_wl_link_info()
886 btc->btc_write_1byte_bitmask(btc, REG_CCK_CHECK, in rtw_btc_update_wl_link_info()
1239 btc->btc_write_1byte_bitmask(btc, REG_SYS_SDIO_CTRL3, BIT(2), val); in rtw_btc_coex_ctrl_owner()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/hal/btc/
H A Dhalbtc8822b1ant.c502 btcoexist->btc_write_1byte_bitmask(btcoexist, 0xb58, 0x1, 0x1); in halbtc8822b1ant_monitor_wifi_ctr()
503 btcoexist->btc_write_1byte_bitmask(btcoexist, 0xb58, 0x1, 0x0); in halbtc8822b1ant_monitor_wifi_ctr()
1116 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x73, 0x8, 0x1); in halbtc8822b1ant_enable_gnt_to_gpio()
1131 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x66, BIT(4), in halbtc8822b1ant_enable_gnt_to_gpio()
1133 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x67, BIT(0), in halbtc8822b1ant_enable_gnt_to_gpio()
1135 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x42, BIT(3), in halbtc8822b1ant_enable_gnt_to_gpio()
1137 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x65, BIT(7), in halbtc8822b1ant_enable_gnt_to_gpio()
1139 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x72, BIT(2), in halbtc8822b1ant_enable_gnt_to_gpio()
1144 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x73, 0x8, 0x0); in halbtc8822b1ant_enable_gnt_to_gpio()
1148 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x66, BIT(4), in halbtc8822b1ant_enable_gnt_to_gpio()
[all …]
H A Dhalbtc8822b2ant.c911 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x73, 0x8, 0x1); in halbtc8822b2ant_enable_gnt_to_gpio()
926 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x66, BIT(4), in halbtc8822b2ant_enable_gnt_to_gpio()
928 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x67, BIT(0), in halbtc8822b2ant_enable_gnt_to_gpio()
930 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x42, BIT(3), in halbtc8822b2ant_enable_gnt_to_gpio()
932 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x65, BIT(7), in halbtc8822b2ant_enable_gnt_to_gpio()
934 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x72, BIT(2), in halbtc8822b2ant_enable_gnt_to_gpio()
943 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x73, 0x8, 0x0); in halbtc8822b2ant_enable_gnt_to_gpio()
947 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x66, BIT(4), in halbtc8822b2ant_enable_gnt_to_gpio()
949 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x67, BIT(0), in halbtc8822b2ant_enable_gnt_to_gpio()
951 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x42, BIT(3), in halbtc8822b2ant_enable_gnt_to_gpio()
[all …]
H A Dhalbtc8723d1ant.c472 btcoexist->btc_write_1byte_bitmask(btcoexist, 0xf16, 0x1, 0x1); in halbtc8723d1ant_monitor_wifi_ctr()
473 btcoexist->btc_write_1byte_bitmask(btcoexist, 0xf16, 0x1, 0x0); in halbtc8723d1ant_monitor_wifi_ctr()
1052 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x73, 0x8, 0x1); in halbtc8723d1ant_enable_gnt_to_gpio()
1055 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x4e, 0x40, 0x0); in halbtc8723d1ant_enable_gnt_to_gpio()
1056 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x67, 0x1, 0x0); in halbtc8723d1ant_enable_gnt_to_gpio()
1059 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x4a, 0x10, 0x0); in halbtc8723d1ant_enable_gnt_to_gpio()
1061 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x42, 0x02, 0x0); in halbtc8723d1ant_enable_gnt_to_gpio()
1064 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x67, 0x02, 0x0); in halbtc8723d1ant_enable_gnt_to_gpio()
1067 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x66, 0x80, 0x0); in halbtc8723d1ant_enable_gnt_to_gpio()
1069 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x9, 0x1, 0x0); in halbtc8723d1ant_enable_gnt_to_gpio()
[all …]
H A Dhalbtc8723d2ant.c341 btcoexist->btc_write_1byte_bitmask(btcoexist, 0xf16, 0x1, 0x1); in halbtc8723d2ant_monitor_wifi_ctr()
342 btcoexist->btc_write_1byte_bitmask(btcoexist, 0xf16, 0x1, 0x0); in halbtc8723d2ant_monitor_wifi_ctr()
737 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x73, 0x8, 0x1); in halbtc8723d2ant_enable_gnt_to_gpio()
740 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x4e, 0x40, 0x0); in halbtc8723d2ant_enable_gnt_to_gpio()
741 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x67, 0x1, 0x0); in halbtc8723d2ant_enable_gnt_to_gpio()
744 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x4a, 0x10, 0x0); in halbtc8723d2ant_enable_gnt_to_gpio()
746 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x42, 0x02, 0x0); in halbtc8723d2ant_enable_gnt_to_gpio()
749 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x67, 0x02, 0x0); in halbtc8723d2ant_enable_gnt_to_gpio()
752 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x66, 0x80, 0x0); in halbtc8723d2ant_enable_gnt_to_gpio()
754 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x9, 0x1, 0x0); in halbtc8723d2ant_enable_gnt_to_gpio()
[all …]
H A Dhalbtc8723b1ant.c298 btcoexist->btc_write_1byte_bitmask(btcoexist, 0xf16, 0x1, 0x1); in halbtc8723b1ant_monitor_wifi_ctr()
299 btcoexist->btc_write_1byte_bitmask(btcoexist, 0xf16, 0x1, 0x0); in halbtc8723b1ant_monitor_wifi_ctr()
757 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x67, 0x20, in halbtc8723b1ant_set_ant_path()
760 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x39, 0x8, 0x1); in halbtc8723b1ant_set_ant_path()
762 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x944, 0x3, 0x3); in halbtc8723b1ant_set_ant_path()
780 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x67, in halbtc8723b1ant_set_ant_path()
783 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x67, in halbtc8723b1ant_set_ant_path()
829 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x67, 0x20, in halbtc8723b1ant_set_ant_path()
868 btcoexist->btc_write_1byte_bitmask( in halbtc8723b1ant_set_ant_path()
872 btcoexist->btc_write_1byte_bitmask( in halbtc8723b1ant_set_ant_path()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/hal/btc/
H A Dhalbtc8822b2ant.c897 btcoexist->btc_write_1byte_bitmask(btcoexist, 0xc5b, 0xff, fw_dac_swing_lvl); in halbtc8822b2ant_adjust_wl_tx_power()
898 btcoexist->btc_write_1byte_bitmask(btcoexist, 0xe5b, 0xff, fw_dac_swing_lvl); in halbtc8822b2ant_adjust_wl_tx_power()
1082 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x73, 0x8, 0x1); in halbtc8822b2ant_enable_gnt_to_gpio()
1097 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x66, BIT(4), in halbtc8822b2ant_enable_gnt_to_gpio()
1099 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x67, BIT(0), in halbtc8822b2ant_enable_gnt_to_gpio()
1101 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x42, BIT(3), in halbtc8822b2ant_enable_gnt_to_gpio()
1103 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x65, BIT(7), in halbtc8822b2ant_enable_gnt_to_gpio()
1105 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x72, BIT(2), in halbtc8822b2ant_enable_gnt_to_gpio()
1114 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x73, 0x8, 0x0); in halbtc8822b2ant_enable_gnt_to_gpio()
1118 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x66, BIT(4), in halbtc8822b2ant_enable_gnt_to_gpio()
[all …]
H A Dhalbtc8822b1ant.c1182 btcoexist->btc_write_1byte_bitmask(btcoexist, 0xc5b, 0xff, fw_dac_swing_lvl); in halbtc8822b1ant_adjust_wl_tx_power()
1183 btcoexist->btc_write_1byte_bitmask(btcoexist, 0xe5b, 0xff, fw_dac_swing_lvl); in halbtc8822b1ant_adjust_wl_tx_power()
1372 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x73, 0x8, 0x1); in halbtc8822b1ant_enable_gnt_to_gpio()
1387 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x66, BIT(4), in halbtc8822b1ant_enable_gnt_to_gpio()
1389 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x67, BIT(0), in halbtc8822b1ant_enable_gnt_to_gpio()
1391 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x42, BIT(3), in halbtc8822b1ant_enable_gnt_to_gpio()
1393 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x65, BIT(7), in halbtc8822b1ant_enable_gnt_to_gpio()
1395 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x72, BIT(2), in halbtc8822b1ant_enable_gnt_to_gpio()
1400 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x73, 0x8, 0x0); in halbtc8822b1ant_enable_gnt_to_gpio()
1404 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x66, BIT(4), in halbtc8822b1ant_enable_gnt_to_gpio()
[all …]
H A Dhalbtc8821c1ant.c1308 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x73, 0x8, 0x1); in halbtc8821c1ant_enable_gnt_to_gpio()
1323 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x66, BIT(4), in halbtc8821c1ant_enable_gnt_to_gpio()
1325 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x67, BIT(0), in halbtc8821c1ant_enable_gnt_to_gpio()
1327 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x42, BIT(3), in halbtc8821c1ant_enable_gnt_to_gpio()
1329 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x65, BIT(7), in halbtc8821c1ant_enable_gnt_to_gpio()
1331 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x72, BIT(2), in halbtc8821c1ant_enable_gnt_to_gpio()
1336 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x73, 0x8, 0x0); in halbtc8821c1ant_enable_gnt_to_gpio()
1340 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x66, BIT(4), in halbtc8821c1ant_enable_gnt_to_gpio()
1342 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x67, BIT(0), in halbtc8821c1ant_enable_gnt_to_gpio()
1344 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x42, BIT(3), in halbtc8821c1ant_enable_gnt_to_gpio()
[all …]
H A Dhalbtc8821c2ant.c1112 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x73, 0x8, 0x1); in halbtc8821c2ant_enable_gnt_to_gpio()
1127 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x66, BIT(4), in halbtc8821c2ant_enable_gnt_to_gpio()
1129 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x67, BIT(0), in halbtc8821c2ant_enable_gnt_to_gpio()
1131 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x42, BIT(3), in halbtc8821c2ant_enable_gnt_to_gpio()
1133 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x65, BIT(7), in halbtc8821c2ant_enable_gnt_to_gpio()
1135 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x72, BIT(2), in halbtc8821c2ant_enable_gnt_to_gpio()
1144 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x73, 0x8, 0x0); in halbtc8821c2ant_enable_gnt_to_gpio()
1148 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x66, BIT(4), in halbtc8821c2ant_enable_gnt_to_gpio()
1150 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x67, BIT(0), in halbtc8821c2ant_enable_gnt_to_gpio()
1152 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x42, BIT(3), in halbtc8821c2ant_enable_gnt_to_gpio()
[all …]
H A Dhalbtc8723d1ant.c1283 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x73, 0x8, 0x1); in halbtc8723d1ant_enable_gnt_to_gpio()
1286 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x4e, 0x40, 0x0); in halbtc8723d1ant_enable_gnt_to_gpio()
1287 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x67, 0x1, 0x0); in halbtc8723d1ant_enable_gnt_to_gpio()
1290 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x4a, 0x10, 0x0); in halbtc8723d1ant_enable_gnt_to_gpio()
1292 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x42, 0x02, 0x0); in halbtc8723d1ant_enable_gnt_to_gpio()
1295 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x67, 0x02, 0x0); in halbtc8723d1ant_enable_gnt_to_gpio()
1298 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x66, 0x80, 0x0); in halbtc8723d1ant_enable_gnt_to_gpio()
1300 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x9, 0x1, 0x0); in halbtc8723d1ant_enable_gnt_to_gpio()
1304 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x73, 0x8, 0x0); in halbtc8723d1ant_enable_gnt_to_gpio()
1307 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x4e, 0x40, 0x1); in halbtc8723d1ant_enable_gnt_to_gpio()
[all …]
H A Dhalbtc8723d2ant.c1073 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x73, 0x8, 0x1); in halbtc8723d2ant_enable_gnt_to_gpio()
1076 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x4e, 0x40, 0x0); in halbtc8723d2ant_enable_gnt_to_gpio()
1077 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x67, 0x1, 0x0); in halbtc8723d2ant_enable_gnt_to_gpio()
1080 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x4a, 0x10, 0x0); in halbtc8723d2ant_enable_gnt_to_gpio()
1082 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x42, 0x02, 0x0); in halbtc8723d2ant_enable_gnt_to_gpio()
1085 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x67, 0x02, 0x0); in halbtc8723d2ant_enable_gnt_to_gpio()
1088 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x66, 0x80, 0x0); in halbtc8723d2ant_enable_gnt_to_gpio()
1090 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x9, 0x1, 0x0); in halbtc8723d2ant_enable_gnt_to_gpio()
1094 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x73, 0x8, 0x0); in halbtc8723d2ant_enable_gnt_to_gpio()
1097 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x4e, 0x40, 0x1); in halbtc8723d2ant_enable_gnt_to_gpio()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/btc/
H A Dhalbtc8822b1ant.c192 btc->btc_write_1byte_bitmask(btc, 0x45e, 0x8, 0x1); in halbtc8822b1ant_limited_tx()
193 btc->btc_write_1byte_bitmask(btc, 0x426, 0xf, 0xf); in halbtc8822b1ant_limited_tx()
213 btc->btc_write_1byte_bitmask(btc, 0x45e, 0x8, 0x0); in halbtc8822b1ant_limited_tx()
218 btc->btc_write_1byte_bitmask(btc, 0x426, 0xf, 0x0); in halbtc8822b1ant_limited_tx()
505 btc->btc_write_1byte_bitmask(btc, 0x73, 0x8, 0x1); in halbtc8822b1ant_enable_gnt_to_gpio()
515 btc->btc_write_1byte_bitmask(btc, 0x66, BIT(4), 0x0); in halbtc8822b1ant_enable_gnt_to_gpio()
516 btc->btc_write_1byte_bitmask(btc, 0x67, BIT(0), 0x0); in halbtc8822b1ant_enable_gnt_to_gpio()
517 btc->btc_write_1byte_bitmask(btc, 0x42, BIT(3), 0x0); in halbtc8822b1ant_enable_gnt_to_gpio()
518 btc->btc_write_1byte_bitmask(btc, 0x65, BIT(7), 0x0); in halbtc8822b1ant_enable_gnt_to_gpio()
519 btc->btc_write_1byte_bitmask(btc, 0x72, BIT(2), 0x0); in halbtc8822b1ant_enable_gnt_to_gpio()
[all …]
H A Dhalbtc8822b2ant.c192 btc->btc_write_1byte_bitmask(btc, 0x45e, 0x8, 0x1); in halbtc8822b2ant_limited_tx()
193 btc->btc_write_1byte_bitmask(btc, 0x426, 0xf, 0xf); in halbtc8822b2ant_limited_tx()
213 btc->btc_write_1byte_bitmask(btc, 0x45e, 0x8, 0x0); in halbtc8822b2ant_limited_tx()
218 btc->btc_write_1byte_bitmask(btc, 0x426, 0xf, 0x0); in halbtc8822b2ant_limited_tx()
589 btc->btc_write_1byte_bitmask(btc, 0x73, 0x8, 0x1); in halbtc8822b2ant_enable_gnt_to_gpio()
599 btc->btc_write_1byte_bitmask(btc, 0x66, BIT(4), 0x0); in halbtc8822b2ant_enable_gnt_to_gpio()
600 btc->btc_write_1byte_bitmask(btc, 0x67, BIT(0), 0x0); in halbtc8822b2ant_enable_gnt_to_gpio()
601 btc->btc_write_1byte_bitmask(btc, 0x42, BIT(3), 0x0); in halbtc8822b2ant_enable_gnt_to_gpio()
602 btc->btc_write_1byte_bitmask(btc, 0x65, BIT(7), 0x0); in halbtc8822b2ant_enable_gnt_to_gpio()
603 btc->btc_write_1byte_bitmask(btc, 0x72, BIT(2), 0x0); in halbtc8822b2ant_enable_gnt_to_gpio()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/btc/
H A Dhalbtc8821c1ant.c202 btc->btc_write_1byte_bitmask(btc, 0x45e, 0x8, 0x1); in halbtc8821c1ant_limited_tx()
203 btc->btc_write_1byte_bitmask(btc, 0x426, 0xf, 0xf); in halbtc8821c1ant_limited_tx()
223 btc->btc_write_1byte_bitmask(btc, 0x45e, 0x8, 0x0); in halbtc8821c1ant_limited_tx()
224 btc->btc_write_1byte_bitmask(btc, 0x426, 0xf, 0x0); in halbtc8821c1ant_limited_tx()
230 btc->btc_write_1byte_bitmask(btc, 0x426, 0xf, 0x0); in halbtc8821c1ant_limited_tx()
532 btc->btc_write_1byte_bitmask(btc, 0x73, 0x8, 0x1); in halbtc8821c1ant_enable_gnt_to_gpio()
548 btc->btc_write_1byte_bitmask(btc, 0x66, BIT(4), 0x0); in halbtc8821c1ant_enable_gnt_to_gpio()
550 btc->btc_write_1byte_bitmask(btc, 0x67, BIT(0), 0x0); in halbtc8821c1ant_enable_gnt_to_gpio()
552 btc->btc_write_1byte_bitmask(btc, 0x42, BIT(3), 0x0); in halbtc8821c1ant_enable_gnt_to_gpio()
554 btc->btc_write_1byte_bitmask(btc, 0x65, BIT(7), 0x0); in halbtc8821c1ant_enable_gnt_to_gpio()
[all …]
H A Dhalbtc8821c2ant.c190 btc->btc_write_1byte_bitmask(btc, 0x45e, 0x8, 0x1); in halbtc8821c2ant_limited_tx()
191 btc->btc_write_1byte_bitmask(btc, 0x426, 0xf, 0xf); in halbtc8821c2ant_limited_tx()
211 btc->btc_write_1byte_bitmask(btc, 0x45e, 0x8, 0x0); in halbtc8821c2ant_limited_tx()
212 btc->btc_write_1byte_bitmask(btc, 0x426, 0xf, 0x0); in halbtc8821c2ant_limited_tx()
218 btc->btc_write_1byte_bitmask(btc, 0x426, 0xf, 0x0); in halbtc8821c2ant_limited_tx()
583 btc->btc_write_1byte_bitmask(btc, 0x73, 0x8, 0x1); in halbtc8821c2ant_enable_gnt_to_gpio()
599 btc->btc_write_1byte_bitmask(btc, 0x66, BIT(4), 0x0); in halbtc8821c2ant_enable_gnt_to_gpio()
601 btc->btc_write_1byte_bitmask(btc, 0x67, BIT(0), 0x0); in halbtc8821c2ant_enable_gnt_to_gpio()
603 btc->btc_write_1byte_bitmask(btc, 0x42, BIT(3), 0x0); in halbtc8821c2ant_enable_gnt_to_gpio()
605 btc->btc_write_1byte_bitmask(btc, 0x65, BIT(7), 0x0); in halbtc8821c2ant_enable_gnt_to_gpio()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/hal/btc/
H A Dhalbtc8821c1ant.c203 btc->btc_write_1byte_bitmask(btc, 0x45e, 0x8, 0x1); in halbtc8821c1ant_limited_tx()
204 btc->btc_write_1byte_bitmask(btc, 0x426, 0xf, 0xf); in halbtc8821c1ant_limited_tx()
224 btc->btc_write_1byte_bitmask(btc, 0x45e, 0x8, 0x0); in halbtc8821c1ant_limited_tx()
225 btc->btc_write_1byte_bitmask(btc, 0x426, 0xf, 0x0); in halbtc8821c1ant_limited_tx()
231 btc->btc_write_1byte_bitmask(btc, 0x426, 0xf, 0x0); in halbtc8821c1ant_limited_tx()
533 btc->btc_write_1byte_bitmask(btc, 0x73, 0x8, 0x1); in halbtc8821c1ant_enable_gnt_to_gpio()
549 btc->btc_write_1byte_bitmask(btc, 0x66, BIT(4), 0x0); in halbtc8821c1ant_enable_gnt_to_gpio()
551 btc->btc_write_1byte_bitmask(btc, 0x67, BIT(0), 0x0); in halbtc8821c1ant_enable_gnt_to_gpio()
553 btc->btc_write_1byte_bitmask(btc, 0x42, BIT(3), 0x0); in halbtc8821c1ant_enable_gnt_to_gpio()
555 btc->btc_write_1byte_bitmask(btc, 0x65, BIT(7), 0x0); in halbtc8821c1ant_enable_gnt_to_gpio()
[all …]
H A Dhalbtc8821c2ant.c191 btc->btc_write_1byte_bitmask(btc, 0x45e, 0x8, 0x1); in halbtc8821c2ant_limited_tx()
192 btc->btc_write_1byte_bitmask(btc, 0x426, 0xf, 0xf); in halbtc8821c2ant_limited_tx()
212 btc->btc_write_1byte_bitmask(btc, 0x45e, 0x8, 0x0); in halbtc8821c2ant_limited_tx()
213 btc->btc_write_1byte_bitmask(btc, 0x426, 0xf, 0x0); in halbtc8821c2ant_limited_tx()
219 btc->btc_write_1byte_bitmask(btc, 0x426, 0xf, 0x0); in halbtc8821c2ant_limited_tx()
584 btc->btc_write_1byte_bitmask(btc, 0x73, 0x8, 0x1); in halbtc8821c2ant_enable_gnt_to_gpio()
600 btc->btc_write_1byte_bitmask(btc, 0x66, BIT(4), 0x0); in halbtc8821c2ant_enable_gnt_to_gpio()
602 btc->btc_write_1byte_bitmask(btc, 0x67, BIT(0), 0x0); in halbtc8821c2ant_enable_gnt_to_gpio()
604 btc->btc_write_1byte_bitmask(btc, 0x42, BIT(3), 0x0); in halbtc8821c2ant_enable_gnt_to_gpio()
606 btc->btc_write_1byte_bitmask(btc, 0x65, BIT(7), 0x0); in halbtc8821c2ant_enable_gnt_to_gpio()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/hal/btc/
H A Dhalbtc8723d1ant.c204 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x45e, 0x8, 0x1); in halbtc8723d1ant_limited_tx()
205 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x426, 0xf, 0xf); in halbtc8723d1ant_limited_tx()
229 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x45e, 0x8, 0x0); in halbtc8723d1ant_limited_tx()
234 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x426, 0xf, 0x0); in halbtc8723d1ant_limited_tx()
1329 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x73, 0x8, 0x1); in halbtc8723d1ant_enable_gnt_to_gpio()
1332 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x4e, 0x40, 0x0); in halbtc8723d1ant_enable_gnt_to_gpio()
1333 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x67, 0x1, 0x0); in halbtc8723d1ant_enable_gnt_to_gpio()
1336 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x4a, 0x10, 0x0); in halbtc8723d1ant_enable_gnt_to_gpio()
1338 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x42, 0x02, 0x0); in halbtc8723d1ant_enable_gnt_to_gpio()
1341 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x67, 0x02, 0x0); in halbtc8723d1ant_enable_gnt_to_gpio()
[all …]
H A Dhalbtc8723d2ant.c241 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x45e, 0x8, 0x1); in halbtc8723d2ant_limited_tx()
242 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x426, 0xf, 0xf); in halbtc8723d2ant_limited_tx()
266 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x45e, 0x8, 0x0); in halbtc8723d2ant_limited_tx()
272 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x426, 0xf, 0x0); in halbtc8723d2ant_limited_tx()
1298 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x73, 0x8, 0x1); in halbtc8723d2ant_enable_gnt_to_gpio()
1301 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x4e, 0x40, 0x0); in halbtc8723d2ant_enable_gnt_to_gpio()
1302 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x67, 0x1, 0x0); in halbtc8723d2ant_enable_gnt_to_gpio()
1305 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x4a, 0x10, 0x0); in halbtc8723d2ant_enable_gnt_to_gpio()
1307 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x42, 0x02, 0x0); in halbtc8723d2ant_enable_gnt_to_gpio()
1310 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x67, 0x02, 0x0); in halbtc8723d2ant_enable_gnt_to_gpio()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/hal/btc/
H A Dhalbtc8723d1ant.c204 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x45e, 0x8, 0x1); in halbtc8723d1ant_limited_tx()
205 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x426, 0xf, 0xf); in halbtc8723d1ant_limited_tx()
229 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x45e, 0x8, 0x0); in halbtc8723d1ant_limited_tx()
234 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x426, 0xf, 0x0); in halbtc8723d1ant_limited_tx()
1340 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x73, 0x8, 0x1); in halbtc8723d1ant_enable_gnt_to_gpio()
1343 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x4e, 0x40, 0x0); in halbtc8723d1ant_enable_gnt_to_gpio()
1344 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x67, 0x1, 0x0); in halbtc8723d1ant_enable_gnt_to_gpio()
1347 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x4a, 0x10, 0x0); in halbtc8723d1ant_enable_gnt_to_gpio()
1349 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x42, 0x02, 0x0); in halbtc8723d1ant_enable_gnt_to_gpio()
1352 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x67, 0x02, 0x0); in halbtc8723d1ant_enable_gnt_to_gpio()
[all …]
H A Dhalbtc8723d2ant.c241 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x45e, 0x8, 0x1); in halbtc8723d2ant_limited_tx()
242 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x426, 0xf, 0xf); in halbtc8723d2ant_limited_tx()
266 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x45e, 0x8, 0x0); in halbtc8723d2ant_limited_tx()
272 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x426, 0xf, 0x0); in halbtc8723d2ant_limited_tx()
1309 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x73, 0x8, 0x1); in halbtc8723d2ant_enable_gnt_to_gpio()
1312 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x4e, 0x40, 0x0); in halbtc8723d2ant_enable_gnt_to_gpio()
1313 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x67, 0x1, 0x0); in halbtc8723d2ant_enable_gnt_to_gpio()
1316 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x4a, 0x10, 0x0); in halbtc8723d2ant_enable_gnt_to_gpio()
1318 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x42, 0x02, 0x0); in halbtc8723d2ant_enable_gnt_to_gpio()
1321 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x67, 0x02, 0x0); in halbtc8723d2ant_enable_gnt_to_gpio()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/realtek/rtlwifi/btcoexist/
H A Dhalbtc8723b1ant.c297 btcoexist->btc_write_1byte_bitmask(btcoexist, 0xf16, 0x1, 0x1); in halbtc8723b1ant_monitor_wifi_ctr()
298 btcoexist->btc_write_1byte_bitmask(btcoexist, 0xf16, 0x1, 0x0); in halbtc8723b1ant_monitor_wifi_ctr()
813 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x67, 0x20, 0x0); in halbtc8723b1ant_set_ant_path()
814 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x39, 0x8, 0x1); in halbtc8723b1ant_set_ant_path()
816 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x944, 0x3, 0x3); in halbtc8723b1ant_set_ant_path()
835 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x67, in halbtc8723b1ant_set_ant_path()
839 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x67, in halbtc8723b1ant_set_ant_path()
887 btcoexist->btc_write_1byte_bitmask( in halbtc8723b1ant_set_ant_path()
930 btcoexist->btc_write_1byte_bitmask( in halbtc8723b1ant_set_ant_path()
933 btcoexist->btc_write_1byte_bitmask( in halbtc8723b1ant_set_ant_path()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/hal/btc/
H A DHalBtc8723b1Ant.c321 btcoexist->btc_write_1byte_bitmask(btcoexist, 0xf16, 0x1, 0x1); in halbtc8723b1ant_monitor_wifi_ctr()
322 btcoexist->btc_write_1byte_bitmask(btcoexist, 0xf16, 0x1, 0x0); in halbtc8723b1ant_monitor_wifi_ctr()
800 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x67, 0x20, in halbtc8723b1ant_set_ant_path()
803 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x39, 0x8, 0x1); in halbtc8723b1ant_set_ant_path()
805 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x944, 0x3, 0x3); in halbtc8723b1ant_set_ant_path()
841 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x67, in halbtc8723b1ant_set_ant_path()
844 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x67, in halbtc8723b1ant_set_ant_path()
908 btcoexist->btc_write_1byte_bitmask(btcoexist, 0x67, 0x20, in halbtc8723b1ant_set_ant_path()
955 btcoexist->btc_write_1byte_bitmask( in halbtc8723b1ant_set_ant_path()
959 btcoexist->btc_write_1byte_bitmask( in halbtc8723b1ant_set_ant_path()
[all …]

1234