eep              2976 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	struct ar9300_eeprom *eep = &ah->eeprom.ar9300_eep;
eep              2977 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	struct ar9300_base_eep_hdr *pBase = &eep->baseEepHeader;
eep              2981 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		return get_unaligned_be16(eep->macAddr);
eep              2983 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		return get_unaligned_be16(eep->macAddr + 2);
eep              2985 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		return get_unaligned_be16(eep->macAddr + 4);
eep              3006 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			return eep->base_ext1.ant_div_control;
eep              3008 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		return eep->modalHeader5G.antennaGain;
eep              3010 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		return eep->modalHeader2G.antennaGain;
eep              3188 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	const struct ar9300_eeprom *eep = NULL;
eep              3205 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			eep = ar9003_eeprom_struct_find_by_id(reference);
eep              3206 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			if (eep == NULL) {
eep              3212 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			memcpy(mptr, eep, mdata_size);
eep              3279 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	struct ar9300_eeprom *eep;
eep              3289 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		eep = (struct ar9300_eeprom *) mptr;
eep              3290 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		txrx = eep->baseEepHeader.txrxMask;
eep              3442 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	struct ar9300_eeprom *eep = &ah->eeprom.ar9300_eep;
eep              3449 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	pBase = &eep->baseEepHeader;
eep              3467 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 				cal_pier = &eep->calPierData2G[i][j];
eep              3468 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 				freq = 2300 + eep->calFreqPier2G[j];
eep              3470 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 				cal_pier = &eep->calPierData5G[i][j];
eep              3471 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 				freq = 4800 + eep->calFreqPier5G[j] * 5;
eep              3496 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	struct ar9300_eeprom *eep = &ah->eeprom.ar9300_eep;
eep              3503 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 						&eep->modalHeader2G);
eep              3511 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 						&eep->modalHeader5G);
eep              3519 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	pBase = &eep->baseEepHeader;
eep              3595 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	struct ar9300_eeprom *eep = &ah->eeprom.ar9300_eep;
eep              3598 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		return &eep->modalHeader2G;
eep              3600 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		return &eep->modalHeader5G;
eep              3797 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	struct ar9300_eeprom *eep = &ah->eeprom.ar9300_eep;
eep              3798 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	struct ar9300_base_eep_hdr *pBase = &eep->baseEepHeader;
eep              3842 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	struct ar9300_eeprom *eep = &ah->eeprom.ar9300_eep;
eep              3846 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			return eep->modalHeader2G.xatten1DB[chain];
eep              3847 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		else if (eep->base_ext2.xatten1DBLow[chain] != 0) {
eep              3848 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			t[0] = eep->base_ext2.xatten1DBLow[chain];
eep              3850 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			t[1] = eep->modalHeader5G.xatten1DB[chain];
eep              3852 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			t[2] = eep->base_ext2.xatten1DBHigh[chain];
eep              3858 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			return eep->modalHeader5G.xatten1DB[chain];
eep              3870 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	struct ar9300_eeprom *eep = &ah->eeprom.ar9300_eep;
eep              3874 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			return eep->modalHeader2G.xatten1Margin[chain];
eep              3875 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		else if (eep->base_ext2.xatten1MarginLow[chain] != 0) {
eep              3876 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			t[0] = eep->base_ext2.xatten1MarginLow[chain];
eep              3878 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			t[1] = eep->modalHeader5G.xatten1Margin[chain];
eep              3880 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			t[2] = eep->base_ext2.xatten1MarginHigh[chain];
eep              3886 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			return eep->modalHeader5G.xatten1Margin[chain];
eep              3954 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	struct ar9300_eeprom *eep = &ah->eeprom.ar9300_eep;
eep              3955 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	struct ar9300_base_eep_hdr *pBase = &eep->baseEepHeader;
eep              4049 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	struct ar9300_eeprom *eep = &ah->eeprom.ar9300_eep;
eep              4050 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	u8 tuning_caps_param = eep->baseEepHeader.params_for_tuning_caps[0];
eep              4055 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	if (eep->baseEepHeader.featureEnable & 0x40) {
eep              4066 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	struct ar9300_eeprom *eep = &ah->eeprom.ar9300_eep;
eep              4067 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	struct ar9300_base_eep_hdr *pBase = &eep->baseEepHeader;
eep              4076 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			quick_drop = eep->modalHeader2G.quick_drop;
eep              4078 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			t[0] = eep->base_ext1.quick_drop_low;
eep              4079 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			t[1] = eep->modalHeader5G.quick_drop;
eep              4080 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			t[2] = eep->base_ext1.quick_drop_high;
eep              4101 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	struct ar9300_eeprom *eep = &ah->eeprom.ar9300_eep;
eep              4104 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	if (!(eep->baseEepHeader.featureEnable & 0x80))
eep              4125 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	struct ar9300_eeprom *eep = &ah->eeprom.ar9300_eep;
eep              4128 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	if (!(eep->baseEepHeader.miscConfiguration & 0x40))
eep              4147 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	struct ar9300_eeprom *eep = &ah->eeprom.ar9300_eep;
eep              4148 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	struct ar9300_base_eep_hdr *pBase = &eep->baseEepHeader;
eep              4206 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	struct ar9300_eeprom *eep = &ah->eeprom.ar9300_eep;
eep              4216 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		if (!(eep->base_ext1.misc_enable & BIT(2)))
eep              4219 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		if (!(eep->base_ext1.misc_enable & BIT(3)))
eep              4328 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	struct ar9300_eeprom *eep = &ah->eeprom.ar9300_eep;
eep              4334 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		pEepromTargetPwr = eep->calTargetPower2G;
eep              4335 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		pFreqBin = eep->calTarget_freqbin_2G;
eep              4338 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		pEepromTargetPwr = eep->calTargetPower5G;
eep              4339 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		pFreqBin = eep->calTarget_freqbin_5G;
eep              4364 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	struct ar9300_eeprom *eep = &ah->eeprom.ar9300_eep;
eep              4370 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		pEepromTargetPwr = eep->calTargetPower2GHT20;
eep              4371 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		pFreqBin = eep->calTarget_freqbin_2GHT20;
eep              4374 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		pEepromTargetPwr = eep->calTargetPower5GHT20;
eep              4375 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		pFreqBin = eep->calTarget_freqbin_5GHT20;
eep              4400 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	struct ar9300_eeprom *eep = &ah->eeprom.ar9300_eep;
eep              4406 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		pEepromTargetPwr = eep->calTargetPower2GHT40;
eep              4407 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		pFreqBin = eep->calTarget_freqbin_2GHT40;
eep              4410 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		pEepromTargetPwr = eep->calTargetPower5GHT40;
eep              4411 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		pFreqBin = eep->calTarget_freqbin_5GHT40;
eep              4435 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	struct ar9300_eeprom *eep = &ah->eeprom.ar9300_eep;
eep              4436 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	struct cal_tgt_pow_legacy *pEepromTargetPwr = eep->calTargetPowerCck;
eep              4437 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	u8 *pFreqBin = eep->calTarget_freqbin_Cck;
eep              4760 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	struct ar9300_eeprom *eep = &ah->eeprom.ar9300_eep;
eep              4777 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		pCalPier = &(eep->calFreqPier5G[ipier]);
eep              4778 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		pCalPierStruct = &(eep->calPierData5G[ichain][ipier]);
eep              4788 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		pCalPier = &(eep->calFreqPier2G[ipier]);
eep              4789 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		pCalPierStruct = &(eep->calPierData2G[ichain][ipier]);
eep              4811 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	struct ar9300_eeprom *eep = &ah->eeprom.ar9300_eep;
eep              4844 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		temp_slope = eep->modalHeader2G.tempSlope;
eep              4847 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			t[0] = eep->base_ext1.tempslopextension[2];
eep              4848 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			t1[0] = eep->base_ext1.tempslopextension[3];
eep              4849 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			t2[0] = eep->base_ext1.tempslopextension[4];
eep              4852 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			t[1] = eep->modalHeader5G.tempSlope;
eep              4853 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			t1[1] = eep->base_ext1.tempslopextension[0];
eep              4854 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			t2[1] = eep->base_ext1.tempslopextension[1];
eep              4857 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			t[2] = eep->base_ext1.tempslopextension[5];
eep              4858 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			t1[2] = eep->base_ext1.tempslopextension[6];
eep              4859 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			t2[2] = eep->base_ext1.tempslopextension[7];
eep              4872 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		if ((eep->baseEepHeader.miscConfiguration & 0x20) != 0) {
eep              4874 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 				t[i] = eep->base_ext1.tempslopextension[i];
eep              4875 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 				f[i] = FBIN2FREQ(eep->calFreqPier5G[i], 0);
eep              4879 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		} else if (eep->base_ext2.tempSlopeLow != 0) {
eep              4880 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			t[0] = eep->base_ext2.tempSlopeLow;
eep              4882 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			t[1] = eep->modalHeader5G.tempSlope;
eep              4884 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			t[2] = eep->base_ext2.tempSlopeHigh;
eep              4889 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			temp_slope = eep->modalHeader5G.tempSlope;
eep              4895 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		u8 txmask = (eep->baseEepHeader.txrxMask & 0xf0) >> 4;
eep              4901 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		if (eep->baseEepHeader.featureEnable & 0x1) {
eep              4906 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 						      eep->base_ext2.tempSlopeLow);
eep              4914 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 						      eep->base_ext2.tempSlopeHigh);
eep              5140 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c static u16 ar9003_hw_get_direct_edge_power(struct ar9300_eeprom *eep,
eep              5145 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	struct cal_ctl_data_2g *ctl_2g = eep->ctlPowerData_2G;
eep              5146 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	struct cal_ctl_data_5g *ctl_5g = eep->ctlPowerData_5G;
eep              5154 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c static u16 ar9003_hw_get_indirect_edge_power(struct ar9300_eeprom *eep,
eep              5160 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	struct cal_ctl_data_2g *ctl_2g = eep->ctlPowerData_2G;
eep              5161 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	struct cal_ctl_data_5g *ctl_5g = eep->ctlPowerData_5G;
eep              5164 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		&eep->ctl_freqbin_2G[idx][0] :
eep              5165 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		&eep->ctl_freqbin_5G[idx][0];
eep              5183 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c static u16 ar9003_hw_get_max_edge_power(struct ar9300_eeprom *eep,
eep              5188 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		&eep->ctl_freqbin_2G[idx][0] :
eep              5189 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		&eep->ctl_freqbin_5G[idx][0];
eep              5204 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 				ar9003_hw_get_direct_edge_power(eep, idx,
eep              5211 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 				ar9003_hw_get_indirect_edge_power(eep, idx,
eep              5451 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	struct ar9300_eeprom *eep = &ah->eeprom.ar9300_eep;
eep              5468 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			modal_hdr = &eep->modalHeader2G;
eep              5470 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			modal_hdr = &eep->modalHeader5G;
eep              5577 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	struct ar9300_eeprom *eep = &ah->eeprom.ar9300_eep;
eep              5579 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	return (eep->baseEepHeader.txrxgain >> 4) & 0xf; /* bits 7:4 */
eep              5584 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	struct ar9300_eeprom *eep = &ah->eeprom.ar9300_eep;
eep              5586 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	return (eep->baseEepHeader.txrxgain) & 0xf; /* bits 3:0 */
eep              5597 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	struct ar9300_eeprom *eep = &ah->eeprom.ar9300_eep;
eep              5600 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		return MS(le32_to_cpu(eep->modalHeader2G.papdRateMaskHt20),
eep              5604 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			return MS(le32_to_cpu(eep->modalHeader5G.papdRateMaskHt20),
eep              5607 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			return MS(le32_to_cpu(eep->modalHeader5G.papdRateMaskHt40),
eep              5610 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			return MS(le32_to_cpu(eep->modalHeader5G.papdRateMaskHt40),
eep                24 drivers/net/wireless/ath/ath9k/ar9003_paprd.c 	struct ar9300_eeprom *eep = &ah->eeprom.ar9300_eep;
eep                41 drivers/net/wireless/ath/ath9k/ar9003_paprd.c 			if (le32_to_cpu(eep->modalHeader5G.papdRateMaskHt20)
eep                45 drivers/net/wireless/ath/ath9k/ar9003_paprd.c 			if (le32_to_cpu(eep->modalHeader5G.papdRateMaskHt20)
eep                49 drivers/net/wireless/ath/ath9k/ar9003_paprd.c 			if (le32_to_cpu(eep->modalHeader5G.papdRateMaskHt20)
eep               529 drivers/net/wireless/ath/ath9k/ar9003_phy.c 	struct ar9300_eeprom *eep = &ah->eeprom.ar9300_eep;
eep               532 drivers/net/wireless/ath/ath9k/ar9003_phy.c 		spurChansPtr = &(eep->modalHeader5G.spurChans[0]);
eep               536 drivers/net/wireless/ath/ath9k/ar9003_phy.c 		spurChansPtr = &(eep->modalHeader2G.spurChans[0]);
eep               133 drivers/net/wireless/ath/ath9k/eeprom_4k.c 	struct ar5416_eeprom_4k *eep = &ah->eeprom.map4k;
eep               134 drivers/net/wireless/ath/ath9k/eeprom_4k.c 	struct base_eep_header_4k *pBase = &eep->baseEepHeader;
eep               141 drivers/net/wireless/ath/ath9k/eeprom_4k.c 						 &eep->modalHeader);
eep               188 drivers/net/wireless/ath/ath9k/eeprom_4k.c 	struct ar5416_eeprom_4k *eep = &ah->eeprom.map4k;
eep               198 drivers/net/wireless/ath/ath9k/eeprom_4k.c 		el = swab16((__force u16)eep->baseEepHeader.length);
eep               200 drivers/net/wireless/ath/ath9k/eeprom_4k.c 		el = le16_to_cpu(eep->baseEepHeader.length);
eep               207 drivers/net/wireless/ath/ath9k/eeprom_4k.c 		EEPROM_FIELD_SWAB16(eep->baseEepHeader.length);
eep               208 drivers/net/wireless/ath/ath9k/eeprom_4k.c 		EEPROM_FIELD_SWAB16(eep->baseEepHeader.checksum);
eep               209 drivers/net/wireless/ath/ath9k/eeprom_4k.c 		EEPROM_FIELD_SWAB16(eep->baseEepHeader.version);
eep               210 drivers/net/wireless/ath/ath9k/eeprom_4k.c 		EEPROM_FIELD_SWAB16(eep->baseEepHeader.regDmn[0]);
eep               211 drivers/net/wireless/ath/ath9k/eeprom_4k.c 		EEPROM_FIELD_SWAB16(eep->baseEepHeader.regDmn[1]);
eep               212 drivers/net/wireless/ath/ath9k/eeprom_4k.c 		EEPROM_FIELD_SWAB16(eep->baseEepHeader.rfSilent);
eep               213 drivers/net/wireless/ath/ath9k/eeprom_4k.c 		EEPROM_FIELD_SWAB16(eep->baseEepHeader.blueToothOptions);
eep               214 drivers/net/wireless/ath/ath9k/eeprom_4k.c 		EEPROM_FIELD_SWAB16(eep->baseEepHeader.deviceCap);
eep               215 drivers/net/wireless/ath/ath9k/eeprom_4k.c 		EEPROM_FIELD_SWAB32(eep->modalHeader.antCtrlCommon);
eep               218 drivers/net/wireless/ath/ath9k/eeprom_4k.c 			EEPROM_FIELD_SWAB32(eep->modalHeader.antCtrlChain[i]);
eep               222 drivers/net/wireless/ath/ath9k/eeprom_4k.c 				eep->modalHeader.spurChans[i].spurChan);
eep               237 drivers/net/wireless/ath/ath9k/eeprom_4k.c 	struct ar5416_eeprom_4k *eep = &ah->eeprom.map4k;
eep               238 drivers/net/wireless/ath/ath9k/eeprom_4k.c 	struct modal_eep_4k_header *pModal = &eep->modalHeader;
eep               239 drivers/net/wireless/ath/ath9k/eeprom_4k.c 	struct base_eep_header_4k *pBase = &eep->baseEepHeader;
eep               701 drivers/net/wireless/ath/ath9k/eeprom_4k.c 				 struct ar5416_eeprom_4k *eep,
eep               761 drivers/net/wireless/ath/ath9k/eeprom_4k.c 	struct ar5416_eeprom_4k *eep = &ah->eeprom.map4k;
eep               762 drivers/net/wireless/ath/ath9k/eeprom_4k.c 	struct base_eep_header_4k *pBase = &eep->baseEepHeader;
eep               769 drivers/net/wireless/ath/ath9k/eeprom_4k.c 	pModal = &eep->modalHeader;
eep               775 drivers/net/wireless/ath/ath9k/eeprom_4k.c 	ath9k_hw_4k_set_gain(ah, pModal, eep, txRxAttenLocal);
eep                40 drivers/net/wireless/ath/ath9k/eeprom_9287.c 	struct ar9287_eeprom *eep = &ah->eeprom.map9287;
eep                43 drivers/net/wireless/ath/ath9k/eeprom_9287.c 	eep_data = (u16 *)eep;
eep               129 drivers/net/wireless/ath/ath9k/eeprom_9287.c 	struct ar9287_eeprom *eep = &ah->eeprom.map9287;
eep               130 drivers/net/wireless/ath/ath9k/eeprom_9287.c 	struct base_eep_ar9287_header *pBase = &eep->baseEepHeader;
eep               137 drivers/net/wireless/ath/ath9k/eeprom_9287.c 						&eep->modalHeader);
eep               189 drivers/net/wireless/ath/ath9k/eeprom_9287.c 	struct ar9287_eeprom *eep = &ah->eeprom.map9287;
eep               196 drivers/net/wireless/ath/ath9k/eeprom_9287.c 		el = swab16((__force u16)eep->baseEepHeader.length);
eep               198 drivers/net/wireless/ath/ath9k/eeprom_9287.c 		el = le16_to_cpu(eep->baseEepHeader.length);
eep               205 drivers/net/wireless/ath/ath9k/eeprom_9287.c 		EEPROM_FIELD_SWAB16(eep->baseEepHeader.length);
eep               206 drivers/net/wireless/ath/ath9k/eeprom_9287.c 		EEPROM_FIELD_SWAB16(eep->baseEepHeader.checksum);
eep               207 drivers/net/wireless/ath/ath9k/eeprom_9287.c 		EEPROM_FIELD_SWAB16(eep->baseEepHeader.version);
eep               208 drivers/net/wireless/ath/ath9k/eeprom_9287.c 		EEPROM_FIELD_SWAB16(eep->baseEepHeader.regDmn[0]);
eep               209 drivers/net/wireless/ath/ath9k/eeprom_9287.c 		EEPROM_FIELD_SWAB16(eep->baseEepHeader.regDmn[1]);
eep               210 drivers/net/wireless/ath/ath9k/eeprom_9287.c 		EEPROM_FIELD_SWAB16(eep->baseEepHeader.rfSilent);
eep               211 drivers/net/wireless/ath/ath9k/eeprom_9287.c 		EEPROM_FIELD_SWAB16(eep->baseEepHeader.blueToothOptions);
eep               212 drivers/net/wireless/ath/ath9k/eeprom_9287.c 		EEPROM_FIELD_SWAB16(eep->baseEepHeader.deviceCap);
eep               213 drivers/net/wireless/ath/ath9k/eeprom_9287.c 		EEPROM_FIELD_SWAB32(eep->modalHeader.antCtrlCommon);
eep               216 drivers/net/wireless/ath/ath9k/eeprom_9287.c 			EEPROM_FIELD_SWAB32(eep->modalHeader.antCtrlChain[i]);
eep               220 drivers/net/wireless/ath/ath9k/eeprom_9287.c 				eep->modalHeader.spurChans[i].spurChan);
eep               235 drivers/net/wireless/ath/ath9k/eeprom_9287.c 	struct ar9287_eeprom *eep = &ah->eeprom.map9287;
eep               236 drivers/net/wireless/ath/ath9k/eeprom_9287.c 	struct modal_eep_ar9287_header *pModal = &eep->modalHeader;
eep               237 drivers/net/wireless/ath/ath9k/eeprom_9287.c 	struct base_eep_ar9287_header *pBase = &eep->baseEepHeader;
eep               853 drivers/net/wireless/ath/ath9k/eeprom_9287.c 	struct ar9287_eeprom *eep = &ah->eeprom.map9287;
eep               854 drivers/net/wireless/ath/ath9k/eeprom_9287.c 	struct modal_eep_ar9287_header *pModal = &eep->modalHeader;
eep               859 drivers/net/wireless/ath/ath9k/eeprom_9287.c 	pModal = &eep->modalHeader;
eep               207 drivers/net/wireless/ath/ath9k/eeprom_def.c 	struct ar5416_eeprom_def *eep = &ah->eeprom.def;
eep               208 drivers/net/wireless/ath/ath9k/eeprom_def.c 	struct base_eep_header *pBase = &eep->baseEepHeader;
eep               215 drivers/net/wireless/ath/ath9k/eeprom_def.c 						   &eep->modalHeader[0]);
eep               219 drivers/net/wireless/ath/ath9k/eeprom_def.c 						   &eep->modalHeader[1]);
eep               266 drivers/net/wireless/ath/ath9k/eeprom_def.c 	struct ar5416_eeprom_def *eep = &ah->eeprom.def;
eep               277 drivers/net/wireless/ath/ath9k/eeprom_def.c 		el = swab16((__force u16)eep->baseEepHeader.length);
eep               279 drivers/net/wireless/ath/ath9k/eeprom_def.c 		el = le16_to_cpu(eep->baseEepHeader.length);
eep               288 drivers/net/wireless/ath/ath9k/eeprom_def.c 		EEPROM_FIELD_SWAB16(eep->baseEepHeader.length);
eep               289 drivers/net/wireless/ath/ath9k/eeprom_def.c 		EEPROM_FIELD_SWAB16(eep->baseEepHeader.checksum);
eep               290 drivers/net/wireless/ath/ath9k/eeprom_def.c 		EEPROM_FIELD_SWAB16(eep->baseEepHeader.version);
eep               291 drivers/net/wireless/ath/ath9k/eeprom_def.c 		EEPROM_FIELD_SWAB16(eep->baseEepHeader.regDmn[0]);
eep               292 drivers/net/wireless/ath/ath9k/eeprom_def.c 		EEPROM_FIELD_SWAB16(eep->baseEepHeader.regDmn[1]);
eep               293 drivers/net/wireless/ath/ath9k/eeprom_def.c 		EEPROM_FIELD_SWAB16(eep->baseEepHeader.rfSilent);
eep               294 drivers/net/wireless/ath/ath9k/eeprom_def.c 		EEPROM_FIELD_SWAB16(eep->baseEepHeader.blueToothOptions);
eep               295 drivers/net/wireless/ath/ath9k/eeprom_def.c 		EEPROM_FIELD_SWAB16(eep->baseEepHeader.deviceCap);
eep               297 drivers/net/wireless/ath/ath9k/eeprom_def.c 		for (j = 0; j < ARRAY_SIZE(eep->modalHeader); j++) {
eep               299 drivers/net/wireless/ath/ath9k/eeprom_def.c 				&eep->modalHeader[j];
eep               320 drivers/net/wireless/ath/ath9k/eeprom_def.c 	    ((le16_to_cpu(eep->baseEepHeader.version) & 0xff) > 0x0a) &&
eep               321 drivers/net/wireless/ath/ath9k/eeprom_def.c 	    (eep->baseEepHeader.pwdclkind == 0))
eep               326 drivers/net/wireless/ath/ath9k/eeprom_def.c 		eep->modalHeader[0].xpaBiasLvl = 0;
eep               336 drivers/net/wireless/ath/ath9k/eeprom_def.c 	struct ar5416_eeprom_def *eep = &ah->eeprom.def;
eep               337 drivers/net/wireless/ath/ath9k/eeprom_def.c 	struct modal_eep_header *pModal = eep->modalHeader;
eep               338 drivers/net/wireless/ath/ath9k/eeprom_def.c 	struct base_eep_header *pBase = &eep->baseEepHeader;
eep               418 drivers/net/wireless/ath/ath9k/eeprom_def.c 				  struct ar5416_eeprom_def *eep,
eep               470 drivers/net/wireless/ath/ath9k/eeprom_def.c 	struct ar5416_eeprom_def *eep = &ah->eeprom.def;
eep               475 drivers/net/wireless/ath/ath9k/eeprom_def.c 	pModal = &(eep->modalHeader[IS_CHAN_2GHZ(chan)]);
eep               504 drivers/net/wireless/ath/ath9k/eeprom_def.c 		ath9k_hw_def_set_gain(ah, pModal, eep, txRxAttenLocal,
eep               619 drivers/net/wireless/ath/ath9k/eeprom_def.c 					eep->baseEepHeader.dacLpMode);
eep               620 drivers/net/wireless/ath/ath9k/eeprom_def.c 		else if (eep->baseEepHeader.dacHiPwrMode_5G)
eep               624 drivers/net/wireless/ath/ath9k/eeprom_def.c 				      eep->baseEepHeader.dacLpMode);
eep               633 drivers/net/wireless/ath/ath9k/eeprom_def.c 			      eep->baseEepHeader.desiredScaleCCK);
eep               642 drivers/net/wireless/ath/ath9k/eeprom_def.c 	struct ar5416_eeprom_def *eep = &ah->eeprom.def;
eep               651 drivers/net/wireless/ath/ath9k/eeprom_def.c 	pModal = &(eep->modalHeader[IS_CHAN_2GHZ(chan)]);
eep              1151 drivers/net/wireless/ath/ath9k/xmit.c 			struct ar5416_eeprom_def *eep = &ah->eeprom.def;
eep              1159 drivers/net/wireless/ath/ath9k/xmit.c 				pmodal = &eep->modalHeader[is_2ghz];
eep               362 drivers/net/wireless/mediatek/mt76/mt7603/mcu.c 	u8 *req, *eep = (u8 *)dev->mt76.eeprom.data;
eep               377 drivers/net/wireless/mediatek/mt76/mt7603/mcu.c 		data[i].val = eep[req_fields[i]];
eep               419 drivers/net/wireless/mediatek/mt76/mt7603/mcu.c 	u8 *eep = (u8 *)dev->mt76.eeprom.data;
eep               421 drivers/net/wireless/mediatek/mt76/mt7603/mcu.c 	memcpy(req.rate_power_delta, eep + MT_EE_TX_POWER_CCK,
eep               424 drivers/net/wireless/mediatek/mt76/mt7603/mcu.c 	memcpy(req.temp_comp_power, eep + MT_EE_STEP_NUM_NEG_6_7,
eep                71 drivers/net/wireless/mediatek/mt76/mt7615/eeprom.h 	u8 *eep = dev->mt76.eeprom.data;
eep                74 drivers/net/wireless/mediatek/mt76/mt7615/eeprom.h 		return !(eep[MT_EE_NIC_CONF_1 + 1] & MT_EE_NIC_CONF_TSSI_5G);
eep                76 drivers/net/wireless/mediatek/mt76/mt7615/eeprom.h 		return !(eep[MT_EE_NIC_CONF_1 + 1] & MT_EE_NIC_CONF_TSSI_2G);
eep               185 drivers/net/wireless/mediatek/mt76/mt7615/init.c 	u8 *eep = (u8 *)dev->mt76.eeprom.data;
eep               198 drivers/net/wireless/mediatek/mt76/mt7615/init.c 			target_power = max(target_power, eep[index]);
eep               587 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 	u8 *req, *eep = (u8 *)dev->mt76.eeprom.data;
eep               594 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 	memcpy(req + sizeof(req_hdr), eep + MT_EE_NIC_CONF_0,
eep              1156 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 	u8 *req, *data, *eep = (u8 *)dev->mt76.eeprom.data;
eep              1177 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 	memcpy(data, eep + MT_EE_NIC_CONF_0,
eep                43 include/linux/mfd/janz.h 	u8 eep;