Home
last modified time | relevance | path

Searched refs:u1b_tmp (Results 1 – 17 of 17) sorted by relevance

/Linux-v6.1/drivers/net/wireless/realtek/rtlwifi/rtl8723com/
Dfw_common.c72 u8 u1b_tmp; in rtl8723ae_firmware_selfreset() local
77 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in rtl8723ae_firmware_selfreset()
79 while (u1b_tmp & BIT(2)) { in rtl8723ae_firmware_selfreset()
84 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in rtl8723ae_firmware_selfreset()
87 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in rtl8723ae_firmware_selfreset()
89 u1b_tmp&(~BIT(2))); in rtl8723ae_firmware_selfreset()
96 u8 u1b_tmp; in rtl8723be_firmware_selfreset() local
99 u1b_tmp = rtl_read_byte(rtlpriv, REG_RSV_CTRL + 1); in rtl8723be_firmware_selfreset()
100 rtl_write_byte(rtlpriv, REG_RSV_CTRL + 1, (u1b_tmp & (~BIT(0)))); in rtl8723be_firmware_selfreset()
102 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in rtl8723be_firmware_selfreset()
[all …]
/Linux-v6.1/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dfw.c171 u8 u1b_tmp; in _rtl92ee_fill_h2c_command() local
250 u1b_tmp = rtl_read_byte(rtlpriv, REG_CR); in _rtl92ee_fill_h2c_command()
252 if (u1b_tmp != 0xea) { in _rtl92ee_fill_h2c_command()
274 u1b_tmp = rtl_read_byte(rtlpriv, 0x130); in _rtl92ee_fill_h2c_command()
277 boxnum, u1b_tmp); in _rtl92ee_fill_h2c_command()
374 u8 u1b_tmp; in rtl92ee_firmware_selfreset() local
377 u1b_tmp = rtl_read_byte(rtlpriv, REG_RSV_CTRL + 1); in rtl92ee_firmware_selfreset()
378 rtl_write_byte(rtlpriv, REG_RSV_CTRL + 1, (u1b_tmp & (~BIT(0)))); in rtl92ee_firmware_selfreset()
380 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in rtl92ee_firmware_selfreset()
381 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, (u1b_tmp & (~BIT(2)))); in rtl92ee_firmware_selfreset()
[all …]
Dhw.c1610 u8 u1b_tmp; in _rtl92ee_poweroff_adapter() local
1627 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in _rtl92ee_poweroff_adapter()
1628 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, (u1b_tmp & (~BIT(2)))); in _rtl92ee_poweroff_adapter()
1638 u1b_tmp = rtl_read_byte(rtlpriv, REG_RSV_CTRL + 1); in _rtl92ee_poweroff_adapter()
1639 rtl_write_byte(rtlpriv, REG_RSV_CTRL + 1, (u1b_tmp & (~BIT(0)))); in _rtl92ee_poweroff_adapter()
1640 u1b_tmp = rtl_read_byte(rtlpriv, REG_RSV_CTRL + 1); in _rtl92ee_poweroff_adapter()
1641 rtl_write_byte(rtlpriv, REG_RSV_CTRL + 1, (u1b_tmp | BIT(0))); in _rtl92ee_poweroff_adapter()
/Linux-v6.1/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dfw.c241 u8 u1b_tmp = 0; in _rtl8821ae_fill_h2c_command() local
309 u1b_tmp = rtl_read_byte(rtlpriv, REG_CR); in _rtl8821ae_fill_h2c_command()
311 if (u1b_tmp != 0xEA) { in _rtl8821ae_fill_h2c_command()
337 u1b_tmp = rtl_read_byte(rtlpriv, 0x130); in _rtl8821ae_fill_h2c_command()
340 boxnum, u1b_tmp); in _rtl8821ae_fill_h2c_command()
436 u8 u1b_tmp; in rtl8821ae_firmware_selfreset() local
439 u1b_tmp = rtl_read_byte(rtlpriv, REG_RSV_CTRL+1); in rtl8821ae_firmware_selfreset()
440 rtl_write_byte(rtlpriv, REG_RSV_CTRL+1, (u1b_tmp & (~BIT(3)))); in rtl8821ae_firmware_selfreset()
442 u1b_tmp = rtl_read_byte(rtlpriv, REG_RSV_CTRL+1); in rtl8821ae_firmware_selfreset()
443 rtl_write_byte(rtlpriv, REG_RSV_CTRL+1, (u1b_tmp & (~BIT(0)))); in rtl8821ae_firmware_selfreset()
[all …]
Dhw.c1791 u8 u1b_tmp; in _rtl8821ae_poweroff_adapter() local
1814 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN+1); in _rtl8821ae_poweroff_adapter()
1815 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN+1, (u1b_tmp & (~BIT(2)))); in _rtl8821ae_poweroff_adapter()
1832 u1b_tmp = rtl_read_byte(rtlpriv, REG_RSV_CTRL + 1); in _rtl8821ae_poweroff_adapter()
1833 rtl_write_byte(rtlpriv, REG_RSV_CTRL + 1, (u1b_tmp & (~BIT(0)))); in _rtl8821ae_poweroff_adapter()
1834 u1b_tmp = rtl_read_byte(rtlpriv, REG_RSV_CTRL + 1); in _rtl8821ae_poweroff_adapter()
1835 rtl_write_byte(rtlpriv, REG_RSV_CTRL + 1, u1b_tmp | BIT(0)); in _rtl8821ae_poweroff_adapter()
/Linux-v6.1/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dfw.c93 u8 u1b_tmp; in rtl92d_firmware_selfreset() local
98 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in rtl92d_firmware_selfreset()
99 while (u1b_tmp & BIT(2)) { in rtl92d_firmware_selfreset()
104 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in rtl92d_firmware_selfreset()
277 u8 u1b_tmp; in _rtl92d_fill_h2c_command() local
363 u1b_tmp = rtl_read_byte(rtlpriv, 0x1BF); in _rtl92d_fill_h2c_command()
366 boxnum, u1b_tmp); in _rtl92d_fill_h2c_command()
Dhw.c1195 u8 u1b_tmp; in _rtl92de_poweroff_adapter() local
1221 u1b_tmp = rtl_read_byte(rtlpriv, REG_GPIO_PIN_CTRL); in _rtl92de_poweroff_adapter()
1226 0x00FF0000 | (u1b_tmp << 8)); in _rtl92de_poweroff_adapter()
1267 u1b_tmp = rtl_read_byte(rtlpriv, REG_POWER_OFF_IN_PROCESS); in _rtl92de_poweroff_adapter()
1268 u1b_tmp &= (~BIT(7)); in _rtl92de_poweroff_adapter()
1269 rtl_write_byte(rtlpriv, REG_POWER_OFF_IN_PROCESS, u1b_tmp); in _rtl92de_poweroff_adapter()
/Linux-v6.1/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dfw.c173 u8 u1b_tmp; in _rtl88e_fill_h2c_command() local
258 u1b_tmp = rtl_read_byte(rtlpriv, 0x130); in _rtl88e_fill_h2c_command()
261 boxnum, u1b_tmp); in _rtl88e_fill_h2c_command()
356 u8 u1b_tmp; in rtl88e_firmware_selfreset() local
359 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN+1); in rtl88e_firmware_selfreset()
360 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN+1, (u1b_tmp & (~BIT(2)))); in rtl88e_firmware_selfreset()
361 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN+1, (u1b_tmp | BIT(2))); in rtl88e_firmware_selfreset()
Dhw.c1366 u8 u1b_tmp; in _rtl88ee_poweroff_adapter() local
1372 u1b_tmp = rtl_read_byte(rtlpriv, REG_TX_RPT_CTRL); in _rtl88ee_poweroff_adapter()
1373 rtl_write_byte(rtlpriv, REG_TX_RPT_CTRL, u1b_tmp & (~BIT(1))); in _rtl88ee_poweroff_adapter()
1375 u1b_tmp = rtl_read_byte(rtlpriv, REG_RXDMA_CONTROL); in _rtl88ee_poweroff_adapter()
1376 while (!(u1b_tmp & BIT(1)) && (count++ < 100)) { in _rtl88ee_poweroff_adapter()
1378 u1b_tmp = rtl_read_byte(rtlpriv, REG_RXDMA_CONTROL); in _rtl88ee_poweroff_adapter()
1392 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN+1); in _rtl88ee_poweroff_adapter()
1393 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, (u1b_tmp & (~BIT(2)))); in _rtl88ee_poweroff_adapter()
1396 u1b_tmp = rtl_read_byte(rtlpriv, REG_32K_CTRL); in _rtl88ee_poweroff_adapter()
1397 rtl_write_byte(rtlpriv, REG_32K_CTRL, (u1b_tmp & (~BIT(0)))); in _rtl88ee_poweroff_adapter()
[all …]
/Linux-v6.1/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
Dfw_common.c190 u8 u1b_tmp; in _rtl92c_fill_h2c_command() local
275 u1b_tmp = rtl_read_byte(rtlpriv, 0x1BF); in _rtl92c_fill_h2c_command()
278 boxnum, u1b_tmp); in _rtl92c_fill_h2c_command()
406 u8 u1b_tmp; in rtl92c_firmware_selfreset() local
411 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in rtl92c_firmware_selfreset()
413 while (u1b_tmp & BIT(2)) { in rtl92c_firmware_selfreset()
420 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in rtl92c_firmware_selfreset()
/Linux-v6.1/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dfw.c35 u8 u1b_tmp; in _rtl8723e_fill_h2c_command() local
123 u1b_tmp = rtl_read_byte(rtlpriv, 0x1BF); in _rtl8723e_fill_h2c_command()
126 boxnum, u1b_tmp); in _rtl8723e_fill_h2c_command()
Dhal_btc.c1698 u8 u1b_tmp = 0; in rtl_8723e_c2h_command_handle() local
1700 u1b_tmp = rtl_read_byte(rtlpriv, REG_C2HEVT_MSG_NORMAL); in rtl_8723e_c2h_command_handle()
1702 "&&&&&&: REG_C2HEVT_MSG_NORMAL is 0x%x\n", u1b_tmp); in rtl_8723e_c2h_command_handle()
1703 c2h_event.cmd_id = u1b_tmp & 0xF; in rtl_8723e_c2h_command_handle()
1704 c2h_event.cmd_len = (u1b_tmp & 0xF0) >> 4; in rtl_8723e_c2h_command_handle()
1709 u1b_tmp = rtl_read_byte(rtlpriv, 0x01AF); in rtl_8723e_c2h_command_handle()
1710 if (u1b_tmp == C2H_EVT_HOST_CLOSE) { in rtl_8723e_c2h_command_handle()
1712 } else if (u1b_tmp != C2H_EVT_FW_CLOSE) { in rtl_8723e_c2h_command_handle()
Dhw.c1259 u8 u1b_tmp; in _rtl8723e_poweroff_adapter() local
1275 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN+1); in _rtl8723e_poweroff_adapter()
1276 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN+1, (u1b_tmp & (~BIT(2)))); in _rtl8723e_poweroff_adapter()
1287 u1b_tmp = rtl_read_byte(rtlpriv, REG_RSV_CTRL + 1); in _rtl8723e_poweroff_adapter()
1288 rtl_write_byte(rtlpriv, REG_RSV_CTRL + 1, (u1b_tmp & (~BIT(0)))); in _rtl8723e_poweroff_adapter()
1289 u1b_tmp = rtl_read_byte(rtlpriv, REG_RSV_CTRL + 1); in _rtl8723e_poweroff_adapter()
1290 rtl_write_byte(rtlpriv, REG_RSV_CTRL + 1, u1b_tmp | BIT(0)); in _rtl8723e_poweroff_adapter()
/Linux-v6.1/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dfw.c33 u8 u1b_tmp; in _rtl8723be_fill_h2c_command() local
120 u1b_tmp = rtl_read_byte(rtlpriv, 0x130); in _rtl8723be_fill_h2c_command()
123 boxnum, u1b_tmp); in _rtl8723be_fill_h2c_command()
Dhw.c1155 u8 u1b_tmp; in _rtl8723be_poweroff_adapter() local
1172 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in _rtl8723be_poweroff_adapter()
1173 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, (u1b_tmp & (~BIT(2)))); in _rtl8723be_poweroff_adapter()
1184 u1b_tmp = rtl_read_byte(rtlpriv, REG_RSV_CTRL + 1); in _rtl8723be_poweroff_adapter()
1185 rtl_write_byte(rtlpriv, REG_RSV_CTRL + 1, (u1b_tmp & (~BIT(0)))); in _rtl8723be_poweroff_adapter()
1186 u1b_tmp = rtl_read_byte(rtlpriv, REG_RSV_CTRL + 1); in _rtl8723be_poweroff_adapter()
1187 rtl_write_byte(rtlpriv, REG_RSV_CTRL + 1, u1b_tmp | BIT(0)); in _rtl8723be_poweroff_adapter()
/Linux-v6.1/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dhw.c1298 u8 u1b_tmp; in _rtl92ce_poweroff_adapter() local
1313 u1b_tmp = rtl_read_byte(rtlpriv, REG_GPIO_PIN_CTRL); in _rtl92ce_poweroff_adapter()
1318 (u1b_tmp << 8)); in _rtl92ce_poweroff_adapter()
1321 (u1b_tmp << 8)); in _rtl92ce_poweroff_adapter()
/Linux-v6.1/drivers/net/wireless/realtek/rtw88/
Drtw8822c.c1117 u8 u1b_tmp; in rtw8822c_rfk_handshake() local
1139 ret = read_poll_timeout(rtw_read8_mask, u1b_tmp, in rtw8822c_rfk_handshake()
1140 u1b_tmp == 1, 20, 100000, false, in rtw8822c_rfk_handshake()
1147 ret = read_poll_timeout(rtw_read8_mask, u1b_tmp, in rtw8822c_rfk_handshake()
1148 u1b_tmp == 1, 20, 100000, false, in rtw8822c_rfk_handshake()