srev 18 arch/arm/mach-imx/cpu-imx31.c u8 srev; srev 22 arch/arm/mach-imx/cpu-imx31.c { .srev = 0x00, .name = "i.MX31(L)", .rev = IMX_CHIP_REVISION_1_0 }, srev 23 arch/arm/mach-imx/cpu-imx31.c { .srev = 0x10, .name = "i.MX31", .rev = IMX_CHIP_REVISION_1_1 }, srev 24 arch/arm/mach-imx/cpu-imx31.c { .srev = 0x11, .name = "i.MX31L", .rev = IMX_CHIP_REVISION_1_1 }, srev 25 arch/arm/mach-imx/cpu-imx31.c { .srev = 0x12, .name = "i.MX31", .rev = IMX_CHIP_REVISION_1_1 }, srev 26 arch/arm/mach-imx/cpu-imx31.c { .srev = 0x13, .name = "i.MX31L", .rev = IMX_CHIP_REVISION_1_1 }, srev 27 arch/arm/mach-imx/cpu-imx31.c { .srev = 0x14, .name = "i.MX31", .rev = IMX_CHIP_REVISION_1_2 }, srev 28 arch/arm/mach-imx/cpu-imx31.c { .srev = 0x15, .name = "i.MX31L", .rev = IMX_CHIP_REVISION_1_2 }, srev 29 arch/arm/mach-imx/cpu-imx31.c { .srev = 0x28, .name = "i.MX31", .rev = IMX_CHIP_REVISION_2_0 }, srev 30 arch/arm/mach-imx/cpu-imx31.c { .srev = 0x29, .name = "i.MX31L", .rev = IMX_CHIP_REVISION_2_0 }, srev 35 arch/arm/mach-imx/cpu-imx31.c u32 i, srev; srev 38 arch/arm/mach-imx/cpu-imx31.c srev = imx_readl(MX31_IO_ADDRESS(MX31_IIM_BASE_ADDR + MXC_IIMSREV)); srev 39 arch/arm/mach-imx/cpu-imx31.c srev &= 0xff; srev 42 arch/arm/mach-imx/cpu-imx31.c if (srev == mx31_cpu_type[i].srev) { srev 27 arch/arm/mach-imx/cpu-imx5.c u32 srev; srev 33 arch/arm/mach-imx/cpu-imx5.c srev = readl(iim_base + IIM_SREV) & 0xff; srev 37 arch/arm/mach-imx/cpu-imx5.c return srev; srev 31 arch/arm/mach-imx/cpu.c void imx_print_silicon_rev(const char *cpu, int srev) srev 33 arch/arm/mach-imx/cpu.c if (srev == IMX_CHIP_REVISION_UNKNOWN) srev 37 arch/arm/mach-imx/cpu.c cpu, (srev >> 4) & 0xf, srev & 0xf); srev 58 arch/mips/lantiq/falcon/prom.c i->srev = ((ltq_r32(FALCON_CHIPCONF) & SREV_MASK) >> SREV_SHIFT); srev 61 arch/mips/lantiq/falcon/prom.c sprintf(i->rev_type, "%c%d%d", (i->srev & 0x4) ? ('B') : ('A'), srev 62 arch/mips/lantiq/falcon/prom.c i->rev & 0x7, (i->srev & 0x3) + 1); srev 17 arch/mips/lantiq/prom.h unsigned int srev; srev 111 drivers/net/wireless/ath/ath5k/attach.c u32 srev; srev 130 drivers/net/wireless/ath/ath5k/attach.c srev = ah->ah_mac_srev; srev 131 drivers/net/wireless/ath/ath5k/attach.c if (srev < AR5K_SREV_AR5311) srev 133 drivers/net/wireless/ath/ath5k/attach.c else if (srev < AR5K_SREV_AR5212) srev 139 drivers/net/wireless/ath/ath5k/attach.c ah->ah_mac_version = AR5K_REG_MS(srev, AR5K_SREV_VER); srev 214 drivers/net/wireless/ath/ath5k/attach.c } else if (srev == AR5K_SREV_AR5213A && srev 243 drivers/net/wireless/ath/ath5k/attach.c if ((srev >= AR5K_SREV_AR5416) && (srev < AR5K_SREV_AR2425)) { srev 257 drivers/net/wireless/ath/ath5k/attach.c if (srev >= AR5K_SREV_AR5213A) srev 315 drivers/net/wireless/ath/ath5k/attach.c if (srev >= AR5K_SREV_AR5212_V4 && srev 320 drivers/net/wireless/ath/ath5k/attach.c if (srev >= AR5K_SREV_AR2414) { srev 87 drivers/net/wireless/ath/ath5k/phy.c u32 srev; srev 113 drivers/net/wireless/ath/ath5k/phy.c srev = (ath5k_hw_reg_read(ah, AR5K_PHY(256)) >> 28) & 0xf; srev 114 drivers/net/wireless/ath/ath5k/phy.c ret = (u16)ath5k_hw_bitswap(srev, 4) + 1; srev 116 drivers/net/wireless/ath/ath5k/phy.c srev = (ath5k_hw_reg_read(ah, AR5K_PHY(0x100)) >> 24) & 0xff; srev 117 drivers/net/wireless/ath/ath5k/phy.c ret = (u16)ath5k_hw_bitswap(((srev & 0xf0) >> 4) | srev 118 drivers/net/wireless/ath/ath5k/phy.c ((srev & 0x0f) << 4), 8); srev 257 drivers/net/wireless/ath/ath9k/hw.c u32 srev; srev 288 drivers/net/wireless/ath/ath9k/hw.c srev = REG_READ(ah, AR_SREV); srev 290 drivers/net/wireless/ath/ath9k/hw.c if (srev == -EIO) { srev 296 drivers/net/wireless/ath/ath9k/hw.c val = srev & AR_SREV_ID; srev 299 drivers/net/wireless/ath/ath9k/hw.c val = srev; srev 32 include/soc/imx/revision.h void imx_print_silicon_rev(const char *cpu, int srev);