/Linux-v4.19/drivers/staging/rtl8712/ |
D | rtl8712_cmd.c | 57 u8 tmp1byte; in check_hw_pbc() local 60 tmp1byte = r8712_read8(padapter, GPIO_IO_SEL); in check_hw_pbc() 61 tmp1byte &= ~(HAL_8192S_HW_GPIO_WPS_BIT); in check_hw_pbc() 62 r8712_write8(padapter, GPIO_IO_SEL, tmp1byte); in check_hw_pbc() 63 tmp1byte = r8712_read8(padapter, GPIO_CTRL); in check_hw_pbc() 64 if (tmp1byte == 0xff) in check_hw_pbc() 66 if (tmp1byte & HAL_8192S_HW_GPIO_WPS_BIT) { in check_hw_pbc()
|
/Linux-v4.19/drivers/staging/rtl8188eu/hal/ |
D | rtl8188e_dm.c | 24 u8 tmp1byte; in dm_InitGPIOSetting() local 26 tmp1byte = usb_read8(Adapter, REG_GPIO_MUXCFG); in dm_InitGPIOSetting() 27 tmp1byte &= (GPIOSEL_GPIO | ~GPIOSEL_ENBT); in dm_InitGPIOSetting() 29 usb_write8(Adapter, REG_GPIO_MUXCFG, tmp1byte); in dm_InitGPIOSetting()
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | hw.c | 60 u8 tmp1byte; in _rtl88ee_stop_tx_beacon() local 62 tmp1byte = rtl_read_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2); in _rtl88ee_stop_tx_beacon() 63 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte & (~BIT(6))); in _rtl88ee_stop_tx_beacon() 65 tmp1byte = rtl_read_byte(rtlpriv, REG_TBTT_PROHIBIT + 2); in _rtl88ee_stop_tx_beacon() 66 tmp1byte &= ~(BIT(0)); in _rtl88ee_stop_tx_beacon() 67 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 2, tmp1byte); in _rtl88ee_stop_tx_beacon() 73 u8 tmp1byte; in _rtl88ee_resume_tx_beacon() local 75 tmp1byte = rtl_read_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2); in _rtl88ee_resume_tx_beacon() 76 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte | BIT(6)); in _rtl88ee_resume_tx_beacon() 78 tmp1byte = rtl_read_byte(rtlpriv, REG_TBTT_PROHIBIT + 2); in _rtl88ee_resume_tx_beacon() [all …]
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | hw.c | 78 u8 tmp1byte; in _rtl92de_stop_tx_beacon() local 80 tmp1byte = rtl_read_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2); in _rtl92de_stop_tx_beacon() 81 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte & (~BIT(6))); in _rtl92de_stop_tx_beacon() 84 tmp1byte = rtl_read_byte(rtlpriv, REG_TBTT_PROHIBIT + 2); in _rtl92de_stop_tx_beacon() 85 tmp1byte &= ~(BIT(0)); in _rtl92de_stop_tx_beacon() 86 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 2, tmp1byte); in _rtl92de_stop_tx_beacon() 92 u8 tmp1byte; in _rtl92de_resume_tx_beacon() local 94 tmp1byte = rtl_read_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2); in _rtl92de_resume_tx_beacon() 95 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte | BIT(6)); in _rtl92de_resume_tx_beacon() 98 tmp1byte = rtl_read_byte(rtlpriv, REG_TBTT_PROHIBIT + 2); in _rtl92de_resume_tx_beacon() [all …]
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | hw.c | 1228 u8 tmp1byte = 0; in _rtl92cu_stop_tx_beacon() local 1230 tmp1byte = rtl_read_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2); in _rtl92cu_stop_tx_beacon() 1232 tmp1byte & (~BIT(6))); in _rtl92cu_stop_tx_beacon() 1234 tmp1byte = rtl_read_byte(rtlpriv, REG_TBTT_PROHIBIT + 2); in _rtl92cu_stop_tx_beacon() 1235 tmp1byte &= ~(BIT(0)); in _rtl92cu_stop_tx_beacon() 1236 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 2, tmp1byte); in _rtl92cu_stop_tx_beacon() 1247 u8 tmp1byte = 0; in _rtl92cu_resume_tx_beacon() local 1250 tmp1byte = rtl_read_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2); in _rtl92cu_resume_tx_beacon() 1252 tmp1byte | BIT(6)); in _rtl92cu_resume_tx_beacon() 1254 tmp1byte = rtl_read_byte(rtlpriv, REG_TBTT_PROHIBIT + 2); in _rtl92cu_resume_tx_beacon() [all …]
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | hw.c | 60 u8 tmp1byte; in _rtl92ce_stop_tx_beacon() local 62 tmp1byte = rtl_read_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2); in _rtl92ce_stop_tx_beacon() 63 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte & (~BIT(6))); in _rtl92ce_stop_tx_beacon() 65 tmp1byte = rtl_read_byte(rtlpriv, REG_TBTT_PROHIBIT + 2); in _rtl92ce_stop_tx_beacon() 66 tmp1byte &= ~(BIT(0)); in _rtl92ce_stop_tx_beacon() 67 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 2, tmp1byte); in _rtl92ce_stop_tx_beacon() 73 u8 tmp1byte; in _rtl92ce_resume_tx_beacon() local 75 tmp1byte = rtl_read_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2); in _rtl92ce_resume_tx_beacon() 76 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte | BIT(6)); in _rtl92ce_resume_tx_beacon() 78 tmp1byte = rtl_read_byte(rtlpriv, REG_TBTT_PROHIBIT + 2); in _rtl92ce_resume_tx_beacon() [all …]
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | hw.c | 64 u8 tmp1byte; in _rtl8723e_stop_tx_beacon() local 66 tmp1byte = rtl_read_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2); in _rtl8723e_stop_tx_beacon() 67 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte & (~BIT(6))); in _rtl8723e_stop_tx_beacon() 69 tmp1byte = rtl_read_byte(rtlpriv, REG_TBTT_PROHIBIT + 2); in _rtl8723e_stop_tx_beacon() 70 tmp1byte &= ~(BIT(0)); in _rtl8723e_stop_tx_beacon() 71 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 2, tmp1byte); in _rtl8723e_stop_tx_beacon() 77 u8 tmp1byte; in _rtl8723e_resume_tx_beacon() local 79 tmp1byte = rtl_read_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2); in _rtl8723e_resume_tx_beacon() 80 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte | BIT(6)); in _rtl8723e_resume_tx_beacon() 82 tmp1byte = rtl_read_byte(rtlpriv, REG_TBTT_PROHIBIT + 2); in _rtl8723e_resume_tx_beacon() [all …]
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | hw.c | 88 u8 tmp1byte; in _rtl8723be_stop_tx_beacon() local 90 tmp1byte = rtl_read_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2); in _rtl8723be_stop_tx_beacon() 91 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte & (~BIT(6))); in _rtl8723be_stop_tx_beacon() 93 tmp1byte = rtl_read_byte(rtlpriv, REG_TBTT_PROHIBIT + 2); in _rtl8723be_stop_tx_beacon() 94 tmp1byte &= ~(BIT(0)); in _rtl8723be_stop_tx_beacon() 95 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 2, tmp1byte); in _rtl8723be_stop_tx_beacon() 101 u8 tmp1byte; in _rtl8723be_resume_tx_beacon() local 103 tmp1byte = rtl_read_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2); in _rtl8723be_resume_tx_beacon() 104 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte | BIT(6)); in _rtl8723be_resume_tx_beacon() 106 tmp1byte = rtl_read_byte(rtlpriv, REG_TBTT_PROHIBIT + 2); in _rtl8723be_resume_tx_beacon() [all …]
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192c/ |
D | dm_common.c | 1656 static void rtl92c_bt_ant_isolation(struct ieee80211_hw *hw, u8 tmp1byte) in rtl92c_bt_ant_isolation() argument 1677 rtl_write_byte(rtlpriv, REG_GPIO_MUXCFG, tmp1byte); in rtl92c_bt_ant_isolation() 1679 rtl_write_byte(rtlpriv, REG_GPIO_MUXCFG, tmp1byte); in rtl92c_bt_ant_isolation() 1730 u8 tmp1byte = 0; in rtl92c_check_bt_change() local 1734 tmp1byte |= BIT(5); in rtl92c_check_bt_change() 1737 rtl92c_bt_ant_isolation(hw, tmp1byte); in rtl92c_check_bt_change() 1739 rtl_write_byte(rtlpriv, REG_GPIO_MUXCFG, tmp1byte); in rtl92c_check_bt_change()
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | hw.c | 84 u8 tmp1byte; in _rtl8821ae_stop_tx_beacon() local 86 tmp1byte = rtl_read_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2); in _rtl8821ae_stop_tx_beacon() 87 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte & (~BIT(6))); in _rtl8821ae_stop_tx_beacon() 89 tmp1byte = rtl_read_byte(rtlpriv, REG_TBTT_PROHIBIT + 2); in _rtl8821ae_stop_tx_beacon() 90 tmp1byte &= ~(BIT(0)); in _rtl8821ae_stop_tx_beacon() 91 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 2, tmp1byte); in _rtl8821ae_stop_tx_beacon() 97 u8 tmp1byte; in _rtl8821ae_resume_tx_beacon() local 99 tmp1byte = rtl_read_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2); in _rtl8821ae_resume_tx_beacon() 100 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte | BIT(6)); in _rtl8821ae_resume_tx_beacon() 102 tmp1byte = rtl_read_byte(rtlpriv, REG_TBTT_PROHIBIT + 2); in _rtl8821ae_resume_tx_beacon() [all …]
|
/Linux-v4.19/drivers/staging/rtl8192u/ |
D | r8192U_dm.c | 2327 u8 tmp1byte; in dm_check_pbc_gpio() local 2329 read_nic_byte(dev, GPI, &tmp1byte); in dm_check_pbc_gpio() 2330 if (tmp1byte == 0xff) in dm_check_pbc_gpio() 2333 if (tmp1byte & BIT(6) || tmp1byte & BIT(0)) { in dm_check_pbc_gpio()
|
/Linux-v4.19/drivers/staging/rtl8192e/rtl8192e/ |
D | rtl_dm.c | 1809 u8 tmp1byte; in _rtl92e_dm_check_rf_ctrl_gpio() local 1827 tmp1byte = rtl92e_readb(dev, GPI); in _rtl92e_dm_check_rf_ctrl_gpio() 1829 eRfPowerStateToSet = (tmp1byte&BIT1) ? eRfOn : eRfOff; in _rtl92e_dm_check_rf_ctrl_gpio()
|