socinfo 73 drivers/soc/amlogic/meson-gx-socinfo.c static inline unsigned int socinfo_to_major(u32 socinfo) socinfo 75 drivers/soc/amlogic/meson-gx-socinfo.c return FIELD_GET(SOCINFO_MAJOR, socinfo); socinfo 78 drivers/soc/amlogic/meson-gx-socinfo.c static inline unsigned int socinfo_to_minor(u32 socinfo) socinfo 80 drivers/soc/amlogic/meson-gx-socinfo.c return FIELD_GET(SOCINFO_MINOR, socinfo); socinfo 83 drivers/soc/amlogic/meson-gx-socinfo.c static inline unsigned int socinfo_to_pack(u32 socinfo) socinfo 85 drivers/soc/amlogic/meson-gx-socinfo.c return FIELD_GET(SOCINFO_PACK, socinfo); socinfo 88 drivers/soc/amlogic/meson-gx-socinfo.c static inline unsigned int socinfo_to_misc(u32 socinfo) socinfo 90 drivers/soc/amlogic/meson-gx-socinfo.c return FIELD_GET(SOCINFO_MISC, socinfo); socinfo 93 drivers/soc/amlogic/meson-gx-socinfo.c static const char *socinfo_to_package_id(u32 socinfo) socinfo 95 drivers/soc/amlogic/meson-gx-socinfo.c unsigned int pack = socinfo_to_pack(socinfo); socinfo 96 drivers/soc/amlogic/meson-gx-socinfo.c unsigned int major = socinfo_to_major(socinfo); socinfo 109 drivers/soc/amlogic/meson-gx-socinfo.c static const char *socinfo_to_soc_id(u32 socinfo) socinfo 111 drivers/soc/amlogic/meson-gx-socinfo.c unsigned int id = socinfo_to_major(socinfo); socinfo 128 drivers/soc/amlogic/meson-gx-socinfo.c unsigned int socinfo; socinfo 157 drivers/soc/amlogic/meson-gx-socinfo.c ret = regmap_read(regmap, AO_SEC_SOCINFO_OFFSET, &socinfo); socinfo 161 drivers/soc/amlogic/meson-gx-socinfo.c if (!socinfo) { socinfo 177 drivers/soc/amlogic/meson-gx-socinfo.c socinfo_to_major(socinfo), socinfo 178 drivers/soc/amlogic/meson-gx-socinfo.c socinfo_to_minor(socinfo), socinfo 179 drivers/soc/amlogic/meson-gx-socinfo.c socinfo_to_pack(socinfo), socinfo 180 drivers/soc/amlogic/meson-gx-socinfo.c socinfo_to_misc(socinfo)); socinfo 182 drivers/soc/amlogic/meson-gx-socinfo.c socinfo_to_soc_id(socinfo), socinfo 183 drivers/soc/amlogic/meson-gx-socinfo.c socinfo_to_package_id(socinfo)); socinfo 196 drivers/soc/amlogic/meson-gx-socinfo.c socinfo_to_major(socinfo), socinfo 197 drivers/soc/amlogic/meson-gx-socinfo.c socinfo_to_minor(socinfo), socinfo 198 drivers/soc/amlogic/meson-gx-socinfo.c socinfo_to_pack(socinfo), socinfo 199 drivers/soc/amlogic/meson-gx-socinfo.c socinfo_to_misc(socinfo)); socinfo 271 drivers/soc/qcom/smem.c struct platform_device *socinfo; socinfo 967 drivers/soc/qcom/smem.c smem->socinfo = platform_device_register_data(&pdev->dev, "qcom-socinfo", socinfo 970 drivers/soc/qcom/smem.c if (IS_ERR(smem->socinfo)) socinfo 978 drivers/soc/qcom/smem.c platform_device_unregister(__smem->socinfo); socinfo 238 drivers/soc/qcom/socinfo.c struct socinfo *socinfo = seq->private; socinfo 240 drivers/soc/qcom/socinfo.c seq_printf(seq, "%s\n", socinfo->build_id); socinfo 247 drivers/soc/qcom/socinfo.c struct socinfo *socinfo = seq->private; socinfo 248 drivers/soc/qcom/socinfo.c int model = SOCINFO_MINOR(le32_to_cpu(socinfo->pmic_model)); socinfo 260 drivers/soc/qcom/socinfo.c struct socinfo *socinfo = seq->private; socinfo 263 drivers/soc/qcom/socinfo.c SOCINFO_MAJOR(le32_to_cpu(socinfo->pmic_die_rev)), socinfo 264 drivers/soc/qcom/socinfo.c SOCINFO_MINOR(le32_to_cpu(socinfo->pmic_die_rev))); socinfo 298 drivers/soc/qcom/socinfo.c struct socinfo *info) socinfo 405 drivers/soc/qcom/socinfo.c struct socinfo *info) socinfo 414 drivers/soc/qcom/socinfo.c struct socinfo *info; socinfo 434 drivers/soc/qcom/socinfo.c if (offsetof(struct socinfo, serial_num) <= item_size)