/linux-5.19.10/drivers/staging/r8188eu/hal/ |
D | rtl8188e_dm.c | 14 u8 tmp1byte; in dm_InitGPIOSetting() local 17 res = rtw_read8(Adapter, REG_GPIO_MUXCFG, &tmp1byte); in dm_InitGPIOSetting() 21 tmp1byte &= (GPIOSEL_GPIO | ~GPIOSEL_ENBT); in dm_InitGPIOSetting() 23 rtw_write8(Adapter, REG_GPIO_MUXCFG, tmp1byte); in dm_InitGPIOSetting()
|
/linux-5.19.10/drivers/staging/rtl8712/ |
D | rtl8712_cmd.c | 45 u8 tmp1byte; in check_hw_pbc() local 48 tmp1byte = r8712_read8(padapter, GPIO_IO_SEL); in check_hw_pbc() 49 tmp1byte &= ~(HAL_8192S_HW_GPIO_WPS_BIT); in check_hw_pbc() 50 r8712_write8(padapter, GPIO_IO_SEL, tmp1byte); in check_hw_pbc() 51 tmp1byte = r8712_read8(padapter, GPIO_CTRL); in check_hw_pbc() 52 if (tmp1byte == 0xff) in check_hw_pbc() 54 if (tmp1byte & HAL_8192S_HW_GPIO_WPS_BIT) { in check_hw_pbc()
|
/linux-5.19.10/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | hw.c | 38 u8 tmp1byte; in _rtl88ee_stop_tx_beacon() local 40 tmp1byte = rtl_read_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2); in _rtl88ee_stop_tx_beacon() 41 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte & (~BIT(6))); in _rtl88ee_stop_tx_beacon() 43 tmp1byte = rtl_read_byte(rtlpriv, REG_TBTT_PROHIBIT + 2); in _rtl88ee_stop_tx_beacon() 44 tmp1byte &= ~(BIT(0)); in _rtl88ee_stop_tx_beacon() 45 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 2, tmp1byte); in _rtl88ee_stop_tx_beacon() 51 u8 tmp1byte; in _rtl88ee_resume_tx_beacon() local 53 tmp1byte = rtl_read_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2); in _rtl88ee_resume_tx_beacon() 54 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte | BIT(6)); in _rtl88ee_resume_tx_beacon() 56 tmp1byte = rtl_read_byte(rtlpriv, REG_TBTT_PROHIBIT + 2); in _rtl88ee_resume_tx_beacon() [all …]
|
/linux-5.19.10/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | hw.c | 56 u8 tmp1byte; in _rtl92de_stop_tx_beacon() local 58 tmp1byte = rtl_read_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2); in _rtl92de_stop_tx_beacon() 59 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte & (~BIT(6))); in _rtl92de_stop_tx_beacon() 62 tmp1byte = rtl_read_byte(rtlpriv, REG_TBTT_PROHIBIT + 2); in _rtl92de_stop_tx_beacon() 63 tmp1byte &= ~(BIT(0)); in _rtl92de_stop_tx_beacon() 64 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 2, tmp1byte); in _rtl92de_stop_tx_beacon() 70 u8 tmp1byte; in _rtl92de_resume_tx_beacon() local 72 tmp1byte = rtl_read_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2); in _rtl92de_resume_tx_beacon() 73 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte | BIT(6)); in _rtl92de_resume_tx_beacon() 76 tmp1byte = rtl_read_byte(rtlpriv, REG_TBTT_PROHIBIT + 2); in _rtl92de_resume_tx_beacon() [all …]
|
/linux-5.19.10/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | hw.c | 42 u8 tmp1byte; in _rtl8723e_stop_tx_beacon() local 44 tmp1byte = rtl_read_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2); in _rtl8723e_stop_tx_beacon() 45 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte & (~BIT(6))); in _rtl8723e_stop_tx_beacon() 47 tmp1byte = rtl_read_byte(rtlpriv, REG_TBTT_PROHIBIT + 2); in _rtl8723e_stop_tx_beacon() 48 tmp1byte &= ~(BIT(0)); in _rtl8723e_stop_tx_beacon() 49 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 2, tmp1byte); in _rtl8723e_stop_tx_beacon() 55 u8 tmp1byte; in _rtl8723e_resume_tx_beacon() local 57 tmp1byte = rtl_read_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2); in _rtl8723e_resume_tx_beacon() 58 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte | BIT(6)); in _rtl8723e_resume_tx_beacon() 60 tmp1byte = rtl_read_byte(rtlpriv, REG_TBTT_PROHIBIT + 2); in _rtl8723e_resume_tx_beacon() [all …]
|
/linux-5.19.10/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | hw.c | 38 u8 tmp1byte; in _rtl92ce_stop_tx_beacon() local 40 tmp1byte = rtl_read_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2); in _rtl92ce_stop_tx_beacon() 41 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte & (~BIT(6))); in _rtl92ce_stop_tx_beacon() 43 tmp1byte = rtl_read_byte(rtlpriv, REG_TBTT_PROHIBIT + 2); in _rtl92ce_stop_tx_beacon() 44 tmp1byte &= ~(BIT(0)); in _rtl92ce_stop_tx_beacon() 45 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 2, tmp1byte); in _rtl92ce_stop_tx_beacon() 51 u8 tmp1byte; in _rtl92ce_resume_tx_beacon() local 53 tmp1byte = rtl_read_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2); in _rtl92ce_resume_tx_beacon() 54 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte | BIT(6)); in _rtl92ce_resume_tx_beacon() 56 tmp1byte = rtl_read_byte(rtlpriv, REG_TBTT_PROHIBIT + 2); in _rtl92ce_resume_tx_beacon() [all …]
|
/linux-5.19.10/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | hw.c | 1210 u8 tmp1byte = 0; in _rtl92cu_stop_tx_beacon() local 1213 tmp1byte = rtl_read_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2); in _rtl92cu_stop_tx_beacon() 1215 tmp1byte & (~BIT(6))); in _rtl92cu_stop_tx_beacon() 1217 tmp1byte = rtl_read_byte(rtlpriv, REG_TBTT_PROHIBIT + 2); in _rtl92cu_stop_tx_beacon() 1218 tmp1byte &= ~(BIT(0)); in _rtl92cu_stop_tx_beacon() 1219 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 2, tmp1byte); in _rtl92cu_stop_tx_beacon() 1230 u8 tmp1byte = 0; in _rtl92cu_resume_tx_beacon() local 1233 tmp1byte = rtl_read_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2); in _rtl92cu_resume_tx_beacon() 1235 tmp1byte | BIT(6)); in _rtl92cu_resume_tx_beacon() 1237 tmp1byte = rtl_read_byte(rtlpriv, REG_TBTT_PROHIBIT + 2); in _rtl92cu_resume_tx_beacon() [all …]
|
/linux-5.19.10/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | hw.c | 65 u8 tmp1byte; in _rtl8723be_stop_tx_beacon() local 67 tmp1byte = rtl_read_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2); in _rtl8723be_stop_tx_beacon() 68 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte & (~BIT(6))); in _rtl8723be_stop_tx_beacon() 70 tmp1byte = rtl_read_byte(rtlpriv, REG_TBTT_PROHIBIT + 2); in _rtl8723be_stop_tx_beacon() 71 tmp1byte &= ~(BIT(0)); in _rtl8723be_stop_tx_beacon() 72 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 2, tmp1byte); in _rtl8723be_stop_tx_beacon() 78 u8 tmp1byte; in _rtl8723be_resume_tx_beacon() local 80 tmp1byte = rtl_read_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2); in _rtl8723be_resume_tx_beacon() 81 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte | BIT(6)); in _rtl8723be_resume_tx_beacon() 83 tmp1byte = rtl_read_byte(rtlpriv, REG_TBTT_PROHIBIT + 2); in _rtl8723be_resume_tx_beacon() [all …]
|
/linux-5.19.10/drivers/net/wireless/realtek/rtlwifi/rtl8192c/ |
D | dm_common.c | 1632 static void rtl92c_bt_ant_isolation(struct ieee80211_hw *hw, u8 tmp1byte) in rtl92c_bt_ant_isolation() argument 1652 rtl_write_byte(rtlpriv, REG_GPIO_MUXCFG, tmp1byte); in rtl92c_bt_ant_isolation() 1703 u8 tmp1byte = 0; in rtl92c_check_bt_change() local 1707 tmp1byte |= BIT(5); in rtl92c_check_bt_change() 1710 rtl92c_bt_ant_isolation(hw, tmp1byte); in rtl92c_check_bt_change() 1712 rtl_write_byte(rtlpriv, REG_GPIO_MUXCFG, tmp1byte); in rtl92c_check_bt_change()
|
/linux-5.19.10/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | hw.c | 61 u8 tmp1byte; in _rtl8821ae_stop_tx_beacon() local 63 tmp1byte = rtl_read_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2); in _rtl8821ae_stop_tx_beacon() 64 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte & (~BIT(6))); in _rtl8821ae_stop_tx_beacon() 66 tmp1byte = rtl_read_byte(rtlpriv, REG_TBTT_PROHIBIT + 2); in _rtl8821ae_stop_tx_beacon() 67 tmp1byte &= ~(BIT(0)); in _rtl8821ae_stop_tx_beacon() 68 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 2, tmp1byte); in _rtl8821ae_stop_tx_beacon() 74 u8 tmp1byte; in _rtl8821ae_resume_tx_beacon() local 76 tmp1byte = rtl_read_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2); in _rtl8821ae_resume_tx_beacon() 77 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte | BIT(6)); in _rtl8821ae_resume_tx_beacon() 79 tmp1byte = rtl_read_byte(rtlpriv, REG_TBTT_PROHIBIT + 2); in _rtl8821ae_resume_tx_beacon() [all …]
|
/linux-5.19.10/drivers/staging/rtl8192u/ |
D | r8192U_dm.c | 2281 u8 tmp1byte; in dm_check_pbc_gpio() local 2283 read_nic_byte(dev, GPI, &tmp1byte); in dm_check_pbc_gpio() 2284 if (tmp1byte == 0xff) in dm_check_pbc_gpio() 2287 if (tmp1byte & BIT(6) || tmp1byte & BIT(0)) { in dm_check_pbc_gpio()
|
/linux-5.19.10/drivers/staging/rtl8192e/rtl8192e/ |
D | rtl_dm.c | 1800 u8 tmp1byte; in _rtl92e_dm_check_rf_ctrl_gpio() local 1818 tmp1byte = rtl92e_readb(dev, GPI); in _rtl92e_dm_check_rf_ctrl_gpio() 1820 eRfPowerStateToSet = (tmp1byte&BIT1) ? eRfOn : eRfOff; in _rtl92e_dm_check_rf_ctrl_gpio()
|