Home
last modified time | relevance | path

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

/linux/arch/arm/mach-mvebu/
H A 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/drivers/soc/imx/
H A Dsoc-imx8m.c207 #define imx8_revision(dev, soc_rev) \ argument
208 (soc_rev) ? \
209 devm_kasprintf((dev), GFP_KERNEL, "%d.%d", ((soc_rev) >> 4) & 0xf, (soc_rev) & 0xf) : \
230 u32 soc_rev = 0; in imx8m_soc_probe() local
258 ret = data->soc_revision(pdev, &soc_rev); in imx8m_soc_probe()
274 soc_dev_attr->revision = imx8_revision(dev, soc_rev); in imx8m_soc_probe()
/linux/drivers/clk/aspeed/
H A Dclk-ast2600.c73 static u8 soc_rev; variable
235 if (soc_rev >= 2) { in ast2600_calc_apll()
783 if (soc_rev >= 1) { in aspeed_g6_cc()
839 soc_rev = (readl(scu_g6_base + ASPEED_G6_SILICON_REV) & CHIP_REVISION_ID) >> 16; in aspeed_g6_cc_init()