Home
last modified time | relevance | path

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

1234

/openbmc/linux/drivers/soc/imx/
H A 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 …]
/openbmc/u-boot/arch/arm/mach-uniphier/
H A Dboard_init.c30 unsigned int soc_id; member
40 .soc_id = UNIPHIER_LD4_ID,
48 .soc_id = UNIPHIER_PRO4_ID,
56 .soc_id = UNIPHIER_SLD8_ID,
64 .soc_id = UNIPHIER_PRO5_ID,
71 .soc_id = UNIPHIER_PXS2_ID,
78 .soc_id = UNIPHIER_LD6B_ID,
85 .soc_id = UNIPHIER_LD11_ID,
93 .soc_id = UNIPHIER_LD20_ID,
102 .soc_id = UNIPHIER_PXS3_ID,
H A Ddram_init.c21 unsigned int soc_id; member
28 .soc_id = UNIPHIER_LD4_ID,
32 .soc_id = UNIPHIER_PRO4_ID,
36 .soc_id = UNIPHIER_SLD8_ID,
40 .soc_id = UNIPHIER_PRO5_ID,
44 .soc_id = UNIPHIER_PXS2_ID,
49 .soc_id = UNIPHIER_LD6B_ID,
54 .soc_id = UNIPHIER_LD11_ID,
58 .soc_id = UNIPHIER_LD20_ID,
63 .soc_id = UNIPHIER_PXS3_ID,
H A Dspl_board_init.c16 unsigned int soc_id; member
28 .soc_id = UNIPHIER_LD4_ID,
39 .soc_id = UNIPHIER_PRO4_ID,
49 .soc_id = UNIPHIER_SLD8_ID,
60 .soc_id = UNIPHIER_PRO5_ID,
70 .soc_id = UNIPHIER_PXS2_ID,
80 .soc_id = UNIPHIER_LD6B_ID,
H A Dsoc-info.h30 unsigned int soc_id; \
33 soc_id = uniphier_get_soc_id(); \
35 if (__table[i].soc_id == soc_id) \
/openbmc/linux/drivers/soc/amlogic/
H A 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()
H A Dmeson-gx-socinfo.c182 soc_dev_attr->soc_id = kasprintf(GFP_KERNEL, "%s (%s)", in meson_gx_socinfo_init()
189 kfree_const(soc_dev_attr->soc_id); in meson_gx_socinfo_init()
196 soc_dev_attr->soc_id, in meson_gx_socinfo_init()
/openbmc/u-boot/arch/arm/mach-uniphier/boot-device/
H A Dboot-device.c19 unsigned int soc_id; member
31 .soc_id = UNIPHIER_LD4_ID,
40 .soc_id = UNIPHIER_PRO4_ID,
49 .soc_id = UNIPHIER_SLD8_ID,
58 .soc_id = UNIPHIER_PRO5_ID,
67 .soc_id = UNIPHIER_PXS2_ID,
78 .soc_id = UNIPHIER_LD6B_ID,
89 .soc_id = UNIPHIER_LD11_ID,
100 .soc_id = UNIPHIER_LD20_ID,
111 .soc_id = UNIPHIER_PXS3_ID,
/openbmc/linux/drivers/base/
H A Dsoc.c39 static DEVICE_ATTR(soc_id, 0444, soc_info_show, NULL);
62 if ((attr == &dev_attr_soc_id.attr) && soc_dev->attr->soc_id) in soc_attribute_mode()
84 output = soc_dev->attr->soc_id; in soc_info_show()
226 if (match->soc_id && in soc_device_match_attr()
227 (!attr->soc_id || !glob_match(match->soc_id, attr->soc_id))) in soc_device_match_attr()
267 matches->soc_id) { in soc_device_match()
/openbmc/linux/drivers/soc/aspeed/
H A Daspeed-socinfo.c132 attrs->soc_id = kasprintf(GFP_KERNEL, "%08x", siliconid); in aspeed_socinfo_init()
141 kfree(attrs->soc_id); in aspeed_socinfo_init()
150 attrs->soc_id); in aspeed_socinfo_init()
/openbmc/linux/drivers/phy/amlogic/
H A Dphy-meson-g12a-usb2.c159 int soc_id; member
220 if (priv->soc_id == MESON_SOC_A1) in phy_meson_g12a_usb2_init()
247 if (priv->soc_id == MESON_SOC_G12A) in phy_meson_g12a_usb2_init()
255 else if (priv->soc_id == MESON_SOC_A1) { in phy_meson_g12a_usb2_init()
272 if (priv->soc_id == MESON_SOC_G12A) { in phy_meson_g12a_usb2_init()
322 priv->soc_id = (uintptr_t)of_device_get_match_data(&pdev->dev); in phy_meson_g12a_usb2_probe()
/openbmc/linux/drivers/soc/fsl/
H A 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()
/openbmc/u-boot/arch/arm/cpu/arm926ejs/spear/
H A Dspl.c186 u32 soc_id = readl(&misc_p->soc_core_id); in get_socrev() local
187 u32 pri_socid = (soc_id >> SOC_PRI_SHFT) & 0xFF; in get_socrev()
188 u32 sec_socid = (soc_id >> SOC_SEC_SHFT) & 0xFF; in get_socrev()
196 else if (soc_id == 0) in get_socrev()
/openbmc/u-boot/arch/arm/mach-uniphier/dram/
H A Dcmd_ddrphy.c31 unsigned int soc_id; member
41 .soc_id = UNIPHIER_LD4_ID,
49 .soc_id = UNIPHIER_PRO4_ID,
59 .soc_id = UNIPHIER_SLD8_ID,
67 .soc_id = UNIPHIER_LD11_ID,
/openbmc/linux/drivers/soc/loongson/
H A Dloongson2_guts.c130 soc_dev_attr.soc_id = devm_kasprintf(dev, GFP_KERNEL, in loongson2_guts_probe()
132 if (!soc_dev_attr.soc_id) in loongson2_guts_probe()
146 soc_dev_attr.soc_id, soc_dev_attr.revision); in loongson2_guts_probe()
/openbmc/linux/drivers/soc/samsung/
H A Dexynos-chipid.c133 soc_dev_attr->soc_id = product_id_to_soc_id(soc_info.product_id); in exynos_chipid_probe()
134 if (!soc_dev_attr->soc_id) { in exynos_chipid_probe()
151 soc_dev_attr->soc_id, soc_info.product_id, soc_info.revision); in exynos_chipid_probe()
/openbmc/linux/drivers/bluetooth/
H A Dbtqca.h48 #define get_soc_ver(soc_id, rom_ver) \ argument
49 ((le32_to_cpu(soc_id) << 16) | (le16_to_cpu(rom_ver)))
110 __le32 soc_id; member
/openbmc/linux/drivers/soc/renesas/
H A Drenesas-soc.c449 const char *soc_id; in renesas_soc_init() local
456 soc_id = strchr(match->compatible, ',') + 1; in renesas_soc_init()
483 soc_dev_attr->soc_id = kstrdup_const(soc_id, GFP_KERNEL); in renesas_soc_init()
522 soc_dev_attr->soc_id, rev_prefix, soc_dev_attr->revision ?: ""); in renesas_soc_init()
534 kfree_const(soc_dev_attr->soc_id); in renesas_soc_init()
/openbmc/linux/drivers/firmware/smccc/
H A Dsoc_id.c72 soc_dev_attr->soc_id = soc_id_str; in smccc_soc_init()
82 pr_info("ID = %s Revision = %s\n", soc_dev_attr->soc_id, in smccc_soc_init()
/openbmc/linux/drivers/mmc/host/
H A Drenesas_sdhi_internal_dmac.c224 { .soc_id = "r8a774a1", .revision = "ES1.[012]", .data = &sdhi_quirks_4tap_nohs400 },
225 { .soc_id = "r8a7795", .revision = "ES2.0", .data = &sdhi_quirks_4tap },
226 { .soc_id = "r8a7796", .revision = "ES1.0", .data = &sdhi_quirks_4tap_nohs400_one_rx },
227 { .soc_id = "r8a7796", .revision = "ES1.[12]", .data = &sdhi_quirks_4tap_nohs400 },
228 { .soc_id = "r8a7796", .revision = "ES1.*", .data = &sdhi_quirks_r8a7796_es13 },
229 { .soc_id = "r8a77980", .revision = "ES1.*", .data = &sdhi_quirks_nohs400 },
/openbmc/linux/drivers/soc/bcm/brcmstb/
H A 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()
/openbmc/linux/drivers/watchdog/
H A 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()
/openbmc/linux/drivers/soc/qcom/
H A Dsocinfo.c164 struct soc_id { struct
169 static const struct soc_id soc_id[] = { variable
425 for (idx = 0; idx < ARRAY_SIZE(soc_id); idx++) { in socinfo_machine()
426 if (soc_id[idx].id == id) in socinfo_machine()
427 return soc_id[idx].name; in socinfo_machine()
755 qs->attr.soc_id = devm_kasprintf(&pdev->dev, GFP_KERNEL, "%u", in qcom_socinfo_probe()
760 if (!qs->attr.soc_id || !qs->attr.revision) in qcom_socinfo_probe()
/openbmc/linux/arch/arm/mach-mvebu/
H A 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()
/openbmc/linux/arch/arm/mach-zynq/
H A 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()

1234