/drivers/staging/rtl8723au/hal/ |
D | rtl8723a_dm.c | 39 u8 tmp1byte; in dm_CheckPbcGPIO() local 45 tmp1byte = rtl8723au_read8(padapter, GPIO_IO_SEL); in dm_CheckPbcGPIO() 46 tmp1byte |= (HAL_8192C_HW_GPIO_WPS_BIT); in dm_CheckPbcGPIO() 48 rtl8723au_write8(padapter, GPIO_IO_SEL, tmp1byte); in dm_CheckPbcGPIO() 50 tmp1byte &= ~(HAL_8192C_HW_GPIO_WPS_BIT); in dm_CheckPbcGPIO() 52 rtl8723au_write8(padapter, GPIO_IN, tmp1byte); in dm_CheckPbcGPIO() 54 tmp1byte = rtl8723au_read8(padapter, GPIO_IO_SEL); in dm_CheckPbcGPIO() 55 tmp1byte &= ~(HAL_8192C_HW_GPIO_WPS_BIT); in dm_CheckPbcGPIO() 57 rtl8723au_write8(padapter, GPIO_IO_SEL, tmp1byte); in dm_CheckPbcGPIO() 59 tmp1byte = rtl8723au_read8(padapter, GPIO_IN); in dm_CheckPbcGPIO() [all …]
|
/drivers/staging/rtl8712/ |
D | rtl8712_cmd.c | 56 u8 tmp1byte; in check_hw_pbc() local 59 tmp1byte = r8712_read8(padapter, GPIO_IO_SEL); in check_hw_pbc() 60 tmp1byte &= ~(HAL_8192S_HW_GPIO_WPS_BIT); in check_hw_pbc() 61 r8712_write8(padapter, GPIO_IO_SEL, tmp1byte); in check_hw_pbc() 62 tmp1byte = r8712_read8(padapter, GPIO_CTRL); in check_hw_pbc() 63 if (tmp1byte == 0xff) in check_hw_pbc() 65 if (tmp1byte&HAL_8192S_HW_GPIO_WPS_BIT) { in check_hw_pbc()
|
/drivers/staging/rtl8188eu/hal/ |
D | rtl8188e_dm.c | 37 u8 tmp1byte; in dm_InitGPIOSetting() local 39 tmp1byte = usb_read8(Adapter, REG_GPIO_MUXCFG); in dm_InitGPIOSetting() 40 tmp1byte &= (GPIOSEL_GPIO | ~GPIOSEL_ENBT); in dm_InitGPIOSetting() 42 usb_write8(Adapter, REG_GPIO_MUXCFG, tmp1byte); in dm_InitGPIOSetting()
|
/drivers/net/wireless/rtlwifi/rtl8188ee/ |
D | hw.c | 59 u8 tmp1byte; in _rtl88ee_stop_tx_beacon() local 61 tmp1byte = rtl_read_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2); in _rtl88ee_stop_tx_beacon() 62 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte & (~BIT(6))); in _rtl88ee_stop_tx_beacon() 64 tmp1byte = rtl_read_byte(rtlpriv, REG_TBTT_PROHIBIT + 2); in _rtl88ee_stop_tx_beacon() 65 tmp1byte &= ~(BIT(0)); in _rtl88ee_stop_tx_beacon() 66 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 2, tmp1byte); in _rtl88ee_stop_tx_beacon() 72 u8 tmp1byte; in _rtl88ee_resume_tx_beacon() local 74 tmp1byte = rtl_read_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2); in _rtl88ee_resume_tx_beacon() 75 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte | BIT(6)); in _rtl88ee_resume_tx_beacon() 77 tmp1byte = rtl_read_byte(rtlpriv, REG_TBTT_PROHIBIT + 2); in _rtl88ee_resume_tx_beacon() [all …]
|
/drivers/net/wireless/rtlwifi/rtl8192de/ |
D | hw.c | 82 u8 tmp1byte; in _rtl92de_stop_tx_beacon() local 84 tmp1byte = rtl_read_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2); in _rtl92de_stop_tx_beacon() 85 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte & (~BIT(6))); in _rtl92de_stop_tx_beacon() 88 tmp1byte = rtl_read_byte(rtlpriv, REG_TBTT_PROHIBIT + 2); in _rtl92de_stop_tx_beacon() 89 tmp1byte &= ~(BIT(0)); in _rtl92de_stop_tx_beacon() 90 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 2, tmp1byte); in _rtl92de_stop_tx_beacon() 96 u8 tmp1byte; in _rtl92de_resume_tx_beacon() local 98 tmp1byte = rtl_read_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2); in _rtl92de_resume_tx_beacon() 99 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte | BIT(6)); in _rtl92de_resume_tx_beacon() 102 tmp1byte = rtl_read_byte(rtlpriv, REG_TBTT_PROHIBIT + 2); in _rtl92de_resume_tx_beacon() [all …]
|
/drivers/net/wireless/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 …]
|
/drivers/net/wireless/rtlwifi/rtl8192ce/ |
D | hw.c | 64 u8 tmp1byte; in _rtl92ce_stop_tx_beacon() local 66 tmp1byte = rtl_read_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2); in _rtl92ce_stop_tx_beacon() 67 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte & (~BIT(6))); in _rtl92ce_stop_tx_beacon() 69 tmp1byte = rtl_read_byte(rtlpriv, REG_TBTT_PROHIBIT + 2); in _rtl92ce_stop_tx_beacon() 70 tmp1byte &= ~(BIT(0)); in _rtl92ce_stop_tx_beacon() 71 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 2, tmp1byte); in _rtl92ce_stop_tx_beacon() 77 u8 tmp1byte; in _rtl92ce_resume_tx_beacon() local 79 tmp1byte = rtl_read_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2); in _rtl92ce_resume_tx_beacon() 80 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte | BIT(6)); in _rtl92ce_resume_tx_beacon() 82 tmp1byte = rtl_read_byte(rtlpriv, REG_TBTT_PROHIBIT + 2); in _rtl92ce_resume_tx_beacon() [all …]
|
/drivers/net/wireless/rtlwifi/rtl8192cu/ |
D | hw.c | 1258 u8 tmp1byte = 0; in _rtl92cu_stop_tx_beacon() local 1260 tmp1byte = rtl_read_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2); in _rtl92cu_stop_tx_beacon() 1262 tmp1byte & (~BIT(6))); in _rtl92cu_stop_tx_beacon() 1264 tmp1byte = rtl_read_byte(rtlpriv, REG_TBTT_PROHIBIT + 2); in _rtl92cu_stop_tx_beacon() 1265 tmp1byte &= ~(BIT(0)); in _rtl92cu_stop_tx_beacon() 1266 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 2, tmp1byte); in _rtl92cu_stop_tx_beacon() 1277 u8 tmp1byte = 0; in _rtl92cu_resume_tx_beacon() local 1280 tmp1byte = rtl_read_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2); in _rtl92cu_resume_tx_beacon() 1282 tmp1byte | BIT(6)); in _rtl92cu_resume_tx_beacon() 1284 tmp1byte = rtl_read_byte(rtlpriv, REG_TBTT_PROHIBIT + 2); in _rtl92cu_resume_tx_beacon() [all …]
|
/drivers/net/wireless/rtlwifi/rtl8723be/ |
D | hw.c | 86 u8 tmp1byte; in _rtl8723be_stop_tx_beacon() local 88 tmp1byte = rtl_read_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2); in _rtl8723be_stop_tx_beacon() 89 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte & (~BIT(6))); in _rtl8723be_stop_tx_beacon() 91 tmp1byte = rtl_read_byte(rtlpriv, REG_TBTT_PROHIBIT + 2); in _rtl8723be_stop_tx_beacon() 92 tmp1byte &= ~(BIT(0)); in _rtl8723be_stop_tx_beacon() 93 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 2, tmp1byte); in _rtl8723be_stop_tx_beacon() 99 u8 tmp1byte; in _rtl8723be_resume_tx_beacon() local 101 tmp1byte = rtl_read_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2); in _rtl8723be_resume_tx_beacon() 102 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte | BIT(6)); in _rtl8723be_resume_tx_beacon() 104 tmp1byte = rtl_read_byte(rtlpriv, REG_TBTT_PROHIBIT + 2); in _rtl8723be_resume_tx_beacon() [all …]
|
/drivers/net/wireless/rtlwifi/rtl8192c/ |
D | dm_common.c | 1696 static void rtl92c_bt_ant_isolation(struct ieee80211_hw *hw, u8 tmp1byte) in rtl92c_bt_ant_isolation() argument 1718 rtl_write_byte(rtlpriv, REG_GPIO_MUXCFG, tmp1byte); in rtl92c_bt_ant_isolation() 1720 rtl_write_byte(rtlpriv, REG_GPIO_MUXCFG, tmp1byte); in rtl92c_bt_ant_isolation() 1772 u8 tmp1byte = 0; in rtl92c_check_bt_change() local 1776 tmp1byte |= BIT(5); in rtl92c_check_bt_change() 1779 rtl92c_bt_ant_isolation(hw, tmp1byte); in rtl92c_check_bt_change() 1781 rtl_write_byte(rtlpriv, REG_GPIO_MUXCFG, tmp1byte); in rtl92c_check_bt_change()
|
/drivers/net/wireless/rtlwifi/rtl8821ae/ |
D | hw.c | 83 u8 tmp1byte; in _rtl8821ae_stop_tx_beacon() local 85 tmp1byte = rtl_read_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2); in _rtl8821ae_stop_tx_beacon() 86 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte & (~BIT(6))); in _rtl8821ae_stop_tx_beacon() 88 tmp1byte = rtl_read_byte(rtlpriv, REG_TBTT_PROHIBIT + 2); in _rtl8821ae_stop_tx_beacon() 89 tmp1byte &= ~(BIT(0)); in _rtl8821ae_stop_tx_beacon() 90 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 2, tmp1byte); in _rtl8821ae_stop_tx_beacon() 96 u8 tmp1byte; in _rtl8821ae_resume_tx_beacon() local 98 tmp1byte = rtl_read_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2); in _rtl8821ae_resume_tx_beacon() 99 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte | BIT(6)); in _rtl8821ae_resume_tx_beacon() 101 tmp1byte = rtl_read_byte(rtlpriv, REG_TBTT_PROHIBIT + 2); in _rtl8821ae_resume_tx_beacon() [all …]
|
/drivers/staging/rtl8192u/ |
D | r8192U_dm.c | 2680 u8 tmp1byte; in dm_check_pbc_gpio() local 2683 read_nic_byte(dev, GPI, &tmp1byte); in dm_check_pbc_gpio() 2684 if(tmp1byte == 0xff) in dm_check_pbc_gpio() 2687 if (tmp1byte&BIT6 || tmp1byte&BIT0) in dm_check_pbc_gpio()
|
/drivers/staging/rtl8192e/rtl8192e/ |
D | rtl_dm.c | 2265 u8 tmp1byte; in dm_CheckRfCtrlGPIO() local 2282 tmp1byte = read_nic_byte(dev, GPI); in dm_CheckRfCtrlGPIO() 2284 eRfPowerStateToSet = (tmp1byte&BIT1) ? eRfOn : eRfOff; in dm_CheckRfCtrlGPIO()
|