Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/base/soc.c
- drivers/soc/fsl/guts.c, line 651
- drivers/soc/imx/soc-imx8m.c, line 246
- drivers/soc/imx/soc-imx9.c, line 33
Smatch caller information:
drivers/soc/imx/soc-imx8m.c imx8m_soc_probe() -> soc_attr_read_machine()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | soc_dev_attr | 4096-ptr_max |
| PARAM_VALUE | 0 | soc_dev_attr->family | 7244091079508353024 |
| BUF_SIZE | 0 | soc_dev_attr | 56 |
| BUF_SIZE | 0 | soc_dev_attr->family | 15 |
| 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/fsl/guts.c fsl_guts_init() -> soc_attr_read_machine()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | soc_dev_attr | 4096-ptr_max |
| BUF_SIZE | 0 | soc_dev_attr | 56 |
| DATA_SOURCE | 0 | soc_dev_attr | r _kzalloc_noprof |
drivers/soc/imx/soc-imx9.c imx9_soc_probe() -> soc_attr_read_machine()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | soc_dev_attr | 1-u64max |
| BUF_SIZE | 0 | soc_dev_attr | 56 |
| DATA_SOURCE | 0 | soc_dev_attr | r devm_kzalloc |
| MEM_ZERO | 0 | soc_dev_attr | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/base/soc.c soc_device_register() -> soc_attr_read_machine()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | soc_dev_attr | 4096-ptr_max |
| BUF_SIZE | 0 | soc_dev_attr | (-1),56 |
| BUF_SIZE | 0 | soc_dev_attr | (-1),56 |
| BUF_SIZE | 0 | soc_dev_attr->family | (-1)-s32max |
| BUF_SIZE | 0 | soc_dev_attr->machine | (-1),9,11 |
| BUF_SIZE | 0 | soc_dev_attr->revision | (-1)-s32max |
| BUF_SIZE | 0 | soc_dev_attr->serial_number | (-1)-s32max |
| BUF_SIZE | 0 | soc_dev_attr->soc_id | (-1)-s32max |
| DATA_SOURCE | 0 | soc_dev_attr | $0 |
| STR_LEN | 0 | soc_dev_attr->family | (-1),8-9,12-14 |
| STR_LEN | 0 | soc_dev_attr->machine | (-1),8,10 |
| STR_LEN | 0 | soc_dev_attr->revision | (-1),7 |
| STR_LEN | 0 | soc_dev_attr->soc_id | (-1),7,10 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |