sys/dev/netif/ath/hal/ath_hal/ar5416/ar5416_reset.c
HAL_BOOL
ar5416SetResetReg(struct ath_hal *ah, uint32_t type)
{
	switch (type) {
	case HAL_RESET_POWER_ON:
		return ar5416SetResetPowerOn(ah);
	case HAL_RESET_WARM:
	case HAL_RESET_COLD:
		return ar5416SetReset(ah, type);
	default:
		HALASSERT(AH_FALSE);
		return AH_FALSE;
	}
}
/*
 * Write the given reset bit mask into the reset register
 */
Write the given reset bit mask into the reset register
Write the given reset bit mask into the reset register
HAL_BOOL
ar5416SetResetReg(struct ath_hal *ah, uint32_t type)
{
	switch (type) {
	case HAL_RESET_POWER_ON:
		return ar5416SetResetPowerOn(ah);
	case HAL_RESET_WARM:
	case HAL_RESET_COLD:
		return ar5416SetReset(ah, type);
	default:
		HALASSERT(AH_FALSE);
		return AH_FALSE;
	}
}
HAL_BOOL ar5416SetResetReg ( struct ath_hal * ah , uint32_t type ) { switch ( type ) { case HAL_RESET_POWER_ON : return ar5416SetResetPowerOn ( ah ) ; case HAL_RESET_WARM : case HAL_RESET_COLD : return ar5416SetReset ( ah , type ) ; default : HALASSERT ( AH_FALSE ) ; return AH_FALSE ; } }
Write the given reset bit mask into the reset register
Write the given reset bit mask into the reset register