Lines Matching defs:ahp

178 	struct ath_hal_5416 *ahp = AH5416(ah);
179 struct ar5416_eeprom_4k *eep = &ahp->ah_eeprom.map4k;
208 struct ath_hal_5416 *ahp = AH5416(ah);
209 struct ar5416_eeprom_def *eep = &ahp->ah_eeprom.def;
236 struct ath_hal_5416 *ahp = AH5416(ah);
238 return (ath9k_fill_eeprom[ahp->ah_eep_map](ah));
244 struct ath_hal_5416 *ahp = AH5416(ah);
246 (struct ar5416_eeprom_def *)&ahp->ah_eeprom.def;
267 eepdata = (uint16_t *)(&ahp->ah_eeprom);
296 el = swab16(ahp->ah_eeprom.def.baseEepHeader.length);
298 el = ahp->ah_eeprom.def.baseEepHeader.length;
305 eepdata = (uint16_t *)(&ahp->ah_eeprom);
359 if (sum != 0xffff || ar5416_get_eep_ver(ahp) != AR5416_EEP_VER ||
360 ar5416_get_eep_rev(ahp) < AR5416_EEP_NO_BACK_VER) {
363 sum, ar5416_get_eep_ver(ahp)));
374 struct ath_hal_5416 *ahp = AH5416(ah);
376 (struct ar5416_eeprom_4k *)&ahp->ah_eeprom.map4k;
400 eepdata = (uint16_t *)(&ahp->ah_eeprom);
426 el = swab16(ahp->ah_eeprom.map4k.baseEepHeader.length);
428 el = ahp->ah_eeprom.map4k.baseEepHeader.length;
435 eepdata = (uint16_t *)(&ahp->ah_eeprom);
485 if (sum != 0xffff || ar5416_get_eep4k_ver(ahp) != AR5416_EEP_VER ||
486 ar5416_get_eep4k_rev(ahp) < AR5416_EEP_NO_BACK_VER) {
489 sum, ar5416_get_eep4k_ver(ahp)));
506 struct ath_hal_5416 *ahp = AH5416(ah);
508 return (ath9k_check_eeprom[ahp->ah_eep_map](ah));
1031 struct ath_hal_5416 *ahp = AH5416(ah);
1032 struct ar5416_eeprom_def *pEepData = &ahp->ah_eeprom.def;
1089 (ahp->ah_rxchainmask == 5 || ahp->ah_txchainmask == 5) &&
1159 struct ath_hal_5416 *ahp = AH5416(ah);
1160 struct ar5416_eeprom_4k *pEepData = &ahp->ah_eeprom.map4k;
1209 (ahp->ah_rxchainmask == 5 || ahp->ah_txchainmask == 5) &&
1283 struct ath_hal_5416 *ahp = AH5416(ah);
1284 struct ar5416_eeprom_def *pEepData = &ahp->ah_eeprom.def;
1314 tx_chainmask = ahp->ah_txchainmask;
1426 if (ar5416_get_eep_ver(ahp) == 14 &&
1427 ar5416_get_eep_rev(ahp) <= 2)
1586 struct ath_hal_5416 *ahp = AH5416(ah);
1587 struct ar5416_eeprom_4k *pEepData = &ahp->ah_eeprom.map4k;
1615 tx_chainmask = ahp->ah_txchainmask;
1676 if (ar5416_get_eep_ver(ahp) == 14 &&
1677 ar5416_get_eep_rev(ahp) <= 2)
1819 struct ath_hal_5416 *ahp = AH5416(ah);
1820 struct ar5416_eeprom_def *pEepData = &ahp->ah_eeprom.def;
1955 struct ath_hal_5416 *ahp = AH5416(ah);
1956 struct ar5416_eeprom_4k *pEepData = &ahp->ah_eeprom.map4k;
2085 struct ath_hal_5416 *ahp = AH5416(ah);
2088 if (ahp->ah_eep_map == EEP_MAP_DEFAULT)
2092 else if (ahp->ah_eep_map == EEP_MAP_4KBITS)
2104 struct ath_hal_5416 *ahp = AH5416(ah);
2105 struct ar5416_eeprom_def *eep = &ahp->ah_eeprom.def;
2111 if (ar5416_get_eep_rev(ahp) < AR5416_EEP_MINOR_VER_7)
2148 INI_RA(&ahp->ah_iniAddac, 7, 1) =
2149 (INI_RA(&ahp->ah_iniAddac, 7, 1) &
2152 INI_RA(&ahp->ah_iniAddac, 6, 1) =
2153 (INI_RA(&ahp->ah_iniAddac, 6, 1) &
2164 struct ath_hal_5416 *ahp = AH5416(ah);
2165 struct ar5416_eeprom_4k *eep = &ahp->ah_eeprom.map4k;
2171 if (ar5416_get_eep_rev(ahp) < AR5416_EEP_MINOR_VER_7)
2178 INI_RA(&ahp->ah_iniAddac, 7, 1) =
2179 (INI_RA(&ahp->ah_iniAddac, 7, 1) & (~0x18)) |
2187 struct ath_hal_5416 *ahp = AH5416(ah);
2189 if (ahp->ah_eep_map == EEP_MAP_DEFAULT)
2191 else if (ahp->ah_eep_map == EEP_MAP_4KBITS)
2201 struct ath_hal_5416 *ahp = AH5416(ah);
2202 struct ar5416_eeprom_def *eep = &ahp->ah_eeprom.def;
2221 (ahp->ah_rxchainmask == 5 || ahp->ah_txchainmask == 5) &&
2433 struct ath_hal_5416 *ahp = AH5416(ah);
2434 struct ar5416_eeprom_4k *eep = &ahp->ah_eeprom.map4k;
2619 struct ath_hal_5416 *ahp = AH5416(ah);
2622 if (ahp->ah_eep_map == EEP_MAP_DEFAULT)
2624 else if (ahp->ah_eep_map == EEP_MAP_4KBITS)
2635 struct ath_hal_5416 *ahp = AH5416(ah);
2636 struct ar5416_eeprom_def *eep = &ahp->ah_eeprom.def;
2668 struct ath_hal_5416 *ahp = AH5416(ah);
2669 struct ar5416_eeprom_4k *eep = &ahp->ah_eeprom.map4k;
2688 struct ath_hal_5416 *ahp = AH5416(ah);
2691 if (ahp->ah_eep_map == EEP_MAP_DEFAULT)
2694 else if (ahp->ah_eep_map == EEP_MAP_4KBITS)
2713 struct ath_hal_5416 *ahp = AH5416(ah);
2714 struct ar5416_eeprom_def *eep = &ahp->ah_eeprom.def;
2734 struct ath_hal_5416 *ahp = AH5416(ah);
2737 if (ahp->ah_eep_map == EEP_MAP_DEFAULT)
2739 else if (ahp->ah_eep_map == EEP_MAP_4KBITS)
2749 (ahp->ah_eeprom.map4k.modalHeader.spurChans[i].spurChan)
2751 (ahp->ah_eeprom.def.modalHeader[is2GHz].spurChans[i].spurChan)
2753 struct ath_hal_5416 *ahp = AH5416(ah);
2769 if (ahp->ah_eep_map == EEP_MAP_4KBITS)
2786 struct ath_hal_5416 *ahp = AH5416(ah);
2787 struct ar5416_eeprom_4k *eep = &ahp->ah_eeprom.map4k;
2831 struct ath_hal_5416 *ahp = AH5416(ah);
2832 struct ar5416_eeprom_def *eep = &ahp->ah_eeprom.def;
2905 struct ath_hal_5416 *ahp = AH5416(ah);
2908 if (ahp->ah_eep_map == EEP_MAP_DEFAULT)
2910 else if (ahp->ah_eep_map == EEP_MAP_4KBITS)
2920 struct ath_hal_5416 *ahp = AH5416(ah);
2926 ahp->ah_eep_map = EEP_MAP_4KBITS;
2928 ahp->ah_eep_map = EEP_MAP_DEFAULT;