Searched refs:srev (Results 1 – 9 of 9) sorted by relevance
/linux-6.6.21/arch/arm/mach-imx/ |
D | cpu-imx31.c | 19 u8 srev; member 23 { .srev = 0x00, .name = "i.MX31(L)", .rev = IMX_CHIP_REVISION_1_0 }, 24 { .srev = 0x10, .name = "i.MX31", .rev = IMX_CHIP_REVISION_1_1 }, 25 { .srev = 0x11, .name = "i.MX31L", .rev = IMX_CHIP_REVISION_1_1 }, 26 { .srev = 0x12, .name = "i.MX31", .rev = IMX_CHIP_REVISION_1_1 }, 27 { .srev = 0x13, .name = "i.MX31L", .rev = IMX_CHIP_REVISION_1_1 }, 28 { .srev = 0x14, .name = "i.MX31", .rev = IMX_CHIP_REVISION_1_2 }, 29 { .srev = 0x15, .name = "i.MX31L", .rev = IMX_CHIP_REVISION_1_2 }, 30 { .srev = 0x28, .name = "i.MX31", .rev = IMX_CHIP_REVISION_2_0 }, 31 { .srev = 0x29, .name = "i.MX31L", .rev = IMX_CHIP_REVISION_2_0 }, [all …]
|
D | cpu.c | 29 void imx_print_silicon_rev(const char *cpu, int srev) in imx_print_silicon_rev() argument 31 if (srev == IMX_CHIP_REVISION_UNKNOWN) in imx_print_silicon_rev() 35 cpu, (srev >> 4) & 0xf, srev & 0xf); in imx_print_silicon_rev()
|
D | cpu-imx5.c | 27 u32 srev; in imx5_read_srev_reg() local 34 srev = readl(iim_base + IIM_SREV) & 0xff; in imx5_read_srev_reg() 38 return srev; in imx5_read_srev_reg()
|
/linux-6.6.21/drivers/net/wireless/ath/ath5k/ |
D | attach.c | 111 u32 srev; in ath5k_hw_init() local 130 srev = ah->ah_mac_srev; in ath5k_hw_init() 131 if (srev < AR5K_SREV_AR5311) in ath5k_hw_init() 133 else if (srev < AR5K_SREV_AR5212) in ath5k_hw_init() 139 ah->ah_mac_version = AR5K_REG_MS(srev, AR5K_SREV_VER); in ath5k_hw_init() 214 } else if (srev == AR5K_SREV_AR5213A && in ath5k_hw_init() 243 if ((srev >= AR5K_SREV_AR5416) && (srev < AR5K_SREV_AR2425)) { in ath5k_hw_init() 257 if (srev >= AR5K_SREV_AR5213A) in ath5k_hw_init() 315 if (srev >= AR5K_SREV_AR5212_V4 && in ath5k_hw_init() 320 if (srev >= AR5K_SREV_AR2414) { in ath5k_hw_init()
|
D | phy.c | 88 u32 srev; in ath5k_hw_radio_revision() local 114 srev = (ath5k_hw_reg_read(ah, AR5K_PHY(256)) >> 28) & 0xf; in ath5k_hw_radio_revision() 115 ret = (u16)ath5k_hw_bitswap(srev, 4) + 1; in ath5k_hw_radio_revision() 117 srev = (ath5k_hw_reg_read(ah, AR5K_PHY(0x100)) >> 24) & 0xff; in ath5k_hw_radio_revision() 118 ret = (u16)ath5k_hw_bitswap(((srev & 0xf0) >> 4) | in ath5k_hw_radio_revision() 119 ((srev & 0x0f) << 4), 8); in ath5k_hw_radio_revision()
|
/linux-6.6.21/arch/mips/lantiq/falcon/ |
D | prom.c | 58 i->srev = ((ltq_r32(FALCON_CHIPCONF) & SREV_MASK) >> SREV_SHIFT); in ltq_soc_detect() 61 sprintf(i->rev_type, "%c%d%d", (i->srev & 0x4) ? ('B') : ('A'), in ltq_soc_detect() 62 i->rev & 0x7, (i->srev & 0x3) + 1); in ltq_soc_detect()
|
/linux-6.6.21/arch/mips/lantiq/ |
D | prom.h | 17 unsigned int srev; member
|
/linux-6.6.21/include/soc/imx/ |
D | revision.h | 33 void imx_print_silicon_rev(const char *cpu, int srev);
|
/linux-6.6.21/drivers/net/wireless/ath/ath9k/ |
D | hw.c | 256 u32 srev; in ath9k_hw_read_revisions() local 287 srev = REG_READ(ah, AR_SREV(ah)); in ath9k_hw_read_revisions() 289 if (srev == -1) { in ath9k_hw_read_revisions() 295 val = srev & AR_SREV_ID(ah); in ath9k_hw_read_revisions() 298 val = srev; in ath9k_hw_read_revisions()
|