Searched refs:soc_rev (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/arch/arm/mach-mvebu/ |
D | mvebu-soc-id.c | 35 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/ |
D | soc-imx8m.c | 172 #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/ |
D | id.c | 41 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/ |
D | clk-ast2600.c | 55 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()
|