Home
last modified time | relevance | path

Searched refs:soc_id (Results 1 – 25 of 65) sorted by relevance

123

/linux-6.1.9/drivers/soc/imx/
Dsoc-imx.c33 const char *soc_id; in imx_soc_device_init() local
57 soc_id = "i.MX1"; in imx_soc_device_init()
60 soc_id = "i.MX21"; in imx_soc_device_init()
63 soc_id = "i.MX25"; in imx_soc_device_init()
66 soc_id = "i.MX27"; in imx_soc_device_init()
69 soc_id = "i.MX31"; in imx_soc_device_init()
72 soc_id = "i.MX35"; in imx_soc_device_init()
75 soc_id = "i.MX50"; in imx_soc_device_init()
79 soc_id = "i.MX51"; in imx_soc_device_init()
83 soc_id = "i.MX53"; in imx_soc_device_init()
[all …]
Dsoc-imx8m.c204 soc_dev_attr->soc_id = data->name; in imx8_soc_init()
227 pr_info("SoC: %s revision %s\n", soc_dev_attr->soc_id, in imx8_soc_init()
/linux-6.1.9/drivers/soc/amlogic/
Dmeson-mx-socinfo.c74 const char *soc_id; in meson_mx_socinfo_soc_id() local
78 soc_id = "Meson6 (AML8726-MX)"; in meson_mx_socinfo_soc_id()
83 soc_id = "Meson8m2 (S812)"; in meson_mx_socinfo_soc_id()
85 soc_id = "Meson8 (S802)"; in meson_mx_socinfo_soc_id()
90 soc_id = "Meson8b (S805)"; in meson_mx_socinfo_soc_id()
94 soc_id = "Unknown"; in meson_mx_socinfo_soc_id()
98 return kstrdup_const(soc_id, GFP_KERNEL); in meson_mx_socinfo_soc_id()
161 soc_dev_attr->soc_id = meson_mx_socinfo_soc_id(major_ver, metal_rev); in meson_mx_socinfo_init()
166 kfree_const(soc_dev_attr->soc_id); in meson_mx_socinfo_init()
172 soc_dev_attr->soc_id, soc_dev_attr->revision); in meson_mx_socinfo_init()
Dmeson-gx-socinfo.c187 soc_dev_attr->soc_id = kasprintf(GFP_KERNEL, "%s (%s)", in meson_gx_socinfo_init()
194 kfree_const(soc_dev_attr->soc_id); in meson_gx_socinfo_init()
201 soc_dev_attr->soc_id, in meson_gx_socinfo_init()
/linux-6.1.9/drivers/base/
Dsoc.c37 static DEVICE_ATTR(soc_id, 0444, soc_info_show, NULL);
60 if ((attr == &dev_attr_soc_id.attr) && soc_dev->attr->soc_id) in soc_attribute_mode()
82 output = soc_dev->attr->soc_id; in soc_info_show()
209 if (match->soc_id && in soc_device_match_attr()
210 (!attr->soc_id || !glob_match(match->soc_id, attr->soc_id))) in soc_device_match_attr()
250 matches->soc_id) { in soc_device_match()
/linux-6.1.9/drivers/soc/aspeed/
Daspeed-socinfo.c132 attrs->soc_id = kasprintf(GFP_KERNEL, "%08x", siliconid); in aspeed_socinfo_init()
140 kfree(attrs->soc_id); in aspeed_socinfo_init()
149 attrs->soc_id); in aspeed_socinfo_init()
/linux-6.1.9/drivers/soc/fsl/
Dguts.c238 soc_dev_attr->soc_id = kasprintf(GFP_KERNEL, "svr:0x%08x", svr); in fsl_guts_init()
239 if (!soc_dev_attr->soc_id) in fsl_guts_init()
263 soc_dev_attr->soc_id, soc_dev_attr->revision); in fsl_guts_init()
272 kfree(soc_dev_attr->soc_id); in fsl_guts_init()
/linux-6.1.9/drivers/phy/amlogic/
Dphy-meson-g12a-usb2.c159 int soc_id; member
214 if (priv->soc_id == MESON_SOC_A1) in phy_meson_g12a_usb2_init()
241 if (priv->soc_id == MESON_SOC_G12A) in phy_meson_g12a_usb2_init()
249 else if (priv->soc_id == MESON_SOC_A1) { in phy_meson_g12a_usb2_init()
266 if (priv->soc_id == MESON_SOC_G12A) { in phy_meson_g12a_usb2_init()
311 priv->soc_id = (enum meson_soc_id)of_device_get_match_data(&pdev->dev); in phy_meson_g12a_usb2_probe()
/linux-6.1.9/drivers/mmc/host/
Drenesas_sdhi_internal_dmac.c220 { .soc_id = "r8a774a1", .revision = "ES1.[012]", .data = &sdhi_quirks_4tap_nohs400 },
221 { .soc_id = "r8a7795", .revision = "ES1.*", .data = &sdhi_quirks_4tap_nohs400_one_rx },
222 { .soc_id = "r8a7795", .revision = "ES2.0", .data = &sdhi_quirks_4tap },
223 { .soc_id = "r8a7796", .revision = "ES1.0", .data = &sdhi_quirks_4tap_nohs400_one_rx },
224 { .soc_id = "r8a7796", .revision = "ES1.[12]", .data = &sdhi_quirks_4tap_nohs400 },
225 { .soc_id = "r8a7796", .revision = "ES1.*", .data = &sdhi_quirks_r8a7796_es13 },
226 { .soc_id = "r8a77980", .revision = "ES1.*", .data = &sdhi_quirks_nohs400 },
/linux-6.1.9/drivers/soc/qcom/
Dsocinfo.c204 struct soc_id { struct
209 static const struct soc_id soc_id[] = { argument
345 for (idx = 0; idx < ARRAY_SIZE(soc_id); idx++) { in socinfo_machine()
346 if (soc_id[idx].id == id) in socinfo_machine()
347 return soc_id[idx].name; in socinfo_machine()
647 qs->attr.soc_id = devm_kasprintf(&pdev->dev, GFP_KERNEL, "%u", in qcom_socinfo_probe()
/linux-6.1.9/drivers/soc/samsung/
Dexynos-chipid.c134 soc_dev_attr->soc_id = product_id_to_soc_id(soc_info.product_id); in exynos_chipid_probe()
135 if (!soc_dev_attr->soc_id) { in exynos_chipid_probe()
152 soc_dev_attr->soc_id, soc_info.product_id, soc_info.revision); in exynos_chipid_probe()
/linux-6.1.9/drivers/soc/renesas/
Drenesas-soc.c434 const char *soc_id; in renesas_soc_init() local
441 soc_id = strchr(match->compatible, ',') + 1; in renesas_soc_init()
465 soc_dev_attr->soc_id = kstrdup_const(soc_id, GFP_KERNEL); in renesas_soc_init()
499 soc_dev_attr->soc_id, rev_prefix, soc_dev_attr->revision ?: ""); in renesas_soc_init()
511 kfree_const(soc_dev_attr->soc_id); in renesas_soc_init()
Dr8a7795-sysc.c62 .soc_id = "r8a7795", .revision = "ES1.*",
65 .soc_id = "r8a7795", .revision = "ES2.*",
Dr8a774c0-sysc.c33 { .soc_id = "r8a774c0", .revision = "ES1.0" },
/linux-6.1.9/drivers/bluetooth/
Dbtqca.h46 #define get_soc_ver(soc_id, rom_ver) \ argument
47 ((le32_to_cpu(soc_id) << 16) | (le16_to_cpu(rom_ver)))
107 __le32 soc_id; member
/linux-6.1.9/drivers/soc/bcm/brcmstb/
Dcommon.c94 soc_dev_attr->soc_id = kasprintf(GFP_KERNEL, "%x", in brcmstb_soc_device_init()
104 kfree(soc_dev_attr->soc_id); in brcmstb_soc_device_init()
/linux-6.1.9/drivers/firmware/smccc/
Dsoc_id.c91 soc_dev_attr->soc_id = soc_id_str; in smccc_soc_init()
101 pr_info("ID = %s Revision = %s\n", soc_dev_attr->soc_id, in smccc_soc_init()
DMakefile4 obj-$(CONFIG_ARM_SMCCC_SOC_ID) += soc_id.o
/linux-6.1.9/drivers/watchdog/
Drenesas_wdt.c181 .soc_id = "r8a7790",
185 .soc_id = "r8a7791",
189 .soc_id = "r8a7792",
201 dev_info(dev, "Watchdog blacklisted on %s %s\n", attr->soc_id, in rwdt_blacklisted()
/linux-6.1.9/arch/arm/mach-mvebu/
Dmvebu-soc-id.c163 soc_dev_attr->soc_id = kasprintf(GFP_KERNEL, "%X", soc_dev_id); in mvebu_soc_device()
169 kfree(soc_dev_attr->soc_id); in mvebu_soc_device()
/linux-6.1.9/arch/arm/mach-zynq/
Dcommon.c119 soc_dev_attr->soc_id = kasprintf(GFP_KERNEL, "0x%x", in zynq_init_machine()
126 kfree(soc_dev_attr->soc_id); in zynq_init_machine()
/linux-6.1.9/drivers/firmware/imx/
Dimx-scu-soc.c116 soc_dev_attr->soc_id = devm_kasprintf(dev, GFP_KERNEL, "0x%x", val); in imx_scu_soc_init()
117 if (!soc_dev_attr->soc_id) in imx_scu_soc_init()
/linux-6.1.9/drivers/gpu/drm/rockchip/
Drockchip_vop2_reg.c235 .soc_id = 3566,
245 .soc_id = 3568,
/linux-6.1.9/drivers/crypto/caam/
Dctrl.c542 { .soc_id = "i.MX6UL", .data = &caam_imx6ul_data },
543 { .soc_id = "i.MX6*", .data = &caam_imx6_data },
544 { .soc_id = "i.MX7*", .data = &caam_imx7_data },
545 { .soc_id = "i.MX8M*", .data = &caam_imx7_data },
546 { .soc_id = "VF*", .data = &caam_vf610_data },
/linux-6.1.9/include/linux/
Dsys_soc.h16 const char *soc_id; member

123