/linux-6.1.9/drivers/soc/imx/ |
D | soc-imx.c | 33 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 …]
|
D | soc-imx8m.c | 204 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/ |
D | meson-mx-socinfo.c | 74 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()
|
D | meson-gx-socinfo.c | 187 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/ |
D | soc.c | 37 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/ |
D | aspeed-socinfo.c | 132 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/ |
D | guts.c | 238 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/ |
D | phy-meson-g12a-usb2.c | 159 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/ |
D | renesas_sdhi_internal_dmac.c | 220 { .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/ |
D | socinfo.c | 204 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/ |
D | exynos-chipid.c | 134 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/ |
D | renesas-soc.c | 434 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()
|
D | r8a7795-sysc.c | 62 .soc_id = "r8a7795", .revision = "ES1.*", 65 .soc_id = "r8a7795", .revision = "ES2.*",
|
D | r8a774c0-sysc.c | 33 { .soc_id = "r8a774c0", .revision = "ES1.0" },
|
/linux-6.1.9/drivers/bluetooth/ |
D | btqca.h | 46 #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/ |
D | common.c | 94 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/ |
D | soc_id.c | 91 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()
|
D | Makefile | 4 obj-$(CONFIG_ARM_SMCCC_SOC_ID) += soc_id.o
|
/linux-6.1.9/drivers/watchdog/ |
D | renesas_wdt.c | 181 .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/ |
D | mvebu-soc-id.c | 163 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/ |
D | common.c | 119 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/ |
D | imx-scu-soc.c | 116 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/ |
D | rockchip_vop2_reg.c | 235 .soc_id = 3566, 245 .soc_id = 3568,
|
/linux-6.1.9/drivers/crypto/caam/ |
D | ctrl.c | 542 { .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/ |
D | sys_soc.h | 16 const char *soc_id; member
|