Searched refs:srev (Results 1 - 2 of 2) sorted by relevance

/external/syslinux/gpxe/src/drivers/net/ath5k/
H A Dath5k_attach.c118 u32 srev; local
159 srev = ath5k_hw_reg_read(ah, AR5K_SREV);
160 ah->ah_mac_srev = srev;
161 ah->ah_mac_version = AR5K_REG_MS(srev, AR5K_SREV_VER);
162 ah->ah_mac_revision = AR5K_REG_MS(srev, AR5K_SREV_REV);
167 /* Try to identify radio chip based on it's srev */
208 /* Identify radio based on mac/phy srev */
223 } else if (srev == AR5K_SREV_AR5213A &&
250 if ((srev >= AR5K_SREV_AR5416) &&
251 (srev < AR5K_SREV_AR242
[all...]
H A Dath5k_phy.c1380 u32 srev; local
1406 srev = ath5k_hw_reg_read(ah, AR5K_PHY(256) >> 28) & 0xf;
1407 ret = (u16)ath5k_hw_bitswap(srev, 4) + 1;
1409 srev = (ath5k_hw_reg_read(ah, AR5K_PHY(0x100)) >> 24) & 0xff;
1410 ret = (u16)ath5k_hw_bitswap(((srev & 0xf0) >> 4) |
1411 ((srev & 0x0f) << 4), 8);

Completed in 87 milliseconds