Lines Matching full:ee
28 HAL_EEPROM_v1 *ee = AH_PRIVATE(ah)->ah_eeprom; in v1EepromGet() local
56 *(uint16_t *) val = ee->ee_regDomain[0]; in v1EepromGet()
60 return ee->ee_rfKill ? HAL_OK : HAL_EIO; in v1EepromGet()
63 return (ee->ee_protect & AR_EEPROM_PROTOTECT_WP_128_191) ? in v1EepromGet()
81 HAL_EEPROM_v1 *ee = AH_PRIVATE(ah)->ah_eeprom; in v1EepromDiag() local
85 *result = ee; in v1EepromDiag()
86 *resultsize = sizeof(*ee); in v1EepromDiag()
104 HAL_EEPROM_v1 *ee = AH_PRIVATE(ah)->ah_eeprom; in v1EepromDetach() local
106 ath_hal_free(ee); in v1EepromDetach()
113 HAL_EEPROM_v1 *ee = AH_PRIVATE(ah)->ah_eeprom; in ath_hal_v1EepromAttach() local
119 HALASSERT(ee == AH_NULL); in ath_hal_v1EepromAttach()
180 ee = ath_hal_malloc(sizeof(HAL_EEPROM_v1)); in ath_hal_v1EepromAttach()
181 if (ee == AH_NULL) { in ath_hal_v1EepromAttach()
186 ee->ee_version = eeprom_version; in ath_hal_v1EepromAttach()
187 ee->ee_protect = protect; in ath_hal_v1EepromAttach()
188 ee->ee_antenna = athvals[2]; in ath_hal_v1EepromAttach()
189 ee->ee_biasCurrents = athvals[3]; in ath_hal_v1EepromAttach()
190 ee->ee_thresh62 = athvals[4] & 0xff; in ath_hal_v1EepromAttach()
191 ee->ee_xlnaOn = (athvals[4] >> 8) & 0xff; in ath_hal_v1EepromAttach()
192 ee->ee_xpaOn = athvals[5] & 0xff; in ath_hal_v1EepromAttach()
193 ee->ee_xpaOff = (athvals[5] >> 8) & 0xff; in ath_hal_v1EepromAttach()
194 ee->ee_regDomain[0] = (athvals[6] >> 8) & 0xff; in ath_hal_v1EepromAttach()
195 ee->ee_regDomain[1] = athvals[6] & 0xff; in ath_hal_v1EepromAttach()
196 ee->ee_regDomain[2] = (athvals[7] >> 8) & 0xff; in ath_hal_v1EepromAttach()
197 ee->ee_regDomain[3] = athvals[7] & 0xff; in ath_hal_v1EepromAttach()
198 ee->ee_rfKill = athvals[8] & 0x1; in ath_hal_v1EepromAttach()
199 ee->ee_devType = (athvals[8] >> 1) & 0x7; in ath_hal_v1EepromAttach()
202 struct tpcMap *chan = &ee->ee_tpc[i]; in ath_hal_v1EepromAttach()
245 AH_PRIVATE(ah)->ah_eeprom = ee; in ath_hal_v1EepromAttach()