Home
last modified time | relevance | path

Searched refs:soc_rev (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/arch/arm/mach-mvebu/
Dmvebu-soc-id.c35 static u32 soc_rev; variable
49 *rev = soc_rev; in mvebu_get_soc_id()
102 soc_rev = readl(pci_base + PCIE_DEV_REV_OFF) & SOC_REV_MASK; in get_soc_id_by_pci()
106 pr_info("MVEBU SoC ID=0x%X, Rev=0x%X\n", soc_dev_id, soc_rev); in get_soc_id_by_pci()
138 if (!mvebu_system_controller_get_soc_id(&soc_dev_id, &soc_rev)) { in mvebu_soc_id_init()
140 pr_info("MVEBU SoC ID=0x%X, Rev=0x%X\n", soc_dev_id, soc_rev); in mvebu_soc_id_init()
162 soc_dev_attr->revision = kasprintf(GFP_KERNEL, "%X", soc_rev); in mvebu_soc_device()
/linux-6.1.9/drivers/soc/imx/
Dsoc-imx8m.c172 #define imx8_revision(soc_rev) \ argument
173 soc_rev ? \
174 kasprintf(GFP_KERNEL, "%d.%d", (soc_rev >> 4) & 0xf, soc_rev & 0xf) : \
182 u32 soc_rev = 0; in imx8_soc_init() local
206 soc_rev = data->soc_revision(); in imx8_soc_init()
209 soc_dev_attr->revision = imx8_revision(soc_rev); in imx8_soc_init()
/linux-6.1.9/arch/arm/mach-omap2/
Did.c41 static char soc_rev[OMAP_SOC_MAX_NAME_LENGTH]; variable
195 sprintf(soc_rev, "ES%x", (omap_rev() >> 12) & 0xf); in omap2xxx_check_revision()
199 pr_cont("%s", soc_rev); in omap2xxx_check_revision()
256 n += scnprintf(buf, sizeof(buf) - n, "%s %s (", soc_name, soc_rev); in omap3_cpuinfo()
521 sprintf(soc_rev, "ES%s", cpu_rev); in omap3xxx_check_revision()
597 sprintf(soc_rev, "ES%d.%d", (omap_rev() >> 12) & 0xf, in omap4xxx_check_revision()
599 pr_info("%s %s\n", soc_name, soc_rev); in omap4xxx_check_revision()
640 sprintf(soc_rev, "ES%d.0", (omap_rev() >> 12) & 0xf); in omap5xxx_check_revision()
642 pr_info("%s %s\n", soc_name, soc_rev); in omap5xxx_check_revision()
715 sprintf(soc_rev, "ES%d.%d", (omap_rev() >> 12) & 0xf, in dra7xxx_check_revision()
[all …]
/linux-6.1.9/drivers/clk/
Dclk-ast2600.c55 static u8 soc_rev; variable
197 if (soc_rev >= 2) { in ast2600_calc_apll()
742 if (soc_rev >= 1) { in aspeed_g6_cc()
787 soc_rev = (readl(scu_g6_base + ASPEED_G6_SILICON_REV) & CHIP_REVISION_ID) >> 16; in aspeed_g6_cc_init()