Beispiel #1
0
/*
 * Free memory for analog bank scratch buffers
 */
static void
ar2316RfDetach(struct ath_hal *ah)
{
	struct ath_hal_5212 *ahp = AH5212(ah);

	if (ahp->ah_pcdacTable != AH_NULL) {
		ath_hal_free(ahp->ah_pcdacTable);
		ahp->ah_pcdacTable = AH_NULL;
	}
	if (ahp->ah_analogBanks != AH_NULL) {
		ath_hal_free(ahp->ah_analogBanks);
		ahp->ah_analogBanks = AH_NULL;
	}
}
/*
 * Reclaim any EEPROM-related storage.
 */
static void
v4kEepromDetach(struct ath_hal *ah)
{
    HAL_EEPROM_v4k *ee = AH_PRIVATE(ah)->ah_eeprom;

    ath_hal_free(ee);
    AH_PRIVATE(ah)->ah_eeprom = AH_NULL;
}
Beispiel #3
0
/*
 * Free memory for analog bank scratch buffers
 */
static void
ar2316RfDetach(struct ath_hal *ah)
{
	struct ath_hal_5212 *ahp = AH5212(ah);

	HALASSERT(ahp->ah_rfHal != AH_NULL);
	ath_hal_free(ahp->ah_rfHal);
	ahp->ah_rfHal = AH_NULL;
}
void ar5416Detach(struct ath_hal *ah)
{
	HALASSERT(ah != AH_NULL);
	ath_hal_free(ah);
}