ichain           4751 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 				  int ichain,
ichain           4763 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	if (ichain >= AR9300_MAX_CHAINS) {
ichain           4778 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		pCalPierStruct = &(eep->calPierData5G[ichain][ipier]);
ichain           4789 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		pCalPierStruct = &(eep->calPierData2G[ichain][ipier]);
ichain           4961 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	int ichain, ipier, npier;
ichain           4985 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	for (ichain = 0; ichain < AR9300_MAX_CHAINS; ichain++) {
ichain           4986 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		lfrequency[ichain] = 0;
ichain           4987 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		hfrequency[ichain] = 100000;
ichain           4990 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	for (ichain = 0; ichain < AR9300_MAX_CHAINS; ichain++) {
ichain           4992 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			if (!ar9003_hw_cal_pier_get(ah, mode, ipier, ichain,
ichain           5003 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 					if (hfrequency[ichain] <= 0 ||
ichain           5004 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 					    hfrequency[ichain] >= 100000 ||
ichain           5006 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 					    (frequency - hfrequency[ichain])) {
ichain           5011 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 						hfrequency[ichain] = pfrequency;
ichain           5012 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 						hcorrection[ichain] =
ichain           5014 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 						htemperature[ichain] =
ichain           5016 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 						hvoltage[ichain] = pvoltage;
ichain           5017 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 						hnf_cal[ichain] = pnf_cal;
ichain           5018 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 						hnf_pwr[ichain] = pnf_pwr;
ichain           5022 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 					if (lfrequency[ichain] <= 0
ichain           5024 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 					    (frequency - lfrequency[ichain])) {
ichain           5029 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 						lfrequency[ichain] = pfrequency;
ichain           5030 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 						lcorrection[ichain] =
ichain           5032 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 						ltemperature[ichain] =
ichain           5034 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 						lvoltage[ichain] = pvoltage;
ichain           5035 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 						lnf_cal[ichain] = pnf_cal;
ichain           5036 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 						lnf_pwr[ichain] = pnf_pwr;
ichain           5044 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	for (ichain = 0; ichain < AR9300_MAX_CHAINS; ichain++) {
ichain           5047 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			ichain, frequency, lfrequency[ichain],
ichain           5048 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			lcorrection[ichain], hfrequency[ichain],
ichain           5049 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			hcorrection[ichain], lnf_cal[ichain],
ichain           5050 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			hnf_cal[ichain], lnf_pwr[ichain],
ichain           5051 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			hnf_pwr[ichain]);
ichain           5053 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		if (hfrequency[ichain] == lfrequency[ichain]) {
ichain           5054 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			correction[ichain] = lcorrection[ichain];
ichain           5055 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			voltage[ichain] = lvoltage[ichain];
ichain           5056 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			temperature[ichain] = ltemperature[ichain];
ichain           5057 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			nf_cal[ichain] = lnf_cal[ichain];
ichain           5058 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			nf_pwr[ichain] = lnf_pwr[ichain];
ichain           5061 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		else if (frequency - lfrequency[ichain] < 1000) {
ichain           5063 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			if (hfrequency[ichain] - frequency < 1000) {
ichain           5065 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 				correction[ichain] = interpolate(frequency,
ichain           5066 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 						lfrequency[ichain],
ichain           5067 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 						hfrequency[ichain],
ichain           5068 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 						lcorrection[ichain],
ichain           5069 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 						hcorrection[ichain]);
ichain           5071 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 				temperature[ichain] = interpolate(frequency,
ichain           5072 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 						lfrequency[ichain],
ichain           5073 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 						hfrequency[ichain],
ichain           5074 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 						ltemperature[ichain],
ichain           5075 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 						htemperature[ichain]);
ichain           5077 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 				voltage[ichain] = interpolate(frequency,
ichain           5078 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 						lfrequency[ichain],
ichain           5079 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 						hfrequency[ichain],
ichain           5080 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 						lvoltage[ichain],
ichain           5081 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 						hvoltage[ichain]);
ichain           5083 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 				nf_cal[ichain] = interpolate(frequency,
ichain           5084 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 						lfrequency[ichain],
ichain           5085 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 						hfrequency[ichain],
ichain           5086 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 						lnf_cal[ichain],
ichain           5087 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 						hnf_cal[ichain]);
ichain           5089 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 				nf_pwr[ichain] = interpolate(frequency,
ichain           5090 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 						lfrequency[ichain],
ichain           5091 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 						hfrequency[ichain],
ichain           5092 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 						lnf_pwr[ichain],
ichain           5093 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 						hnf_pwr[ichain]);
ichain           5097 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 				correction[ichain] = lcorrection[ichain];
ichain           5098 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 				temperature[ichain] = ltemperature[ichain];
ichain           5099 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 				voltage[ichain] = lvoltage[ichain];
ichain           5100 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 				nf_cal[ichain] = lnf_cal[ichain];
ichain           5101 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 				nf_pwr[ichain] = lnf_pwr[ichain];
ichain           5105 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		else if (hfrequency[ichain] - frequency < 1000) {
ichain           5106 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			correction[ichain] = hcorrection[ichain];
ichain           5107 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			temperature[ichain] = htemperature[ichain];
ichain           5108 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			voltage[ichain] = hvoltage[ichain];
ichain           5109 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			nf_cal[ichain] = hnf_cal[ichain];
ichain           5110 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			nf_pwr[ichain] = hnf_pwr[ichain];
ichain           5112 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			correction[ichain] = 0;
ichain           5113 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			temperature[ichain] = 0;
ichain           5114 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			voltage[ichain] = 0;
ichain           5115 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			nf_cal[ichain] = 0;
ichain           5116 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			nf_pwr[ichain] = 0;
ichain           5128 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	for (ichain = 0; ichain < AR5416_MAX_CHAINS; ichain++)
ichain           5130 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			ah->nf_5g.cal[ichain] = nf_cal[ichain];
ichain           5131 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			ah->nf_5g.pwr[ichain] = nf_pwr[ichain];
ichain           5133 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			ah->nf_2g.cal[ichain] = nf_cal[ichain];
ichain           5134 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			ah->nf_2g.pwr[ichain] = nf_pwr[ichain];