Lines Matching full:calibration
44 * Determine if calibration is supported by device and channel flags
48 * ADC GAIN/DC offset calibration is for calibrating two ADCs that
54 * It hasn't been confirmed whether doing this calibration is needed
99 /* Start calibration w/ 2^(INIT_IQCAL_LOG_COUNT_MAX+1) samples */ in ar5416SetupMeasurement()
104 /* Select calibration to run */ in ar5416SetupMeasurement()
109 "%s: start IQ Mismatch calibration\n", __func__); in ar5416SetupMeasurement()
114 "%s: start ADC Gain calibration\n", __func__); in ar5416SetupMeasurement()
119 "%s: start ADC DC calibration\n", __func__); in ar5416SetupMeasurement()
124 "%s: start Init ADC DC calibration\n", __func__); in ar5416SetupMeasurement()
143 /* Setup HW for new calibration */ in ar5416ResetMeasurement()
146 /* Change SW state to RUNNING for this calibration */ in ar5416ResetMeasurement()
171 /* Poll for offset calibration complete */
198 * AGC calibration for the AR5416, AR9130, AR9160, AR9280.
217 /* Poll for offset calibration complete */ in ar5416InitCalHardware()
220 "%s: offset calibration did not complete in 1ms; " in ar5416InitCalHardware()
239 * Initialize Calibration infrastructure.
251 /* Do initial chipset-specific calibration */ in ar5416InitCal()
254 "%s: initial chipset calibration did " in ar5416InitCal()
264 * Do NF calibration after DC offset and other CALs. in ar5416InitCal()
273 * calibration routines check that this has completed in ar5416InitCal()
275 * calibration. in ar5416InitCal()
305 "%s: enable ADC Gain Calibration.\n", __func__); in ar5416InitCal()
311 "%s: enable ADC DC Calibration.\n", __func__); in ar5416InitCal()
317 "%s: enable IQ Calibration.\n", __func__); in ar5416InitCal()
335 * Reset the calibration valid bit in channel.
355 * Expected that this calibration has run before, post-reset. in ar5416ResetCalValid()
360 "%s: Calibration state incorrect, %d\n", in ar5416ResetCalValid()
395 "%s: %s Calibration, state %d, calValid 0x%x\n", in ar5416DoCalibration()
399 /* Calibration in progress. */ in ar5416DoCalibration()
422 /* Calibration has finished. */ in ar5416DoCalibration()
440 * Internal interface to schedule periodic calibration work.
472 * For given calibration: in ar5416PerCalibrationN()
495 /* Do PA calibration if the chipset supports */ in ar5416PerCalibrationN()
509 /* NF calibration result isn't valid */ in ar5416PerCalibrationN()
510 HALDEBUG(ah, HAL_DEBUG_UNMASKABLE, "%s: NF calibration" in ar5416PerCalibrationN()
515 * NF calibration result is valid. in ar5416PerCalibrationN()
523 /* start NF calibration, without updating BB NF register*/ in ar5416PerCalibrationN()
527 * If we failed calibration then tell the driver in ar5416PerCalibrationN()
604 * Force NF calibration for all chains. in ar5416LoadNF()
655 * to complete before the next calibration interval. We need to avoid in ar5416LoadNF()
659 * noisefloor until the next calibration timer. in ar5416LoadNF()
670 * of next noise floor calibration the baseband does. in ar5416LoadNF()
782 * Return 0 if the NF calibration hadn't finished, 0 if it was
794 "%s: NF didn't complete in calibration window\n", __func__); in ar5416GetNf()