Searched refs:eeval (Results 1 – 8 of 8) sorted by relevance
/freebsd/sys/dev/ath/ath_hal/ |
H A D | ah_eeprom_v3.c | 72 if (!ath_hal_eepromRead(ah, _off, &eeval)) \ in readEepromFreqPierInfo() 75 uint16_t eeval, off; in readEepromFreqPierInfo() local 90 ee->ee_channels11a[i] = (eeval >> 8) & FREQ_MASK_3_3; in readEepromFreqPierInfo() 91 ee->ee_channels11a[i+1] = eeval & FREQ_MASK_3_3; in readEepromFreqPierInfo() 97 ee->ee_channels11a[0] = (eeval >> 9) & FREQ_MASK; in readEepromFreqPierInfo() 98 ee->ee_channels11a[1] = (eeval >> 2) & FREQ_MASK; in readEepromFreqPierInfo() 99 ee->ee_channels11a[2] = (eeval << 5) & FREQ_MASK; in readEepromFreqPierInfo() 102 ee->ee_channels11a[2] |= (eeval >> 11) & 0x1f; in readEepromFreqPierInfo() 103 ee->ee_channels11a[3] = (eeval >> 4) & FREQ_MASK; in readEepromFreqPierInfo() 104 ee->ee_channels11a[4] = (eeval << 3) & FREQ_MASK; in readEepromFreqPierInfo() [all …]
|
H A D | ah_eeprom_v1.c | 30 uint16_t eeval; in v1EepromGet() local 39 if (!ath_hal_eepromRead(ah, AR_EEPROM_MAC(i), &eeval)) { in v1EepromGet() 45 sum += eeval; in v1EepromGet() 46 macaddr[2*i + 0] = eeval >> 8; in v1EepromGet() 47 macaddr[2*i + 1] = eeval & 0xff; in v1EepromGet() 115 uint16_t protect, eeprom_version, eeval; in ath_hal_v1EepromAttach() local 121 if (!ath_hal_eepromRead(ah, AR_EEPROM_MAGIC, &eeval)) { in ath_hal_v1EepromAttach() 126 if (eeval != 0x5aa5) { in ath_hal_v1EepromAttach() 128 "%s: invalid EEPROM magic number 0x%x\n", __func__, eeval); in ath_hal_v1EepromAttach() 174 if (!ath_hal_eepromRead(ah, AR_EEPROM_REG_DOMAIN, &eeval)) { in ath_hal_v1EepromAttach()
|
/freebsd/sys/dev/ath/ath_hal/ar5312/ |
H A D | ar5312_attach.c | 71 uint16_t eeval; in ar5312Attach() local 234 ecode = ath_hal_eepromGet(ah, AR_EEP_REGDMN_0, &eeval); in ar5312Attach() 241 AH_PRIVATE(ah)->ah_currentRD = eeval; in ar5312Attach()
|
/freebsd/sys/dev/ath/ath_hal/ar5210/ |
H A D | ar5210_attach.c | 195 uint16_t eeval; in ar5210Attach() local 265 ecode = ath_hal_eepromGet(ah, AR_EEP_REGDMN_0, &eeval); in ar5210Attach() 272 AH_PRIVATE(ah)->ah_currentRD = eeval; in ar5210Attach()
|
/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9300_attach.c | 2699 u_int16_t cap_field = 0, eeval; in ar9300_fill_capability_info() local 2702 eeval = ar9300_eeprom_get(ahp, EEP_REG_0); in ar9300_fill_capability_info() 2705 AH_PRIVATE(ah)->ah_currentRD = eeval; in ar9300_fill_capability_info() 2711 eeval = ar9300_eeprom_get(ahp, EEP_REG_1); in ar9300_fill_capability_info() 2712 AH_PRIVATE(ah)->ah_currentRDext = eeval | AR9300_RDEXT_DEFAULT; in ar9300_fill_capability_info() 2719 eeval = ar9300_eeprom_get(ahp, EEP_OP_MODE); in ar9300_fill_capability_info() 2727 if (eeval & AR9300_OPFLAGS_11A) { in ar9300_fill_capability_info() 2730 (eeval & AR9300_OPFLAGS_N_5G_HT20)) ? 0 : in ar9300_fill_capability_info() 2731 (HAL_MODE_11NA_HT20 | ((eeval & AR9300_OPFLAGS_N_5G_HT40) ? 0 : in ar9300_fill_capability_info() 2734 if (eeval & AR9300_OPFLAGS_11G) { in ar9300_fill_capability_info() [all …]
|
/freebsd/sys/dev/ath/ath_hal/ar5211/ |
H A D | ar5211_attach.c | 215 uint16_t eeval; in ar5211Attach() local 340 ecode = ath_hal_eepromGet(ah, AR_EEP_REGDMN_0, &eeval); in ar5211Attach() 347 AH_PRIVATE(ah)->ah_currentRD = eeval; in ar5211Attach()
|
/freebsd/tools/tools/ath/athprom/ |
H A D | athprom.c | 195 HAL_DIAG_EEVAL eeval; in eewrite() local 197 eeval.ee_off = off; in eewrite() 198 eeval.ee_data = value; in eewrite() 201 atd.ad_in_size = sizeof(eeval); in eewrite() 202 atd.ad_in_data = (caddr_t) &eeval; in eewrite()
|
/freebsd/sys/dev/ath/ath_hal/ar5212/ |
H A D | ar5212_attach.c | 330 uint16_t eeval; in ar5212Attach() local 526 ecode = ath_hal_eepromGet(ah, AR_EEP_REGDMN_0, &eeval); in ar5212Attach() 533 AH_PRIVATE(ah)->ah_currentRD = eeval; in ar5212Attach()
|