Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 36 files:
- arch/arm/mach-mvebu/mvebu-soc-id.c, line 165
- arch/arm/mach-mxs/mach-mxs.c, line 417
- arch/arm/mach-omap2/id.c, line 804
- arch/arm/mach-zynq/common.c, line 122
- arch/mips/ralink/mt7620.c, line 210
- arch/mips/ralink/mt7621.c, line 157
- arch/mips/ralink/rt288x.c, line 80
- arch/mips/ralink/rt305x.c, line 183
- arch/mips/ralink/rt3883.c, line 80
- arch/nios2/platform/platform.c, line 40
- drivers/base/soc.c
- drivers/firmware/imx/imx-scu-soc.c, line 147
- drivers/firmware/smccc/soc_id.c, line 156
- drivers/soc/amlogic/meson-gx-socinfo.c, line 205
- drivers/soc/amlogic/meson-mx-socinfo.c, line 163
- drivers/soc/aspeed/aspeed-socinfo.c, line 142
- drivers/soc/atmel/soc.c, line 379
- drivers/soc/bcm/brcmstb/common.c, line 93
- drivers/soc/cirrus/soc-ep93xx.c, line 202
- drivers/soc/fsl/guts.c, line 687
- drivers/soc/imx/soc-imx.c, line 195
- drivers/soc/imx/soc-imx8m.c, line 287
- drivers/soc/imx/soc-imx9.c, line 70
- drivers/soc/loongson/loongson2_guts.c, line 142
- drivers/soc/mediatek/mtk-socinfo.c, line 94
- drivers/soc/nuvoton/wpcm450-soc.c, line 84
- drivers/soc/qcom/socinfo.c, line 931
- drivers/soc/renesas/renesas-soc.c, line 545
- drivers/soc/renesas/rz-sysc.c, line 80
- drivers/soc/samsung/exynos-chipid.c, line 202
- drivers/soc/tegra/fuse/fuse-tegra.c, line 463
- drivers/soc/ti/k3-socinfo.c, line 221
- drivers/soc/ux500/ux500-soc-id.c, line 217
- drivers/soc/versatile/soc-integrator.c, line 134
- drivers/soc/versatile/soc-realview.c, line 116
- drivers/soc/vt8500/wmt-socinfo.c, line 87
Smatch caller information:
drivers/soc/renesas/renesas-soc.c renesas_soc_init() -> soc_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | soc_dev_attr | 4096-ptr_max |
| PARAM_VALUE | 0 | soc_dev_attr->family | 0,4096-ptr_max |
| PARAM_VALUE | 0 | soc_dev_attr->soc_id | 0,4096-ptr_max |
| BUF_SIZE | 0 | soc_dev_attr | 56 |
| BUF_SIZE | 0 | soc_dev_attr->revision | (-1)-s32max |
| DATA_SOURCE | 0 | soc_dev_attr | r _kzalloc_noprof |
drivers/soc/nuvoton/wpcm450-soc.c wpcm450_soc_init() -> soc_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | soc_dev_attr | 4096-ptr_max |
| PARAM_VALUE | 0 | soc_dev_attr->family | 8351932816933998592 |
| PARAM_VALUE | 0 | soc_dev_attr->revision | 890785174375067648,5659078760554065920,6476232446765932544,7190003465924694016,7877032766792638464,8525522171984879616 |
| PARAM_VALUE | 0 | soc_dev_attr->soc_id | 3257241545727373312 |
| BUF_SIZE | 0 | soc_dev_attr | 56 |
| BUF_SIZE | 0 | soc_dev_attr->family | 13 |
| BUF_SIZE | 0 | soc_dev_attr->soc_id | 8 |
| DATA_SOURCE | 0 | soc_dev_attr | r _kzalloc_noprof |
| STR_LEN | 0 | soc_dev_attr->family | 12 |
| STR_LEN | 0 | soc_dev_attr->soc_id | 7 |
| TERMINATED | 0 | soc_dev_attr->family | 1 |
| TERMINATED | 0 | soc_dev_attr->soc_id | 1 |
drivers/firmware/imx/imx-scu-soc.c imx_scu_soc_init() -> soc_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | soc_dev_attr | 4096-ptr_max |
| PARAM_VALUE | 0 | soc_dev_attr->family | 7244091079508353024 |
| PARAM_VALUE | 0 | soc_dev_attr->revision | 1-u64max |
| PARAM_VALUE | 0 | soc_dev_attr->serial_number | 1-u64max |
| PARAM_VALUE | 0 | soc_dev_attr->soc_id | 2454662590535852032,5003816267605581824,6557282060885467136,7964793080080740352 |
| PARAM_VALUE | 0 | *soc_dev_attr->machine | 0-255 |
| BUF_SIZE | 0 | soc_dev_attr | 56 |
| BUF_SIZE | 0 | soc_dev_attr->family | 15 |
| BUF_SIZE | 0 | soc_dev_attr->revision | 0-s32max |
| BUF_SIZE | 0 | soc_dev_attr->serial_number | 0-s32max |
| BUF_SIZE | 0 | soc_dev_attr->soc_id | 5,8-9 |
| CAPPED_DATA | 0 | soc_dev_attr->revision | 1 |
| CAPPED_DATA | 0 | soc_dev_attr->serial_number | 1 |
| DATA_SOURCE | 0 | soc_dev_attr | r devm_kzalloc |
| STR_LEN | 0 | soc_dev_attr->family | 14 |
| TERMINATED | 0 | soc_dev_attr->family | 1 |
| MEM_ZERO | 0 | soc_dev_attr | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/soc/amlogic/meson-gx-socinfo.c meson_gx_socinfo_init() -> soc_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | soc_dev_attr | 4096-ptr_max |
| PARAM_VALUE | 0 | soc_dev_attr->family | 9211356010883674112 |
| BUF_SIZE | 0 | soc_dev_attr | 56 |
| BUF_SIZE | 0 | soc_dev_attr->family | 14 |
| BUF_SIZE | 0 | soc_dev_attr->revision | (-1)-s32max |
| BUF_SIZE | 0 | soc_dev_attr->soc_id | (-1)-s32max |
| CAPPED_DATA | 0 | soc_dev_attr->revision | 1 |
| CAPPED_DATA | 0 | soc_dev_attr->soc_id | 1 |
| DATA_SOURCE | 0 | soc_dev_attr | r _kzalloc_noprof |
| STR_LEN | 0 | soc_dev_attr->family | 13 |
| TERMINATED | 0 | soc_dev_attr->family | 1 |
drivers/soc/aspeed/aspeed-socinfo.c aspeed_socinfo_init() -> soc_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | soc_dev_attr | 4096-ptr_max |
| PARAM_VALUE | 0 | soc_dev_attr->revision | 576424991288954880,890785174375067648,5659078760554065920,7572555388197441536,7877032766792638464 |
| BUF_SIZE | 0 | soc_dev_attr | 56 |
| BUF_SIZE | 0 | soc_dev_attr->family | (-1),8 |
| BUF_SIZE | 0 | soc_dev_attr->revision | 3 |
| BUF_SIZE | 0 | soc_dev_attr->serial_number | (-1)-s32max |
| BUF_SIZE | 0 | soc_dev_attr->soc_id | (-1)-s32max |
| CAPPED_DATA | 0 | soc_dev_attr->soc_id | 1 |
| DATA_SOURCE | 0 | soc_dev_attr | r _kzalloc_noprof |
drivers/soc/imx/soc-imx8m.c imx8m_soc_probe() -> soc_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | soc_dev_attr | 4096-ptr_max |
| PARAM_VALUE | 0 | soc_dev_attr->family | 7244091079508353024 |
| PARAM_VALUE | 0 | soc_dev_attr->machine | 0 |
| PARAM_VALUE | 0 | soc_dev_attr->revision | 1-u64max |
| PARAM_VALUE | 0 | soc_dev_attr->serial_number | 1-u64max |
| BUF_SIZE | 0 | soc_dev_attr | 56 |
| BUF_SIZE | 0 | soc_dev_attr->family | 15 |
| BUF_SIZE | 0 | soc_dev_attr->revision | 0-s32max |
| BUF_SIZE | 0 | soc_dev_attr->serial_number | 0-s32max |
| CAPPED_DATA | 0 | soc_dev_attr->revision | 1 |
| CAPPED_DATA | 0 | soc_dev_attr->serial_number | 1 |
| DATA_SOURCE | 0 | soc_dev_attr | r devm_kzalloc |
| STR_LEN | 0 | soc_dev_attr->family | 14 |
| STR_LEN | 0 | soc_dev_attr->revision | (-1),7 |
| TERMINATED | 0 | soc_dev_attr->family | 1 |
| MEM_ZERO | 0 | soc_dev_attr | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/soc/fsl/guts.c fsl_guts_init() -> soc_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | soc_dev_attr | 4096-ptr_max |
| PARAM_VALUE | 0 | soc_dev_attr->family | 1-u64max |
| PARAM_VALUE | 0 | soc_dev_attr->revision | 1-u64max |
| PARAM_VALUE | 0 | soc_dev_attr->soc_id | 1-u64max |
| BUF_SIZE | 0 | soc_dev_attr | 56 |
| BUF_SIZE | 0 | soc_dev_attr->family | 0-s32max |
| BUF_SIZE | 0 | soc_dev_attr->revision | 0-s32max |
| BUF_SIZE | 0 | soc_dev_attr->serial_number | (-1)-s32max |
| BUF_SIZE | 0 | soc_dev_attr->soc_id | 0-s32max |
| CAPPED_DATA | 0 | soc_dev_attr->family | 1 |
| CAPPED_DATA | 0 | soc_dev_attr->revision | 1 |
| CAPPED_DATA | 0 | soc_dev_attr->soc_id | 1 |
| DATA_SOURCE | 0 | soc_dev_attr | r _kzalloc_noprof |
drivers/soc/versatile/soc-integrator.c integrator_soc_init() -> soc_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | soc_dev_attr | 4096-ptr_max |
| PARAM_VALUE | 0 | soc_dev_attr->custom_attr_group | 8731947554630352896 |
| PARAM_VALUE | 0 | soc_dev_attr->family | 2868255395652411392 |
| PARAM_VALUE | 0 | soc_dev_attr->machine | 4411585786173857792 |
| PARAM_VALUE | 0 | soc_dev_attr->soc_id | 4411585786173857792 |
| BUF_SIZE | 0 | soc_dev_attr | 56 |
| BUF_SIZE | 0 | soc_dev_attr->family | 10 |
| BUF_SIZE | 0 | soc_dev_attr->machine | 11 |
| BUF_SIZE | 0 | soc_dev_attr->soc_id | 11 |
| DATA_SOURCE | 0 | soc_dev_attr | r _kzalloc_noprof |
| STR_LEN | 0 | soc_dev_attr->family | 9 |
| STR_LEN | 0 | soc_dev_attr->machine | 10 |
| STR_LEN | 0 | soc_dev_attr->soc_id | 10 |
| TERMINATED | 0 | soc_dev_attr->family | 1 |
| TERMINATED | 0 | soc_dev_attr->machine | 1 |
| TERMINATED | 0 | soc_dev_attr->soc_id | 1 |
drivers/soc/renesas/rz-sysc.c rz_sysc_soc_init() -> soc_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | soc_dev_attr | 4096-ptr_max |
| PARAM_VALUE | 0 | soc_dev_attr->family | 1-u64max |
| PARAM_VALUE | 0 | soc_dev_attr->revision | 1-u64max |
| PARAM_VALUE | 0 | soc_dev_attr->soc_id | 1-u64max |
| BUF_SIZE | 0 | soc_dev_attr | 56 |
| BUF_SIZE | 0 | soc_dev_attr->family | 1-1010102 |
| BUF_SIZE | 0 | soc_dev_attr->revision | 0-s32max |
| BUF_SIZE | 0 | soc_dev_attr->soc_id | 1-1010102 |
| CAPPED_DATA | 0 | soc_dev_attr->revision | 1 |
| DATA_SOURCE | 0 | soc_dev_attr | r devm_kzalloc |
| MEM_ZERO | 0 | soc_dev_attr | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/soc/loongson/loongson2_guts.c loongson2_guts_probe() -> soc_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | soc_dev_attr | 3206909064246915072 |
| PARAM_VALUE | 0 | soc_dev_attr->family | 1-u64max |
| PARAM_VALUE | 0 | soc_dev_attr->revision | 1-u64max |
| PARAM_VALUE | 0 | soc_dev_attr->soc_id | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/soc/imx/soc-imx9.c imx9_soc_probe() -> soc_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | soc_dev_attr | 4096-ptr_max |
| PARAM_VALUE | 0 | soc_dev_attr->family | 1-u64max |
| PARAM_VALUE | 0 | soc_dev_attr->machine | 0 |
| PARAM_VALUE | 0 | soc_dev_attr->revision | 1-u64max |
| PARAM_VALUE | 0 | soc_dev_attr->serial_number | 1-u64max |
| PARAM_VALUE | 0 | soc_dev_attr->soc_id | 1-u64max |
| BUF_SIZE | 0 | soc_dev_attr | 56 |
| BUF_SIZE | 0 | soc_dev_attr->family | 0-s32max |
| BUF_SIZE | 0 | soc_dev_attr->revision | 0-s32max |
| BUF_SIZE | 0 | soc_dev_attr->serial_number | 0-s32max |
| BUF_SIZE | 0 | soc_dev_attr->soc_id | 0-s32max |
| CAPPED_DATA | 0 | soc_dev_attr->family | 1 |
| CAPPED_DATA | 0 | soc_dev_attr->revision | 1 |
| CAPPED_DATA | 0 | soc_dev_attr->serial_number | 1 |
| CAPPED_DATA | 0 | soc_dev_attr->soc_id | 1 |
| DATA_SOURCE | 0 | soc_dev_attr | r devm_kzalloc |
| MEM_ZERO | 0 | soc_dev_attr | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/soc/vt8500/wmt-socinfo.c wmt_socinfo_probe() -> soc_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | soc_dev_attr | 4096-ptr_max |
| PARAM_VALUE | 0 | soc_dev_attr->revision | 1-u64max |
| PARAM_VALUE | 0 | soc_dev_attr->soc_id | 1-u64max |
| BUF_SIZE | 0 | soc_dev_attr | 56 |
| BUF_SIZE | 0 | soc_dev_attr->family | (-1),8 |
| BUF_SIZE | 0 | soc_dev_attr->revision | 0-s32max |
| BUF_SIZE | 0 | soc_dev_attr->soc_id | 0-s32max |
| CAPPED_DATA | 0 | soc_dev_attr->revision | 1 |
| CAPPED_DATA | 0 | soc_dev_attr->soc_id | 1 |
| DATA_SOURCE | 0 | soc_dev_attr | r devm_kzalloc |
| MEM_ZERO | 0 | soc_dev_attr | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/soc/amlogic/meson-mx-socinfo.c meson_mx_socinfo_init() -> soc_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | soc_dev_attr | 4096-ptr_max |
| PARAM_VALUE | 0 | soc_dev_attr->family | 9211356010883674112 |
| PARAM_VALUE | 0 | soc_dev_attr->soc_id | 0,4096-ptr_max |
| BUF_SIZE | 0 | soc_dev_attr | 56 |
| BUF_SIZE | 0 | soc_dev_attr->family | 14 |
| BUF_SIZE | 0 | soc_dev_attr->revision | (-1)-s32max |
| CAPPED_DATA | 0 | soc_dev_attr->revision | 1 |
| DATA_SOURCE | 0 | soc_dev_attr | r _kzalloc_noprof |
| STR_LEN | 0 | soc_dev_attr->family | 13 |
| TERMINATED | 0 | soc_dev_attr->family | 1 |
drivers/soc/qcom/socinfo.c qcom_socinfo_probe() -> soc_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | soc_dev_attr | 4096-ptr_max |
| PARAM_VALUE | 0 | soc_dev_attr->family | 1180500306481029120 |
| PARAM_VALUE | 0 | soc_dev_attr->revision | 1-u64max |
| PARAM_VALUE | 0 | soc_dev_attr->soc_id | 1-u64max |
| TERMINATED | 0 | soc_dev_attr->family | 1 |
| MEM_ZERO | 0 | soc_dev_attr | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/soc/bcm/brcmstb/common.c brcmstb_soc_device_init() -> soc_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | soc_dev_attr | 4096-ptr_max |
| BUF_SIZE | 0 | soc_dev_attr | 56 |
| BUF_SIZE | 0 | soc_dev_attr->family | (-1)-s32max |
| BUF_SIZE | 0 | soc_dev_attr->revision | (-1)-s32max |
| BUF_SIZE | 0 | soc_dev_attr->soc_id | (-1)-s32max |
| CAPPED_DATA | 0 | soc_dev_attr->family | 1 |
| CAPPED_DATA | 0 | soc_dev_attr->revision | 1 |
| CAPPED_DATA | 0 | soc_dev_attr->soc_id | 1 |
| DATA_SOURCE | 0 | soc_dev_attr | r _kzalloc_noprof |
drivers/soc/mediatek/mtk-socinfo.c mtk_socinfo_create_socinfo_node() -> soc_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | soc_dev_attr | 4096-ptr_max |
| PARAM_VALUE | 0 | soc_dev_attr->family | 1-u64max |
| BUF_SIZE | 0 | soc_dev_attr | 56 |
| BUF_SIZE | 0 | soc_dev_attr->family | 0-s32max |
| CAPPED_DATA | 0 | soc_dev_attr->family | 1 |
| DATA_SOURCE | 0 | soc_dev_attr | r devm_kzalloc |
| STR_LEN | 0 | soc_dev_attr->family | (-1),8 |
| MEM_ZERO | 0 | soc_dev_attr | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/soc/samsung/exynos-chipid.c exynos_chipid_probe() -> soc_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | soc_dev_attr | 4096-ptr_max |
| PARAM_VALUE | 0 | soc_dev_attr->family | 5055357094499090432 |
| PARAM_VALUE | 0 | soc_dev_attr->revision | 1-u64max |
| PARAM_VALUE | 0 | soc_dev_attr->soc_id | 1-u64max |
| BUF_SIZE | 0 | soc_dev_attr | 56 |
| BUF_SIZE | 0 | soc_dev_attr->family | 15 |
| BUF_SIZE | 0 | soc_dev_attr->revision | 0-s32max |
| CAPPED_DATA | 0 | soc_dev_attr->revision | 1 |
| DATA_SOURCE | 0 | soc_dev_attr | r devm_kzalloc |
| STR_LEN | 0 | soc_dev_attr->family | 14 |
| TERMINATED | 0 | soc_dev_attr->family | 1 |
| MEM_ZERO | 0 | soc_dev_attr | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/soc/ti/k3-socinfo.c k3_chipinfo_probe() -> soc_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | soc_dev_attr | 4096-ptr_max |
| PARAM_VALUE | 0 | soc_dev_attr->revision | 1-u64max |
| BUF_SIZE | 0 | soc_dev_attr | 56 |
| DATA_SOURCE | 0 | soc_dev_attr | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/soc/versatile/soc-realview.c realview_soc_probe() -> soc_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | soc_dev_attr | 4096-ptr_max |
| PARAM_VALUE | 0 | soc_dev_attr->custom_attr_group | 2950981545700577280 |
| PARAM_VALUE | 0 | soc_dev_attr->family | 2868255395652411392 |
| PARAM_VALUE | 0 | soc_dev_attr->machine | 1397627377072914432 |
| PARAM_VALUE | 0 | *soc_dev_attr->soc_id | 0-255 |
| BUF_SIZE | 0 | soc_dev_attr | 56 |
| BUF_SIZE | 0 | soc_dev_attr->family | 10 |
| BUF_SIZE | 0 | soc_dev_attr->machine | 9 |
| DATA_SOURCE | 0 | soc_dev_attr | r devm_kzalloc |
| STR_LEN | 0 | soc_dev_attr->family | 9 |
| STR_LEN | 0 | soc_dev_attr->machine | 8 |
| TERMINATED | 0 | soc_dev_attr->family | 1 |
| TERMINATED | 0 | soc_dev_attr->machine | 1 |
| MEM_ZERO | 0 | soc_dev_attr | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/base/soc.c soc_bus_register() -> soc_device_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | soc_dev_attr | 4096-ptr_max |