Searched refs:srev (Results 1 – 2 of 2) sorted by relevance
118 u32 srev; in ath5k_hw_attach() local159 srev = ath5k_hw_reg_read(ah, AR5K_SREV); in ath5k_hw_attach()160 ah->ah_mac_srev = srev; in ath5k_hw_attach()161 ah->ah_mac_version = AR5K_REG_MS(srev, AR5K_SREV_VER); in ath5k_hw_attach()162 ah->ah_mac_revision = AR5K_REG_MS(srev, AR5K_SREV_REV); in ath5k_hw_attach()223 } else if (srev == AR5K_SREV_AR5213A && in ath5k_hw_attach()250 if ((srev >= AR5K_SREV_AR5416) && in ath5k_hw_attach()251 (srev < AR5K_SREV_AR2425)) { in ath5k_hw_attach()288 if (srev >= AR5K_SREV_AR5213A) in ath5k_hw_attach()309 if (srev >= AR5K_SREV_AR2414) { in ath5k_hw_attach()
1380 u32 srev; in ath5k_hw_radio_revision() local1406 srev = ath5k_hw_reg_read(ah, AR5K_PHY(256) >> 28) & 0xf; in ath5k_hw_radio_revision()1407 ret = (u16)ath5k_hw_bitswap(srev, 4) + 1; in ath5k_hw_radio_revision()1409 srev = (ath5k_hw_reg_read(ah, AR5K_PHY(0x100)) >> 24) & 0xff; in ath5k_hw_radio_revision()1410 ret = (u16)ath5k_hw_bitswap(((srev & 0xf0) >> 4) | in ath5k_hw_radio_revision()1411 ((srev & 0x0f) << 4), 8); in ath5k_hw_radio_revision()