Lines Matching refs:currCal
37 struct ath9k_cal_list *currCal) in ar9003_hw_setup_calibration() argument
42 switch (currCal->calData->calType) { in ar9003_hw_setup_calibration()
50 currCal->calData->calCountMax); in ar9003_hw_setup_calibration()
79 struct ath9k_cal_list *currCal) in ar9003_hw_per_calibration() argument
86 if (currCal->calState == CAL_RUNNING) { in ar9003_hw_per_calibration()
92 currCal->calData->calCollect(ah); in ar9003_hw_per_calibration()
96 currCal->calData->calNumSamples) { in ar9003_hw_per_calibration()
106 currCal->calData->calPostProc(ah, numChains); in ar9003_hw_per_calibration()
109 caldata->CalValid |= currCal->calData->calType; in ar9003_hw_per_calibration()
110 currCal->calState = CAL_DONE; in ar9003_hw_per_calibration()
117 ar9003_hw_setup_calibration(ah, currCal); in ar9003_hw_per_calibration()
120 } else if (!(caldata->CalValid & currCal->calData->calType)) { in ar9003_hw_per_calibration()
122 ath9k_hw_reset_calibration(ah, currCal); in ar9003_hw_per_calibration()
134 struct ath9k_cal_list *currCal = ah->cal_list_curr; in ar9003_hw_calibrate() local
145 if (currCal && in ar9003_hw_calibrate()
146 (currCal->calState == CAL_RUNNING || in ar9003_hw_calibrate()
147 currCal->calState == CAL_WAITING)) { in ar9003_hw_calibrate()
149 rxchainmask, currCal); in ar9003_hw_calibrate()
151 ah->cal_list_curr = currCal = currCal->calNext; in ar9003_hw_calibrate()
153 if (currCal->calState == CAL_WAITING) { in ar9003_hw_calibrate()
155 ath9k_hw_reset_calibration(ah, currCal); in ar9003_hw_calibrate()