Home
last modified time | relevance | path

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

/Linux-v5.4/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-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dfw.c174 u8 u1b_tmp; in _rtl92ee_fill_h2c_command() local
253 u1b_tmp = rtl_read_byte(rtlpriv, REG_CR); in _rtl92ee_fill_h2c_command()
255 if (u1b_tmp != 0xea) { in _rtl92ee_fill_h2c_command()
277 u1b_tmp = rtl_read_byte(rtlpriv, 0x130); in _rtl92ee_fill_h2c_command()
280 boxnum, u1b_tmp); in _rtl92ee_fill_h2c_command()
377 u8 u1b_tmp; in rtl92ee_firmware_selfreset() local
380 u1b_tmp = rtl_read_byte(rtlpriv, REG_RSV_CTRL + 1); in rtl92ee_firmware_selfreset()
381 rtl_write_byte(rtlpriv, REG_RSV_CTRL + 1, (u1b_tmp & (~BIT(0)))); in rtl92ee_firmware_selfreset()
383 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in rtl92ee_firmware_selfreset()
384 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-v5.4/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.c1792 u8 u1b_tmp; in _rtl8821ae_poweroff_adapter() local
1815 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN+1); in _rtl8821ae_poweroff_adapter()
1816 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN+1, (u1b_tmp & (~BIT(2)))); in _rtl8821ae_poweroff_adapter()
1833 u1b_tmp = rtl_read_byte(rtlpriv, REG_RSV_CTRL + 1); in _rtl8821ae_poweroff_adapter()
1834 rtl_write_byte(rtlpriv, REG_RSV_CTRL + 1, (u1b_tmp & (~BIT(0)))); in _rtl8821ae_poweroff_adapter()
1835 u1b_tmp = rtl_read_byte(rtlpriv, REG_RSV_CTRL + 1); in _rtl8821ae_poweroff_adapter()
1836 rtl_write_byte(rtlpriv, REG_RSV_CTRL + 1, u1b_tmp | BIT(0)); in _rtl8821ae_poweroff_adapter()
/Linux-v5.4/drivers/staging/rtl8188eu/hal/
Dfw.c99 u8 u1b_tmp; in rtl88e_firmware_selfreset() local
101 u1b_tmp = usb_read8(adapt, REG_SYS_FUNC_EN + 1); in rtl88e_firmware_selfreset()
102 usb_write8(adapt, REG_SYS_FUNC_EN + 1, (u1b_tmp & (~BIT(2)))); in rtl88e_firmware_selfreset()
103 usb_write8(adapt, REG_SYS_FUNC_EN + 1, (u1b_tmp | BIT(2))); in rtl88e_firmware_selfreset()
/Linux-v5.4/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.c1368 u8 u1b_tmp; in _rtl88ee_poweroff_adapter() local
1374 u1b_tmp = rtl_read_byte(rtlpriv, REG_TX_RPT_CTRL); in _rtl88ee_poweroff_adapter()
1375 rtl_write_byte(rtlpriv, REG_TX_RPT_CTRL, u1b_tmp & (~BIT(1))); in _rtl88ee_poweroff_adapter()
1377 u1b_tmp = rtl_read_byte(rtlpriv, REG_RXDMA_CONTROL); in _rtl88ee_poweroff_adapter()
1378 while (!(u1b_tmp & BIT(1)) && (count++ < 100)) { in _rtl88ee_poweroff_adapter()
1380 u1b_tmp = rtl_read_byte(rtlpriv, REG_RXDMA_CONTROL); in _rtl88ee_poweroff_adapter()
1394 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN+1); in _rtl88ee_poweroff_adapter()
1395 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, (u1b_tmp & (~BIT(2)))); in _rtl88ee_poweroff_adapter()
1398 u1b_tmp = rtl_read_byte(rtlpriv, REG_32K_CTRL); in _rtl88ee_poweroff_adapter()
1399 rtl_write_byte(rtlpriv, REG_32K_CTRL, (u1b_tmp & (~BIT(0)))); in _rtl88ee_poweroff_adapter()
[all …]
/Linux-v5.4/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.c1194 u8 u1b_tmp; in _rtl92de_poweroff_adapter() local
1220 u1b_tmp = rtl_read_byte(rtlpriv, REG_GPIO_PIN_CTRL); in _rtl92de_poweroff_adapter()
1225 0x00FF0000 | (u1b_tmp << 8)); in _rtl92de_poweroff_adapter()
1266 u1b_tmp = rtl_read_byte(rtlpriv, REG_POWER_OFF_IN_PROCESS); in _rtl92de_poweroff_adapter()
1267 u1b_tmp &= (~BIT(7)); in _rtl92de_poweroff_adapter()
1268 rtl_write_byte(rtlpriv, REG_POWER_OFF_IN_PROCESS, u1b_tmp); in _rtl92de_poweroff_adapter()
/Linux-v5.4/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-v5.4/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.c1697 u8 u1b_tmp = 0; in rtl_8723e_c2h_command_handle() local
1699 u1b_tmp = rtl_read_byte(rtlpriv, REG_C2HEVT_MSG_NORMAL); in rtl_8723e_c2h_command_handle()
1701 "&&&&&&: REG_C2HEVT_MSG_NORMAL is 0x%x\n", u1b_tmp); in rtl_8723e_c2h_command_handle()
1702 c2h_event.cmd_id = u1b_tmp & 0xF; in rtl_8723e_c2h_command_handle()
1703 c2h_event.cmd_len = (u1b_tmp & 0xF0) >> 4; in rtl_8723e_c2h_command_handle()
1708 u1b_tmp = rtl_read_byte(rtlpriv, 0x01AF); in rtl_8723e_c2h_command_handle()
1709 if (u1b_tmp == C2H_EVT_HOST_CLOSE) { in rtl_8723e_c2h_command_handle()
1711 } else if (u1b_tmp != C2H_EVT_FW_CLOSE) { in rtl_8723e_c2h_command_handle()
Dhw.c1260 u8 u1b_tmp; in _rtl8723e_poweroff_adapter() local
1276 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN+1); in _rtl8723e_poweroff_adapter()
1277 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN+1, (u1b_tmp & (~BIT(2)))); in _rtl8723e_poweroff_adapter()
1288 u1b_tmp = rtl_read_byte(rtlpriv, REG_RSV_CTRL + 1); in _rtl8723e_poweroff_adapter()
1289 rtl_write_byte(rtlpriv, REG_RSV_CTRL + 1, (u1b_tmp & (~BIT(0)))); in _rtl8723e_poweroff_adapter()
1290 u1b_tmp = rtl_read_byte(rtlpriv, REG_RSV_CTRL + 1); in _rtl8723e_poweroff_adapter()
1291 rtl_write_byte(rtlpriv, REG_RSV_CTRL + 1, u1b_tmp | BIT(0)); in _rtl8723e_poweroff_adapter()
/Linux-v5.4/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.c1156 u8 u1b_tmp; in _rtl8723be_poweroff_adapter() local
1173 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in _rtl8723be_poweroff_adapter()
1174 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, (u1b_tmp & (~BIT(2)))); in _rtl8723be_poweroff_adapter()
1185 u1b_tmp = rtl_read_byte(rtlpriv, REG_RSV_CTRL + 1); in _rtl8723be_poweroff_adapter()
1186 rtl_write_byte(rtlpriv, REG_RSV_CTRL + 1, (u1b_tmp & (~BIT(0)))); in _rtl8723be_poweroff_adapter()
1187 u1b_tmp = rtl_read_byte(rtlpriv, REG_RSV_CTRL + 1); in _rtl8723be_poweroff_adapter()
1188 rtl_write_byte(rtlpriv, REG_RSV_CTRL + 1, u1b_tmp | BIT(0)); in _rtl8723be_poweroff_adapter()
/Linux-v5.4/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()