Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8723com/
Dfw_common.c94 u8 u1b_tmp; in rtl8723ae_firmware_selfreset() local
99 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in rtl8723ae_firmware_selfreset()
101 while (u1b_tmp & BIT(2)) { in rtl8723ae_firmware_selfreset()
106 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in rtl8723ae_firmware_selfreset()
109 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in rtl8723ae_firmware_selfreset()
111 u1b_tmp&(~BIT(2))); in rtl8723ae_firmware_selfreset()
118 u8 u1b_tmp; in rtl8723be_firmware_selfreset() local
121 u1b_tmp = rtl_read_byte(rtlpriv, REG_RSV_CTRL + 1); in rtl8723be_firmware_selfreset()
122 rtl_write_byte(rtlpriv, REG_RSV_CTRL + 1, (u1b_tmp & (~BIT(0)))); in rtl8723be_firmware_selfreset()
124 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in rtl8723be_firmware_selfreset()
[all …]
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dfw.c196 u8 u1b_tmp; in _rtl92ee_fill_h2c_command() local
275 u1b_tmp = rtl_read_byte(rtlpriv, REG_CR); in _rtl92ee_fill_h2c_command()
277 if (u1b_tmp != 0xea) { in _rtl92ee_fill_h2c_command()
299 u1b_tmp = rtl_read_byte(rtlpriv, 0x130); in _rtl92ee_fill_h2c_command()
302 boxnum, u1b_tmp); in _rtl92ee_fill_h2c_command()
399 u8 u1b_tmp; in rtl92ee_firmware_selfreset() local
402 u1b_tmp = rtl_read_byte(rtlpriv, REG_RSV_CTRL + 1); in rtl92ee_firmware_selfreset()
403 rtl_write_byte(rtlpriv, REG_RSV_CTRL + 1, (u1b_tmp & (~BIT(0)))); in rtl92ee_firmware_selfreset()
405 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in rtl92ee_firmware_selfreset()
406 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, (u1b_tmp & (~BIT(2)))); in rtl92ee_firmware_selfreset()
[all …]
Dhw.c1632 u8 u1b_tmp; in _rtl92ee_poweroff_adapter() local
1649 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in _rtl92ee_poweroff_adapter()
1650 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, (u1b_tmp & (~BIT(2)))); in _rtl92ee_poweroff_adapter()
1660 u1b_tmp = rtl_read_byte(rtlpriv, REG_RSV_CTRL + 1); in _rtl92ee_poweroff_adapter()
1661 rtl_write_byte(rtlpriv, REG_RSV_CTRL + 1, (u1b_tmp & (~BIT(0)))); in _rtl92ee_poweroff_adapter()
1662 u1b_tmp = rtl_read_byte(rtlpriv, REG_RSV_CTRL + 1); in _rtl92ee_poweroff_adapter()
1663 rtl_write_byte(rtlpriv, REG_RSV_CTRL + 1, (u1b_tmp | BIT(0))); in _rtl92ee_poweroff_adapter()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dfw.c263 u8 u1b_tmp = 0; in _rtl8821ae_fill_h2c_command() local
331 u1b_tmp = rtl_read_byte(rtlpriv, REG_CR); in _rtl8821ae_fill_h2c_command()
333 if (u1b_tmp != 0xEA) { in _rtl8821ae_fill_h2c_command()
359 u1b_tmp = rtl_read_byte(rtlpriv, 0x130); in _rtl8821ae_fill_h2c_command()
362 boxnum, u1b_tmp); in _rtl8821ae_fill_h2c_command()
458 u8 u1b_tmp; in rtl8821ae_firmware_selfreset() local
461 u1b_tmp = rtl_read_byte(rtlpriv, REG_RSV_CTRL+1); in rtl8821ae_firmware_selfreset()
462 rtl_write_byte(rtlpriv, REG_RSV_CTRL+1, (u1b_tmp & (~BIT(3)))); in rtl8821ae_firmware_selfreset()
464 u1b_tmp = rtl_read_byte(rtlpriv, REG_RSV_CTRL+1); in rtl8821ae_firmware_selfreset()
465 rtl_write_byte(rtlpriv, REG_RSV_CTRL+1, (u1b_tmp & (~BIT(0)))); in rtl8821ae_firmware_selfreset()
[all …]
Dhw.c1814 u8 u1b_tmp; in _rtl8821ae_poweroff_adapter() local
1837 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN+1); in _rtl8821ae_poweroff_adapter()
1838 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN+1, (u1b_tmp & (~BIT(2)))); in _rtl8821ae_poweroff_adapter()
1855 u1b_tmp = rtl_read_byte(rtlpriv, REG_RSV_CTRL + 1); in _rtl8821ae_poweroff_adapter()
1856 rtl_write_byte(rtlpriv, REG_RSV_CTRL + 1, (u1b_tmp & (~BIT(0)))); in _rtl8821ae_poweroff_adapter()
1857 u1b_tmp = rtl_read_byte(rtlpriv, REG_RSV_CTRL + 1); in _rtl8821ae_poweroff_adapter()
1858 rtl_write_byte(rtlpriv, REG_RSV_CTRL + 1, u1b_tmp | BIT(0)); in _rtl8821ae_poweroff_adapter()
/Linux-v4.19/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-v4.19/drivers/staging/rtlwifi/rtl8822be/
Dfw.c42 u8 u1b_tmp; in _rtl8822be_fill_h2c_command() local
111 u1b_tmp = rtl_read_byte(rtlpriv, REG_CR_8822B); in _rtl8822be_fill_h2c_command()
113 if (u1b_tmp == 0xea) { in _rtl8822be_fill_h2c_command()
139 u1b_tmp = rtl_read_byte(rtlpriv, 0x130); in _rtl8822be_fill_h2c_command()
142 boxnum, u1b_tmp); in _rtl8822be_fill_h2c_command()
452 u8 u1b_tmp; in rtl8822b_halmac_cb_write_data_rsvd_page() local
468 u1b_tmp = rtl_read_byte(rtlpriv, REG_RX_RXBD_NUM_8822B + 1); in rtl8822b_halmac_cb_write_data_rsvd_page()
470 while ((count < 20) && (u1b_tmp & BIT(4))) { in rtl8822b_halmac_cb_write_data_rsvd_page()
473 u1b_tmp = rtl_read_byte(rtlpriv, REG_RX_RXBD_NUM_8822B + 1); in rtl8822b_halmac_cb_write_data_rsvd_page()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dfw.c115 u8 u1b_tmp; in rtl92d_firmware_selfreset() local
120 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in rtl92d_firmware_selfreset()
121 while (u1b_tmp & BIT(2)) { in rtl92d_firmware_selfreset()
126 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in rtl92d_firmware_selfreset()
299 u8 u1b_tmp; in _rtl92d_fill_h2c_command() local
385 u1b_tmp = rtl_read_byte(rtlpriv, 0x1BF); in _rtl92d_fill_h2c_command()
388 boxnum, u1b_tmp); in _rtl92d_fill_h2c_command()
Dhw.c1216 u8 u1b_tmp; in _rtl92de_poweroff_adapter() local
1242 u1b_tmp = rtl_read_byte(rtlpriv, REG_GPIO_PIN_CTRL); in _rtl92de_poweroff_adapter()
1247 0x00FF0000 | (u1b_tmp << 8)); in _rtl92de_poweroff_adapter()
1288 u1b_tmp = rtl_read_byte(rtlpriv, REG_POWER_OFF_IN_PROCESS); in _rtl92de_poweroff_adapter()
1289 u1b_tmp &= (~BIT(7)); in _rtl92de_poweroff_adapter()
1290 rtl_write_byte(rtlpriv, REG_POWER_OFF_IN_PROCESS, u1b_tmp); in _rtl92de_poweroff_adapter()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dfw.c195 u8 u1b_tmp; in _rtl88e_fill_h2c_command() local
280 u1b_tmp = rtl_read_byte(rtlpriv, 0x130); in _rtl88e_fill_h2c_command()
283 boxnum, u1b_tmp); in _rtl88e_fill_h2c_command()
378 u8 u1b_tmp; in rtl88e_firmware_selfreset() local
381 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN+1); in rtl88e_firmware_selfreset()
382 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN+1, (u1b_tmp & (~BIT(2)))); in rtl88e_firmware_selfreset()
383 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN+1, (u1b_tmp | BIT(2))); in rtl88e_firmware_selfreset()
Dhw.c1394 u8 u1b_tmp; in _rtl88ee_poweroff_adapter() local
1400 u1b_tmp = rtl_read_byte(rtlpriv, REG_TX_RPT_CTRL); in _rtl88ee_poweroff_adapter()
1401 rtl_write_byte(rtlpriv, REG_TX_RPT_CTRL, u1b_tmp & (~BIT(1))); in _rtl88ee_poweroff_adapter()
1403 u1b_tmp = rtl_read_byte(rtlpriv, REG_RXDMA_CONTROL); in _rtl88ee_poweroff_adapter()
1404 while (!(u1b_tmp & BIT(1)) && (count++ < 100)) { in _rtl88ee_poweroff_adapter()
1406 u1b_tmp = rtl_read_byte(rtlpriv, REG_RXDMA_CONTROL); in _rtl88ee_poweroff_adapter()
1420 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN+1); in _rtl88ee_poweroff_adapter()
1421 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, (u1b_tmp & (~BIT(2)))); in _rtl88ee_poweroff_adapter()
1424 u1b_tmp = rtl_read_byte(rtlpriv, REG_32K_CTRL); in _rtl88ee_poweroff_adapter()
1425 rtl_write_byte(rtlpriv, REG_32K_CTRL, (u1b_tmp & (~BIT(0)))); in _rtl88ee_poweroff_adapter()
[all …]
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
Dfw_common.c212 u8 u1b_tmp; in _rtl92c_fill_h2c_command() local
297 u1b_tmp = rtl_read_byte(rtlpriv, 0x1BF); in _rtl92c_fill_h2c_command()
300 boxnum, u1b_tmp); in _rtl92c_fill_h2c_command()
428 u8 u1b_tmp; in rtl92c_firmware_selfreset() local
433 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in rtl92c_firmware_selfreset()
435 while (u1b_tmp & BIT(2)) { in rtl92c_firmware_selfreset()
442 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in rtl92c_firmware_selfreset()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dfw.c57 u8 u1b_tmp; in _rtl8723e_fill_h2c_command() local
145 u1b_tmp = rtl_read_byte(rtlpriv, 0x1BF); in _rtl8723e_fill_h2c_command()
148 boxnum, u1b_tmp); in _rtl8723e_fill_h2c_command()
Dhal_btc.c1720 u8 u1b_tmp = 0; in rtl_8723e_c2h_command_handle() local
1722 u1b_tmp = rtl_read_byte(rtlpriv, REG_C2HEVT_MSG_NORMAL); in rtl_8723e_c2h_command_handle()
1724 "&&&&&&: REG_C2HEVT_MSG_NORMAL is 0x%x\n", u1b_tmp); in rtl_8723e_c2h_command_handle()
1725 c2h_event.cmd_id = u1b_tmp & 0xF; in rtl_8723e_c2h_command_handle()
1726 c2h_event.cmd_len = (u1b_tmp & 0xF0) >> 4; in rtl_8723e_c2h_command_handle()
1731 u1b_tmp = rtl_read_byte(rtlpriv, 0x01AF); in rtl_8723e_c2h_command_handle()
1732 if (u1b_tmp == C2H_EVT_HOST_CLOSE) { in rtl_8723e_c2h_command_handle()
1734 } else if (u1b_tmp != C2H_EVT_FW_CLOSE) { in rtl_8723e_c2h_command_handle()
Dhw.c1284 u8 u1b_tmp; in _rtl8723e_poweroff_adapter() local
1300 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN+1); in _rtl8723e_poweroff_adapter()
1301 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN+1, (u1b_tmp & (~BIT(2)))); in _rtl8723e_poweroff_adapter()
1312 u1b_tmp = rtl_read_byte(rtlpriv, REG_RSV_CTRL + 1); in _rtl8723e_poweroff_adapter()
1313 rtl_write_byte(rtlpriv, REG_RSV_CTRL + 1, (u1b_tmp & (~BIT(0)))); in _rtl8723e_poweroff_adapter()
1314 u1b_tmp = rtl_read_byte(rtlpriv, REG_RSV_CTRL + 1); in _rtl8723e_poweroff_adapter()
1315 rtl_write_byte(rtlpriv, REG_RSV_CTRL + 1, u1b_tmp | BIT(0)); in _rtl8723e_poweroff_adapter()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dfw.c55 u8 u1b_tmp; in _rtl8723be_fill_h2c_command() local
142 u1b_tmp = rtl_read_byte(rtlpriv, 0x130); in _rtl8723be_fill_h2c_command()
145 boxnum, u1b_tmp); in _rtl8723be_fill_h2c_command()
Dhw.c1178 u8 u1b_tmp; in _rtl8723be_poweroff_adapter() local
1195 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in _rtl8723be_poweroff_adapter()
1196 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, (u1b_tmp & (~BIT(2)))); in _rtl8723be_poweroff_adapter()
1207 u1b_tmp = rtl_read_byte(rtlpriv, REG_RSV_CTRL + 1); in _rtl8723be_poweroff_adapter()
1208 rtl_write_byte(rtlpriv, REG_RSV_CTRL + 1, (u1b_tmp & (~BIT(0)))); in _rtl8723be_poweroff_adapter()
1209 u1b_tmp = rtl_read_byte(rtlpriv, REG_RSV_CTRL + 1); in _rtl8723be_poweroff_adapter()
1210 rtl_write_byte(rtlpriv, REG_RSV_CTRL + 1, u1b_tmp | BIT(0)); in _rtl8723be_poweroff_adapter()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dhw.c1314 u8 u1b_tmp; in _rtl92ce_poweroff_adapter() local
1329 u1b_tmp = rtl_read_byte(rtlpriv, REG_GPIO_PIN_CTRL); in _rtl92ce_poweroff_adapter()
1334 (u1b_tmp << 8)); in _rtl92ce_poweroff_adapter()
1337 (u1b_tmp << 8)); in _rtl92ce_poweroff_adapter()