// // Description: // Update SDIO Host Interrupt Mask configuration on SDIO local domain. // // Assumption: // 1. Using SDIO Local register ONLY for configuration. // 2. PASSIVE LEVEL // // Created by Roger, 2011.02.11. // void UpdateInterruptMask8723ASdio(PADAPTER padapter, u32 AddMSR, u32 RemoveMSR) { HAL_DATA_TYPE *pHalData; pHalData = GET_HAL_DATA(padapter); if (AddMSR) pHalData->sdio_himr |= AddMSR; if (RemoveMSR) pHalData->sdio_himr &= (~RemoveMSR); DisableInterrupt8723ASdio(padapter); EnableInterrupt8723ASdio(padapter); }
// // Description: // Update SDIO Host Interrupt Mask configuration on SDIO local domain. // // Assumption: // 1. Using SDIO Local register ONLY for configuration. // 2. PASSIVE LEVEL // // Created by Roger, 2011.02.11. // void UpdateInterruptMask8723ASdio(PADAPTER padapter, u32 AddMSR, u32 RemoveMSR) { HAL_DATA_TYPE *pHalData; #ifdef CONFIG_CONCURRENT_MODE if ((padapter->isprimary == _FALSE) && padapter->pbuddy_adapter){ padapter = padapter->pbuddy_adapter; } #endif pHalData = GET_HAL_DATA(padapter); if (AddMSR) pHalData->sdio_himr |= AddMSR; if (RemoveMSR) pHalData->sdio_himr &= (~RemoveMSR); DisableInterrupt8723ASdio(padapter); EnableInterrupt8723ASdio(padapter); }