Home
last modified time | relevance | path

Searched refs:caldata (Results 1 – 11 of 11) sorted by relevance

/linux-2.6.39/drivers/net/wireless/ath/ath9k/
Dcalib.c173 if (!ah->caldata) in ath9k_hw_reset_calvalid()
196 ah->caldata->CalValid &= ~currCal->calData->calType; in ath9k_hw_reset_calvalid()
205 if (ah->caldata) in ath9k_hw_start_nfcal()
206 ah->caldata->nfcal_pending = true; in ath9k_hw_start_nfcal()
230 if (ah->caldata) in ath9k_hw_loadnf()
231 h = ah->caldata->nfCalHist; in ath9k_hw_loadnf()
346 struct ath9k_hw_cal_data *caldata = ah->caldata; in ath9k_hw_getnf() local
366 if (!caldata) { in ath9k_hw_getnf()
371 h = caldata->nfCalHist; in ath9k_hw_getnf()
372 caldata->nfcal_pending = false; in ath9k_hw_getnf()
[all …]
Dmain.c230 struct ath9k_hw_cal_data *caldata = NULL; in ath_set_channel() local
274 caldata = &sc->caldata; in ath_set_channel()
282 r = ath9k_hw_reset(ah, hchan, caldata, fastcc); in ath_set_channel()
320 struct ath9k_hw_cal_data *caldata = ah->caldata; in ath_paprd_activate() local
324 if (!caldata || !caldata->paprd_done) in ath_paprd_activate()
333 ar9003_paprd_populate_single_table(ah, caldata, chain); in ath_paprd_activate()
387 struct ath9k_hw_cal_data *caldata = ah->caldata; in ath_paprd_calibrate() local
394 if (!caldata) in ath_paprd_calibrate()
437 if (ar9003_paprd_create_curve(ah, caldata, chain) != 0) in ath_paprd_calibrate()
445 caldata->paprd_done = true; in ath_paprd_calibrate()
[all …]
Dar9002_calib.c66 struct ath9k_hw_cal_data *caldata = ah->caldata; in ar9002_hw_per_calibration() local
85 caldata->CalValid |= currCal->calData->calType; in ar9002_hw_per_calibration()
92 } else if (!(caldata->CalValid & currCal->calData->calType)) { in ar9002_hw_per_calibration()
662 if (ah->caldata) in ar9002_hw_calibrate()
663 nfcal_pending = ah->caldata->nfcal_pending; in ar9002_hw_calibrate()
852 if (ah->caldata) in ar9002_hw_init_cal()
853 ah->caldata->nfcal_pending = true; in ar9002_hw_init_cal()
888 if (ah->caldata) in ar9002_hw_init_cal()
889 ah->caldata->CalValid = 0; in ar9002_hw_init_cal()
Dar9003_paprd.c670 struct ath9k_hw_cal_data *caldata, in ar9003_paprd_populate_single_table() argument
673 u32 *paprd_table_val = caldata->pa_table[chain]; in ar9003_paprd_populate_single_table()
674 u32 small_signal_gain = caldata->small_signal_gain[chain]; in ar9003_paprd_populate_single_table()
740 struct ath9k_hw_cal_data *caldata, int chain) in ar9003_paprd_create_curve() argument
742 u16 *small_signal_gain = &caldata->small_signal_gain[chain]; in ar9003_paprd_create_curve()
743 u32 *pa_table = caldata->pa_table[chain]; in ar9003_paprd_create_curve()
749 memset(caldata->pa_table[chain], 0, sizeof(caldata->pa_table[chain])); in ar9003_paprd_create_curve()
Dar9003_calib.c81 struct ath9k_hw_cal_data *caldata = ah->caldata; in ar9003_hw_per_calibration() local
109 caldata->CalValid |= currCal->calData->calType; in ar9003_hw_per_calibration()
120 } else if (!(caldata->CalValid & currCal->calData->calType)) { in ar9003_hw_per_calibration()
1014 if (ah->caldata) in ar9003_hw_init_cal()
1015 ah->caldata->CalValid = 0; in ar9003_hw_init_cal()
Dhtc_drv_main.c189 struct ath9k_hw_cal_data *caldata = NULL; in ath9k_htc_reset() local
205 caldata = &priv->caldata; in ath9k_htc_reset()
206 ret = ath9k_hw_reset(ah, ah->curchan, caldata, false); in ath9k_htc_reset()
241 struct ath9k_hw_cal_data *caldata = NULL; in ath9k_htc_set_channel() local
265 caldata = &priv->caldata; in ath9k_htc_set_channel()
266 ret = ath9k_hw_reset(ah, hchan, caldata, fastcc); in ath9k_htc_set_channel()
1105 ret = ath9k_hw_reset(ah, init_channel, ah->caldata, false); in ath9k_htc_start()
Dhw.h693 struct ath9k_hw_cal_data *caldata; member
891 struct ath9k_hw_cal_data *caldata, bool bChannelChange);
984 struct ath9k_hw_cal_data *caldata,
987 struct ath9k_hw_cal_data *caldata, int chain);
Dhtc_drv_gpio.c385 ret = ath9k_hw_reset(ah, ah->curchan, ah->caldata, false); in ath9k_htc_radio_enable()
449 ret = ath9k_hw_reset(ah, ah->curchan, ah->caldata, false); in ath9k_htc_radio_disable()
Dhw.c1244 struct ath9k_hw_cal_data *caldata, bool bChannelChange) in ath9k_hw_reset() argument
1263 ah->caldata = caldata; in ath9k_hw_reset()
1264 if (caldata && in ath9k_hw_reset()
1265 (chan->channel != caldata->channel || in ath9k_hw_reset()
1267 (caldata->channelFlags & ~CHANNEL_CW_INT))) { in ath9k_hw_reset()
1269 memset(caldata, 0, sizeof(*caldata)); in ath9k_hw_reset()
Dhtc.h418 struct ath9k_hw_cal_data caldata; member
Dath9k.h623 struct ath9k_hw_cal_data caldata; member