/linux/drivers/soc/imx/ |
A D | soc-imx.c | 33 const char *soc_id; in imx_soc_device_init() local 60 soc_id = "i.MX1"; in imx_soc_device_init() 63 soc_id = "i.MX21"; in imx_soc_device_init() 66 soc_id = "i.MX25"; in imx_soc_device_init() 69 soc_id = "i.MX27"; in imx_soc_device_init() 72 soc_id = "i.MX31"; in imx_soc_device_init() 75 soc_id = "i.MX35"; in imx_soc_device_init() 78 soc_id = "i.MX50"; in imx_soc_device_init() 82 soc_id = "i.MX51"; in imx_soc_device_init() 130 soc_id = "VF500"; in imx_soc_device_init() [all …]
|
A D | soc-imx8m.c | 193 soc_dev_attr->soc_id = data->name; in imx8_soc_init() 216 pr_info("SoC: %s revision %s\n", soc_dev_attr->soc_id, in imx8_soc_init()
|
/linux/drivers/soc/amlogic/ |
A 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() 160 soc_dev_attr->soc_id = meson_mx_socinfo_soc_id(major_ver, metal_rev); in meson_mx_socinfo_init() 165 kfree_const(soc_dev_attr->soc_id); in meson_mx_socinfo_init() 171 soc_dev_attr->soc_id, soc_dev_attr->revision); in meson_mx_socinfo_init()
|
A 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/drivers/base/ |
A 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() 251 matches->revision || matches->soc_id)) in soc_device_match()
|
/linux/drivers/mmc/host/ |
A D | renesas_sdhi_internal_dmac.c | 194 { .soc_id = "r8a774a1", .revision = "ES1.[012]", .data = &sdhi_quirks_4tap_nohs400 }, 195 { .soc_id = "r8a7795", .revision = "ES1.*", .data = &sdhi_quirks_4tap_nohs400 }, 196 { .soc_id = "r8a7795", .revision = "ES2.0", .data = &sdhi_quirks_4tap }, 197 { .soc_id = "r8a7796", .revision = "ES1.[012]", .data = &sdhi_quirks_4tap_nohs400 }, 198 { .soc_id = "r8a7796", .revision = "ES1.*", .data = &sdhi_quirks_r8a7796_es13 }, 507 { .soc_id = "r7s9210", 509 { .soc_id = "r8a7795", .revision = "ES1.*", 511 { .soc_id = "r8a7796", .revision = "ES1.0",
|
/linux/drivers/phy/amlogic/ |
A 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/drivers/soc/aspeed/ |
A 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/drivers/soc/qcom/ |
A D | socinfo.c | 195 struct soc_id { struct 200 static const struct soc_id soc_id[] = { argument 324 for (idx = 0; idx < ARRAY_SIZE(soc_id); idx++) { in socinfo_machine() 325 if (soc_id[idx].id == id) in socinfo_machine() 326 return soc_id[idx].name; in socinfo_machine() 626 qs->attr.soc_id = devm_kasprintf(&pdev->dev, GFP_KERNEL, "%u", in qcom_socinfo_probe()
|
/linux/drivers/soc/samsung/ |
A D | exynos-chipid.c | 131 soc_dev_attr->soc_id = product_id_to_soc_id(soc_info.product_id); in exynos_chipid_probe() 132 if (!soc_dev_attr->soc_id) { in exynos_chipid_probe() 149 soc_dev_attr->soc_id, soc_info.product_id, soc_info.revision); in exynos_chipid_probe()
|
/linux/drivers/bluetooth/ |
A D | btqca.h | 44 #define get_soc_ver(soc_id, rom_ver) \ argument 45 ((le32_to_cpu(soc_id) << 16) | (le16_to_cpu(rom_ver))) 105 __le32 soc_id; member
|
A D | btqca.c | 79 le32_to_cpu(ver->soc_id)); in qca_read_soc_version() 85 if (ver->soc_id == 0 || ver->rom_ver == 0) in qca_read_soc_version() 543 soc_ver = get_soc_ver(ver.soc_id, ver.rom_ver); in qca_uart_setup() 589 if (ver.soc_id == QCA_WCN3991_SOC_ID) { in qca_uart_setup()
|
/linux/drivers/soc/fsl/ |
A D | guts.c | 175 soc_dev_attr.soc_id = devm_kasprintf(dev, GFP_KERNEL, in fsl_guts_probe() 177 if (!soc_dev_attr.soc_id) in fsl_guts_probe() 191 soc_dev_attr.soc_id, soc_dev_attr.revision); in fsl_guts_probe()
|
/linux/drivers/soc/renesas/ |
A D | r8a7795-sysc.c | 62 .soc_id = "r8a7795", .revision = "ES1.*", 65 .soc_id = "r8a7795", .revision = "ES2.*",
|
A D | renesas-soc.c | 428 soc_dev_attr->soc_id = kstrdup_const(strchr(match->compatible, ',') + 1, in renesas_soc_init() 435 soc_dev_attr->soc_id, soc_dev_attr->revision ?: ""); in renesas_soc_init() 440 kfree_const(soc_dev_attr->soc_id); in renesas_soc_init()
|
/linux/drivers/watchdog/ |
A 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/drivers/clk/renesas/ |
A D | rcar-gen3-cpg.c | 320 .soc_id = "r8a7795", .revision = "ES1.0", 324 .soc_id = "r8a7795", .revision = "ES1.*", 328 .soc_id = "r8a7795", .revision = "ES2.0", 332 .soc_id = "r8a7796", .revision = "ES1.0", 336 .soc_id = "r8a7796", .revision = "ES1.1",
|
/linux/drivers/soc/bcm/brcmstb/ |
A 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/drivers/firmware/smccc/ |
A 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()
|
A D | built-in.a | 5 soc_id.o/
|
A D | Makefile | 4 obj-$(CONFIG_ARM_SMCCC_SOC_ID) += soc_id.o
|
/linux/arch/arm/mach-mvebu/ |
A D | mvebu-soc-id.c | 166 soc_dev_attr->soc_id = kasprintf(GFP_KERNEL, "%X", soc_dev_id); in mvebu_soc_device() 172 kfree(soc_dev_attr->soc_id); in mvebu_soc_device()
|
/linux/arch/arm/mach-zynq/ |
A D | common.c | 118 soc_dev_attr->soc_id = kasprintf(GFP_KERNEL, "0x%x", in zynq_init_machine() 125 kfree(soc_dev_attr->soc_id); in zynq_init_machine()
|
/linux/drivers/firmware/imx/ |
A 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/drivers/crypto/caam/ |
A 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 },
|